Hi! My firefox is 3.5.15, the latest rpm for Fedora 12. I will be switching to F14 in the not-too-distant future and I'm sure that will update me to 3.6. Maybe that will help.

What local files would MozRepl be trying to load? My firefox is already open and it works fine/normal while browsing hundreds of pages all day long. Hmmm, perhaps because I'm doing the cpan install as root but the firefox is running as my non-root user? I'll investigate that.

I think your guess about waiting is correct. Like I said, things always load immediately when a mech call is made, but the calls then sit there for a long time before returning.

Further tests on simple sites indicate that it probably is just this over-the-top js site I am trying to mech that is causing the problems. The simple sites seem to mech just fine.

Perhaps a "max_wait" option could be added to force mech call returns after X seconds even if they think they still need to wait. Something like "return with what you have at the moment" shortcut.

I'm pretty good with perl and I could certainly help with coding and testing if I get some hints on where to look. The module and its zillion dependencies taken together are quite a daunting pile for me at the moment.


In reply to Re^2: WWW::Mechanize::Firefox delayed returns / slow by tcordes
in thread WWW::Mechanize::Firefox delayed returns / slow by tcordes

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.