Thank you Kenneth! I must admit the file is difficult to analyze manually -- I'm happy to send it as an attachement if useful.
On 26 nov, 09:21, Kenneth Lundström <kenneth.t.lundst...@gmail.com> wrote: > If you have access to the file system you can find the error ticket in > the folder /applications/admin/errors > > Kenneth > > > I tried the last version in trunk, and the admin application generates > > a ticket... and looking at the ticket generates another ticket! (which > > is the reason why I cannot provide a traceback). > > But the other applications appear to work fine. > > > On 25 nov, 17:20, mdipierro<mdipie...@cs.depaul.edu> wrote: > >> Perfect! Thanks Mr Freeze. > > >> On Nov 25, 10:18 am, "mr.freeze"<nat...@freezable.com> wrote: > > >>> It seems to be working. I open one in IE and another in Firefox about > >>> 2 seconds later. After the IE page loads, the Firefox page loads about > >>> 2 seconds later. Is that what you're looking for? > >>> On Nov 25, 10:09 am, mdipierro<mdipie...@cs.depaul.edu> wrote: > >>>> At least we know it is being executed. :-) > >>>> I think I fixed this one. Please try again. > >>>> Massimo > >>>> On Nov 25, 9:53 am, "mr.freeze"<nat...@freezable.com> wrote: > >>>>> Traceback (most recent call last): > >>>>> File "C:\eclipse\plugins > >>>>> \org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd.py", line 1145, > >>>>> in<module> > >>>>> debugger.run(setup['file'], None, None) > >>>>> File "C:\eclipse\plugins > >>>>> \org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd.py", line 916, > >>>>> in run > >>>>> execfile(file, globals, locals) #execute the script > >>>>> File "C:\web2py\web2py.py", line 23, in<module> > >>>>> gluon.widget.start(cron=True) > >>>>> File "C:\web2py\gluon\widget.py", line 785, in start > >>>>> newcron.hardcron(options.folder).start() > >>>>> File "C:\web2py\gluon\newcron.py", line 50, in __init__ > >>>>> crondance(self.path, 'hard', startup=True) > >>>>> File "C:\web2py\gluon\newcron.py", line 234, in crondance > >>>>> cronmaster = token.acquire(startup=startup) > >>>>> File "C:\web2py\gluon\newcron.py", line 118, in acquire > >>>>> portalocker.unlock(self.master) > >>>>> File "C:\web2py\gluon\portalocker.py", line 78, in unlock > >>>>> msvcrt.locking(file.fileno(), mode, > >>>>> os.path.getsize(file.filename)) > >>>>> AttributeError: 'file' object has no attribute 'filename' > >>>>> On Nov 25, 9:31 am, mdipierro<mdipie...@cs.depaul.edu> wrote: > >>>>>> can you please try again. > >>>>>> On Nov 24, 11:04 pm, Anthony<abasta...@gmail.com> 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<mdipie...@cs.depaul.edu> 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 > >