Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: Failing Tests in MozRepl

by Corion (Patriarch)
on Feb 11, 2012 at 10:16 UTC ( [id://953203]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Failing Tests in MozRepl
in thread Failing Tests in MozRepl

I can replicate these failures under Windows XP using Firefox 10.0.1 as well. It seems that Mozilla broke backwards compatibility there. If you only care about using WWW::Mechanize::Firefox, you should be able to force-install MozRepl, as MozRepl::RemoteObject uses a different method of transferring (resp. delimiting) data. At least, the test suite for both modules still pass even though the test suite for MozRepl fails.

Update: It seems that most (but only) MozRepl plugins are affected, like the JSON plug-in. I haven't looked at what could be the cause though.

Replies are listed 'Best First'.
Re^4: Failing Tests in MozRepl
by choroba (Cardinal) on Feb 12, 2012 at 09:11 UTC
    Thank you. Using WWW::Mechanize::Firefox is indeed my goal. After forcing installation of MozRepl, I was able to install MozRepl::RemoteObject, but WWW::Mechanize::Firefox fails some tests:

      This could be a problem with the local test server not starting up or the browser not (always) getting a connection to it. Is the machine under heavy load? THe tests expect the server to be up after 1 second or so...

      The second error seems to be that cookies are not sent, or already have expired. The test cookies get an expiry of 5 seconds. If the machine is under heavy load, that timeout might be too fast, as well...

        Thanks again.
        I ran the install several times, the first failure happens only sometimes (approx. half of the runs). The second errors appear always. It's running on my home machine under no load at all (but it is an older Pentium 4): tested with just fvwm2, firefox and cpan running.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://953203]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-19 19:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found