in reply to Re^8: MozRepl cleanup problem
in thread MozRepl cleanup problem

My program does not output these messages. Maybe you're not running a recent version of WWW::Mechanize::Firefox? I test with 0.36, which (naturally) is the latest.

Replies are listed 'Best First'.
Re^10: MozRepl cleanup problem
by giantpanda (Initiate) on Nov 02, 2010 at 17:41 UTC

    You were right, I was running an older version of your module! I updated it to 0.36 using cpan, but now the script doesn't even open a Firefox page and just gives this:

    Failed to connect to , problem connecting to "localhost", port 4242: connect timed-out at /Library/Perl/5.10.0/MozRepl/Client.pm line 144

      Which looks to me as if the mozrepl Firefox add-on is not running. Have you verified that it is running?

        That was the first thing that came into my mind aswell, but no, MozRepl was running.

        I reinstalled it and now the script works as before, with its usual errors:

        command timed-out at /Library/Perl/5.10.0/MozRepl/Client.pm line 186 (in cleanup) Can't call method "execute" on an undefined value at +/Library/Perl/5.10.0/MozRepl.pm line 372, <MATCH> line 7046 during gl +obal destruction. (in cleanup) Can't call method "cmd" on an undefined value at /Lib +rary/Perl/5.10.0/MozRepl/Client.pm line 186, <MATCH> line 7046 during + global destruction. (in cleanup) Can't call method "cmd" on an undefined value at /Lib +rary/Perl/5.10.0/MozRepl/Client.pm line 186, <MATCH> line 7046 during + global destruction. (in cleanup) Can't call method "execute" on an undefined value at +/Library/Perl/5.10.0/MozRepl.pm line 372, <MATCH> line 7046 during gl +obal destruction. (in cleanup) Can't call method "cmd" on an undefined value at /Lib +rary/Perl/5.10.0/MozRepl/Client.pm line 186, <MATCH> line 7046 during + global destruction. (in cleanup) Can't call method "execute" on an undefined value at +/Library/Perl/5.10.0/MozRepl.pm line 372, <MATCH> line 7046 during gl +obal destruction. (in cleanup) Can't call method "cmd" on an undefined value at /Lib +rary/Perl/5.10.0/MozRepl/Client.pm line 186, <MATCH> line 7046 during + global destruction. (in cleanup) Can't call method "execute" on an undefined value at +/Library/Perl/5.10.0/MozRepl.pm line 372, <MATCH> line 7046 during gl +obal destruction. (in cleanup) Can't call method "cmd" on an undefined value at /Lib +rary/Perl/5.10.0/MozRepl/Client.pm line 186, <MATCH> line 7046 during + global destruction. (in cleanup) Can't call method "execute" on an undefined value at +/Library/Perl/5.10.0/MozRepl.pm line 372, <MATCH> line 7046 during gl +obal destruction. (in cleanup) Can't call method "execute" on an undefined value at +/Library/Perl/5.10.0/MozRepl.pm line 372, <MATCH> line 7046 during gl +obal destruction. (in cleanup) Can't call method "execute" on an undefined value at +/Library/Perl/5.10.0/MozRepl.pm line 372, <MATCH> line 7046 during gl +obal destruction.