This is an automated notification sent by LCG Savannah.
It relates to:
task #9201, project CDS Invenio
==============================================================================
LATEST MODIFICATIONS of task #9201:
==============================================================================
Update of task #9201 (project cdsware):
Status: None => Invalid
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
I can't reproduce this bug.
==============================================================================
OVERVIEW of task #9201:
==============================================================================
URL:
<http://savannah.cern.ch/task/?9201>
Summary: BibDocFile and spaces in docnames
Project: CDS Invenio
Submitted by: skaplun
Submitted on: 2009-03-05 16:30
Should Start On: 2009-03-05 00:00
Should be Finished on: 2009-03-05 00:00
Category: WebSubmit
Priority: 5 - Normal
Status: Invalid
Privacy: Public
Percent Complete: 0%
Assigned to: skaplun
Open/Closed: Closed
Discussion Lock: Any
Effort: 0.00
_______________________________________________________
[...]
I was trying to submit files to a new record (using a GR-translated
version of Upload_Files.py) and I stumbled upon this issue:
Say I submit a 'main' file named "this is a text.txt" (no problem at
all) and then I want to submit the file in another format (let's say)
"this is a text.dat", bibdocfile gives me the following exception:
--------
File
"/opt/cds-invenio/lib/python/invenio/websubmit_functions/Upload_Files_GR.py",
line 92, in Upload_Files_GR
bibdoc = bibrecdocs.add_new_format(fullpath, mybibdocname)
File "/usr/lib/python2.4/site-packages/invenio/bibdocfile.py", line
540, in add_new_format
bibdoc = self.get_bibdoc(docname=docname)
File "/usr/lib/python2.4/site-packages/invenio/bibdocfile.py", line
454, in get_bibdoc
raise InvenioWebSubmitFileError, "Recid '%s' is not connected with " \
InvenioWebSubmitFileError: Recid '106254' is not connected with
docname 'This'
---------
From what I see, probably decompose_file doesn't work properly with
filenames that contain spaces.
In a windows environment it is not uncommon for users to have
filenames with spaces
[...]
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: 2009-10-23 12:59 By: Samuele Kaplun <skaplun>
I can't reproduce this bug.
_______________________________________________________
Carbon-Copy List:
CC Address | Comment
------------------------------------+-----------------------------
2195 | -SUB-
==============================================================================
This item URL is:
<http://savannah.cern.ch/task/?9201>
_______________________________________________
Message sent via/by LCG Savannah
http://savannah.cern.ch/