[EP-tech] Re: EPrints 3.3.10 problem - unable to edit metadata fields

Bruno Matos Saraiva bruno.matos.saraiva at gmail.com
Mon Feb 11 16:42:59 GMT 2013


Problem solved, thanks Tim.

Bruno


On 11 February 2013 13:35, Tim Brody <tdb2 at ecs.soton.ac.uk> wrote:

> Hi,
>
> There is a fix for this in 3.3.11:
> http://trac.eprints.org/eprints/ticket/4071
>
> All the best,
> Tim.
>
> On Fri, 2013-02-08 at 16:28 +0000, Bruno Matos Saraiva wrote:
> > Alan
> >
> >
> > I've checked the apache error log, and below is a transcription of the
> > error.
> >
> > Thanks.
> >
> > Bruno
> >
> > ------------------------------------------------------------------
> > ---------------- 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
> >
> >
> >
> >
> >
> >
> > On 8 February 2013 15:59, Alan.Stiles <Alan.Stiles at open.ac.uk> wrote:
> >         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 at gmail.com]
> >
> >         Sent: 08 February 2013 15:06
> >         To: eprints-tech at ecs.soton.ac.uk
> >         Subject: [EP-tech] Re: EPrints 3.3.10 problem - unable to edit
> >         metadata fields
> >
> >
> >
> >         Hi Alan
> >
> >
> >         Well, 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.
> >
> >         The code of the function you refer to is in the
> >         eprints_fields.pl file?
> >
> >
> >         Thanks.
> >         Regards,
> >
> >         Bruno
> >
> >
> >         On 8 February 2013 13:59, Alan.Stiles <Alan.Stiles at 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 at gmail.com]
> >                 Sent: 08 February 2013 12:53
> >                 To: eprints-tech at ecs.soton.ac.uk
> >                 Subject: [EP-tech] EPrints 3.3.10 problem - unable to
> >                 edit metadata fields
> >
> >
> >
> >                 Hello 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/
> >
> >
> >
> > *** 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/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20130211/06d1c348/attachment-0001.html 


More information about the Eprints-tech mailing list