Hi, I'm working on submission forms on a brand new 0.99.1 site. I'm having a couple of related issues that I've been unable to solve so far.
The form itself seems to work, according to the trick Tibor wrote me a few years ago (http://cdsware.cern.ch/lists/project-cdsware-users/archive/msg00553.shtml) ~/invenio/var/data/submit/storage/done/running/ARTICLE/DEMO--2009-014_20091117121928$ bibconvert -l1 -d`pwd` -Cs/home/traces/invenio/etc/bibconvert/config/ARTICLE.tpl -Ct/home/traces/invenio/etc/bibconvert/config/ARTICLEcreate.tpl <record> <controlfield tag="001">68389</controlfield> <datafield tag="773" ind1="" ind2=""><subfield code="t">Al Vent. Revista de Terrassa</subfield><subfield code="k">secció</subfield></datafield> <datafield tag="973" ind1="" ind2=""><subfield code="v">volum</subfield><subfield code="n">número</subfield><subfield code="y">any</subfield><subfield code="m">mes</subfield><subfield code="f">1</subfield><subfield code="l">9</subfield></datafield> <datafield tag="908" ind1="" ind2=""><subfield code="i">cat</subfield><subfield code="t">b</subfield></datafield> <datafield tag="655" ind1="" ind2=""><subfield code="a">Tipus</subfield></datafield> <datafield tag="245" ind1="1" ind2=""><subfield code="a">Títol</subfield></datafield> </record> This record seems ok: $ xmlmarclint myrecord.marcxml But the record to be loaded seems empty. bibsched traces the problem in the Insert_Record step: 246 bibupload websubmit.Insert_Record2009-11-17 12:19:28 ERROR None ---log--- 2009-11-17 12:19:30 --> Task #246 started. 2009-11-17 12:19:30 --> Input file '/home/traces/invenio/var/tmp/DEMO--2009-014_2009-11-17_12:19:28', input mode 'replace_or_insert'. 2009-11-17 12:19:30 --> Task #246 finished. [ERROR] ---err--- 2009-11-17 12:19:30 --> Error: Cannot parse MARCXML file. 2009-11-17 12:19:30 --> Exiting. Indeed, this file is empty: $ ls -l /home/traces/invenio/var/tmp/DEMO--2009-014_2009-11-17_12\:19\:28 -rw-r--r-- 1 traces users 0 2009-11-17 12:19 /home/traces/invenio/var/tmp/DEMO--2009-014_2009-11-17_12:19:28 I've been debugging the situation the last couple of days, but I have been not able to figure out what's wrong. Even more, if I try to add some tracing values, like open('/tmp/Create_Recid.out','w').write(curdir + '\n' + sysno) in ~/invenio/lib/python/invenio/websubmit_functions/Create_Recid.py, the result is puzzling, because it points me to a current directory that doesn't exist: $ cat /tmp/Create_Recid.out /home/traces/invenio/var/data/submit/storage/running/ARTICLE/1258456698_31319 68389 $ ls -l /home/traces/invenio/var/data/submit/storage/running/ARTICLE/1258456698_31319 ls: cannot access /home/traces/invenio/var/data/submit/storage/running/ARTICLE/1258456698_31319: No such file or directory Your help is really appreciated. Thanks, Ferran
