user-pic

Trying to install Action Streams on new MT install: error

Vote 0 Votes

I get the following when the "upgrade" for Action Streams occurs:

Can't use an undefined value as a HASH reference at /home/sterling/domains/sterlinganderson.net/public_html/cgi-bin/mt/extlib/Data/ObjectDriver/BaseObject.pm line 283.

I'm not sure what's going on.

7 Replies

| Add a Reply
  • Did you upload the extlib directory from the plugin to MT extlib directory?

  • I get the same error. Yes, I uploaded the extlib directory into the MT extlib directory

  • Action Streams requires Perl modules not required by MT it seems. Specifically, some XML related ones. Once my host installed XML::Atom, XML::XPath, and XML::Parser for me things worked. I'm guessing one, some or all three of those are needed.

  • No, I've tried to install XML::Atom, XML::XPath, and XML::Parser (only the first was partially missing), and the error stays.
    To have MT working again I had to manually delete the "Action Streams" and "Iwtst" directories under "plugins".

    Here's the tho errors I get (from Activity log):

    First:
    Error during task 'Poll for new events': Weak references are not implemented in the version of perl at /var/www/cgi-bin/mt/extlib/HTML/TreeBuilder/X Path.pm line 93 BEGIN failed--compilation aborted at /var/www/cgi-bin/mt/extlib/HTML/TreeBuilder/X Path.pm line 93. Compilation failed in require at /var/www/cgi-bin/mt/extlib/Web/Scraper.pm line 9. BEGIN failed--compilation aborted at /var/www/cgi-bin/mt/extlib/Web/Scraper.pm line 9. Compilation failed in require at /var/www/cgi-bin/mt/plugins/ActionStreams/lib /ActionStreams/Event.pm line 7. BEGIN failed--compilation aborted at /var/www/cgi-bin/mt/plugins/ActionStreams/lib /ActionStreams/Event.pm line 7. Compilation failed in require at /var/www/cgi-bin/mt/plugins/ActionStreams/lib /ActionStreams/Plugin.pm line 729.

    Second:
    Action Streams died with: failed loading package ActionStreams::Init for routine ActionStreams::Init::init_app: Can't locate ActionStreams/Init.pm in @INC (@INC contains: /usr/lib/cgi-bin/mt/extlib /usr/lib/cgi-bin/mt/extlib lib /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux -thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux -thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux -thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-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/lib64/perl5/vendor_perl/5.8.8/x86_64-lin ux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-lin ux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-lin ux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-lin ux-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/lib64/perl5/5.8.8/x86_64-linux-thread-mu lti /usr/lib/perl5/5.8.8 .) at (eval 85) line 1. at lib/MT.pm line 2453 MT::handler_to_coderef('MT', '$ActionStreams::ActionStreams::Init::init_ap p') called at lib/MT/Component.pm line 221 MT::Component::on_init_app('MT::Callback=HASH (0xf7960b0)', 'MT::App::CMS=HASH(0xded5ae0)', 'App', 'MT::App::CMS') called at lib/MT/Callback.pm line 35 MT::Callback::invoke('MT::Callback=HASH(0xf79 60b0)', 'MT::App::CMS=HASH(0xded5ae0)', 'App', 'MT::App::CMS') called at lib/MT.pm line 615 eval {...} called at lib/MT.pm line 615 MT::run_callback('MT::App::CMS=HASH(0xded5ae0 )', 'MT::Callback=HASH(0xf7960b0)', 'MT::App::CMS=HASH(0xded5ae0)', 'App', 'MT::App::CMS') called at lib/MT.pm line 705 MT::run_callbacks('MT::App::CMS=HASH(0xded5ae 0)', 'MT::App::CMS::init_app', 'MT::App::CMS=HASH(0xded5ae0)', 'App', 'MT::App::CMS') called at lib/MT/App.pm line 652 MT::App::run_callbacks('MT::App::CMS=HASH(0xd ed5ae0)', 'init_app', 'MT::App::CMS=HASH(0xded5ae0)', 'App', 'MT::App::CMS') called at lib/MT/App.pm line 612 MT::App::init('MT::App::CMS=HASH(0xded5ae0)', 'App', 'MT::App::CMS') called at lib/MT/App/CMS.pm line 31 MT::App::CMS::init('MT::App::CMS=HASH(0xded5a e0)', 'App', 'MT::App::CMS') called at lib/MT.pm line 256 MT::construct('MT::App::CMS', 'App', 'MT::App::CMS') called at lib/MT.pm line 249 MT::instance_of called at lib/MT.pm line 242 MT::new('MT::App::CMS', 'App', 'MT::App::CMS') called at lib/MT/App.pm line 597 MT::App::new('MT::App::CMS', 'App', 'MT::App::CMS') called at lib/MT/Bootstrap.pm line 74 eval {...} called at lib/MT/Bootstrap.pm line 59 MT::Bootstrap::import('MT::Bootstrap', 'App', 'MT::App::CMS') called at /usr/lib/cgi-bin/mt/mt.cgi line 11 main::BEGIN() called at lib/MT.pm line 11 eval {...} called at lib/MT.pm line 11

    Hope this helps and someone will look into this.

  • What sometimes scares me about Movable Type (and i'm using it from the first version) it's the lack of help from the community.
    In this forum there are many unanswered questions like this one. Months after the first post about the problem, no replies at all.
    That's why people are switching to Wordpress despite the fact it's not complete and powerful as MT is.

  • default userpic

    Bump.
    Same error here on linux server. Any hints or progress on this? I had plugin working on mac, but it doesn't work now on proper gentoo linux.

  • This error means you don't have all the perl modules required by the Web::Scraper module. [Here's a previous thread](http://forums.movabletype.org/2008/01/action-streams-cant-use-an-und.html) about this. [The trunk version of the plugin](http://code.sixapart.com/svn/mtplugins/trunk/ActionStreams/) (and consequently the next packaged release) handles this error better. Sorry I'm not able to get this fix out to you sooner.

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1773 6162

Last Topic: Excluding categories from blog by kholechek on Feb 9, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1429 5077

Last Topic: What apocalypse hit this community in the middle of 2011? by 75th on Feb 10, 2012

695 2910

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

173 737

Last Topic: About the MT version stated in HTML source by Alex E. Schneider on Feb 7, 2012

190 567

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012