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

[EP-tech] New Item issue



Hi Gareth,

inbox, a subset of the EPrint dataset does not by default have a 
MetaField with the name license.? The license field is typically in the 
Document dataset and not the EPrint dataset.? Maybe at some point you 
added license to the EPrint dataset for some reason and then it got 
removed.? You would typically find this in your archives 
cfg/cfg.d/eprint_fields.pl file.? More likely is that license field has 
been defined as a field for EPrint data objects (dataobj) but you have 
not run "epadmin update <ARCHIVE_NAME>" to add this new field.? I would 
grep over your archive's? cfg/cfg.d/ directory for license.

grep "license" EPRINTS_PATH/archives/ARCHIVE_NAME/cfg/cfg.d/

substituting EPRINTS_PATH And ARCHIVE_NAME as appropriate.? This will 
allow you hopefully work out why this extra field was added to the 
EPrint dataobj.

Regards

David Newman

On 07/10/2020 17:15, Gareth Morgan via Eprints-tech wrote:
>
> Users cant seem to create New Item in Manage Deposits, error in logs
>
> --------------- EPrints System Error ----------------------------
>
> ------------------------------------------------------------------
>
> Attempt to get value from not existent field: inbox/license
>
> ------------------------------------------------------------------
>
> at /usr/share/eprints/perl_lib/EPrints/DataObj.pm line 770.
>
> EPrints::DataObj::get_value(EPrints::DataObj::EPrint=HASH(0x5645e24d39a0), 
> "license") called$
>
> EPrints::DataObj::value(EPrints::DataObj::EPrint=HASH(0x5645e24d39a0), 
> "license") called at $
>
> EPrints::Config::dundalk::__ANON__(EPrints::DataObj::EPrint=HASH(0x5645e24d39a0)) 
> called at $
>
> ??????? eval {...} called at 
> /usr/share/eprints/perl_lib/EPrints/Repository.pm line 1864
>
> EPrints::Repository::call(EPrints::Repository=HASH(0x5645e1278810), 
> "set_eprint_automatic_fi$
>
> EPrints::DataObj::update_triggers(EPrints::DataObj::EPrint=HASH(0x5645e24d39a0)) 
> called at /$
>
> EPrints::DataObj::EPrint::update_triggers(EPrints::DataObj::EPrint=HASH(0x5645e24d39a0)) 
> cal$
>
> EPrints::DataObj::EPrint::create_from_data("EPrints::DataObj::EPrint", 
> EPrints::Repository=H$
>
> EPrints::DataSet::create_dataobj(EPrints::DataSet=HASH(0x5645de402118), 
> HASH(0x5645e2517dc8)$
>
> EPrints::DataSet::create_object(EPrints::DataSet=HASH(0x5645de402118), 
> EPrints::Repository=H$
>
> EPrints::Plugin::Screen::NewEPrint::action_create(EPrints::Plugin::Screen::NewEPrint=HASH(0x$
>
> EPrints::Plugin::Screen::from(EPrints::Plugin::Screen::NewEPrint=HASH(0x5645e251cd80)) 
> calle$
>
> EPrints::ScreenProcessor::process("EPrints::ScreenProcessor", 
> "session", EPrints::Repository$
>
> ModPerl::ROOT::ModPerl::Registry::usr_share_eprints_cgi_users_home::handler(Apache2::Request$
>
> ? ??????eval {...} called at 
> /usr/lib/x86_64-linux-gnu/perl5/5.26/ModPerl/RegistryCooker.pm line 207
>
> any ideas??
>
> *Gareth Morgan*
>
> Teicni?il Oifigeach, Seirbh?s? R?omhaireachta
>
> Technical Officer, Computer Services
>
> *T.***042 9370200 ext 2764 *E.*gareth.morgan at dkit.ie***W. *https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.dkit.ie%2F&amp;data=01%7C01%7C%7C2938eae16b1b4f4c68e108d86ae178aa%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=%2FLc2otTluD4gg%2BWZFAs2mxN2qR7Cfy7Zzmhzu%2Bf%2BXyI%3D&amp;reserved=0 
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.dkit.ie%2F&amp;data=01%7C01%7C%7C2938eae16b1b4f4c68e108d86ae178aa%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=%2FLc2otTluD4gg%2BWZFAs2mxN2qR7Cfy7Zzmhzu%2Bf%2BXyI%3D&amp;reserved=0>
>
> dkit_etag-main_oct_2016
>
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7C2938eae16b1b4f4c68e108d86ae178aa%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=sZtmUois%2BX%2BsUw%2FMi7%2BdvFS2JTZNsLRrr2c7TGc89yk%3D&amp;reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7C2938eae16b1b4f4c68e108d86ae178aa%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=FkJ5sfhX1Y7c4bwp%2BC4amiWVc0CPOIU9IpqVjKW87TU%3D&amp;reserved=0


-- 
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&amp;data=01%7C01%7C%7C2938eae16b1b4f4c68e108d86ae178aa%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=BrbGDd%2FvkQIMTTeX0R0wPkpisaTzhWpf3tMptzfDJTk%3D&amp;reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20201007/49e8801c/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 30153 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20201007/49e8801c/attachment-0001.png