[EP-tech] Re: Need Help : Importing DOI via CrossRef
Mark Gregson
mark.gregson at qut.edu.au
Wed Feb 29 23:37:52 GMT 2012
Sounds like the variable containing the XML response is undefined. Perhaps the response from CrossRef was invalid XML or there was no response. You could try commenting out the eval { } block at line 59 of perl_lib/EPrints/Plugins/Import/DOI.pm, restarting, and see if there a more useful error is generated when you next try the import.
Cheers
Mark
Mark Gregson | Application and Development Team Leader
Library eServices | Queensland University of Technology
Level 3 | D Block | Kelvin Grove Campus | GPO Box 2434 | Brisbane 4001
Phone: +61 7 3138 3782 | Web: http://eprints.qut.edu.au/
ABN: 83 791 724 622
CRICOS No: 00213J
-----Original Message-----
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Mohd Hazmi Kasmin
Sent: Wednesday, 29 February 2012 3:56 PM
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Need Help : Importing DOI via CrossRef
Hi there,
I tried to import items from DOI using "DOI (via CrossRef)" but
encounter a problem :
-----------------------------------------------------------------------------------------------------------------------
Unhandled exception in Import::DOI: Can't call method
"getDocumentElement" on an undefined value at
/opt/eprints3/perl_lib/EPrints/Plugin/Import/DOI.pm line 63, <$fh>
line 2.
Expected EPrints::List
----------------------------------------------------------------------------------------------------------------------
Please help,
Hazmi.
*** 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/
More information about the Eprints-tech
mailing list