Advertisement
Guest User

Untitled

a guest
Sep 16th, 2014
239
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.77 KB | None
  1. frappe.exceptions.DoesNotExistError
  2. DoesNotExistError: DocType Website Route not found
  3.  
  4. Traceback (most recent call last)
  5. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/middlewares.py", line 15, in __call__
  6. return super(StaticDataMiddleware, self).__call__(environ, start_response)
  7. File "/home/erpnext/web-cctv/frappe-bench/env/lib/python2.7/site-packages/werkzeug/wsgi.py", line 588, in __call__
  8. return self.app(environ, start_response)
  9. File "/home/erpnext/web-cctv/frappe-bench/env/lib/python2.7/site-packages/werkzeug/wsgi.py", line 588, in __call__
  10. return self.app(environ, start_response)
  11. File "/home/erpnext/web-cctv/frappe-bench/env/lib/python2.7/site-packages/werkzeug/local.py", line 224, in application
  12. return ClosingIterator(app(environ, start_response), self.cleanup)
  13. File "/home/erpnext/web-cctv/frappe-bench/env/lib/python2.7/site-packages/werkzeug/wrappers.py", line 286, in application
  14. return f(*args[:-2] + (request,))(*args[-2:])
  15. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/app.py", line 80, in application
  16. if e.__class__ == frappe.AuthenticationError:
  17. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/website/render.py", line 36, in render
  18. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/website/render.py", line 100, in render_page
  19. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/website/render.py", line 109, in build
  20. frappe.connect()
  21. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/website/render.py", line 122, in build_page
  22. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/website/context.py", line 30, in get_context
  23. # permission may be required for rendering
  24. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/website/sitemap.py", line 17, in get_sitemap_options
  25. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/website/sitemap.py", line 24, in build_sitemap_options
  26. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/__init__.py", line 348, in get_doc
  27. return frappe.client.set_value(doctype, docname, fieldname, value)
  28. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/model/document.py", line 26, in get_doc
  29. return controller(arg1, arg2)
  30. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/model/document.py", line 66, in __init__
  31. self.load_from_db()
  32. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/model/document.py", line 82, in load_from_db
  33. if not getattr(self, "_metaclass", False) and self.meta.issingle:
  34. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/model/base_document.py", line 21, in meta
  35. self._meta = frappe.get_meta(self.doctype)
  36. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/__init__.py", line 352, in get_meta
  37. return frappe.model.document.get_doc(arg1, arg2)
  38. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/model/meta.py", line 18, in get_meta
  39. return frappe.cache().get_value("meta:" + doctype, lambda: Meta(doctype))
  40. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/memc.py", line 21, in get_value
  41. val = builder()
  42. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/model/meta.py", line 18, in <lambda>
  43. return frappe.cache().get_value("meta:" + doctype, lambda: Meta(doctype))
  44. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/model/meta.py", line 49, in __init__
  45. super(Meta, self).__init__("DocType", doctype)
  46. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/model/document.py", line 66, in __init__
  47. self.load_from_db()
  48. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/model/meta.py", line 54, in load_from_db
  49. super(Meta, self).load_from_db()
  50. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/model/document.py", line 90, in load_from_db
  51. self.init_valid_columns()
  52. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/__init__.py", line 203, in throw
  53. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/__init__.py", line 200, in msgprint
  54. File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/__init__.py", line 184, in _raise_exception
  55. else:
  56. DoesNotExistError: DocType Website Route not found
  57. The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.
  58. To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.
  59.  
  60. You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:
  61.  
  62. dump() shows all variables in the frame
  63. dump(obj) dumps all that's known about the object
  64. Brought to you by DON'T PANIC, your friendly Werkzeug powered traceback interpreter.
Advertisement
RAW Paste Data Copied
Advertisement