Author |
Message |
sayhello_to_the_world
Joined: 24 Dec 2012 Posts: 72
|
Posted: Wed 15 May 2013, 15:45 Post subject:
Puppy liveDVD with Mozrepl & Mechanize-FireFox: Doable? |
|
good day dear Puppy Linux-Friends,
well i am new to PL so do not bear with me if i ask nasty questions.
i run openSuse 12.3
but in the past i had several issues with installing some perl packages
I run into troubles several times - with several openSuse-releases.
guess that i sometimes messed up the installation -
well now i want to try out a new way - i have heard bout puppylinux and i eagerly look for a package that contains
a. mozrepl and
b. Mechanize::FireFox
is this doable - on a Puppy-Live-DVD !?
welll i have tried to install all that stuff via
a. Repos of opensuse
b. CPAN
no thing worked either!?
i have had CPAN-Dependencies,
BTW - the OpenSuse-people are somewhat "religios ppl." they do not allow me to install via CPAN - they force me to do all the things by adding a Repository (from opensuse).
But - guess that i have to try out the CPAN-way. It seems to be a good way.
The last time i tried to install Mozrepl i did something wrong and i guess that i messed up all the machine. All the things were messed up totally.
At the end .- have had errors over errors. it was terrible.
see the error reports i have had... btw - i guess that i somethimes have had a bad Make on the machine - or a bad make-test. What do you think"!?
here i provide you with the reports of the failed trials of installation ....
what has happened in the past: i have had 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 hard to do: Especially the "Installation" section seems particularly applicable to my situation here!
see also...: https://forums.opensuse.org/english/...make-test.html
n i decided to install WWW-Mechanize-Firefox-0.68.tar.gz
but i run into troubles : see the following:
Code: |
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 -
Code: |
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
|
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
Code: | Google.com
CNN.com
news.bbc.co.uk
Bing.com
Yahoo.com
and so on and so forth...
|
Then the code:
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.
But as mentioned above - this were the issues i have runned into. Now i have a totally fresh installed Opensuse - 12.3 and i can begin at the beginning.
Guess that i have to start over with the CPAN or even better
to try it out with a PUPPY-Linux.
do you think that puppy can have all the necessary things i need - all included in a Live-CD or DVD!?
what do you think!?
love to hear from you
say hello to the woerld
|
Back to top
|
|
 |
Sky Aisling

Joined: 27 Jun 2009 Posts: 1200 Location: Port Townsend, WA. USA
|
Posted: Mon 20 May 2013, 00:35 Post subject:
Puppy liveDVD with Mozrepl & Mechanize-FireFox: Doable? Subject description: Make and Model of Machine? How much RAM? |
|
Hello, sayhello_to_the_world and welcome.
Your enthusiasm for trying many things is impressive.
Could you tell us the name and model of your machine?
How much RAM does it have?
Would you like to try a simple Puppy before you customize it?
|
Back to top
|
|
 |
Ted Dog

Joined: 13 Sep 2005 Posts: 4013 Location: Heart of Texas
|
Posted: Mon 20 May 2013, 13:57 Post subject:
|
|
Should be, recommend a rewritable DVD, and keep the downloaded chunks stored on a flash or HD. Good thing about puppy is you can run from RAM and try things out before committing it back to DVD drive. Puppy being small saves time on the retries.
|
Back to top
|
|
 |
sayhello_to_the_world
Joined: 24 Dec 2012 Posts: 72
|
Posted: Sat 22 Jun 2013, 10:16 Post subject:
Re: Puppy liveDVD with Mozrepl & Mechanize-FireFox: Doable? Subject description: Make and Model of Machine? How much RAM? |
|
hello dear Sky Aisling
many thanks for the reply - sorry for answering so late
Sky Aisling wrote: | Hello, sayhello_to_the_world and welcome.
Your enthusiasm for trying many things is impressive.
Could you tell us the name and model of your machine?
How much RAM does it have?
Would you like to try a simple Puppy before you customize it? |
well sure i would like to try a simple puppy before.
see the machines i have here:
Akoya - P 6512 15" OpenSuse 12.3: AMD Athlon X2 P320, 2,10 GHz, 4 GB
Samsunng q 210, 12,1" OpenSuse 12.3: Intel® Core™ 2 Duo Proz. P8400 2,26 GHz 1066 MHz FSB 3 MB
love to hear from you - how to step forward - what comes next / first?
greetings say
|
Back to top
|
|
 |
Sky Aisling

Joined: 27 Jun 2009 Posts: 1200 Location: Port Townsend, WA. USA
|
Posted: Sun 23 Jun 2013, 14:51 Post subject:
Puppy liveDVD with Mozrepl & Mechanize-FireFox: Doable? Subject description: mozrepl and Mechanized-Firefox |
|
hello sayhello_to_the_world,
You write:
Quote: | well now i want to try out a new way - i have heard bout puppylinux and i eagerly look for a package that contains
a. mozrepl and
b. Mechanize::FireFox
is this doable - on a Puppy-Live-DVD !?
|
I'm going to have to pass your questions on to those who know more about programming Mozilla applications as I know little of that subject.
Also, since your post I've broken my wrist and injured my shoulder. My typing responses are limited, not to mention other non-computer related tasks.
Be steadfast, hopefully someone will respond with assistance for your question
|
Back to top
|
|
 |
sayhello_to_the_world
Joined: 24 Dec 2012 Posts: 72
|
Posted: Mon 24 Jun 2013, 04:42 Post subject:
|
|
hi
Quote: |
Be steadfast, hopefully someone will respond with assistance for your question |
thx alot - hope that we can g e t further.
all the best to you
greets
say
|
Back to top
|
|
 |
Semme

Joined: 07 Aug 2011 Posts: 7826 Location: World_Hub
|
Posted: Mon 24 Jun 2013, 05:39 Post subject:
|
|
Martin- WOW! You have been @ it a long time!
This below.. on Slackware as well?
Quote: | Yes I tried this more than 15 month now... on several platforms. |
I see Keath made a nice attempt. Unfortunately the wrong platform.
How come you didn't stick with it here?
|
Back to top
|
|
 |
sayhello_to_the_world
Joined: 24 Dec 2012 Posts: 72
|
Posted: Tue 25 Jun 2013, 09:25 Post subject:
|
|
hi there semme
my trials to install mozrepl and Mechanize FireFox on a opensuse 12.3
well it failed:
see full stuff - see here
http://pastebin.de/34952
btw - the next time i will gather even more information
i will try to capture the full stuff.
hope it helps a bit further
love to hear from you - and Semme keep on reading.
and help with a solution...
|
Back to top
|
|
 |
Semme

Joined: 07 Aug 2011 Posts: 7826 Location: World_Hub
|
Posted: Wed 26 Jun 2013, 07:15 Post subject:
|
|
OK. Don't know what happened here? At some point you need to follow-through..
Older but interesting >> http://www.perlmonks.org/?node_id=583139
Then there's this page.. one you're <very> familiar with?
I'm kinda thinking it's about the order of events..
Gotta have a plan!
|
Back to top
|
|
 |
sayhello_to_the_world
Joined: 24 Dec 2012 Posts: 72
|
Posted: Thu 27 Jun 2013, 09:55 Post subject:
|
|
Hello Semme,
many many thx for the excellent review of issues & problems and discussions. We have some kind of conflicts.
well to have a plan is cetatinly the most important thing.
in previous times i thoutht that i have issues with MAKE
but in newer times - keath for example notes that i have other issues...
http://forums.devshed.com/perl-programming-6/how-to-install-mozrepl-on-a-fresh-installed-opensuse-12t-945103.html
question: do you think that a remote session - a telnet insallation will function?
what about a session where a perl expert has got some kind of overview on the process?
that may solve all issues!? what do you think?
|
Back to top
|
|
 |
sayhello_to_the_world
Joined: 24 Dec 2012 Posts: 72
|
Posted: Thu 26 Jun 2014, 07:44 Post subject:
|
|
well belive it or not .
i canont install the stuff _ now i run opensuse 13.1
it is not installable
|
Back to top
|
|
 |
sayhello_to_the_world
Joined: 24 Dec 2012 Posts: 72
|
Posted: Tue 08 Jul 2014, 02:47 Post subject:
store the data instead of printing it - in to a mysql-db |
|
want to store the data to the mysql-db
Code:
{'url': 'http://dom1', 'name': 'WACCCE', 'name2': 'WangDI Dange', 'email-adress': 'waddehadde@hotmail.com'}
{'url': 'http://dom2', 'name': 'WADDEE', 'name2': 'Josef Waddde', 'email-adress': 'waddehadde@hotmail.com'}
I have a very simple dataset - see above:; wwell it has approx 500 records.
PHP I want to store it in the mysql-db.
Well in order to do this, I need to store the above mentioned data
I ve heard that tis we can store it in a database, using MySQL to store this. but it seem overcomplicated to me.
So this takes me to a question, is there a way to store a this dataset with using MySQL
|
Back to top
|
|
 |
|