Same problem for me.

On 25 nov, 06:04, Anthony <[email protected]> wrote:
> Is the test supposed to be done without the win32 extensions installed
> (I have them installed)?
>
> Anyway, I tried the test. Before updating trunk, it behaves as you say
> -- I opened two windows in quick succession -- the first took 10
> seconds to load, and then the second took an additional 10 seconds to
> load after the first one finished.
>
> I then updated trunk, and now can't start web2py -- getting the
> following traceback:
>
>   Traceback (most recent call last):
>   File "web2py.py", line 23, in <module> gluon.widget.start(cron=True)
>   File "C:\Users\Anthony\Programming\temp\gluon\widget.py", line 785,
> in start newcron.hardcron(options.folder).start()
>   File "C:\Users\Anthony\Programming\temp\gluon\newcron.py", line 50,
> in __init__ crondance(self.path, 'hard', startup=True)
>   File "C:\Users\Anthony\Programming\temp\gluon\newcron.py", line 234,
> in crondance cronmaster = token.acquire(startup=startup)
>   File "C:\Users\Anthony\Programming\temp\gluon\newcron.py", line 118,
> in acquire portalocker.unlock(self.master)
>   File "C:\Users\Anthony\Programming\temp\gluon\portalocker.py", line
> 76, in unlock file.fseek(0)
>   AttributeError: 'file' object has no attribute 'fseek'
>
> Anthony
>
> On Nov 24, 11:26 pm, mdipierro <[email protected]> wrote:
>
> > I made a change that on windows will provide locking without need for
> > MH win32 extensions.
>
> > Can you help me test it.
>
> > Make a log action like
>
> > def index():
> >       import time
> >       time.sleep(10)
> >       return dict()
>
> > call it twice (on windows) from different browser windows. Will the
> > second window lock until the former is done? should be locked because
> > session is locked with file-locking.
>
> > test before upgrade to trunk and after.
>
> > Massimo
>
>

Reply via email to