Re: [web2py] Re: Changing main repo and database model modifications

2020-12-07 Thread Jon Subscripted
Thanks Clemens and Jim S. So I guess that I should use the "python web2py.py -M -S " command option to create the new table files, right? On Mon, Dec 7, 2020 at 8:54 PM Clemens wrote: > Please try *not* to use the .table files. You can just rename database > folder to database.orig and create

[web2py] Re: Changing main repo and database model modifications

2020-12-07 Thread Clemens
Please try *not* to use the .table files. You can just rename database folder to database.orig and create a new database folder in your application directory. This is necessary since on the "new machine" there are new databases created, I guess. Have a try. If it's solve the problem you can

[web2py] Re: Changing main repo and database model modifications

2020-12-07 Thread Jim S
Can you try setting migrate=True, fake_migrate=True and fake_migrate_all=True in the new repo? either that, or copy the databases directory over from old repo to the new repo. -Jim On Monday, December 7, 2020 at 9:10:06 AM UTC-6 Jonsubs wrote: > Oh, I forgot to comment (and I believe it may

Re: [web2py] Module error

2020-12-07 Thread Warwick JC
I had the same issue with pygal. After putting the pygal moduIe in the modules folder all was sorted. On Mon, Dec 7, 2020, 18:43 Gaël Princivalle wrote: > That's crazy for sure. > The modules are in the modules folder . > I don't understand why they don't appear in the modules list and why >

Re: [web2py] Module error

2020-12-07 Thread Gaël Princivalle
That's crazy for sure. The modules are in the modules folder . I don't understand why they don't appear in the modules list and why they're not found by my application. Il giorno lunedì 7 dicembre 2020 alle 15:36:28 UTC+1 lbjc...@gmail.com ha scritto: > Easier and crazy way I do is install the

[web2py] Re: Changing main repo and database model modifications

2020-12-07 Thread Jon Subscripted
Oh, I forgot to comment (and I believe it may be relevant) that I'm using a MySQL database. And when I try to add a new column to a previously defined table (defined and created originally in another repo) I do get the error below: InternalError: (1054, u"Unknown column 'tag.in_between' in

Re: [web2py] Module error

2020-12-07 Thread Warwick JC
Easier and crazy way I do is install the requests module in modules folder or site packages. On Mon, Dec 7, 2020, 16:51 Gaël Princivalle wrote: > > Hello. > > Moving an app to another server I've this error: > No module named > applications.myapp.modules.requests > > Of course I've the modules

[web2py] Module error

2020-12-07 Thread Gaël Princivalle
Hello. Moving an app to another server I've this error: No module named applications.myapp.modules.requests Of course I've the modules in my app. The previous Web2py version was 2.14.16. Now I use 2.20.4. Someone knows what's the problem? Thanks. -- Resources: - http://web2py.com -

[web2py] Changing main repo and database model modifications

2020-12-07 Thread Jon Subscripted
Hi all, I want to change the main repo copy from which I work but when I do it I'm not longer capable of modifying the database. BTW the old and new repo are not in the same machine. *My "sql.log" and every ".table" file are uploaded to the repo. *The old repo has migrations enabled (both in