Guest User

microblogerror

a guest
Aug 13th, 2013
70
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. TypeError
  2. TypeError: lu'Bu sayfaya eri\u015febilmek i\xe7in giri\u015f yapmal\u0131s\u0131n\u0131z.' is not JSON serializable
  3.  
  4. File "d:\Users\onur\workspace\yap1\src\venv\lib\site-packages\flask\app.py", line 1836, in __call__
  5. return self.wsgi_app(environ, start_response)
  6. File "d:\Users\onur\workspace\yap1\src\venv\lib\site-packages\flask\app.py", line 1820, in wsgi_app
  7. response = self.make_response(self.handle_exception(e))
  8. File "d:\Users\onur\workspace\yap1\src\venv\lib\site-packages\flask\app.py", line 1403, in handle_exception
  9. reraise(exc_type, exc_value, tb)
  10. File "d:\Users\onur\workspace\yap1\src\venv\lib\site-packages\flask\app.py", line 1817, in wsgi_app
  11. response = self.full_dispatch_request()
  12. File "d:\Users\onur\workspace\yap1\src\venv\lib\site-packages\flask\app.py", line 1479, in full_dispatch_request
  13. response = self.process_response(response)
  14. File "d:\Users\onur\workspace\yap1\src\venv\lib\site-packages\flask\app.py", line 1693, in process_response
  15. self.save_session(ctx.session, response)
  16. File "d:\Users\onur\workspace\yap1\src\venv\lib\site-packages\flask\app.py", line 837, in save_session
  17. return self.session_interface.save_session(self, session, response)
  18. File "d:\Users\onur\workspace\yap1\src\venv\lib\site-packages\flask\sessions.py", line 326, in save_session
  19. val = self.get_signing_serializer(app).dumps(dict(session))
  20. File "d:\Users\onur\workspace\yap1\src\venv\lib\site-packages\itsdangerous.py", line 537, in dumps
  21. payload = want_bytes(self.dump_payload(obj))
  22. File "d:\Users\onur\workspace\yap1\src\venv\lib\site-packages\itsdangerous.py", line 809, in dump_payload
  23. json = super(URLSafeSerializerMixin, self).dump_payload(obj)
  24. File "d:\Users\onur\workspace\yap1\src\venv\lib\site-packages\itsdangerous.py", line 522, in dump_payload
  25. return want_bytes(self.serializer.dumps(obj))
  26. File "d:\Users\onur\workspace\yap1\src\venv\lib\site-packages\flask\sessions.py", line 85, in dumps
  27. return json.dumps(_tag(value), separators=(',', ':'))
  28. File "d:\Users\onur\workspace\yap1\src\venv\lib\site-packages\flask\json.py", line 126, in dumps
  29. rv = _json.dumps(obj, **kwargs)
  30. File "c:\Python27\Lib\json\__init__.py", line 238, in dumps
  31. **kw).encode(obj)
  32. File "c:\Python27\Lib\json\encoder.py", line 203, in encode
  33. chunks = list(chunks)
  34. File "c:\Python27\Lib\json\encoder.py", line 428, in _iterencode
  35. for chunk in _iterencode_dict(o, _current_indent_level):
  36. File "c:\Python27\Lib\json\encoder.py", line 402, in _iterencode_dict
  37. for chunk in chunks:
  38. File "c:\Python27\Lib\json\encoder.py", line 326, in _iterencode_list
  39. for chunk in chunks:
  40. File "c:\Python27\Lib\json\encoder.py", line 402, in _iterencode_dict
  41. for chunk in chunks:
  42. File "c:\Python27\Lib\json\encoder.py", line 326, in _iterencode_list
  43. for chunk in chunks:
  44. File "c:\Python27\Lib\json\encoder.py", line 436, in _iterencode
  45. o = _default(o)
  46. File "d:\Users\onur\workspace\yap1\src\venv\lib\site-packages\flask\json.py", line 83, in default
  47. return _json.JSONEncoder.default(self, o)
  48. File "c:\Python27\Lib\json\encoder.py", line 178, in default
  49. raise TypeError(repr(o) + " is not JSON serializable")
  50. TypeError: lu'Bu sayfaya eri\u015febilmek i\xe7in giri\u015f yapmal\u0131s\u0131n\u0131z.' is not JSON serializable
RAW Paste Data