Hello everyone,

For some strange reason, I got this exception with Make_Dummy_MARC_XML_Record websubmit function. I don't know if the produced dummy_marcxml_rec is used somewhere (ie in the approval process), but I included it anyway. FYI, this is the first time this exception is thrown (after several successful submissions), the dummy_marcxml_rec file exists in the record directory, is valid xml and readable/writable by apache, so I don't know why I get it...


* 2013-12-18 12:40:43 -> InvenioWebSubmitFunctionError: Error: Unable to create 
dummy MARC XML record 
[/opt/invenio/var/data/submit/storage/running/IKEEART/1387362462_5686/dummy_marcxml_rec].
 Bibconvert reported no error, but the record was unreadable later. 
(Make_Dummy_MARC_XML_Record.py:120:Make_Dummy_MARC_XML_Record)
[...]
** Traceback details

Traceback (most recent call last):
   File "/usr/lib64/python2.6/site-packages/invenio/websubmit_engine.py", line 
1125, in endaction
     ln=ln)
   File "/usr/lib64/python2.6/site-packages/invenio/websubmit_engine.py", line 
1736, in print_function_calls
     func_returnval = eval("function(parameters=parameters, curdir=curdir, 
form=form, user_info=user_info)", the_globals)
   File "<string>", line 1, in <module>
   File 
"/opt/invenio/lib/python/invenio/websubmit_functions/Make_Dummy_MARC_XML_Record.py",
 line 120, in Make_Dummy_MARC_XML_Record
     raise InvenioWebSubmitFunctionError(err_msg)
InvenioWebSubmitFunctionError: Error: Unable to create dummy MARC XML record 
[/opt/invenio/var/data/submit/storage/running/IKEEART/1387362462_5686/dummy_marcxml_rec].
 Bibconvert reported no error, but the record was unreadable later.

** Stack frame details

Frame Make_Dummy_MARC_XML_Record in 
/opt/invenio/lib/python/invenio/websubmit_functions/Make_Dummy_MARC_XML_Record.py
 at line 120
-------------------------------------------------------------------------------
        117                   "Bibconvert reported no error, but the record was 
" \
        118                   "unreadable later." % (curdir, 
CFG_WEBSUBMIT_DUMMY_XML_NAME)
        119         register_exception(req=req_obj, prefix=err_msg)
---->  120         raise InvenioWebSubmitFunctionError(err_msg)
        121
        122     # Escape XML-reserved chars and clean the unsupported ones 
(mainly
        123     # control characters)
-------------------------------------------------------------------------------
[...]

If it doesn't seem important to you (or doesn't ring any bells) I'll ignore it and move on.

Cheers,
Theodoros

Reply via email to