CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
installing WWW::Mechanize::Firefox fails all the time

 



dilbert
User

Jun 26, 2014, 9:29 AM

Post #1 of 9 (1236 views)
installing WWW::Mechanize::Firefox fails all the time Can't Post

dear g u r u s. Well i have some issues here:


installing WWW::Mechanize::Firefox fails all the time


today i am running opensuse 13.1 -

and i am trying to install mozrepl and perl

i did the following


perl -MCPAN -e shell
cpan> install WWW::Mechanize::Firefox

- it failed... see


Code
Parse errors: No plan found in TAP output 
t/51-mech-sandbox.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/51-mech-set-content.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/51-mech-submit.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/52-frame-document.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/52-frame-event.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/52-mech-api-find_link-frames.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/52-mech-api-find_link.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/52-mech-xpath.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/52-selector-frames.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/52-selector-noframes.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/52-selector-relative.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/53-mech-capture-js-error.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/55-basic-auth.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/60-mech-cookies.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/60-mech-custom-headers.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/65-is_visible.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/65-mech-meta.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/65-set_visible.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/70-download-url.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/70-mech-png.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/70-real-status.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/70-rt70106-reload.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/70-rt71216.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/70-tag-team.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/70-two-instances.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/70-urlbar.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/75-save_url-cookies.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/99-changes.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 0.
t/99-examples.t (Wstat: 3328 Tests: 14 Failed: 13)
Failed tests: 1-11, 13-14
Non-zero exit status: 13
t/mechanize/autocheck.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/mechanize/content.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/rt65615.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/rt78706.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/rt84418.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/select.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=86, Tests=81, 9 wallclock secs ( 0.30 usr 0.09 sys + 7.11 cusr 0.79 csys = 8.29 CPU)
Result: FAIL
Failed 81/86 test programs. 14/81 subtests failed.
make: *** [test_dynamic] Fehler 2
CORION/WWW-Mechanize-Firefox-0.74.tar.gz
one dependency not OK (MozRepl::RemoteObject); additionally test harness failed
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports CORION/WWW-Mechanize-Firefox-0.74.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
ZIGOROU/MozRepl-0.06.tar.gz : make_test NO
CORION/MozRepl-RemoteObject-0.37.tar.gz : make_test NO one dependency not OK (MozRepl)
CORION/WWW-Mechanize-Firefox-0.74.tar.gz : make_test NO one dependency not OK (MozRepl::RemoteObject); additionally test harness failed


cpan[2]>



I've used this in under Linux.
The problem (back then) was that the WWW modules didn't include hard dependencies for the MozRepl modules, hence the manual install. My own instructions

cpan WWW::Mechanize::Firefox
cpan MozRepl
cpan MozRepl::RemoteObject
i need your help now...


FishMonger
Veteran / Moderator

Jun 26, 2014, 9:56 AM

Post #2 of 9 (1209 views)
Re: [dilbert] installing WWW::Mechanize::Firefox fails all the time [In reply to] Can't Post

I have not installed WWW::Mechanize::Firefox, but I do know based on number of threads similar to yours is that it's a pain to install.

What were the errors you received prior to these test failures?

My guess is that you received some missing dependency errors.


wickedxter
User

Jun 29, 2014, 1:26 PM

Post #3 of 9 (812 views)
Re: [dilbert] installing WWW::Mechanize::Firefox fails all the time [In reply to] Can't Post

have you tried useing


Code
cpanm  WWW::Mechanize::Firefox


or


Code
cpanm force  WWW::Mechanize::Firefox



dilbert
User

Jun 29, 2014, 1:37 PM

Post #4 of 9 (809 views)
Re: [wickedxter] installing WWW::Mechanize::Firefox fails all the time [In reply to] Can't Post

hello you both

well it is the most painful thing - regarding a installation ...
i will try out all your ideas later the week.

i come back and report all the findings

greetings

and many many thanks for all your great support...
this forum is so great - it rocks ;-)

greetings
dilbert


dilbert
User

Jul 10, 2014, 4:17 AM

Post #5 of 9 (676 views)
Re: [dilbert] installing WWW::Mechanize::Firefox fails all the time [In reply to] Can't Post

dear gurus - i need your help

this mozrepl is so bad bad bad.,

how to install !?
plz advice

btw: can we make a live - cd


bulrush
Novice

Jul 10, 2014, 5:11 AM

Post #6 of 9 (658 views)
Re: [dilbert] installing WWW::Mechanize::Firefox fails all the time [In reply to] Can't Post

I have RHEL Linux 5.5.56 and Perl 5.8.8. I use cpanm to install modules like this:

cpanm Module::Name

But I have to log in as root or su to do it. Are you logged in as root when you install these?
-----
* Redhat Linux RHEL 5.5.56
* Perl 5.8.8


dilbert
User

Jul 10, 2014, 7:49 AM

Post #7 of 9 (648 views)
Re: [bulrush] installing WWW::Mechanize::Firefox fails all the time [In reply to] Can't Post

HELLO thx for the reply

well - i try to do so.

at the moment i am not sure yet. wll look at the processes

come back and report

btw - question: can we procduze a dvd or cd rom with all the necessities?


dilbert
User

Jul 10, 2014, 10:50 AM

Post #8 of 9 (626 views)
Re: [dilbert] installing WWW::Mechanize::Firefox fails all the time [In reply to] Can't Post

 

I DID THE FOLLOWING


<br>
i just did it - just see what happened:
<br>

<br>

http://pastebin.com/5ZkrC2WY


<br>
<br>
well - i have to study the results... later the evening.

<br>

<br>
if i find something - what goes wrong i come back here and report it... if you have something that you might see - then i would be happy to hear from you.


<br>
<br>
<br>
i would be very glad to go one step ahead with this loooooong-term-issue...



i grabbed this file

MozRepl 1.1.2
von hyperstruct, rply
Interactive Javascript Console for Mozilla Applications Developers

from this site .

https://addons.mozilla.org/de/firefox/addon/mozrepl/

used the downlaoder and afterwards this was istalled - trhough the firefox



but i have no glue how to proceeed


which tests can i do - which tests with the terminal to check if i installed it right?

i found this site http://chat.stackoverflow.com/transcript/23922/2013/2/4/23-24

where someone claims that i can do the following test.

add only this line in a file

use WWW::Mechanize::Firefox;


cf: Mooing Duck Does a file containing only "use WWW::Mechanize::Firefox;" work? If not, it's not properly set up. I'm still researching how to set up perl plugins for you.


well i did this -. but the console gave back the following:



martin@linux-70ce:~/perl> moz.pl
If 'moz.pl' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf moz.pl

btw : this page is not very clear in its statements
http://search.cpan.org/~corion/WWW-Mechanize-Firefox-0.74/lib/WWW/Mechanize/Firefox.pm#INSTALLATION

i do not know how to install

so what -

plzh advice


so what -

plzh advice

i just did it - just see what happened:

http://pastebin.com/5ZkrC2WY

well - i have to study the results... later the evening.

after studying the terminal-output a while i suppose that something went wrong with the installation of mozrepl.... what do you say....


Code
Can't locate MozRepl/RemoteObject.pm irn @INC (you may need to install the MozRepl::RemoteObject module) (@INC contains: /usr/lib/perl5/site_perl/5.18.1/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.18.1 /usr/lib/perl5/vendor_perl/5.18.1/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.18.1 /usr/lib/perl5/5.18.1/i586-linux-thread-multi /usr/lib/perl5/5.18.1 /usr/lib/perl5/site_perl . lib) at lib/Firefox/Application.pm line 4.


conclusion - it would be great if we would have a file that fits . i do not (!!!!!) understand why we need the tricky procedure that is described here....http://search.cpan.org/~corion/WWW-Mechanize-Firefox-0.74/lib/WWW/Mechanize/Firefox/Installation.pod

any ideas how to procced

which tests should i perform - what can i do in the terminal now ...


(This post was edited by dilbert on Jul 10, 2014, 12:16 PM)


wickedxter
User

Jul 15, 2014, 3:11 AM

Post #9 of 9 (571 views)
Re: [dilbert] installing WWW::Mechanize::Firefox fails all the time [In reply to] Can't Post

Did u install the plugin for firefox?

https://addons.mozilla.org/en-US/firefox/addon/mozrepl/


(This post was edited by wickedxter on Jul 19, 2014, 9:22 PM)

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives