CNG / mt-plugin-picasa-express

Plugin for Movable Type to display Picasa Web Albums photos and galleries within posts
https://votecharlie.com/blog/2012/10/picasa-express-10-for-movable-type-released.html
1 stars 1 forks source link

XML::Parser #2

Open TobyKLight opened 11 years ago

TobyKLight commented 11 years ago

I Install the plugin according to instructions. When I go to the blogs plugin page I get an error that it can't find XML::Parser.

I'm running MT 5.2.3

CNG commented 11 years ago

Hi, thanks for reporting. I will have to investigate if this is just a module I happened to have installed and overlooked the requirement for, or if it’s something I should include in the extlib folder. I have quite a lot going on right now, so it might be a while before I can spend time on this. In the mean time, are you able to install the Perl module yourself for this installation/server, or do you need assistance with that?

TobyKLight commented 11 years ago

I tried to install one from CPAN but it didn't seem very happy with that. Is there a particular flavour of XML::Parser or just XML you use? My MT4 and MT5 installs have XML/Parser/Lite.pm in their extlibs.

On 18 May 2013 23:02, Charlie Gorichanaz notifications@github.com wrote:

Hi, thanks for reporting. I will have to investigate if this is just a module I happened to have installed and overlooked the requirement for, or if it’s something I should include in the extlib folder. I have quite a lot going on right now, so it might be a while before I can spend time on this. In the mean time, are you able to install the Perl module yourself for this installation/server, or do you need assistance with that?

— Reply to this email directly or view it on GitHubhttps://github.com/CNG/mt-plugin-picasa-express/issues/2#issuecomment-18107941 .

CNG commented 11 years ago

I verified that my Perl installation itself has XML::Parser:

perl -MXML::Parser -e 'print "$XML::Parser::VERSION\n"'

2.40

Can you run that command and see if you are missing the module or have a different version? I should be able to include the Parser.pm and Parser directory from http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/XML-Parser-2.36.tar.gz into the plugin’s extlib to make this work, otherwise... but I’d need to do some testing.

TobyKLight commented 11 years ago

I'm afraid I don't have shell access to the server, I can only tell what's in my extlib via ftp.

Using the files from your link - put both parser.pm and the whole /parser folder in my extlib/XML folder. Now get an error about missing expat.pm which it expected to find in /parser. Added the expat folder to /XML (where it sits in the zip archive).... same error Added the contents of expat folder to /parser (where it expected to find it) .... new error about not finding resources for expat

The error now looks like this: failed loading package PicasaExpress::Plugin for routine PicasaExpress::Plugin::tag_pwa_if_authenticated: Can't locate loadable object for module XML::Parser::Expat in @INC (@INC contains: /var/www/cgi-bin/mt5/plugins/WidgetManager/lib /var/www/cgi-bin/mt5/plugins/FormattedTextForTinyMCE/lib /var/www/cgi-bin/mt5/plugins/PicasaExpress/extlib /var/www/cgi-bin/mt5/plugins/PicasaExpress/lib /var/www/cgi-bin/mt5/plugins/OpenGraphLike/lib /var/www/cgi-bin/mt5/plugins/MultiBlog/lib /var/www/cgi-bin/mt5/plugins/TinyMCE/lib /var/www/cgi-bin/mt5/plugins/spamlookup/lib /var/www/cgi-bin/mt5/plugins/StyleCatcher/lib /var/www/cgi-bin/mt5/plugins/Textile/lib /var/www/cgi-bin/mt5/plugins/WXRImporter/lib /var/www/cgi-bin/mt5/plugins/FormattedText/lib /var/www/cgi-bin/mt5/plugins/TypePadAntiSpam/lib /var/www/cgi-bin/mt5/extlib /var/www/cgi-bin/mt5/extlib lib /usr/local/lib/perl5/site_perl /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .)

On 18 May 2013 23:49, Charlie Gorichanaz notifications@github.com wrote:

I verified that my Perl installation itself has XML::Parser:

perl -MXML::Parser -e 'print "$XML::Parser::VERSION\n"'

2.40

Can you run that command and see if you are missing the module or have a different version? I should be able to include the Parser.pm and Parserdirectory from http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/XML-Parser-2.36.tar.gzinto the plugin’s extlib to make this work, otherwise... but I’d need to do some testing.

— Reply to this email directly or view it on GitHubhttps://github.com/CNG/mt-plugin-picasa-express/issues/2#issuecomment-18108570 .

CNG commented 11 years ago

Hi there, I am finally back in the country for a while now… Before I look into this, did you already happen to find a solution to the problem?