[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Re: Need Help : Importing DOI via CrossRef
- Subject: [EP-tech] Re: Need Help : Importing DOI via CrossRef
- From: mark.gregson at qut.edu.au (Mark Gregson)
- Date: Thu, 1 Mar 2012 09:37:52 +1000
- In-reply-to: <EMEW3|92bb7b091b457dc4b8c7bd231acf14c9o1S5vs14eprints-tech-bounces|ecs.soton.ac.uk|CAHySF=0z1gMjDiP2xYKimdpj=7sX3=N607B-05=AnL32oLgNPg@mail.gmail.com>
- References: <CAHySF=0z1gMjDiP2xYKimdpj=7sX3=N607B-05=AnL32oLgNPg@mail.gmail.com> <EMEW3|92bb7b091b457dc4b8c7bd231acf14c9o1S5vs14eprints-tech-bounces|ecs.soton.ac.uk|CAHySF=0z1gMjDiP2xYKimdpj=7sX3=N607B-05=AnL32oLgNPg@mail.gmail.com>
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/