! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
can't open files when [ ] characters are in the path
Status:
RESOLVED: FIXED
Product:
Squeeze
Component:
squeeze

Comments

Description Bj 2007-01-12 10:44:54 CET
for example i have a zip or a tar.gz file in a dir called
/mnt/data/stud/uebungen/[DONE] - ps2/05-done/ueb09-done
and none of them can be opened. i get an error message in squeeze "Failed to open ..."
tried with zip and tar.gz
Comment 1 Bj 2007-01-12 11:43:55 CET
the full path is printed in the debug output, but it seems like it has to be escaped..

$ squeeze 2112_2207_UEB09.zip 
** (squeeze:6652): DEBUG: NOTEBOOK: Archive status changed
** (squeeze:6652): DEBUG: Executing 'unzip -lv -qq /mnt/data/stud/uebungen/[DONE] - ps2/05-done/ueb09-done/2112_2207_UEB09.zip'
** (squeeze:6652): DEBUG: NOTEBOOK: Archive status changed
** (squeeze:6652): DEBUG: NOTEBOOK: Archive status changed
Comment 2 Peter de Ridder editbugs 2007-01-12 12:15:15 CET
(In reply to comment #0)
> for example i have a zip or a tar.gz file in a dir called
> /mnt/data/stud/uebungen/[DONE] - ps2/05-done/ueb09-done
> and none of them can be opened. i get an error message in squeeze "Failed to
> open ..."
> tried with zip and tar.gz
> 

this might be fix in revision 24369
it works for me now, not sure what happens with special (escape) characters
the problem was in the spaces in the path
Comment 3 Bj 2007-01-12 12:18:35 CET
it works fine now, thanks.
Comment 4 Bj 2007-01-12 12:37:48 CET
hm, now of course directories with " in the name don't work anymore.

a dir called
§$%'%!&[] (){}ß#~+*
actually works, but when i add "", then it doesn't work anymore.
in fact, with §$%"'%!&[] (){}ß#~+* squeeze stays at "refreshing archive contents" but doesn't show anything and doesn't do anything.
mirage for example (an image viewer) handles both dirs correctly and opens images in them just fine.

Comment 5 Peter de Ridder editbugs 2007-01-12 15:36:42 CET
bug fixed in revision 24371

Bug #2751

Reported by:
Bj
Reported on: 2007-01-12
Last modified on: 2007-01-12

People

Assignee:
Peter de Ridder
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information