On Thursday, March 9, 2017 at 4:59:03 AM UTC-8, Maurice Waka wrote: > > Sorry. I discovered that my database was corrupted > >
That's too bad, but if the data is backed up it's at least a relatively straightforward recovery. Good luck! /dps > On Mar 6, 2017 23:20, "Jordan Myers" <jordan....@gmail.com <javascript:>> > wrote: > >> It would help if you gave us some more context. Where does this error >> occur? What are you trying to do? The error seems to be when you are >> creating tables in the file db2.py, what are the contents of this file? >> >> On Monday, March 6, 2017 at 10:08:04 AM UTC-6, Maurice Waka wrote: >>> >>> Am getting this web2py error in Ubuntu: >>> >>> Traceback (most recent call last): >>> File "/home/mwk/web2py/gluon/restricted.py", line 227, in restricted >>> exec ccode in environment >>> File "/home/mwk/web2py/applications/britamintell/models/db2.py", line 15, >>> in <module> >>> auth.signature) >>> File "/home/mwk/web2py/gluon/packages/dal/pydal/base.py", line 834, in >>> define_table >>> table = self.lazy_define_table(tablename,*fields,**args) >>> File "/home/mwk/web2py/gluon/packages/dal/pydal/base.py", line 873, in >>> lazy_define_table >>> polymodel=polymodel) >>> File "/home/mwk/web2py/gluon/packages/dal/pydal/adapters/base.py", line >>> 500, in create_table >>> sql_fields_old = pickle.load(tfile)UnpicklingError: invalid load key, >>> '�'. >>> >>> what is this and how do i resolve it? >>> >> -- >> Resources: >> - http://web2py.com >> - http://web2py.com/book (Documentation) >> - http://github.com/web2py/web2py (Source code) >> - https://code.google.com/p/web2py/issues/list (Report Issues) >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "web2py-users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/web2py/FyHFlywmRdg/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> web2py+un...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.