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

[EP-tech] DOI - Importing



Hi Alan, hi all,

thanks, that brings me a little bit further. "Test-Import" now works.

As I mentioned, we changed the field id_number to be a multiple field. This results in

Plugin:Screen:Import warning .... Expected array reference for id_number

When I change id_number back to "multiple => 0" everthing works fine.

Maybe every Import-Plugin will be affected by a multiple id_number...?!

Do you have a hint, how I could solve this?

My front-office wants the field to be multiple.

Thanks

.......................................
Roland Roth-Steiner
M.Sc. Wirtsch.-Inf., Dipl.-Bibl.
. Univ.- und Landesbibliothek
... Elektronische Informationsdienste
... Leitung Digitalisierungszentrum
. Magdalenenstr. 8, 64289 Darmstadt
+49 (0)6151 16-76280
.......................................

________________________________________
Von: eprints-tech-bounces at ecs.soton.ac.uk <eprints-tech-bounces at ecs.soton.ac.uk> im Auftrag von Alan.Stiles <alan.stiles at open.ac.uk>
Gesendet: Freitag, 10. M?rz 2017 11:49
An: eprints-tech at ecs.soton.ac.uk
Betreff: Re: [EP-tech] DOI - Importing

Hi Roland,
It looks like you are running my CheckDOI plugin which will be out of date in terms of the URI for crossref.

At version 3.3.14 of eprints (your reported version) the functionality of CheckDOI should be built in to core EPrints so you should be able to disable / uninstall the plugin which may solve your problem as long as your core software has been patched in <eprints_root>/perl_lib/EPrints/Plugin/Import/DOI.pm to use the updated url (http://doi.crossref.org/openurl) as per https://github.com/eprints/eprints/commit/24de2fc05604aa7f0d34677ed2eb470e4f425a9d

Regards,

Alan



-----Original Message-----
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Roth-Steiner, Roland
Sent: 10 March 2017 09:24
To: Eprints Tech Mailing List <eprints-tech at ecs.soton.ac.uk>
Subject: [EP-tech] DOI - Importing

Hi all,

since some days we get an error importing DOIs. From the web-import-screen:

--------

Error
["Plugin/Screen/Import:exception" not definederrorCan't call method "getDocumen? tElement" on an undefined value at /usr/share/eprints/lib/plugins/EPrints/Plugi?
n/Import/CheckDOI.pm line 89, <$fh> line 2. pluginImport::DOI]

Warning
["Plugin/Screen/Import:warning" not definedpluginImport::DOIwarninghttp error :?  Unknown IO error ]

--------


Resolving this way

curl "http://doi.crossref.org/openurl?pid=roth-steiner at ulb.tu-darmstadt.de&noredirect=true&id=doi:10.1029/2005JC003173

works.


pid is configured in plugins.pl


We changed id_number to be a multiple field now - could this be the cause? How could I fix this?


Thanks

.......................................
Roland Roth-Steiner
M.Sc. Wirtsch.-Inf., Dipl.-Bibl.
. Univ.- und Landesbibliothek
... Elektronische Informationsdienste
... Leitung Digitalisierungszentrum
. Magdalenenstr. 8, 64289 Darmstadt
+49 (0)6151 16-76280
.......................................

*** 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 Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority.

*** 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/