in reply to Re^3: can't get www::mechanize::firefox to work
in thread can't get www::mechanize::firefox to work

I was reading the documentation for MozRepl and found this:

In cygwin, please add binmode param as 1 in client args.

$repl->setup({ client => { extra_client_args => { binmode => 1 } } });

Is the above relevant to www::mechanize::firefox? How would I implement the above using the functions included in www::mechanize::firefox?

Replies are listed 'Best First'.
Re^5: can't get www::mechanize::firefox to work
by Corion (Patriarch) on Apr 13, 2013 at 20:33 UTC

    WWW::Mechanize::Firefox uses MozRepl::RemoteObject, which uses MozRepl, so this could be relevant. I don't use Cygwin, so I don't know if this really is relevant.

    I think the easiest way is to pass in a preconstructed MozRepl object when constructing the WWW::Mechanize::Firefox object.

      OK, I might have just gotten lucky here, but I seem to have fixed the problem. I found two lines in Client.pm that explicitly refer to cygwin:

      $command = join(" ", split(/\n/, $command)) if ($^O eq "cygwin"); $args->{extra_client_args}->{binmode} = 1 if ($^O eq "cygwin");

      I commented out both of them and now my script produces the expected output:

      title: Google

      When I run the test suite I get a lot of dubious results, but I seem to have fixed the immediate problem.

        Here is the new error log from running the test suite after making the modification to Client.pm I described above:

        /home/user1/.cpan/build/WWW-Mechanize-Firefox-0.72-GAdS_r[108]> make t +est PERL_DL_NONLAZY=1 /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "te +st_harness(0, 'blib/lib', 'blib/arch')" t/00-load.t t/01-mech-destroy +.t t/47-mech-memleak2.t t/47-mech-ref-memleak.t t/47-mech-simplest.t +t/48-mech-launch.t t/49-mech-get-file.t t/49-mech-nav.t t/49-mech-reu +se.t t/50-allow-js.t t/50-app-new.t t/50-app-profile.t t/50-click.t t +/50-follow-link.t t/50-form-with-fields.t t/50-form2.t t/50-load-and- +load.t t/50-mech-activateTab.t t/50-mech-bufsize.t t/50-mech-closeTab +.t t/50-mech-content.t t/50-mech-ct.t t/50-mech-encoding.t t/50-mech- +error.t t/50-mech-event.t t/50-mech-forms.t t/50-mech-get-nocache.t t +/50-mech-get.t t/50-mech-multi-event.t t/50-mech-new-dsl.t t/50-mech- +new-with-tab.t t/50-mech-new.t t/50-mech-save-dialog.t t/50-mech-set- +fields-875912.t t/50-mech-status.t t/50-popup.t t/50-rt65615.t t/50-t +ick.t t/51-click_button.t t/51-click_js.t t/51-form-number-blakew.t t +/51-mech-field.t t/51-mech-form-with-fields.t t/51-mech-links.t t/51- +mech-navigation.t t/51-mech-sandbox.t t/51-mech-set-content.t t/51-me +ch-submit.t t/52-frame-document.t t/52-frame-event.t t/52-mech-api-fi +nd_link-frames.t t/52-mech-api-find_link.t t/52-mech-xpath.t t/52-sel +ector-frames.t t/52-selector-noframes.t t/52-selector-relative.t t/53 +-mech-capture-js-error.t t/55-basic-auth.t t/60-mech-cookies.t t/60-m +ech-custom-headers.t t/65-is_visible.t t/65-mech-meta.t t/65-set_visi +ble.t t/70-download-url.t t/70-mech-png.t t/70-real-status.t t/70-rt7 +0106-reload.t t/70-rt71216.t t/70-tag-team.t t/70-two-instances.t t/7 +0-urlbar.t t/75-save_url-cookies.t t/99-changes.t t/99-examples.t t/9 +9-manifest.t t/99-pod.t t/99-todo.t t/99-unix-text.t t/99-versions.t +t/rt65615.t t/rt78706.t t/rt84418.t t/select.t t/mechanize/autocheck. +t t/mechanize/content.t t/00-load.t ....................... 1/1 # Testing WWW::Mechanize::Fire +fox 0.72, Perl 5.014002 # Carp 1.26 # Config <unknown> # DynaLoader 1.13 # Encode 2.49 # Encode::Alias 2.16 # Encode::Config 2.05 # Encode::Encoding 2.05 # Exporter 5.67 # Exporter::Heavy 5.67 # Fcntl 1.11 # File::Basename 2.82 # Firefox::Application 0.72 # HTML::Selector::XPath 0.15 # HTTP::Cookies 6.01 # HTTP::Cookies::MozRepl 0.72 # HTTP::Cookies::Netscape 6.00 # HTTP::Date 6.02 # HTTP::Headers 6.00 # HTTP::Headers::Util 6.03 # HTTP::Message 6.03 # HTTP::Response 6.03 # HTTP::Status 6.03 # JSON 2.53 # JSON::XS 2.32 # List::Util 1.27 # MIME::Base64 3.13 # MozRepl::RemoteObject 0.36 # MozRepl::RemoteObject::Methods 0.36 # PerlIO 1.07 # Scalar::Util 1.27 # Storable 2.27 # Test::Builder 0.98 # Test::Builder::Module 0.98 # Test::More 0.98 # Time::HiRes 1.9725 # Time::Local 1.2000 # URI 1.60 # URI::Escape 3.31 # WWW::Mechanize::Firefox 0.72 # WWW::Mechanize::Link <unknown> # XSLoader 0.13 # attributes 0.14 # base 2.16 # bytes 1.04 # common::sense 3.6 # constant 1.25 # overload 1.13 # parent 0.225 # re 0.18 # strict 1.04 # utf8 1.09 # vars 1.02 # warnings 1.12 # warnings::register 1.02 t/00-load.t ....................... ok t/01-mech-destroy.t ............... ok t/47-mech-memleak2.t .............. 1/2 MozRepl::RemoteObject: NS_ERRO +R_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 + (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/47 +-mech-memleak2.t line 22. # Looks like you planned 2 tests but ran 1. # Looks like your test exited with 255 just after 1. t/47-mech-memleak2.t .............. Dubious, test returned 255 (wstat +65280, 0xff00) Failed 1/2 subtests t/47-mech-ref-memleak.t ........... ok t/47-mech-simplest.t .............. ok t/48-mech-launch.t ................ ok t/49-mech-get-file.t .............. 1/8 # Loading /home/user1/.cpan/bu +ild/WWW-Mechanize-Firefox-0.72-GAdS_r/t/49-mech-get-file.html MozRepl::RemoteObject: NS_ERROR_FILE_UNRECOGNIZED_PATH: Component retu +rned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIW +ebNavigation.loadURI] at t/49-mech-get-file.t line 34. # Looks like you planned 8 tests but ran 1. # Looks like your test exited with 255 just after 1. t/49-mech-get-file.t .............. Dubious, test returned 255 (wstat +65280, 0xff00) Failed 7/8 subtests t/49-mech-nav.t ................... 1/3 # Going back t/49-mech-nav.t ................... 2/3 # Going forward t/49-mech-nav.t ................... ok t/49-mech-reuse.t ................. 1/7 MozRepl::RemoteObject: NS_ERRO +R_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 + (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/49 +-mech-reuse.t line 26. # Looks like you planned 7 tests but ran 1. # Looks like your test exited with 255 just after 1. t/49-mech-reuse.t ................. Dubious, test returned 255 (wstat +65280, 0xff00) Failed 6/7 subtests t/50-allow-js.t ................... 1/7 MozRepl::RemoteObject: NS_ERRO +R_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 + (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/50 +-allow-js.t line 24. # Looks like you planned 7 tests but ran 1. # Looks like your test exited with 255 just after 1. t/50-allow-js.t ................... Dubious, test returned 255 (wstat +65280, 0xff00) Failed 6/7 subtests t/50-app-new.t .................... Subroutine MozRepl::__load_plugins + redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.pm li +ne 104. t/50-app-new.t .................... 1/8 # Connected to Firefox version + 20.0.1 # Found 13 addons # Using MozRepl version 1.1.1 t/50-app-new.t .................... ok t/50-app-profile.t ................ Subroutine MozRepl::__load_plugins + redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.pm li +ne 104. t/50-app-profile.t ................ ok t/50-click.t ...................... Subroutine MozRepl::__load_plugins + redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.pm li +ne 104. t/50-click.t ...................... 1/27 MozRepl::RemoteObject: NS_ERR +OR_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x8052000 +1 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/5 +0-click.t line 22. # Looks like you planned 27 tests but ran 1. # Looks like your test exited with 255 just after 1. t/50-click.t ...................... Dubious, test returned 255 (wstat +65280, 0xff00) Failed 26/27 subtests t/50-follow-link.t ................ 1/9 MozRepl::RemoteObject: NS_ERRO +R_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 + (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/50 +-follow-link.t line 22. # Looks like you planned 9 tests but ran 1. # Looks like your test exited with 255 just after 1. t/50-follow-link.t ................ Dubious, test returned 255 (wstat +65280, 0xff00) Failed 8/9 subtests t/50-form-with-fields.t ........... MozRepl::RemoteObject: NS_ERROR_FI +LE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 (NS +_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/50-for +m-with-fields.t line 23. # Looks like your test exited with 255 before it could output anything +. t/50-form-with-fields.t ........... Dubious, test returned 255 (wstat +65280, 0xff00) Failed 9/9 subtests t/50-form2.t ...................... MozRepl::RemoteObject: NS_ERROR_FI +LE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 (NS +_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/50-for +m2.t line 19. # Looks like your test exited with 255 before it could output anything +. t/50-form2.t ...................... Dubious, test returned 255 (wstat +65280, 0xff00) Failed 13/13 subtests t/50-load-and-load.t .............. MozRepl::RemoteObject: NS_ERROR_FI +LE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 (NS +_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/50-loa +d-and-load.t line 19. # Looks like your test exited with 255 before it could output anything +. t/50-load-and-load.t .............. Dubious, test returned 255 (wstat +65280, 0xff00) Failed 2/2 subtests t/50-mech-activateTab.t ........... Subroutine MozRepl::__load_plugins + redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.pm li +ne 104. t/50-mech-activateTab.t ........... ok t/50-mech-bufsize.t ............... ok t/50-mech-closeTab.t .............. Subroutine MozRepl::__load_plugins + redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.pm li +ne 104. t/50-mech-closeTab.t .............. 1/4 # App released # Mech released t/50-mech-closeTab.t .............. ok t/50-mech-content.t ............... ok t/50-mech-ct.t .................... ok t/50-mech-encoding.t .............. Subroutine MozRepl::__load_plugins + redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.pm li +ne 104. MozRepl::RemoteObject: NS_ERROR_FILE_UNRECOGNIZED_PATH: Component retu +rned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIW +ebNavigation.loadURI] at t/50-mech-encoding.t line 29. # Looks like your test exited with 255 before it could output anything +. t/50-mech-encoding.t .............. Dubious, test returned 255 (wstat +65280, 0xff00) Failed 4/4 subtests t/50-mech-error.t ................. ok t/50-mech-event.t ................. ok t/50-mech-forms.t ................. 1/14 MozRepl::RemoteObject: NS_ERR +OR_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x8052000 +1 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/5 +0-mech-forms.t line 21. # Looks like you planned 14 tests but ran 1. # Looks like your test exited with 255 just after 1. t/50-mech-forms.t ................. Dubious, test returned 255 (wstat +65280, 0xff00) Failed 13/14 subtests t/50-mech-get-nocache.t ........... ok t/50-mech-get.t ................... Subroutine MozRepl::__load_plugins + redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.pm li +ne 104. t/50-mech-get.t ................... ok t/50-mech-multi-event.t ........... ok t/50-mech-new-dsl.t ............... MozRepl::RemoteObject: NS_ERROR_FI +LE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 (NS +_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at /home/us +er1/perl5/lib/perl5/Object/Import.pm line 663. # Looks like your test exited with 255 before it could output anything +. t/50-mech-new-dsl.t ............... Dubious, test returned 255 (wstat +65280, 0xff00) Failed 2/2 subtests t/50-mech-new-with-tab.t .......... ok t/50-mech-new.t ................... 1/5 Subroutine MozRepl::__load_plu +gins redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.p +m line 104. Subroutine MozRepl::__load_plugins redefined at /home/user1/perl5/lib/ +perl5/Module/Pluggable/Fast.pm line 104. t/50-mech-new.t ................... 2/5 Subroutine MozRepl::__load_plu +gins redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.p +m line 104. t/50-mech-new.t ................... 3/5 Subroutine MozRepl::__load_plu +gins redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.p +m line 104. t/50-mech-new.t ................... ok t/50-mech-save-dialog.t ........... skipped: Not yet implemented t/50-mech-set-fields-875912.t ..... MozRepl::RemoteObject: NS_ERROR_FI +LE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 (NS +_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/50-mec +h-set-fields-875912.t line 21. # Looks like your test exited with 255 before it could output anything +. t/50-mech-set-fields-875912.t ..... Dubious, test returned 255 (wstat +65280, 0xff00) Failed 4/4 subtests t/50-mech-status.t ................ ok t/50-popup.t ...................... skipped: Opening windows are not y +et tracked t/50-rt65615.t .................... 1/3 # Using MozRepl t/50-rt65615.t .................... 2/3 # Failed test '... and we got the correct bufsize error' # at t/50-rt65615.t line 31. # 'MozRepl::RemoteObject: NS_ERROR_FILE_UNRECOGNIZED +_PATH: Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNR +ECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/50-rt65615.t line 26. # ' # doesn't match '(?^:\b1025\b)' Subroutine MozRepl::__load_plugins redefined at /home/user1/perl5/lib/ +perl5/Module/Pluggable/Fast.pm line 104. Couldn't find a tab matching /(?^:^rt65615.html$)/ at t/50-rt65615.t l +ine 34. # Looks like you failed 1 test of 3. # Looks like your test exited with 255 just after 3. t/50-rt65615.t .................... Dubious, test returned 255 (wstat +65280, 0xff00) Failed 1/3 subtests t/50-tick.t ....................... 1/19 MozRepl::RemoteObject: NS_ERR +OR_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x8052000 +1 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/5 +0-tick.t line 22. # Looks like you planned 19 tests but ran 1. # Looks like your test exited with 255 just after 1. t/50-tick.t ....................... Dubious, test returned 255 (wstat +65280, 0xff00) Failed 18/19 subtests t/51-click_button.t ............... 17/22 # $VAR1 = undef; t/51-click_button.t ............... ok t/51-click_js.t ................... 1/4 MozRepl::RemoteObject: NS_ERRO +R_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 + (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/51 +-click_js.t line 25. # Looks like you planned 4 tests but ran 1. # Looks like your test exited with 255 just after 1. t/51-click_js.t ................... Dubious, test returned 255 (wstat +65280, 0xff00) Failed 3/4 subtests t/51-form-number-blakew.t ......... MozRepl::RemoteObject: NS_ERROR_FI +LE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 (NS +_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/51-for +m-number-blakew.t line 18. # Looks like your test exited with 255 before it could output anything +. t/51-form-number-blakew.t ......... Dubious, test returned 255 (wstat +65280, 0xff00) Failed 7/7 subtests t/51-mech-field.t ................. Subroutine MozRepl::__load_plugins + redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.pm li +ne 104. # Loading 51-mech-submit.html MozRepl::RemoteObject: NS_ERROR_FILE_UNRECOGNIZED_PATH: Component retu +rned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIW +ebNavigation.loadURI] at t/51-mech-field.t line 25. # Looks like your test exited with 255 before it could output anything +. t/51-mech-field.t ................. Dubious, test returned 255 (wstat +65280, 0xff00) Failed 30/30 subtests t/51-mech-form-with-fields.t ...... 1/5 MozRepl::RemoteObject: NS_ERRO +R_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 + (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/51 +-mech-form-with-fields.t line 21. # Looks like you planned 5 tests but ran 1. # Looks like your test exited with 255 just after 1. t/51-mech-form-with-fields.t ...... Dubious, test returned 255 (wstat +65280, 0xff00) Failed 4/5 subtests t/51-mech-links.t ................. 1/8 MozRepl::RemoteObject: NS_ERRO +R_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 + (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/51 +-mech-links.t line 21. # Looks like you planned 8 tests but ran 1. # Looks like your test exited with 255 just after 1. t/51-mech-links.t ................. Dubious, test returned 255 (wstat +65280, 0xff00) Failed 7/8 subtests t/51-mech-navigation.t ............ 1/12 MozRepl::RemoteObject: NS_ERR +OR_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x8052000 +1 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/5 +1-mech-navigation.t line 25. # Looks like you planned 12 tests but ran 1. # Looks like your test exited with 255 just after 1. t/51-mech-navigation.t ............ Dubious, test returned 255 (wstat +65280, 0xff00) Failed 11/12 subtests t/51-mech-sandbox.t ............... 1/17 MozRepl::RemoteObject: NS_ERR +OR_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x8052000 +1 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/5 +1-mech-sandbox.t line 25. # Looks like you planned 17 tests but ran 1. # Looks like your test exited with 255 just after 1. t/51-mech-sandbox.t ............... Dubious, test returned 255 (wstat +65280, 0xff00) Failed 16/17 subtests t/51-mech-set-content.t ........... ok t/51-mech-submit.t ................ 1/11 MozRepl::RemoteObject: NS_ERR +OR_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x8052000 +1 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/5 +1-mech-submit.t line 21. # Looks like you planned 11 tests but ran 1. # Looks like your test exited with 255 just after 1. t/51-mech-submit.t ................ Dubious, test returned 255 (wstat +65280, 0xff00) Failed 10/11 subtests t/52-frame-document.t ............. MozRepl::RemoteObject: NS_ERROR_FI +LE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 (NS +_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/52-fra +me-document.t line 19. # Looks like your test exited with 255 before it could output anything +. t/52-frame-document.t ............. Dubious, test returned 255 (wstat +65280, 0xff00) Failed 6/6 subtests t/52-frame-event.t ................ MozRepl::RemoteObject: NS_ERROR_FI +LE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 (NS +_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/52-fra +me-event.t line 19. # Looks like your test exited with 255 before it could output anything +. t/52-frame-event.t ................ Dubious, test returned 255 (wstat +65280, 0xff00) Failed 4/4 subtests t/52-mech-api-find_link-frames.t .. skipped: Frames aren't testing wel +l currently t/52-mech-api-find_link.t ......... 1/68 MozRepl::RemoteObject: NS_ERR +OR_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x8052000 +1 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/5 +2-mech-api-find_link.t line 27. # Looks like you planned 68 tests but ran 1. # Looks like your test exited with 255 just after 1. t/52-mech-api-find_link.t ......... Dubious, test returned 255 (wstat +65280, 0xff00) Failed 67/68 subtests t/52-mech-xpath.t ................. ok t/52-selector-frames.t ............ 1/50 MozRepl::RemoteObject: NS_ERR +OR_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x8052000 +1 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/5 +2-selector-frames.t line 21. # Looks like you planned 50 tests but ran 1. # Looks like your test exited with 255 just after 1. t/52-selector-frames.t ............ Dubious, test returned 255 (wstat +65280, 0xff00) Failed 49/50 subtests t/52-selector-noframes.t .......... 1/17 MozRepl::RemoteObject: NS_ERR +OR_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x8052000 +1 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/5 +2-selector-noframes.t line 22. # Looks like you planned 17 tests but ran 1. # Looks like your test exited with 255 just after 1. t/52-selector-noframes.t .......... Dubious, test returned 255 (wstat +65280, 0xff00) Failed 16/17 subtests t/52-selector-relative.t .......... 1/6 MozRepl::RemoteObject: NS_ERRO +R_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 + (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/52 +-selector-relative.t line 21. # Looks like you planned 6 tests but ran 1. # Looks like your test exited with 255 just after 1. t/52-selector-relative.t .......... Dubious, test returned 255 (wstat +65280, 0xff00) Failed 5/6 subtests t/53-mech-capture-js-error.t ...... 1/19 MozRepl::RemoteObject: NS_ERR +OR_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x8052000 +1 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/5 +3-mech-capture-js-error.t line 29. # Looks like you planned 19 tests but ran 3. # Looks like your test exited with 255 just after 3. t/53-mech-capture-js-error.t ...... Dubious, test returned 255 (wstat +65280, 0xff00) Failed 16/19 subtests t/55-basic-auth.t ................. skipped: presetting auth does not +work yet t/60-mech-cookies.t ............... ok t/60-mech-custom-headers.t ........ Subroutine MozRepl::__load_plugins + redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.pm li +ne 104. t/60-mech-custom-headers.t ........ ok t/65-is_visible.t ................. Subroutine MozRepl::__load_plugins + redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.pm li +ne 104. MozRepl::RemoteObject: NS_ERROR_FILE_UNRECOGNIZED_PATH: Component retu +rned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIW +ebNavigation.loadURI] at t/65-is_visible.t line 31. # Looks like your test exited with 255 before it could output anything +. t/65-is_visible.t ................. Dubious, test returned 255 (wstat +65280, 0xff00) Failed 76/76 subtests t/65-mech-meta.t .................. Subroutine MozRepl::__load_plugins + redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.pm li +ne 104. t/65-mech-meta.t .................. 1/3 MozRepl::RemoteObject: NS_ERRO +R_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 + (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/65 +-mech-meta.t line 29. # Looks like you planned 3 tests but ran 1. # Looks like your test exited with 255 just after 1. t/65-mech-meta.t .................. Dubious, test returned 255 (wstat +65280, 0xff00) Failed 2/3 subtests t/65-set_visible.t ................ Subroutine MozRepl::__load_plugins + redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.pm li +ne 104. t/65-set_visible.t ................ ok t/70-download-url.t ............... MozRepl::RemoteObject: NS_ERROR_FI +LE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 (NS +_ERROR_FILE_UNRECOGNIZED_PATH) [nsILocalFile.initWithPath] at t/70-do +wnload-url.t line 39. # Looks like your test exited with 255 before it could output anything +. t/70-download-url.t ............... Dubious, test returned 255 (wstat +65280, 0xff00) Failed 5/5 subtests t/70-mech-png.t ................... Subroutine MozRepl::__load_plugins + redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.pm li +ne 104. t/70-mech-png.t ................... ok t/70-real-status.t ................ ok t/70-rt70106-reload.t ............. ok t/70-rt71216.t .................... 2/3 # Failed test 'Got Hotmail OK' # at t/70-rt71216.t line 26. # got: undef # expected: '1' # Failed test 'No fatal errors' # at t/70-rt71216.t line 27. # got: 'MozRepl::RemoteObject: NS_ERROR_FILE_UNRECOGNIZED_PAT +H: Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOG +NIZED_PATH) [nsIWebNavigation.loadURI] at t/70-rt71216.t line 24. # ' # expected: '' # Looks like you failed 2 tests of 3. t/70-rt71216.t .................... Dubious, test returned 2 (wstat 51 +2, 0x200) Failed 2/3 subtests t/70-tag-team.t ................... Subroutine MozRepl::__load_plugins + redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.pm li +ne 104. Subroutine MozRepl::__load_plugins redefined at /home/user1/perl5/lib/ +perl5/Module/Pluggable/Fast.pm line 104. Subroutine MozRepl::__load_plugins redefined at /home/user1/perl5/lib/ +perl5/Module/Pluggable/Fast.pm line 104. t/70-tag-team.t ................... 1/11 MozRepl::RemoteObject: NS_ERR +OR_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x8052000 +1 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/7 +0-tag-team.t line 40. # Looks like you planned 11 tests but ran 3. # Looks like your test exited with 255 just after 3. t/70-tag-team.t ................... Dubious, test returned 255 (wstat +65280, 0xff00) Failed 8/11 subtests t/70-two-instances.t .............. 1/4 Subroutine MozRepl::__load_plu +gins redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.p +m line 104. t/70-two-instances.t .............. ok t/70-urlbar.t ..................... MozRepl::RemoteObject: NS_ERROR_FI +LE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 (NS +_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/70-url +bar.t line 21. # Looks like your test exited with 255 before it could output anything +. t/70-urlbar.t ..................... Dubious, test returned 255 (wstat +65280, 0xff00) Failed 2/2 subtests t/75-save_url-cookies.t ........... 3/8 # Failed test 'We sent the magic cookie' # at t/75-save_url-cookies.t line 57. # 'Request: # GET / HTTP/1.0 # Connection: Keep-Alive # Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q= +0.8 # Accept-Language: en-US,en;q=0.5 # Host: localhost:56470 # User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:20.0) Gecko/20100 +101 Firefox/20.0 # Cookie: log-server-httponly=supersecret; log-server=shazam2 # # # ' # doesn't match '(?^m:^Cookie:.*? www_mechanize_firefox_test\=t\/7 +5\-save_url\-cookies\.t\-shazam)' MozRepl::RemoteObject: NS_ERROR_FILE_UNRECOGNIZED_PATH: Component retu +rned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIL +ocalFile.initWithPath] at t/75-save_url-cookies.t line 63. # Looks like you planned 8 tests but ran 5. # Looks like you failed 1 test of 5 run. # Looks like your test exited with 255 just after 5. t/75-save_url-cookies.t ........... Dubious, test returned 255 (wstat +65280, 0xff00) Failed 4/8 subtests t/99-changes.t .................... 1/2 # Checking for version 0.72 t/99-changes.t .................... ok t/99-examples.t ................... ok t/99-manifest.t ................... ok t/99-pod.t ........................ ok t/99-todo.t ....................... ok t/99-unix-text.t .................. ok t/99-versions.t ................... skipped: File::Slurp needed for te +sting t/mechanize/autocheck.t ........... Subroutine MozRepl::__load_plugins + redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.pm li +ne 104. t/mechanize/autocheck.t ........... 2/6 Subroutine MozRepl::__load_plu +gins redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.p +m line 104. t/mechanize/autocheck.t ........... 4/6 Subroutine MozRepl::__load_plu +gins redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.p +m line 104. t/mechanize/autocheck.t ........... ok t/mechanize/content.t ............. ok t/rt65615.t ....................... MozRepl::RemoteObject: NS_ERROR_FI +LE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 (NS +_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/rt6561 +5.t line 18. # Looks like your test exited with 255 before it could output anything +. t/rt65615.t ....................... Dubious, test returned 255 (wstat +65280, 0xff00) Failed 1/1 subtests t/rt78706.t ....................... "my" variable $result masks earlie +r declaration in same scope at t/rt78706.t line 30. t/rt78706.t ....................... 1/3 # Using MozRepl t/rt78706.t ....................... ok t/rt84418.t ....................... 2/6 Subroutine MozRepl::__load_plu +gins redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.p +m line 104. t/rt84418.t ....................... 3/6 Subroutine MozRepl::__load_plu +gins redefined at /home/user1/perl5/lib/perl5/Module/Pluggable/Fast.p +m line 104. t/rt84418.t ....................... ok t/select.t ........................ 1/20 MozRepl::RemoteObject: NS_ERR +OR_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x8052000 +1 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIWebNavigation.loadURI] at t/s +elect.t line 27. # Looks like you planned 20 tests but ran 1. # Looks like your test exited with 255 just after 1. t/select.t ........................ Dubious, test returned 255 (wstat +65280, 0xff00) Failed 19/20 subtests Test Summary Report ------------------- t/47-mech-memleak2.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 2 tests but ran 1. t/49-mech-get-file.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 8 tests but ran 1. t/49-mech-reuse.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 7 tests but ran 1. t/50-allow-js.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 7 tests but ran 1. t/50-click.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 27 tests but ran 1. t/50-follow-link.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 9 tests but ran 1. t/50-form-with-fields.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 9 tests but ran 0. t/50-form2.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 13 tests but ran 0. t/50-load-and-load.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 2 tests but ran 0. t/50-mech-encoding.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 4 tests but ran 0. t/50-mech-forms.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 14 tests but ran 1. t/50-mech-new-dsl.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 2 tests but ran 0. t/50-mech-set-fields-875912.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 4 tests but ran 0. t/50-rt65615.t (Wstat: 65280 Tests: 3 Failed: 1) Failed test: 3 Non-zero exit status: 255 t/50-tick.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 19 tests but ran 1. t/51-click_js.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 4 tests but ran 1. t/51-form-number-blakew.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 7 tests but ran 0. t/51-mech-field.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 30 tests but ran 0. t/51-mech-form-with-fields.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 5 tests but ran 1. t/51-mech-links.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 8 tests but ran 1. t/51-mech-navigation.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 12 tests but ran 1. t/51-mech-sandbox.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 17 tests but ran 1. t/51-mech-submit.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 11 tests but ran 1. t/52-frame-document.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 6 tests but ran 0. t/52-frame-event.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 4 tests but ran 0. t/52-mech-api-find_link.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 68 tests but ran 1. t/52-selector-frames.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 50 tests but ran 1. t/52-selector-noframes.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 17 tests but ran 1. t/52-selector-relative.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 6 tests but ran 1. t/53-mech-capture-js-error.t (Wstat: 65280 Tests: 3 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 19 tests but ran 3. t/65-is_visible.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 76 tests but ran 0. t/65-mech-meta.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 3 tests but ran 1. t/70-download-url.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 5 tests but ran 0. t/70-rt71216.t (Wstat: 512 Tests: 3 Failed: 2) Failed tests: 2-3 Non-zero exit status: 2 t/70-tag-team.t (Wstat: 65280 Tests: 3 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 11 tests but ran 3. t/70-urlbar.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 2 tests but ran 0. t/75-save_url-cookies.t (Wstat: 65280 Tests: 5 Failed: 1) Failed test: 4 Non-zero exit status: 255 Parse errors: Bad plan. You planned 8 tests but ran 5. t/rt65615.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 1 tests but ran 0. t/select.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 20 tests but ran 1. Files=85, Tests=340, 236 wallclock secs ( 0.25 usr 0.17 sys + 25.74 c +usr 24.09 csys = 50.26 CPU) Result: FAIL Failed 39/85 test programs. 4/340 subtests failed. Makefile:947: recipe for target `test_dynamic' failed make: *** [test_dynamic] Error 255

        Any idea why I'm getting all of these errors? Many of them have the "NS_ERROR_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001" message.