Did you try re-compile?

On Tuesday, 8 April 2014 08:21:58 UTC-5, Alex wrote:
>
> since I have serious problems with internal cron I want to switch to 
> external cron. 
>
> I created a test controller function which I can call like this:
>
> python web2py.py -J -M -S myapp/dev/test_cron
>
>
> in previous web2py versions (2.4.6 to be precise) this call works, but 
> with 2.9.5 I get this error message:
>
>  IOError: [Errno 2] No such file or directory: 
> 'applications/myapp/compiled/controllers_dev_test_cron.pyc' 
>
> this file is not found because the compiled file is saved as  
> controllers.dev.test_cron.pyc (instead of controller_dev_test_cron.pyc in 
> previous versions).
>
>
> So I assume this is a bug in web2py when directly calling a controller 
> function from the command line.
>
>
> regards,
>
> Alex
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to