hello James
thx again for the reply.
probably the mozrepl does not work with my version of Mozilla!?
and i am sure that i have **messed up some things in the earlier installations **
see also here: https://forums.opensuse.org/english/other-forums/development/programming-scripting/479982-while-installing-www-mechanize-firefox-i-get-bad-make-test.html
**
what is aimed:
**
i have a list of 2,500 URLs, one on each line, saved in a file. i want the script to open the file, read a line, then retrieve the website? If so, something like this:
Filename: urls.txt
------------------
Google
CNN.com - Breaking News, U.S., World, Weather, Entertainment & Video News
Breaking News & Top Stories - World News, US & Local | NBC News
news.bbc.co.uk
Bing
Yahoo!
and so on and so forth…
Then the code:
use WWW::Mechanize::Firefox;
my $mech = WWW::Mechanize::Firefox->new();
open(INPUT, "urls.txt") or die "Can't open file: $!";
while (<INPUT>) {
chomp;
$mech->get($_);
my $png = $mech->content_as_png();
}
close(INPUT);
exit;
i try to run this little programme on my linux box.
what has happened in the past: i have had ****ed serious issues with the installation of MECHA::FireFox Hmm - i should have to work through the steps in WWW::Mechanize::Firefox::Troubleshooting! But believe me - this is pretty ****ed hard to do: Especially the “Installation” section seems particularly applicable to my situation here!
see also…: https://forums.opensuse.org/english/other-forums/development/programming-scripting/479982-while-installing-www-mechanize-firefox-i-get-bad-make-test.html
n i decided to install WWW-Mechanize-Firefox-0.68.tar.gz
but i run into troubles : see the following:
Parse errors: No plan found in TAP output
Files=83, Tests=78, 7 wallclock secs ( 0.26 usr 0.08 sys + 4.64 cusr 0.56 csys = 5.54 CPU)
Result: FAIL
Failed 78/83 test programs. 14/78 subtests failed.
make: *** [test_dynamic] Fehler 2
CORION/WWW-Mechanize-Firefox-0.68.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.68.tar.gz
Running make install
make test had returned bad status, wont install without force
Failed during this command:
ZIGOROU/MozRepl-0.06.tar.gz : make_test NO
CORION/MozRepl-RemoteObject-0.34.tar.gz : make_test NO one dependency not OK (MozRepl)
CORION/WWW-Mechanize-Firefox-0.68.tar.gz : make_test NO one dependency not OK (MozRepl::RemoteObject); additionally test harness failed
,also interesting - some reports (in the past!!):
If i run the script i got fatal errors -
linux-vi17:/home/martin/bin # perl get_shots.pl Failed to connect to , problem connecting to “localhost”, port 4242: connecting to the denied at /usr/lib/perl5/site_perl/5.12.3/MozRepl/Client.pm line 144
but wait - then i noticed that i also have to install the mozlRepl …
Installed WWW-Mechanize-Firefox and got very very bad response from terminal
guess you were refering this one here:
INSTALL - search.cpan.org
https://addons.mozilla.org/de/firefox/addon/mozrepl/
**question: **probably the mozrepl does not work with my version of Mozilla!?
and i am sure that i have **messed up some things in the earlier installations **