?

Log in

No account? Create an account
LiveJournal Development [entries|archive|friends|userinfo]
LiveJournal Development

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

June 14th, 2009

Trying to backup Scrapbook under MacOS X [Jun. 14th, 2009|09:13 pm]
LiveJournal Development

lj_dev

[jackal]
[Tags|, , , , ]

I'm trying to backup my LJ Scrapbook using fotoup.pl. When I run it I get the following error:

$ ./fotoup.pl --backup
To upload: 0 from data, 0 from receipt

Fetching export.xml from server...
Couldn't fetch export XML file from server


I found online the krellis.org version of fotoup.pl that's 'pose to fix this problem.

But his version uses WWW::Mechanize and WWW::Mechanize doesn't come installed with stock MacOS X 10.5.7 perl. So when I run his version I get:

$ ./fotoup.pl-krellis --backup
Can't locate WWW/Mechanize.pm in @INC (@INC contains: /Library/Perl/Updates/5.8.8 /System/Library/Perl/5.8.8/darwin-thread-multi-2level /System/Library/Perl/5.8.8 /Library/Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8 /Library/Perl /Network/Library/Perl/5.8.8/darwin-thread-multi-2level /Network/Library/Perl/5.8.8 /Network/Library/Perl /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.8 /Library/Perl/5.8.6 /Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 .) at ./fotoup.pl-krellis line 22.
BEGIN failed--compilation aborted at ./fotoup.pl-krellis line 22.


Is there a working version of fotoup.pl for macosx? I can upload with the version I have, but I can't download/backup given the errors above.

Update: Nevermind. I solved it.

# sudo -H /usr/bin/cpan -i WWW::Mechanize

cpan comes with the XCode development package.
link1 comment|post comment

navigation
[ viewing | June 14th, 2009 ]
[ go | Previous Day|Next Day ]