Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path names with ' and " give problems when saving projects #20797

Closed
qgib opened this issue May 4, 2015 · 1 comment
Closed

Path names with ' and " give problems when saving projects #20797

qgib opened this issue May 4, 2015 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@qgib
Copy link
Contributor

qgib commented May 4, 2015

Author Name: Christian Christelis (Christian Christelis)
Original Redmine Issue: 12691
Affected QGIS version: 2.8.1


When saving a project in a folder containing an ' the following error is given
`
An error occured during execution of following code:
sys.path.remove('/home/christian/Work/InaSAFE/people_in_buildings'); sys.path.append('/home/christian/Work/InaSAFE/people_in_buildings/Charlotte's_run')

File "", line 1
sys.path.remove('/home/christian/Work/InaSAFE/people_in_buildings'); sys.path.append('/home/christian/Work/InaSAFE/people_in_buildings/Charlotte's_run')
^
SyntaxError: invalid syntax

When the path contains a "
An error occured during execution of following code:
sys.path.remove('/home/christian/Work/InaSAFE/people_in_buildings'); sys.path.append('/home/christian/Work/InaSAFE/people_in_buildings/Charlotte"s_run')

Traceback (most recent call last):
File "", line 1, in
ValueError: list.remove(x): x not in list

@qgib
Copy link
Contributor Author

qgib commented May 5, 2015

Author Name: Jürgen Fischer (@jef-n)


Fixed in changeset "b49b49232a598ac22b60be398e5d8e125b53a3d6".


  • status_id was changed from Open to Closed

@qgib qgib added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

No branches or pull requests

1 participant