On Monday, September 3, 2018 at 1:47:41 PM UTC-4, Leonel Câmara wrote:
>
> Since it only happens with some installations, my guess is that this is 
> happening in the case where this is the only web2py app (not even the admin 
> or welcome is installed). In this case the list of applications is probably 
> a single string instead of a list. 
>
> Are you setting routers.BASE.applications somewhere in your routes.py?
>
> Otherwise, I think this is definitely a web2py bug where the default value 
> of routers.BASE.applications which is a string 'ALL' is being passed 
> without being converted to a list of all applications.
>

Doesn't look like routers.BASE.applications is set in routes.py, but it 
appears that somehow in the context of the scheduler, the default value of 
'ALL' is not getting converted to a list of apps. It's hard to track down 
exactly where things are going wrong.

Lisandro, maybe confirm the value of routers.BASE.applications at that 
point in rewrite.py by printing/logging it.

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.

Reply via email to