Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- frappe.exceptions.DoesNotExistError
- DoesNotExistError: DocType Website Route not found
- Traceback (most recent call last)
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/middlewares.py", line 15, in __call__
- return super(StaticDataMiddleware, self).__call__(environ, start_response)
- File "/home/erpnext/web-cctv/frappe-bench/env/lib/python2.7/site-packages/werkzeug/wsgi.py", line 588, in __call__
- return self.app(environ, start_response)
- File "/home/erpnext/web-cctv/frappe-bench/env/lib/python2.7/site-packages/werkzeug/wsgi.py", line 588, in __call__
- return self.app(environ, start_response)
- File "/home/erpnext/web-cctv/frappe-bench/env/lib/python2.7/site-packages/werkzeug/local.py", line 224, in application
- return ClosingIterator(app(environ, start_response), self.cleanup)
- File "/home/erpnext/web-cctv/frappe-bench/env/lib/python2.7/site-packages/werkzeug/wrappers.py", line 286, in application
- return f(*args[:-2] + (request,))(*args[-2:])
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/app.py", line 80, in application
- if e.__class__ == frappe.AuthenticationError:
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/website/render.py", line 36, in render
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/website/render.py", line 100, in render_page
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/website/render.py", line 109, in build
- frappe.connect()
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/website/render.py", line 122, in build_page
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/website/context.py", line 30, in get_context
- # permission may be required for rendering
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/website/sitemap.py", line 17, in get_sitemap_options
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/website/sitemap.py", line 24, in build_sitemap_options
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/__init__.py", line 348, in get_doc
- return frappe.client.set_value(doctype, docname, fieldname, value)
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/model/document.py", line 26, in get_doc
- return controller(arg1, arg2)
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/model/document.py", line 66, in __init__
- self.load_from_db()
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/model/document.py", line 82, in load_from_db
- if not getattr(self, "_metaclass", False) and self.meta.issingle:
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/model/base_document.py", line 21, in meta
- self._meta = frappe.get_meta(self.doctype)
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/__init__.py", line 352, in get_meta
- return frappe.model.document.get_doc(arg1, arg2)
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/model/meta.py", line 18, in get_meta
- return frappe.cache().get_value("meta:" + doctype, lambda: Meta(doctype))
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/memc.py", line 21, in get_value
- val = builder()
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/model/meta.py", line 18, in <lambda>
- return frappe.cache().get_value("meta:" + doctype, lambda: Meta(doctype))
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/model/meta.py", line 49, in __init__
- super(Meta, self).__init__("DocType", doctype)
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/model/document.py", line 66, in __init__
- self.load_from_db()
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/model/meta.py", line 54, in load_from_db
- super(Meta, self).load_from_db()
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/model/document.py", line 90, in load_from_db
- self.init_valid_columns()
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/__init__.py", line 203, in throw
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/__init__.py", line 200, in msgprint
- File "/home/erpnext/web-cctv/frappe-bench/apps/frappe/frappe/__init__.py", line 184, in _raise_exception
- else:
- DoesNotExistError: DocType Website Route not found
- The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.
- 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.
- You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:
- dump() shows all variables in the frame
- dump(obj) dumps all that's known about the object
- Brought to you by DON'T PANIC, your friendly Werkzeug powered traceback interpreter.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement