[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: Altmetrics



I think you need to debug, by following up the stack trace.

We know that EPrints needs to download an EPM file, to copy it to your 
lib/epm/ directory, then to process it. It's failing somewhere in there.

"Empty stream" suggests that the file is not present or that EPrints 
didn't manage to open it for reading (is the EPM file present? Can it be 
open for reading by the "eprints" user or whichever user your Apache is 
running under?)

I'd also check EPrints::XML::LibXML::event_parse (and see what happens 
with $fh) and EPrints::DataObj::EPM::new_from_file (again, $fh).

Let us know how the debugging goes?

Seb.



On 24/06/14 12:43, Andrew Beeken wrote:
> Hi Seb - any thoughts on this?
>
> On 23/06/2014 12:04, "Sebastien Francois" <sf2 at ecs.soton.ac.uk> wrote:
>
>> D'oh!
>>
>> Do you get the same error if you try to install any other bazaar packages?
>>
>> Seb
>>
>> On 23/06/14 11:56, Andrew Beeken wrote:
>>> Same error from earlier in this thread :)
>>>
>>> Empty Stream at /usr/lib/perl5/XML/LibXML.pm line
>>> 877\n\tXML::LibXML::parse_fh('XML::LibXML=HASH(0x7f66d1a81440)',
>>> 'GLOB(0x7f66d10ebe78)') 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(0x7f66d1fe85c8)')
>>> called at /usr/lib/perl5/XML/LibXML/SAX.pm line
>>>
>>> 54\n\tXML::LibXML::SAX::_parse_bytestream('XML::LibXML::SAX=HASH(0x7f66d1
>>> fe
>>>
>>