please try delete everything in apps/_scaffold/databases/* I was not able to reproduce after I did that
On Sunday, 9 June 2019 01:23:08 UTC-7, John Bannister wrote: > > I tried both with and without. Same or very similar result. It is only > complaining about the auth_user_tag table which is defined in the auth > module. > > > > *From:* web2py@googlegroups.com [mailto:web2py@googlegroups.com] *On > Behalf Of *Massimo Di Pierro > *Sent:* 08 June 2019 07:19 > *To:* web2py-users > *Subject:* [web2py] Re: Web3py > > > > try a db.commit() after your define_table(s). > > On Monday, 3 June 2019 08:16:27 UTC-7, John Bannister wrote: > > Hi All, > > > > Finally gotten round to playing again on the latest Web3py. > > > > On _scaffold app .. if I add new tables to model file and then reload from > the dashboard .. I get errors as follows:- > > File "C:\Users\johhb\py3\lib\site-packages\pydal\base.py", line 581, in > define_table > > raise SyntaxError('table already defined: %s' % tablename) > > File "<string>", line None > > SyntaxError: table already defined: auth_user_tag_groups > > Only way around it seems to be to delete contents of database folder and > restart. > > > > Dashboard app hangs on reload sometimes (I think it has to do the with > same issue above) and only way to get round it is to restart the server and > refresh the _dashboard app. > > > > I really want to start using it to create a few new apps I am due to start > working on shortly even though I am well aware that it is not yet > production ready so will keep testing and assist wherever I can. Thanks > again for all the hard work put in so far I am sure its gonna be a really > cool solution. > > > > Best Regards > > John > > > > > > On Thursday, 16 May 2019 17:15:44 UTC+2, John Bannister wrote: > > Hi All, > > > > Had a first real 'play' with web3py' today and have a few questions the > biggest of which I am hoping the gurus will be able to answer:- > > > > 1: Is there any way to not to have to restart the app every time changes > are made to actions in the controller or new actions added etc? I > understand that controllers are basically being imported when the app fires > up but is any there any way to occasionally reload instead of having to > restart the app? This is a fairly big one for me as sometimes tweaks will > need to be made in production and restarting the web server is not really > an option so hopefully I am missing something really simple. > > > > Thanks in advance > > John > > > > > > > > > > > > > > > > -- > 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. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/33476d6d-05dd-4452-a67b-e919b06d08b6%40googlegroups.com > > <https://groups.google.com/d/msgid/web2py/33476d6d-05dd-4452-a67b-e919b06d08b6%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/2f98fc4f-6d91-4393-bc33-5b2a82f57a7c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.