It Worked...gotta clear the databases directory. Many Thanks...great work you all doing here
El lun., 18 de feb. de 2019 a la(s) 21:20, Massimo Di Pierro ( massimo.dipie...@gmail.com) escribió: > Can you try delete your sessions? You have have pre-existing sessions > created with a different protocol. > > On Monday, 18 February 2019 10:47:20 UTC-8, Alain Márquez Pérez wrote: >> >> hello everyone dont know if this is a bug, deployed this app in >> Apache(Debian), but developing in Rocket (Windows) and works fine >> >> Ticket ID >> >> 192.168.10.20.2019-02-15.14-43-36.8f3f2563-ef80-413b-99bc-a80d3bef76b0 >> <type 'exceptions.ValueError'> unsupported pickle protocol: 3 >> Versión >> web2py™ Version 2.17.2-stable+timestamp.2018.10.06.18.54.02 >> Python Python 2.7.9: /usr/bin/python (prefix: /usr) >> Rastreo >> >> 1. >> 2. >> 3. >> 4. >> 5. >> 6. >> 7. >> 8. >> 9. >> 10. >> 11. >> 12. >> 13. >> 14. >> 15. >> 16. >> 17. >> 18. >> 19. >> 20. >> 21. >> 22. >> 23. >> 24. >> 25. >> >> >> >> Traceback (most recent call last): >> File "/home/www-data/web2py/gluon/restricted.py", line 219, in >> restricted >> exec(ccode, environment) >> File >> "/home/www-data/web2py/applications/Insurfact_Agents/models/db.py", line >> 96, in <module> >> auth.define_tables(username=False, signature=False) >> File "/home/www-data/web2py/gluon/tools.py", line 2091, in define_tables >> super(Auth, self).define_tables(username, signature, migrate, >> fake_migrate)._table_signature_list >> File "/home/www-data/web2py/gluon/authapi.py", line 350, in >> define_tables >> format='%(first_name)s %(last_name)s (%(id)s)')) >> File "/home/www-data/web2py/gluon/packages/dal/pydal/base.py", line >> 590, in define_table >> table = self.lazy_define_table(tablename, *fields, **kwargs) >> File "/home/www-data/web2py/gluon/packages/dal/pydal/base.py", line >> 624, in lazy_define_table >> polymodel=polymodel) >> File "/home/www-data/web2py/gluon/packages/dal/pydal/adapters/base.py", >> line 798, in create_table >> return self.migrator.create_table(*args, **kwargs) >> File "/home/www-data/web2py/gluon/packages/dal/pydal/migrator.py", line >> 296, in create_table >> sql_fields_old = pickle.load(tfile) >> File "/usr/lib/python2.7/pickle.py", line 1378, in load >> return Unpickler(file).load() >> File "/usr/lib/python2.7/pickle.py", line 858, in load >> dispatch[key](self) >> File "/usr/lib/python2.7/pickle.py", line 886, in load_proto >> raise ValueError, "unsupported pickle protocol: %d" % proto >> ValueError: unsupported pickle protocol: 3 >> >> >> but tried to deploy an app in apache, got this error >> as you see the lines in model.db is related to the creations of Auth >> objects, >> i would apprecieate any help... >> Thanks in advance >> > -- > 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/iYpNBEdmZIE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > web2py+unsubscr...@googlegroups.com. > 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.