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

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.

Replies are listed 'Best First'.
Re^13: MozRepl cleanup problem
by Corion (Patriarch) on Nov 02, 2010 at 21:58 UTC

    If you could tell me, what older version of WWW::Mechanize::Firefox you have (now), maybe I could find what it does differently and why the older version connects where the new version fails to connect. Older versions of WWW::Mechanize::Firefox are unsupported, so if it does not connect anymore at all, that means you won't be able to solve this problem.

    Also note that maybe you have an old(er) version of MozRepl::RemoteObject, so that might also be an issue.

      After having updated MozRepl::RemoteObject and WWW::Mechanize::Firefox (up to 0.36), I ran the script again and the usual errors appeared:

      (in cleanup) Can't call method "execute" on an undefined value at /Lib +rary/Perl/5.10.0/MozRepl.pm line 372, <TXT> line 15 during global des +truction. (in cleanup) Can't call method "execute" on an undefined value at +/Library/Perl/5.10.0/MozRepl.pm line 372, <TXT> line 15 during global + destruction. (in cleanup) Can't call method "execute" on an undefined value at +/Library/Perl/5.10.0/MozRepl.pm line 372, <TXT> line 15 during global + destruction. (in cleanup) Can't call method "execute" on an undefined value at +/Library/Perl/5.10.0/MozRepl.pm line 372, <TXT> line 15 during global + destruction. (in cleanup) Can't call method "execute" on an undefined value at +/Library/Perl/5.10.0/MozRepl.pm line 372, <TXT> line 15 during global + destruction. (in cleanup) Can't call method "execute" on an undefined value at +/Library/Perl/5.10.0/MozRepl.pm line 372, <TXT> line 15 during global + destruction.

        I'm sorry, but I can't help you further. It works well on my machine and I can't replicate the errors you see at all.