[EP-tech] Re: EPrints breaks when a deposit is retired

George Mamalakis mamalos at eng.auth.gr
Wed Dec 2 10:03:49 GMT 2015


Ah,

And the same errors occurs every time somebody tries to access this 
eprint using its id (eg, via: http://myrepo/idnum).

On 02/12/2015 11:50 πμ, George Mamalakis wrote:
> Hello everybody,
>
> As mentioned in the subject of this email, in EPrints 3.3.14 I tried to
> retire a deposit (without knowing what it exactly does) and after
> pressing the retire button from the action's menu, I got the error:
>
> EPrints System Error
>
> Attempt to get value from not existent field: eprint/replacedby
>
> Looking the apache's error log, I saw:
>
> ------------------------------------------------------------------
> ---------------- EPrints System Error ----------------------------
> ------------------------------------------------------------------
> Attempt to get value from not existent field: eprint/replacedby
> ------------------------------------------------------------------
>    at /usr/share/eprints3/perl_lib/EPrints/DataObj.pm line 702.
> EPrints::DataObj::get_value(EPrints::DataObj::EPrint=HASH(0x7fc9323a2138),
> "replacedby") called at
> /usr/share/eprints3/lib/plugins/EPrints/Plugin/Collection.pm line 113
> EPrints::DataObj::EPrint::render(EPrints::DataObj::EPrint=HASH(0x7fc9323a2138),
> 1) called at:
>    /usr/share/eprints3/perl_lib/EPrints/DataObj/EPrint.pm line 1499
> EPrints::DataObj::EPrint::render_preview(EPrints::DataObj::EPrint=HASH(0x7fc9323a2138))
> called at
> /usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/EPrint/Summary.pm line 40
> EPrints::Plugin::Screen::EPrint::Summary::render(EPrints::Plugin::Screen::EPrint::Summary=HASH(0x7fc93238cb80),
> "ep_eprint_view_0") called at
> /usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/EPrint/View.pm line 188
> EPrints::Plugin::Screen::EPrint::View::render(EPrints::Plugin::Screen::EPrint::View=HASH(0x7fc9323a3388))
> called at /usr/share/eprints3/perl_lib/EPrints/ScreenProcessor.pm line 377
> EPrints::ScreenProcessor::process("EPrints::ScreenProcessor", "session",
> EPrints::Repository=HASH(0x7fc93233e098), "template", undef, "url",
> "/cgi/users/home") called at /usr/share/eprints3/cgi/users/home line 25
> ModPerl::ROOT::ModPerl::Registry::usr_share_eprints3_cgi_users_home::handler(Apache2::RequestRec=SCALAR(0x7fc931f7d1c0))
> called at /usr/lib/x86_64-linux-gnu/perl5/5.20/ModPerl/RegistryCooker.pm
> line 207
>            eval {...} called at
> /usr/lib/x86_64-linux-gnu/perl5/5.20/ModPerl/RegistryCooker.pm line 207
> ModPerl::RegistryCooker::run(ModPerl::Registry=HASH(0x7fc932305a40))
> called at /usr/lib/x86_64-linux-gnu/perl5/5.20/ModPerl/RegistryCooker.pm
> line 173
> ModPerl::RegistryCooker::default_handler(ModPerl::Registry=HASH(0x7fc932305a40))
> called at /usr/lib/x86_64-linux-gnu/perl5/5.20/ModPerl/Registry.pm line 32
>           ModPerl::Registry::handler("ModPerl::Registry",
> Apache2::RequestRec=SCALAR(0x7fc931f7d1c0)) called at -e line 0
>           eval {...} called at -e line 0
> [Wed Dec 02 10:55:58.336760 2015] [:error] [pid 21450] EPrints::abort()\n
>
> In this state, from the web interface I am not able to delete it (delete
> is not found in the available options), so I have to remove the item
> using a script.
>
> It doesn't seem to be a problem with my installation, and it's easy to
> reproduce, so I assume it should be reported to eprints-github once it
> is confirmed by someone else as well.
>
> Thanks all in advance,
>
> George.
>


-- 
George Mamalakis

IT and Security Officer,
Electrical and Computer Engineer (Aristotle Univ. of Thessaloniki),
PhD (Aristotle Univ. of Thessaloniki),
MSc (Imperial College of London)

School of Electrical and Computer Engineering
Aristotle University of Thessaloniki

phone number : +30 (2310) 994379





More information about the Eprints-tech mailing list