[web2py] web2py-2.18.5/python3 profile page: AttributeError: 'FieldVirtual' object has no attribute 'compute'
Hello, Receiving the following exception when visiting the profile page. App is migrated from 2.13.4, virtual fields in auth_user extra fields are: Field.Virtual('field_a', lambda row: function_a(row.auth_user.id)), Field.Virtual('field_b', lambda row: function_b(row.auth_user.id))] File "/web2py-2.18.5-python3/gluon/tools.py", line 3665, in if any(f.compute for f in extra_fields): AttributeError: 'FieldVirtual' object has no attribute 'compute' -- 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.
[web2py] Web2py with python3: difference in error reporting
I'm wondering if Massimo is tuu busy in his new job. I'd love to help, but this seem like a probleme rooted deeply in the core of web2py. Is there anyone that knows web2py as well as Massimo to have a look? I'm happy to help with testing. Just assuming things here btw. -- 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.
[web2py] Web2py with python3: difference in error reporting
Reported the same a few days ago but have heard nothing. :( https://groups.google.com/forum/m/#!topic/web2py/dTsDZJ8jhyg -- 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.
[web2py] Web2py with python3: difference in error reporting
I'm contemplating switching my web2py site to python3. However, when I do so, the error messages logged to applications/myapp/errors, to which I'm directed if I have made a web2py python coding error, seem a lot less useful, for instance they don't seem to give sensible line numbers into my code files to help locate the error. Should this normally worth OK (i.e. have I set something up wrongly?). ISTR this is true both for a compiled site and a non-compiled site. -- 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.
Re: [web2py] web2py with python3
pls use web2py source version, and if you use conda, perhaps this thread discussion can help ref: https://groups.google.com/forum/#!topic/web2py/unamesXfBs4 best regards, stifan -- 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.
Re: [web2py] web2py with python3
That's what I thought... I see others give you tip, I think there few things I can had good luck Richard On Tue, Jun 12, 2018 at 2:45 PM, yifan li wrote: > Hi Richard, > > Thank you for your reply. I'm using a window8 OS. My web2py version is > 2.16.1 which is the latest version. After I download the zip file, I just > execute 'web2py.exe' in terminal. There is no file called 'web2py.py' so > that I'm not allowed to use 'python3 web2py.py' to run this booster > file. What would you recommend next move from my current situation. Thank > you! > > Best regards, > Yifan > > On Tuesday, June 12, 2018 at 11:09:14 AM UTC-4, Richard wrote: > >> You update python in your system not web2py... What is your environement >> windows|linux|mac? I guess since you use Anaconda you are under windows or >> mac... web2py been ported to python 3.4+, but I am not sure it could be >> considered production ready under python 3. I am not following progress >> carefully since sometimes, but last time I check there were still issue >> with paramiko lib that wasn't still ported to python 3 which I think migth >> represent challenge for the hashing of the password under python 3... If >> you rely on LDAP and don't manage you own password it not an issue. Other >> then that, the only remaining constraints would be limited testing of >> web2py under python 3 that would had prevent the exposition of some >> remaining unported piece of code... So you migth experience some little >> compatibility issue under python 3, but they should be consider corner >> cases. I am sure if you report them there will be someone fixing them asap >> and you can get them fixed by using the last trunk verion (not the stable >> version)... For the same reason, I would recommanded to use the latest >> trunk version if you intend to run under python 3 because there will be >> less compatibility issues as there isn't been a new web2py version since >> sometimes and there been many compatibilities issues fixed since then. >> >> If you use linux box most of them are ship with python 3 beside python 2 >> or even python 3 as default sometimes... If it is not the case, you can >> start web2py with "python3 web2py.py ..." >> >> >> Richard >> >> On Tue, Jun 12, 2018 at 10:19 AM, yifan li wrote: >> >>> Hi everyone, >>> >>> I install latest version for web2py. But the python version in web2py is >>> 2.7.9. However, I executed web2py in anaconda. My anaconda has python >>> version 3.6 installed. How could I upgrade python version to 3.6 in web2py. >>> >>> Best regards, >>> Yifan >>> >>> -- >>> 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+un...@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.
Re: [web2py] web2py with python3
> > Thank you for your reply. I'm using a window8 OS. My web2py version is > 2.16.1 which is the latest version. After I download the zip file, I just > execute 'web2py.exe' in terminal. There is no file called 'web2py.py' so > that I'm not allowed to use 'python3 web2py.py' to run this booster > file. What would you recommend next move from my current situation. Thank > you! > To run web2py under Python 3 you must use the source version of web2py with your own Python 3 installation. The binary distribution of web2py comes with Python 2 only. Anthony -- 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.
Re: [web2py] web2py with python3
You should probably download the source version and follow the indications in http://www.web2py.com/books/default/chapter/29/03/overview#Startup about the source distribution. That way you invoke web2py.py with whatever version of Python you want to use. -- 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.
Re: [web2py] web2py with python3
Hi Richard, Thank you for your reply. I'm using a window8 OS. My web2py version is 2.16.1 which is the latest version. After I download the zip file, I just execute 'web2py.exe' in terminal. There is no file called 'web2py.py' so that I'm not allowed to use 'python3 web2py.py' to run this booster file. What would you recommend next move from my current situation. Thank you! Best regards, Yifan On Tuesday, June 12, 2018 at 11:09:14 AM UTC-4, Richard wrote: > You update python in your system not web2py... What is your environement > windows|linux|mac? I guess since you use Anaconda you are under windows or > mac... web2py been ported to python 3.4+, but I am not sure it could be > considered production ready under python 3. I am not following progress > carefully since sometimes, but last time I check there were still issue > with paramiko lib that wasn't still ported to python 3 which I think migth > represent challenge for the hashing of the password under python 3... If > you rely on LDAP and don't manage you own password it not an issue. Other > then that, the only remaining constraints would be limited testing of > web2py under python 3 that would had prevent the exposition of some > remaining unported piece of code... So you migth experience some little > compatibility issue under python 3, but they should be consider corner > cases. I am sure if you report them there will be someone fixing them asap > and you can get them fixed by using the last trunk verion (not the stable > version)... For the same reason, I would recommanded to use the latest > trunk version if you intend to run under python 3 because there will be > less compatibility issues as there isn't been a new web2py version since > sometimes and there been many compatibilities issues fixed since then. > > If you use linux box most of them are ship with python 3 beside python 2 > or even python 3 as default sometimes... If it is not the case, you can > start web2py with "python3 web2py.py ..." > > > Richard > > On Tue, Jun 12, 2018 at 10:19 AM, yifan li > wrote: > >> Hi everyone, >> >> I install latest version for web2py. But the python version in web2py is >> 2.7.9. However, I executed web2py in anaconda. My anaconda has python >> version 3.6 installed. How could I upgrade python version to 3.6 in web2py. >> >> Best regards, >> Yifan >> >> -- >> 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+un...@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.
Re: [web2py] web2py with python3
You update python in your system not web2py... What is your environement windows|linux|mac? I guess since you use Anaconda you are under windows or mac... web2py been ported to python 3.4+, but I am not sure it could be considered production ready under python 3. I am not following progress carefully since sometimes, but last time I check there were still issue with paramiko lib that wasn't still ported to python 3 which I think migth represent challenge for the hashing of the password under python 3... If you rely on LDAP and don't manage you own password it not an issue. Other then that, the only remaining constraints would be limited testing of web2py under python 3 that would had prevent the exposition of some remaining unported piece of code... So you migth experience some little compatibility issue under python 3, but they should be consider corner cases. I am sure if you report them there will be someone fixing them asap and you can get them fixed by using the last trunk verion (not the stable version)... For the same reason, I would recommanded to use the latest trunk version if you intend to run under python 3 because there will be less compatibility issues as there isn't been a new web2py version since sometimes and there been many compatibilities issues fixed since then. If you use linux box most of them are ship with python 3 beside python 2 or even python 3 as default sometimes... If it is not the case, you can start web2py with "python3 web2py.py ..." Richard On Tue, Jun 12, 2018 at 10:19 AM, yifan li wrote: > Hi everyone, > > I install latest version for web2py. But the python version in web2py is > 2.7.9. However, I executed web2py in anaconda. My anaconda has python > version 3.6 installed. How could I upgrade python version to 3.6 in web2py. > > Best regards, > Yifan > > -- > 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.
[web2py] web2py with python3
Hi everyone, I install latest version for web2py. But the python version in web2py is 2.7.9. However, I executed web2py in anaconda. My anaconda has python version 3.6 installed. How could I upgrade python version to 3.6 in web2py. Best regards, Yifan -- 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.
[web2py] web2py and python3
I know this has come up in the past, but it hasn't been asked in a while. Is there ever going to be a usable and maintained Python3-compatible fork of web2py? The latest edition of Fedora now ships with Python3 by default. It's the default version used in Django's tutorial. I'm not using Python3 now, but I can see the day when I inevitably will. I don't want to invest the time in a framework if I know I'll have to abandon it later. -- 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.
Re: [web2py] web2py and python3
I am curious how much interest has been garnered for python 3 support. I have read about people askign about it for quite some time. And have seen that it may very well be a different project all together (web3py ?). Python 3 seems to really have picked up a lot more in the last couple years. even the last 6 months. Well, at least to me it seems. I am starting something new and would love to use python 3 and web2py looks great. So I am not sure yet. I almost feel like I would rather use django or pyramid that has python 3 support. On Thursday, March 27, 2014 7:06:05 PM UTC-7, Massimo Di Pierro wrote: and it never will - by definition. we''l build something that works with python3 eventually. On Thursday, 27 March 2014 11:06:08 UTC-5, viniciusban wrote: Web2py doesn't work with Python 3 yet. On Thu, Mar 27, 2014 at 8:01 AM, Maurice Waka mauri...@gmail.comjavascript: wrote: Does web2py function with python 3.3 or python 3.4? I have installed web2py but it cannot run with the python3.4 that I use. I get an error after trying to run the 'web2py.exe - S welcome' that says, syntax error -- 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+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.
[web2py] web2py and python3
Does web2py function with python 3.3 or python 3.4? I have installed web2py but it cannot run with the python3.4 that I use. I get an error after trying to run the 'web2py.exe - S welcome' that says, syntax error -- 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.
Re: [web2py] web2py and python3
Web2py doesn't work with Python 3 yet. On Thu, Mar 27, 2014 at 8:01 AM, Maurice Waka mauricew...@gmail.com wrote: Does web2py function with python 3.3 or python 3.4? I have installed web2py but it cannot run with the python3.4 that I use. I get an error after trying to run the 'web2py.exe - S welcome' that says, syntax error -- 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.
Re: [web2py] web2py and python3
El Thu, 27 Mar 2014 04:01:56 -0700 (PDT) Maurice Waka mauricew...@gmail.com escribió: Does web2py function with python 3.3 or python 3.4? I have installed web2py but it cannot run with the python3.4 that I use. I get an error after trying to run the 'web2py.exe - S welcome' that says, syntax error You'll have to wait for web3py... https://github.com/mdipierro/web3py Marco. -- 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.
Re: [web2py] web2py and python3
and it never will - by definition. we''l build something that works with python3 eventually. On Thursday, 27 March 2014 11:06:08 UTC-5, viniciusban wrote: Web2py doesn't work with Python 3 yet. On Thu, Mar 27, 2014 at 8:01 AM, Maurice Waka mauricew...@gmail.com wrote: Does web2py function with python 3.3 or python 3.4? I have installed web2py but it cannot run with the python3.4 that I use. I get an error after trying to run the 'web2py.exe - S welcome' that says, syntax error -- 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.
[web2py] Web2Py and Python3
What are the long-term plans to migrate to Python3? I've searched for roadmaps and timelines, anything that comes up is dated and not maintained. Thanks, Dave -- --- 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/groups/opt_out.