I think this error getting because of version. I have tested on both versions 2.16.1 and 2.17.2 that working fine. Here is demo <http://13.127.38.120/PayUmoney>
Thanks On Sat, Dec 15, 2018 at 1:32 PM Arindam Dasgupta <nyn.dasgu...@gmail.com> wrote: > Hi Sandeep, > > I installed the app in pythonanywhere cloud and tried to view the > index.html file. it said :Requires web2py 2.15.5 or newer > > Then I commented out the below two lines from db.py and tried again. But > then it gave errors: > if request.global_settings.web2py_version < "2.15.5": > raise HTTP(500, "Requires web2py 2.15.5 or newer") > > Error ticket for "payumoney"Ticket ID > > 42.110.131.171.2018-12-15.07-55-13.2cbcd4c5-a853-4a8c-a2d5-e268448066da > <type 'exceptions.ValueError'> unsupported pickle protocol: 3Version > web2py™ Version 2.14.6-stable+timestamp.2016.05.10.00.21.47 > Python Python 2.7.6: /usr/local/bin/uwsgi (prefix: /usr)Traceback > > 1. > 2. > 3. > 4. > 5. > 6. > 7. > 8. > 9. > 10. > 11. > 12. > 13. > 14. > 15. > > Traceback (most recent call last): > File "/home/earinda/FarmFresh/gluon/restricted.py", line 227, in restricted > exec ccode in environment > File "/home/earinda/FarmFresh/applications/payumoney/models/db.py" > <https://www.pixmate.online/admin/default/edit/payumoney/models/db.py>, line > 95, in <module> > auth.define_tables(username=False, signature=False) > File "/home/earinda/FarmFresh/gluon/tools.py", line 2376, in define_tables > format='%(first_name)s %(last_name)s (%(id)s)')) > File "/home/earinda/FarmFresh/gluon/packages/dal/pydal/base.py", line 834, > in define_table > table = self.lazy_define_table(tablename,*fields,**args) > File "/home/earinda/FarmFresh/gluon/packages/dal/pydal/base.py", line 873, > in lazy_define_table > polymodel=polymodel) > File "/home/earinda/FarmFresh/gluon/packages/dal/pydal/adapters/base.py", > line 500, in create_table > sql_fields_old = pickle.load(tfile) > ValueError: unsupported pickle protocol: 3 > > > > How do I get it right? > > Best Regards, > Arindam > > On Sat, Dec 15, 2018 at 12:34 PM sandeep patel <patelsandeep...@gmail.com> > wrote: > >> Hello All, >> >> I have customized PayUmoney <https://www.payumoney.com/>python SDK for >> the Web2py user. This <https://github.com/coodblooded/Web2py-PayUmoney>app >> can in integrate with any web2py app and customize according to your needs. >> >> Thanks >> Sandeep Patel >> >> -- >> 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. >> > -- > 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. > -- 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.