Re: Error when reverting a deleted record from Bibedit (gui)
On Mon, 11 Nov 2013, javier.martin.mont...@cern.ch wrote: > This was fixed in the following commit, yet to be merged, you can apply the > patch. > > http://invenio-software.org/repo/invenio-inspire-ops/commit/?h=prod&id=ef24cf657ebc4a18d8a14074105e10b01a4b05c0 Thanks, merged to master. In case of known errors of this kind, it is always good to push them for integration without waiting for the mega-INSPIRE-OPS merging, especially now that several installations try to use the master branch. Best regards -- Tibor Simko
Re: Error when reverting a deleted record from Bibedit (gui)
Hi Theodoros, This was fixed in the following commit, yet to be merged, you can apply the patch. http://invenio-software.org/repo/invenio-inspire-ops/commit/?h=prod&id=ef24cf657ebc4a18d8a14074105e10b01a4b05c0 Cheers On Nov 11, 2013, at 2:48 PM, Theodoros Theodoropoulos mailto:th...@physics.auth.gr>> wrote: In bibedit, i tried to revert back a DELETED record and got the following error: 2013-11-11 15:07:57 --> Task #131 started. 2013-11-11 15:07:57 --> Input file '/opt/invenio/var/tmp-shared/bibedit-cache/bibedit_record_2_1.xml', input mode 'replace'. 2013-11-11 15:07:57 --> -ERROR: Missing 005 - 2013-11-11 15:07:57 --> Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/invenio/bibtask.py", line 984, in _task_run if callable(task_run_fnc) and task_run_fnc(): File "/usr/lib64/python2.6/site-packages/invenio/bibupload.py", line 2912, in task_run_core results_for_callback=results_for_callback) File "/usr/lib64/python2.6/site-packages/invenio/bibupload.py", line 2837, in bibupload_records tmp_vers = tmp_vers) File "/usr/lib64/python2.6/site-packages/invenio/bibupload.py", line 332, in bibupload submit_ticket_for_holding_pen(rec_id, err, "Missing 005. Inserting record into holding pen.") File "/usr/lib64/python2.6/site-packages/invenio/bibupload.py", line 741, in submit_ticket_for_holding_pen bibcatalog_system.ticket_submit(subject="%s: %s by %s" % (msg, rec_id, user), recordid=rec_id, text=text, queue=CFG_BIBUPLOAD_CONFLICTING_REVISION_TICKET_QUEUE, owner=uid) File "/usr/lib64/python2.6/site-packages/invenio/bibcatalog_system_email.py", line 88, in ticket_submit ownerset = " owner:" + escape_shell_arg(owner) + '\n' File "/usr/lib64/python2.6/site-packages/invenio/shellutils.py", line 298, in escape_shell_arg raise TypeError(msg) TypeError: ERROR: escape_shell_arg() expected string argument but got '1L' of type ''. 2013-11-11 15:07:57 --> Task #131 finished. [CERROR] FYI, /opt/invenio/var/tmp-shared/bibedit-cache/bibedit_record_2_1.xml DOES have a 005 field and is: 20130514094613.0 Any ideas? Cheers, Theodoros
Error when reverting a deleted record from Bibedit (gui)
In bibedit, i tried to revert back a DELETED record and got the following error: 2013-11-11 15:07:57 --> Task #131 started. 2013-11-11 15:07:57 --> Input file '/opt/invenio/var/tmp-shared/bibedit-cache/bibedit_record_2_1.xml', input mode 'replace'. 2013-11-11 15:07:57 --> -ERROR: Missing 005 - 2013-11-11 15:07:57 --> Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/invenio/bibtask.py", line 984, in _task_run if callable(task_run_fnc) and task_run_fnc(): File "/usr/lib64/python2.6/site-packages/invenio/bibupload.py", line 2912, in task_run_core results_for_callback=results_for_callback) File "/usr/lib64/python2.6/site-packages/invenio/bibupload.py", line 2837, in bibupload_records tmp_vers = tmp_vers) File "/usr/lib64/python2.6/site-packages/invenio/bibupload.py", line 332, in bibupload submit_ticket_for_holding_pen(rec_id, err, "Missing 005. Inserting record into holding pen.") File "/usr/lib64/python2.6/site-packages/invenio/bibupload.py", line 741, in submit_ticket_for_holding_pen bibcatalog_system.ticket_submit(subject="%s: %s by %s" % (msg, rec_id, user), recordid=rec_id, text=text, queue=CFG_BIBUPLOAD_CONFLICTING_REVISION_TICKET_QUEUE, owner=uid) File "/usr/lib64/python2.6/site-packages/invenio/bibcatalog_system_email.py", line 88, in ticket_submit ownerset = " owner:" + escape_shell_arg(owner) + '\n' File "/usr/lib64/python2.6/site-packages/invenio/shellutils.py", line 298, in escape_shell_arg raise TypeError(msg) TypeError: ERROR: escape_shell_arg() expected string argument but got '1L' of type ''. 2013-11-11 15:07:57 --> Task #131 finished. [CERROR] FYI, /opt/invenio/var/tmp-shared/bibedit-cache/bibedit_record_2_1.xml DOES have a 005 field and is: 20130514094613.0 Any ideas? Cheers, Theodoros