hmm hmm, 2.8.2 is pretty old... I am not sure, but I think I remember read
about issue in sessions2trash script... I would start by investigating if
that was really the case...

Richard

On Tue, Feb 16, 2016 at 7:33 PM, peter <peterchutchin...@gmail.com> wrote:

> I want to clean up sessions every 5 minutes.
>
> When I do
>
> nohup python web2py.py -S app -M -R scripts/sessions2trash.py &
>
> replacing app with my apps name, I get
>
> Traceback (most recent call last):
>   File "web2py.py", line 18, in ?
>     import gluon.widget
>   File "/opt/web-apps/web2py/gluon/__init__.py", line 15, in ?
>     from globals import current
>   File "/opt/web-apps/web2py/gluon/globals.py", line 84
>     self.write(EMPTY_DICT if self.bin else MARK+DICT)
>                            ^
> SyntaxError: invalid syntax
>
>
> I am running Web2py version 2.8.2
>
> Any Ideas?
>
> 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/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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to