From: Michele Pinassi <michele AT asb.unisi.it>
Date: Wed, 1 Jul 2009 13:55:13 +0200
| Threading: | • This Message → [EP-tech] Re: Adding new field to live archive from tdb2 AT ecs.soton.ac.uk |
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** EPrints community wiki - http://wiki.eprints.org/
Hi all, i've followed those instructions
-http://wiki.eprints.org/w/Adding_a_Field_to_a_Live_Repository- to add
some new fields to my live archive (Eprints 3.1.3). In detals, i've
added fields to "eprints" and "eprints_ordervalues_it" ↵
tables, creating
definitions and so on. Furthermore, that new fields are corrcetly showed
in workflows and in advaced search page.
The problem is in Import module. While importing new documents in
"Pubmed XML" ("Test only" was OK, i'm referring to ↵
"Test and Import") i
got:
Unhandled warning in Import::PubMedXML: DBD::mysql::st execute failed:
Unknown ↲ column 'isi_status' in 'field list'
at /opt/eprints3/perl_lib/EPrints/Database.↲ pm line 1178.
at /opt/eprints3/perl_lib/EPrints/Database.pm line 1178
EPrints::Database::insert('EPrints::Database::mysql=HASH(0xb8b568c)',
'↲ eprint__ordervalues_en', 'ARRAY(0x85bdfe4)', 'ARRAY(0x85be008)')
called at /opt↲ /eprints3/perl_lib/EPrints/Index.pm line 327
EPrints::Index::_do_ordervalues('EPrints::Session=HASH(0xadd31e8)',
'EP↲ rints::DataSet=HASH(0xb0ce57c)', 'HASH(0xb94d690)', 1, 'undef')
called at /opt/↲ eprints3/perl_lib/EPrints/Index.pm line 284
EPrints::Index::insert_ordervalues('EPrints::Session=HASH(0xadd31e8)',
↲ 'EPrints::DataSet=HASH(0xb0ce57c)', 'HASH(0xb94d690)') called
at /opt/eprints3/↲ perl_lib/EPrints/Database.pm line 1515
EPrints::Database::update('EPrints::Database::mysql=HASH(0xb8b568c)',
'↲ EPrints::DataSet=HASH(0xb0ce57c)', 'HASH(0xb94d690)', 1) called
at /opt/eprints↲ 3/perl_lib/EPrints/Database.pm line 1281
EPrints::Database::ad ...
As you can see, "isi_status" is one of the new fields added by me.
Any hints/suggestions how to fix that ?
Thanks, Michele
--
|| Michele Pinassi
|| System Manager Area Sistema Biblioteche - UniSi
|| Assistenza: +39.577.232299 (int. 2299)
|| Personale: +39.577.232477 (int. 2477)
|| FAX: +39.577.232430 (int. 2430)