[web2py] Re: 1054, "Unknown column in 'field list'... Help me

2021-08-26 Thread pa...@cancamusa.net
It's also important to use fake_migrate_all=True, besides fake_migrate=True and migrate=True. On Thursday, July 29, 2021 at 1:15:11 PM UTC+2 pa...@cancamusa.net wrote: > My problem came from importing a sql database backup. I had to checkout > the version which was used to make

[web2py] Re: 1054, "Unknown column in 'field list'... Help me

2021-07-29 Thread pa...@cancamusa.net
My problem came from importing a sql database backup. I had to checkout the version which was used to make that backup, then update the code and trust the web2py migrations, which worked, then make a new backup for the test data. Regards -- Resources: - http://web2py.com - http://web2py.com/bo

[web2py] Re: 1054, "Unknown column in 'field list'... Help me

2021-07-26 Thread pa...@cancamusa.net
Hello: I'm getting this problem and, like the author, deleting the database folder and fake_migrating did not help. The link to the "the solution provided in this link" above is broken: could anyone please copy and paste it, or link to newer documentation, since that comment from 2014 may not

Re: [web2py] Re: is there a guide / discussion / hints for migrating apps to python3?

2020-09-25 Thread pa...@cancamusa.net
uwsgi 6. restart the uwsgi unit 7. compile your app again I think that's all, of course once you have tested-to-exhaustion your app with python3 locally. Have a nice weekend El jueves, 10 de septiembre de 2020 a las 4:40:16 UTC+2, pa...@cancamusa.net escribió: > Thanks, Jim, tho

Re: [web2py] Re: is there a guide / discussion / hints for migrating apps to python3?

2020-09-09 Thread pa...@cancamusa.net
migrating apps to python3? >> >> >> >> If I got it right, it is just fine to run two web2py installs, one with >> python2, the other with python3, it is only required to edit wsgihandler.py >> and let it start with >> >> >> >> #!/usr/

Re: [web2py] Re: is there a guide / discussion / hints for migrating apps to python3?

2020-09-09 Thread pa...@cancamusa.net
-a-proper-way-to-make-web2py-use-python3-instead-of-python2 > > https://gist.github.com/simoncoulton/2625954 > > Anyway, I use Apache with libapache2-mod-wsgi-py3. It’s just work fine. > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Wi

[web2py] Re: is there a guide / discussion / hints for migrating apps to python3?

2020-09-05 Thread pa...@cancamusa.net
, pa...@cancamusa.net escribió: > > Hello: > > I know I'm late, but I'm migrating my app to python3. The 2to3 library did > most of the work. Most of the remaining errors were simple to solve, having > to do with string, bytes, encode and decode. > > I found it o

[web2py] is there a guide / discussion / hints for migrating apps to python3?

2020-09-05 Thread pa...@cancamusa.net
Hello: I know I'm late, but I'm migrating my app to python3. The 2to3 library did most of the work. Most of the remaining errors were simple to solve, having to do with string, bytes, encode and decode. I found it odd that web2py returns str objects to the db queries, but the xml() method ret