Alas, no change with
Version 1.81.4 (2010-07-17 16:14:44)
One more little observation: In general, I can load a page from
either, but not both, of the browsers repeatedly and not get the
problem. It happens with alternation, as discussed previously, but I
now notice that I seem to be able to cause it by reloading on either
laptop 10-15 times and then it will happen first time I click the
other.
Here's the simplest controller and view I've been able to reproduce it
with:
def index():
"""
example action using the internationalization operator T and flash
rendered by views/default/index.html or views/generic.html
"""
response.flash = T('Welcome to PeerTool')
return dict(message=T('Hello World'))
--------------------
{{extend 'layout.html'}}
{{try:}}{{=H2(message)}}{{except:}}{{=BEAUTIFY(response._vars)}}
{{pass}}
PeerTool is an easy-to-use web application for collaborative problem
solving. To use it, you and your group need to:
<ol>
<li>Register and confirm your identity by email</li>
<li>Watch the short tutorial screencast below</li>
<li>Start collaborating!</li>
</ol>
--------------------
The db.py is only a little more complicated. Sets up logging, auth,
local_imports a module, and defines a couple of tables.
Hope this is useful,
Mike
On Jul 21, 5:03 pm, mdipierro <[email protected]> wrote:
> The fact that you are having the problem with static files is giving
> me an idea for a test.
> Can you please try the web2py I just posted in trunk?
>
> Massimo
>
> On Jul 21, 2:08 pm, MikeEllis <[email protected]> wrote:
>
>
>
> > One more detail. As you would hope, it's generally not the case that
> > both browsers stall at the same time. While stalled on either laptop
> > I can keep reloading on the other.
>
> > On Jul 21, 3:03 pm, MikeEllis <[email protected]> wrote:
>
> > > I tried changing to cron=False in web2py.py. No impact on problem.
> > > Same two-laptop setup as described previous. Happens even on pages
> > > that contain very little. Chrome DevTools shows same problem as
> > > before: One or more the .js/.css/.png files are delayed by 20 to 25
> > > seconds latency.
>
> > > The problem is also unaffected by whether I run web2py under winpdb or
> > > directly from the command line. If I interrupt during the latency
> > > while running under winpdb, I typically see
>
> > > * MainThread in rocket.py start() on line 301
> > > * Thread1 in threading.py wait() called by Queue.py get() called by
> > > rocket.py run() line 405
> > > * Remaining 10 threads all in socket.py readline() called by rocket.py
> > > read_request_line() line 825
>
> > > I'd send you the full stack traces but winpdb doesn't seem to support
> > > copying selections. (argggh!)
>
> > > Hope this is useful.
> > > Mike
>
> > > On Jul 21, 1:01 pm, Kuba Kucharski <[email protected]> wrote:
>
> > > > yes, but I am on the GPRS connection now, I am not able to test it so
> > > > the results be reliable, I will try to do that asap