EPrints Technical Mailing List Archive

Message: #03162


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Altmetrics


Hi Seb,

It looks like I¹m getting the same error on our live build which is a
worry - everything was working fine a couple of months ago but I¹ve not
touched it since then (I installed IRStats 2)

Apache error log gives me the following:

Empty Stream at /usr/lib/perl5/XML/LibXML.pm line
877\n\tXML::LibXML::parse_fh('XML::LibXML=HASH(0x7fd47a87b200)',
'GLOB(0x7fd479f8a090)') called at /usr/lib/perl5/XML/LibXML/SAX.pm line
99\n\teval {...} called at /usr/lib/perl5/XML/LibXML/SAX.pm line
98\n\tXML::LibXML::SAX::_parse('XML::LibXML::SAX=HASH(0x7fd47a87b530)')
called at /usr/lib/perl5/XML/LibXML/SAX.pm line
54\n\tXML::LibXML::SAX::_parse_bytestream('XML::LibXML::SAX=HASH(0x7fd47a87
b530)', 'GLOB(0x7fd479f8a090)') called at
/usr/share/eprints3/perl_lib/XML/SAX/Base.pm line
2602\n\tXML::SAX::Base::parse('XML::LibXML::SAX=HASH(0x7fd47a87b530)',
'HASH(0x7fd479f4c260)') called at
/usr/share/eprints3/perl_lib/XML/SAX/Base.pm line
2631\n\tXML::SAX::Base::parse_file('XML::LibXML::SAX=HASH(0x7fd47a87b530)',
 'GLOB(0x7fd479f8a090)') called at
/usr/share/eprints3/perl_lib/EPrints/XML/LibXML.pm line
137\n\tEPrints::XML::event_parse('GLOB(0x7fd479f8a090)',
'EPrints::DataObj::SAX::Handler=ARRAY(0x7fd47ab0fe00)') called at
/usr/share/eprints3/perl_lib/EPrints/DataObj/EPM.pm line
293\n\tEPrints::DataObj::EPM::new_from_file('EPrints::DataObj::EPM',
'EPrints::Repository=HASH(0x7fd479a78d08)', 'GLOB(0x7fd479f8a090)') called
at /usr/share/eprints3/perl_lib/EPrints/DataObj/EPM.pm line
250\n\tEPrints::DataObj::EPM::new('EPrints::DataObj::EPM',
'EPrints::Repository=HASH(0x7fd479a78d08)', 'irstats2') called at
/usr/share/eprints3/perl_lib/EPrints/DataObj/EPM.pm line
232\n\tEPrints::DataObj::EPM::map('EPrints::DataObj::EPM',
'EPrints::Repository=HASH(0x7fd479a78d08)', 'CODE(0x7fd479f97190)') called
at
/usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/Admin/EPM/Available.pm
line
326\n\tEPrints::Plugin::Screen::Admin::EPM::Available::render_results('EPri
nts::Plugin::Screen::Admin::EPM::Available=HASH(0x7fd479f...') called at
/usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/Admin/EPM/Available.pm
line
285\n\tEPrints::Plugin::Screen::Admin::EPM::Available::render('EPrints::Plu
gin::Screen::Admin::EPM::Available=HASH(0x7fd479f...') called at
/usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/Admin/EPM.pm line
149\n\tEPrints::Plugin::Screen::Admin::EPM::render('EPrints::Plugin::Screen
::Admin::EPM=HASH(0x7fd479f4b708)') called at
/usr/share/eprints3/perl_lib/EPrints/ScreenProcessor.pm line
377\n\tEPrints::ScreenProcessor::process('EPrints::ScreenProcessor',
'session', 'EPrints::Repository=HASH(0x7fd479a78d08)', 'template', undef,
'url', '/cgi/users/home') called at /usr/share/eprints3/cgi/users/home
line
25\n\tModPerl::ROOT::ModPerl::Registry::usr_share_eprints3_cgi_users_home::
handler('Apache2::RequestRec=SCALAR(0x7fd479f8e418)') called at
/usr/lib/perl5/ModPerl/RegistryCooker.pm line 204\n\teval {...} called at
/usr/lib/perl5/ModPerl/RegistryCooker.pm line
204\n\tModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7fd479f48ff0)
') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line
170\n\tModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7
fd479f48ff0)') called at /usr/lib/perl5/ModPerl/Registry.pm line
31\n\tModPerl::Registry::handler('ModPerl::Registry',
'Apache2::RequestRec=SCALAR(0x7fd479f8e418)') called at -e line 0\n\teval
{...} called at -e line 0\n at /usr/lib/perl5/XML/LibXML/SAX.pm line
109\n\tXML::LibXML::SAX::_parse('XML::LibXML::SAX=HASH(0x7fd47a87b530)')
called at /usr/lib/perl5/XML/LibXML/SAX.pm line
54\n\tXML::LibXML::SAX::_parse_bytestream('XML::LibXML::SAX=HASH(0x7fd47a87
b530)', 'GLOB(0x7fd479f8a090)') called at
/usr/share/eprints3/perl_lib/XML/SAX/Base.pm line
2602\n\tXML::SAX::Base::parse('XML::LibXML::SAX=HASH(0x7fd47a87b530)',
'HASH(0x7fd479f4c260)') called at
/usr/share/eprints3/perl_lib/XML/SAX/Base.pm line
2631\n\tXML::SAX::Base::parse_file('XML::LibXML::SAX=HASH(0x7fd47a87b530)',
 'GLOB(0x7fd479f8a090)') called at
/usr/share/eprints3/perl_lib/EPrints/XML/LibXML.pm line
137\n\tEPrints::XML::event_parse('GLOB(0x7fd479f8a090)',
'EPrints::DataObj::SAX::Handler=ARRAY(0x7fd47ab0fe00)') called at
/usr/share/eprints3/perl_lib/EPrints/DataObj/EPM.pm line
293\n\tEPrints::DataObj::EPM::new_from_file('EPrints::DataObj::EPM',
'EPrints::Repository=HASH(0x7fd479a78d08)', 'GLOB(0x7fd479f8a090)') called
at /usr/share/eprints3/perl_lib/EPrints/DataObj/EPM.pm line
250\n\tEPrints::DataObj::EPM::new('EPrints::DataObj::EPM',
'EPrints::Repository=HASH(0x7fd479a78d08)', 'irstats2') called at
/usr/share/eprints3/perl_lib/EPrints/DataObj/EPM.pm line
232\n\tEPrints::DataObj::EPM::map('EPrints::DataObj::EPM',
'EPrints::Repository=HASH(0x7fd479a78d08)', 'CODE(0x7fd479f97190)') called
at
/usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/Admin/EPM/Available.pm
line
326\n\tEPrints::Plugin::Screen::Admin::EPM::Available::render_results('EPri
nts::Plugin::Screen::Admin::EPM::Available=HASH(0x7fd479f...') called at
/usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/Admin/EPM/Available.pm
line
285\n\tEPrints::Plugin::Screen::Admin::EPM::Available::render('EPrints::Plu
gin::Screen::Admin::EPM::Available=HASH(0x7fd479f...') called at
/usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/Admin/EPM.pm line
149\n\tEPrints::Plugin::Screen::Admin::EPM::render('EPrints::Plugin::Screen
::Admin::EPM=HASH(0x7fd479f4b708)') called at
/usr/share/eprints3/perl_lib/EPrints/ScreenProcessor.pm line
377\n\tEPrints::ScreenProcessor::process('EPrints::ScreenProcessor',
'session', 'EPrints::Repository=HASH(0x7fd479a78d08)', 'template', undef,
'url', '/cgi/users/home') called at /usr/share/eprints3/cgi/users/home
line
25\n\tModPerl::ROOT::ModPerl::Registry::usr_share_eprints3_cgi_users_home::
handler('Apache2::RequestRec=SCALAR(0x7fd479f8e418)') called at
/usr/lib/perl5/ModPerl/RegistryCooker.pm line 204\n\teval {...} called at
/usr/lib/perl5/ModPerl/RegistryCooker.pm line
204\n\tModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7fd479f48ff0)
') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line
170\n\tModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7
fd479f48ff0)') called at /usr/lib/perl5/ModPerl/Registry.pm line
31\n\tModPerl::Registry::handler('ModPerl::Registry',
'Apache2::RequestRec=SCALAR(0x7fd479f8e418)') called at -e line 0\n\teval
{...} called at -e line 0\n

On 17/06/2014 13:52, "Sebastien Francois" <sf2@ecs.soton.ac.uk> wrote:

>Hi,
>
>On 17/06/14 13:54, Andrew Beeken wrote:
>> Hello!
>>
>> Currently trying to get the AltMetrics plugin working. I¹ve tried the
>>wrapper method found here: http://api.altmetric.com/embeds.html which I
>>can get outputting onto the eprint_render page (the script and div tags)
>>but seems to do absolutely nothing. There are no errors or warnings in
>>the console relating to this.
>
>Use the plug-in ;)
>
>> I¹ve also tried to utilise the actual plugin from
>>http://bazaar.eprints.org/340/ - for some reason my development install
>>won¹t directly access the bazaar, so I have had to place the plugin
>>files manually into the EPrints install. However, having done that,
>>there¹s nothing added to the eprint_render markup.
>May happen if you're behind a proxy - you can set $ENV{http_proxy}
>(that's a linux thing).
>
>The altmetrics widget only displays if the eprint has a DOI (typically
>in the "id_number" field).
>
>Seb.
>
>*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
>*** Archive: http://www.eprints.org/tech.php/
>*** EPrints community wiki: http://wiki.eprints.org/
>*** EPrints developers Forum: http://forum.eprints.org/


The University of Lincoln, located in the heart of the city of Lincoln, has established an international reputation based on high student satisfaction, excellent graduate employment and world-class research.

The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies.

Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions.

The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: http://www.lincoln.ac.uk/legal.