Maybe, but don't understand why Mr Google provide me with this link in the first place...
But anyway, thanks point this tricks... :) Richard On Tue, Feb 16, 2016 at 10:34 PM, Dave S <snidely....@gmail.com> wrote: > > > On Tuesday, February 16, 2016 at 6:51:47 PM UTC-8, Richard wrote: >> >> Found this : >> https://groups.google.com/forum/?hl=zh-TW#!topic/web2py/w742DgCajIo >> >> May apply, sorry I don't understand why google group display in asian >> language but the thread message are in plain english... >> > > Change the hl=zh-TW in the URL to hl=en > > >> >> I didn't find any report of session2trash issue other then that... >> >> Richard >> >> On Tue, Feb 16, 2016 at 9:48 PM, Richard Vézina <ml.richa...@gmail.com> >> wrote: >> >>> 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 <peterchu...@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+un...@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. > -- 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.