“Bad marshal data” Django development server error

后端 未结 2 750
青春惊慌失措
青春惊慌失措 2021-01-12 14:51

Got this error while insterting data into my MySQL database

ValueError at /admin/arbkdb/arbkcompany/
bad marshal data (unknown type code)
Request Method: GET         


        
相关标签:
2条回答
  • 2021-01-12 15:23

    Normally in-memory operation crashes give you this kind of value error, bad marshal errors. That happens when power fails, and the appengine config files get corrupted.

    For me, this problem is common, and I just directly uninstall (delete ) and re-install appengine and get back to work. Deleting .pyc files don't work sometimes.

    0 讨论(0)
  • 2021-01-12 15:27

    Looks like is not a database problem but a corrupted files message. Removing *.pyc and *.pyo files solves this.

    0 讨论(0)
提交回复
热议问题