Skip to content

Instantly share code, notes, and snippets.

Created June 13, 2014 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/eafd1a744c39ffb6adfa to your computer and use it in GitHub Desktop.
Save anonymous/eafd1a744c39ffb6adfa to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/home/christopher/frappe-bench/apps/frappe/frappe/middlewares.py", line 15, in __call__
return super(StaticDataMiddleware, self).__call__(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 588, in __call__
return self.app(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 588, in __call__
return self.app(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/local.py", line 224, in application
return ClosingIterator(app(environ, start_response), self.cleanup)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/wrappers.py", line 286, in application
return f(*args[:-2] + (request,))(*args[-2:])
File "/home/christopher/frappe-bench/apps/frappe/frappe/app.py", line 49, in application
response = frappe.api.handle()
File "/home/christopher/frappe-bench/apps/frappe/frappe/api.py", line 96, in handle
data = json.loads(frappe.local.form_dict.data)
File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment