python code does not like spaces in filenames

Bug #1217113 reported by dave hingley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Synfig stage
Invalid
Undecided
Mike Hingley

Bug Description

if and folder containing synfig stage has a space in the name, synfig stage will not run

Revision history for this message
Mike Hingley (computa-mike) wrote :

Python shouldn't care about spaces in names - however Linux does. When CD'ing or interacting with the terminal or Shell - you need to escape the space. This is because Linux uses the space command to separate input parameters.

For example if you type :

cd /usr/dave/desktop/project files

then cd command assumes that the space (between project and files) splits 2 different sets of parameters.

to rectify this you can escape the space using \

cd /usr/dave/desktop/project\ files

A write up of it (basic) can be found here : http://www.tomshardware.co.uk/forum/237724-50-type-file-names-space-terminal.

Can you confirm that this is the issue?

Changed in synfig-stage:
assignee: nobody → Mike Hingley (computa-mike)
status: New → Invalid
Revision history for this message
Mike Hingley (computa-mike) wrote :

marking this as potentially invalid - Dave - if you can confirm that the issue is indeed related to escaping spaces on the terminal, then this bug can be closed. Also - remember that pressing TAB will auto-complete the current line, automatically replacing spaces with \spaces

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.