<div dir="ltr"><div>Problem solved, thanks Tim.<br><br></div>Bruno<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 11 February 2013 13:35, Tim Brody <span dir="ltr"><<a href="mailto:tdb2@ecs.soton.ac.uk" target="_blank">tdb2@ecs.soton.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
There is a fix for this in 3.3.11:<br>
<a href="http://trac.eprints.org/eprints/ticket/4071" target="_blank">http://trac.eprints.org/eprints/ticket/4071</a><br>
<br>
All the best,<br>
Tim.<br>
<div><div class="h5"><br>
On Fri, 2013-02-08 at 16:28 +0000, Bruno Matos Saraiva wrote:<br>
> Alan<br>
><br>
><br>
> I've checked the apache error log, and below is a transcription of the<br>
> error.<br>
><br>
> Thanks.<br>
><br>
> Bruno<br>
><br>
> ------------------------------------------------------------------<br>
> ---------------- EPrints System Error ----------------------------<br>
> ------------------------------------------------------------------<br>
> Attempt to get value from not existent field: metafield/objectid<br>
> ------------------------------------------------------------------<br>
> at /usr/share/eprints3/perl_lib/EPrints/DataObj.pm line 702<br>
><br>
> EPrints::DataObj::get_value('EPrints::DataObj::MetaField=HASH(0x7f60661f8430)', 'objectid') called at /usr/share/eprints3/perl_lib/EPrints/DataObj/SubObject.pm line 99<br>
><br>
> EPrints::DataObj::SubObject::get_parent('EPrints::DataObj::MetaField=HASH(0x7f60661f8430)') called at /usr/share/eprints3/perl_lib/EPrints/DataObj/SubObject.pm line 89<br>
><br>
> EPrints::DataObj::SubObject::parent('EPrints::DataObj::MetaField=HASH(0x7f60661f8430)') called at /usr/share/eprints3/perl_lib/EPrints/DataObj/SubObject.pm line 178<br>
><br>
> EPrints::DataObj::SubObject::has_owner('EPrints::DataObj::MetaField=HASH(0x7f60661f8430)', 'EPrints::DataObj::User=HASH(0x7f60662dbee8)') called at /usr/share/eprints3/perl_lib/EPrints/DataObj.pm line 1995<br>
><br>
> EPrints::DataObj::permit('EPrints::DataObj::MetaField=HASH(0x7f60661f8430)', 'config/edit/perl', 'EPrints::DataObj::User=HASH(0x7f60662dbee8)') called at /usr/share/eprints3/perl_lib/EPrints/DataObj/SubObject.pm line 154<br>
><br>
> EPrints::DataObj::SubObject::permit('EPrints::DataObj::MetaField=HASH(0x7f60661f8430)', 'config/edit/perl', 'EPrints::DataObj::User=HASH(0x7f60662dbee8)') called at /usr/share/eprints3/perl_lib/EPrints/DataObj/User.pm line 1393<br>
><br>
> EPrints::DataObj::User::allow('EPrints::DataObj::User=HASH(0x7f60662dbee8)', 'config/edit/perl', 'EPrints::DataObj::MetaField=HASH(0x7f60661f8430)') called at /usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/Workflow.pm line 115<br>
> EPrints::Plugin::Screen::Workflow::allow('EPrints::Plugin::Screen::MetaField::View=HASH(0x7f60661f5d48)', 'config/edit/perl') called at /usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/MetaField/View.pm line 19<br>
> EPrints::Plugin::Screen::MetaField::View::can_be_viewed('EPrints::Plugin::Screen::MetaField::View=HASH(0x7f60661f5d48)') called at /usr/share/eprints3/perl_lib/EPrints/ScreenProcessor.pm line 201<br>
><br>
> EPrints::ScreenProcessor::list_items('EPrints::ScreenProcessor=HASH(0x7f60679ff140)', 'dataobj_actions') called at /usr/share/eprints3/perl_lib/EPrints/Plugin/Screen.pm line 298<br>
> EPrints::Plugin::Screen::list_items('EPrints::Plugin::Screen::MetaField::Listing=HASH(0x7f60661c87b8)', 'dataobj_actions') called at /usr/share/eprints3/perl_lib/EPrints/Plugin/Screen.pm line 323<br>
> EPrints::Plugin::Screen::action_list('EPrints::Plugin::Screen::MetaField::Listing=HASH(0x7f60661c87b8)', 'dataobj_actions') called at /usr/share/eprints3/perl_lib/EPrints/Plugin/Screen.pm line 594<br>
> EPrints::Plugin::Screen::render_action_list_icons('EPrints::Plugin::Screen::MetaField::Listing=HASH(0x7f60661c87b8)', 'dataobj_actions', 'HASH(0x7f60662cdfd8)') called at /usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/MetaField/Listing.pm line 479<br>
> EPrints::Plugin::Screen::MetaField::Listing::__ANON__('EPrints::Repository=HASH(0x7f6062f0b720)', 'EPrints::DataSet=HASH(0x7f6067b54f28)', 'EPrints::DataObj::MetaField=HASH(0x7f60661f8430)', undef) called at /usr/share/eprints3/perl_lib/EPrints/List.pm line 664<br>
> EPrints::List::map('EPrints::List=HASH(0x7f6066311c60)',<br>
> 'CODE(0x7f60645a3260)') called<br>
> at /usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/MetaField/Listing.pm line 486<br>
> EPrints::Plugin::Screen::MetaField::Listing::render_fields('EPrints::Plugin::Screen::MetaField::Listing=HASH(0x7f60661c87b8)', 'EPrints::DataSet=HASH(0x7f6066122d98)') called at /usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/MetaField/Listing.pm line 396<br>
> EPrints::Plugin::Screen::MetaField::Listing::render('EPrints::Plugin::Screen::MetaField::Listing=HASH(0x7f60661c87b8)') called at /usr/share/eprints3/perl_lib/EPrints/ScreenProcessor.pm line 377<br>
> EPrints::ScreenProcessor::process('EPrints::ScreenProcessor',<br>
> 'session', 'EPrints::Repository=HASH(0x7f6062f0b720)', 'template',<br>
> undef, 'url', '/cgi/users/home') called<br>
> at /usr/share/eprints3/cgi/users/home line 40<br>
> ModPerl::ROOT::ModPerl::Registry::usr_share_eprints3_cgi_users_home::handler('Apache2::RequestRec=SCALAR(0x7f60653bffc0)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204<br>
> eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm<br>
> line 204<br>
><br>
> ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7f60662dc080)')<br>
> called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170<br>
><br>
> ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f60662dc080)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31<br>
> ModPerl::Registry::handler('ModPerl::Registry',<br>
> 'Apache2::RequestRec=SCALAR(0x7f60653bffc0)') called at -e line 0<br>
> eval {...} called at -e line 0<br>
> [Fri Feb 08 10:52:52 2013] [error] EPrints::abort()\n<br>
> /usr/share/eprints3/archives/musatestes/var/last_changed.timestamp has<br>
> been modified since the repository config was loaded: reloading!<br>
> Unknown dataset:<br>
> Undefined phrase: datasetname_triple (en) at line 1148<br>
> in /usr/share/eprints3/perl_lib/EPrints/DataSet.pm<br>
> Undefined phrase: datasethelp_triple (en) at line 417<br>
> in /usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/MetaField/Listing.pm<br>
> Undefined phrase: datasetname_upload_progress (en) at line 1148<br>
> in /usr/share/eprints3/perl_lib/EPrints/DataSet.pm<br>
> Undefined phrase: datasethelp_upload_progress (en) at line 417<br>
> in /usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/MetaField/Listing.pm<br>
> /usr/share/eprints3/archives/musatestes/var/last_changed.timestamp has<br>
> been modified since the repository config was loaded: reloading!<br>
> dataset metafield has no field: objectid<br>
><br>
><br>
><br>
><br>
><br>
><br>
> On 8 February 2013 15:59, Alan.Stiles <<a href="mailto:Alan.Stiles@open.ac.uk">Alan.Stiles@open.ac.uk</a>> wrote:<br>
> Hi Bruno,<br>
><br>
> I thought you were trying to create a function accessing the<br>
> eprint dataset, but are you actually accessing the web<br>
> administration interface?<br>
><br>
> Admin -> Config Tools -> Manage Metadata Fields -> 'View<br>
> Dataset Fields' on the Eprints dataset?<br>
><br>
> The not very helpful suggestion would be to try amending the<br>
> appropriate file in cfg.d to add the field, but obviously this<br>
> doesn't explain the error message. Is there anything in your<br>
> apache error_log?<br>
><br>
> Alan<br>
><br>
><br>
</div></div>> ______________________________________________________________<br>
<div><div class="h5">> From: Bruno Matos Saraiva<br>
> [mailto:<a href="mailto:bruno.matos.saraiva@gmail.com">bruno.matos.saraiva@gmail.com</a>]<br>
><br>
> Sent: 08 February 2013 15:06<br>
> To: <a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a><br>
> Subject: [EP-tech] Re: EPrints 3.3.10 problem - unable to edit<br>
> metadata fields<br>
><br>
><br>
><br>
> Hi Alan<br>
><br>
><br>
> Well, it's a "fresh" EPrints instalation, it has no content<br>
> yet, and it has always produced this kind of error.<br>
> One curious thing is that the same error occurs using<br>
> Demoprints in the same circumstances.<br>
><br>
> The code of the function you refer to is in the<br>
> <a href="http://eprints_fields.pl" target="_blank">eprints_fields.pl</a> file?<br>
><br>
><br>
> Thanks.<br>
> Regards,<br>
><br>
> Bruno<br>
><br>
><br>
> On 8 February 2013 13:59, Alan.Stiles <<a href="mailto:Alan.Stiles@open.ac.uk">Alan.Stiles@open.ac.uk</a>><br>
> wrote:<br>
> Hi Bruno,<br>
> It looks like something in the code isn't defined<br>
> correctly, but you will need to share more of the code<br>
> of the function you are trying to write for anyone to<br>
> be able to help you.<br>
><br>
> regards,<br>
><br>
> Alan<br>
> (ORO Developer, Library Services, The Open University)<br>
><br>
><br>
</div></div>> ______________________________________________________<br>
<div class="HOEnZb"><div class="h5">> From: Bruno Matos Saraiva<br>
> [mailto:<a href="mailto:bruno.matos.saraiva@gmail.com">bruno.matos.saraiva@gmail.com</a>]<br>
> Sent: 08 February 2013 12:53<br>
> To: <a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a><br>
> Subject: [EP-tech] EPrints 3.3.10 problem - unable to<br>
> edit metadata fields<br>
><br>
><br>
><br>
> Hello all<br>
><br>
> When I try to view dataset fields of "Eprints" to edit<br>
> them, the system generates the following error<br>
> message:<br>
><br>
><br>
> EPrints System Error<br>
><br>
> Attempt to get value from not existent field:<br>
> metafield/objectid<br>
><br>
><br>
> Even when I try to create/edit a field in a dataset<br>
> that allows me to enter (I've tried them all), it<br>
> displays the same error.<br>
><br>
> Any suggestions to solve this?<br>
><br>
> Thank you.<br>
><br>
> Best regards,<br>
><br>
> Bruno Saraiva | Museu da Presidência da República<br>
><br>
><br>
><br>
><br>
> --<br>
> The Open University is incorporated by Royal Charter<br>
> (RC 000391), an exempt charity in England & Wales and<br>
> a charity registered in Scotland (SC 038302).<br>
><br>
><br>
><br>
> *** Options:<br>
> <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
> *** Archive: <a href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.php/</a><br>
> *** EPrints community wiki: <a href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a><br>
><br>
><br>
><br>
><br>
> *** Options:<br>
> <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
> *** Archive: <a href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.php/</a><br>
> *** EPrints community wiki: <a href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a><br>
><br>
><br>
><br>
> *** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
> *** Archive: <a href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.php/</a><br>
> *** EPrints community wiki: <a href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a><br>
<br>
</div></div><br>*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
*** Archive: <a href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.php/</a><br>
*** EPrints community wiki: <a href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a><br>
<br></blockquote></div><br></div>