I have identified the problem and sent a patch to Massimo (attached). In the meantime, it should work if you change:
response.models_to_run.append(...) to: response.models_to_run = [...] When mutating response.models_to_run, it doesn't recognize that it has changed, so you need to do a new assignment instead. Anthony On Friday, December 20, 2013 7:04:18 AM UTC-5, rochacbruno wrote: > > If somebody can help ans test it there is an live app here: > > https://web2admin.pythonanywhere.com/admin > > password: 35c15f36 > > error: https://web2admin.pythonanywhere.com/welcome/web2admin > ticket: > https://web2admin.pythonanywhere.com/admin/default/ticket/welcome/177.189.155.195.2013-12-20.11-35-10.50855933-8c61-4d91-b1d2-e765a803f698 > > But if url is changed it works: > > https://web2admin.pythonanywhere.com/welcome/plugin_web2admin/index<https://web2admin.pythonanywhere.com/welcome/plugin_web2admin/index#> > user: ad...@example.com > password: admin > > note that the problem only occurs when using the shortcut 'web2admin' > instead of 'plugin_web2admin' > -- 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/groups/opt_out.
diff -r ec6720a491e6 gluon/compileapp.py --- a/gluon/compileapp.py Tue Dec 17 16:50:42 2013 -0600 +++ b/gluon/compileapp.py Fri Dec 20 09:41:46 2013 -0500 @@ -528,7 +528,7 @@ models_to_run = None for model in models: if response.models_to_run != models_to_run: - regex = models_to_run = response.models_to_run + regex = models_to_run = response.models_to_run[:] if isinstance(regex, list): regex = re_compile('|'.join(regex)) if models_to_run: