[web2py] Re: Importng dropbox and scheduler problem
It seems that the problem was caused by uwsgi running under python2.7, and the service using python2.6. Confusing that it ran from the command line with python2,6 fine. So this thread is now closed. -- 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.
[web2py] Re: Importng dropbox and scheduler problem
> > I have made some progress. > The import of dropbox works fine when the scheduler is started from the command line python2.6 /opt/web-apps/web2py web2py.py -K myapp But it does not work when the scheduler is started as a service. So the issue is caused when one starts the scheduler as a service. In my startup file DAEMON=python2.6 PARAMETERS="/opt/web-apps/web2pyr/web2py.py -K new_spin2" and RUN=RUN=`$DAEMON $PARAMETERS So it is doing the same thing, so the issue I guess is caused by the order of startup of the services. Does anyone know how this can affect imports into python? Thanks Peter -- 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.