Hi sandeep, At last I have figured it out myself and the python version is now 3.6.0 And after this change your payumoney app is also running. :-) Thanks.
[image: image.png] On Sat, Dec 15, 2018 at 3:21 PM Arindam Dasgupta <nyn.dasgu...@gmail.com> wrote: > Hi I backed up my apps and clicked on the upgrade button. The result is > that web2py version got changed to 2.17.2 but python version is still > 2.7.6. Now how to upgrade to python 3.6.6 Please don't answer my question > today. Because I know it is too much for today . :-) > > [image: image.png] > > On Sat, Dec 15, 2018 at 2:35 PM sandeep patel <patelsandeep...@gmail.com> > wrote: > >> Currently, you are using python 2.7.6 and web2py 2.14.6 version. >> I have tested this app on python3.6.6 and web2py 2.16.1 and 2.17.2. >> >> You can upgrade directly by clicking on the button(upgrade new to version >> 2.17.2). >> But be careful first take back-up of your apps :) >> >> Thanks/ >> >> >> >> >> >> >> >> >> On Sat, Dec 15, 2018 at 2:03 PM Arindam Dasgupta <nyn.dasgu...@gmail.com> >> wrote: >> >>> Hi Sandeep, >>> In my pythonanywhere page I can see the following version . So my >>> version is 2.7.6 or 2.14.6 ? >>> Now I am getting a upgrade option here to version 2.17.2 but it is >>> telling that is is an experimental one. So how do I upgrade it to one of >>> your version ( 2.16.1 or 2.17.2). And also I I do, then will my existing >>> apps be still there or I will have to reinstall them? >>> Sorry If I am asking too much questions. Thanks in advance. :-) >>> >>> >>> [image: image.png] >>> >>> On Sat, Dec 15, 2018 at 1:43 PM sandeep patel <patelsandeep...@gmail.com> >>> wrote: >>> >>>> 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. >>>> >>> -- >>> 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.