EPrints Technical Mailing List Archive
Message: #01549
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: EPrints 3.3.10 problem - unable to edit metadata fields
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: EPrints 3.3.10 problem - unable to edit metadata fields
- From: Bruno Matos Saraiva <bruno.matos.saraiva@gmail.com>
- Date: Fri, 8 Feb 2013 16:28:10 +0000
------------------------------------------------------------------
---------------- EPrints System Error ----------------------------
------------------------------------------------------------------
Attempt to get value from not existent field: metafield/objectid
------------------------------------------------------------------
at
/usr/share/eprints3/perl_lib/EPrints/DataObj.pm line 702
EPrints::DataObj::get_value('EPrints::DataObj::MetaField=HASH(0x7f60661f8430)',
'objectid') called at /usr/share/eprints3/perl_lib/EPrints/DataObj/SubObject.pm
line 99
EPrints::DataObj::SubObject::get_parent('EPrints::DataObj::MetaField=HASH(0x7f60661f8430)')
called at /usr/share/eprints3/perl_lib/EPrints/DataObj/SubObject.pm line
89
EPrints::DataObj::SubObject::parent('EPrints::DataObj::MetaField=HASH(0x7f60661f8430)')
called at /usr/share/eprints3/perl_lib/EPrints/DataObj/SubObject.pm line
178
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
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
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
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
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
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
EPrints::ScreenProcessor::list_items('EPrints::ScreenProcessor=HASH(0x7f60679ff140)',
'dataobj_actions') called at
/usr/share/eprints3/perl_lib/EPrints/Plugin/Screen.pm line 298
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
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
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
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
EPrints::List::map('EPrints::List=HASH(0x7f6066311c60)',
'CODE(0x7f60645a3260)') called at
/usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/MetaField/Listing.pm line
486
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
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
EPrints::ScreenProcessor::process('EPrints::ScreenProcessor',
'session', 'EPrints::Repository=HASH(0x7f6062f0b720)', 'template', undef, 'url',
'/cgi/users/home') called at /usr/share/eprints3/cgi/users/home line 40
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
eval {...} called at
/usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7f60662dc080)')
called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f60662dc080)')
called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry',
'Apache2::RequestRec=SCALAR(0x7f60653bffc0)') called at -e line 0
eval {...} called at -e line 0
[Fri Feb 08 10:52:52 2013] [error] EPrints::abort()\n
/usr/share/eprints3/archives/musatestes/var/last_changed.timestamp has been
modified since the repository config was loaded: reloading!
Unknown dataset:
Undefined phrase: datasetname_triple (en) at line 1148 in /usr/share/eprints3/perl_lib/EPrints/DataSet.pm
Undefined phrase: datasethelp_triple (en) at line 417 in
/usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/MetaField/Listing.pm
Undefined phrase: datasetname_upload_progress (en) at line 1148 in
/usr/share/eprints3/perl_lib/EPrints/DataSet.pm
Undefined phrase: datasethelp_upload_progress (en) at line 417 in
/usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/MetaField/Listing.pm
/usr/share/eprints3/archives/musatestes/var/last_changed.timestamp has been
modified since the repository config was loaded: reloading!
dataset metafield has no field: objectid
Hi Bruno,I thought you were trying to create a function accessing the eprint dataset, but are you actually accessing the web administration interface?Admin -> Config Tools -> Manage Metadata Fields -> 'View Dataset Fields' on the Eprints dataset?The not very helpful suggestion would be to try amending the appropriate file in cfg.d to add the field, but obviously this doesn't explain the error message. Is there anything in your apache error_log?Alan
From: Bruno Matos Saraiva [mailto:bruno.matos.saraiva@gmail.com]Sent: 08 February 2013 15:06
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: EPrints 3.3.10 problem - unable to edit metadata fieldsBrunoThanks.The code of the function you refer to is in the eprints_fields.pl file?Hi AlanWell, it's a "fresh" EPrints instalation, it has no content yet, and it has always produced this kind of error.
One curious thing is that the same error occurs using Demoprints in the same circumstances.
Regards,
On 8 February 2013 13:59, Alan.Stiles <Alan.Stiles@open.ac.uk> wrote:
Hi Bruno,It looks like something in the code isn't defined correctly, but you will need to share more of the code of the function you are trying to write for anyone to be able to help you.regards,Alan(ORO Developer, Library Services, The Open University)
From: Bruno Matos Saraiva [mailto:bruno.matos.saraiva@gmail.com]
Sent: 08 February 2013 12:53
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] EPrints 3.3.10 problem - unable to edit metadata fieldsHello all
When I try to view dataset fields of "Eprints" to edit them, the system generates the following error message:
EPrints System Error
Attempt to get value from not existent field: metafield/objectid
Even when I try to create/edit a field in a dataset that allows me to enter (I've tried them all), it displays the same error.
Any suggestions to solve this?
Thank you.
Best regards,
Bruno Saraiva | Museu da Presidência da República
--
The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302).
*** 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/
*** 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/
- Follow-Ups:
- [EP-tech] Re: EPrints 3.3.10 problem - unable to edit metadata fields
- From: Tim Brody <tdb2@ecs.soton.ac.uk>
- [EP-tech] Re: EPrints 3.3.10 problem - unable to edit metadata fields
- References:
- [EP-tech] EPrints 3.3.10 problem - unable to edit metadata fields
- From: Bruno Matos Saraiva <bruno.matos.saraiva@gmail.com>
- [EP-tech] Re: EPrints 3.3.10 problem - unable to edit metadata fields
- From: "Alan.Stiles" <Alan.Stiles@open.ac.uk>
- [EP-tech] Re: EPrints 3.3.10 problem - unable to edit metadata fields
- From: Bruno Matos Saraiva <bruno.matos.saraiva@gmail.com>
- [EP-tech] Re: EPrints 3.3.10 problem - unable to edit metadata fields
- From: "Alan.Stiles" <Alan.Stiles@open.ac.uk>
- [EP-tech] EPrints 3.3.10 problem - unable to edit metadata fields
- Prev by Date: [EP-tech] Re: EPrints 3.3.10 problem - unable to edit metadata fields
- Next by Date: [EP-tech] Re: Sword2 Packager for eprints 3.3.11
- Previous by thread: [EP-tech] Re: EPrints 3.3.10 problem - unable to edit metadata fields
- Next by thread: [EP-tech] Re: EPrints 3.3.10 problem - unable to edit metadata fields
- Index(es):