Jokosher cannot open project with non-English name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Jokosher |
Fix Released
|
High
|
Michael Sheldon |
Bug Description
How to reproduce:
1. Login with non-English locale, such as zh_CN.UTF-8
2. Startup jokosher. Create a new project and set the project name as Chinese
characters
3. Save the project
4. Open the project in jokosher
You will see a pop up error window as below:
-------
The project file could not be opened.
It is recommended that you report this to the Jokosher developers or get help
at http://
Traceback (most recent call last):
File "/usr/lib/
in LoadProjectFile
File "/usr/lib/
in __init__
File "/usr/lib/
in LoadInstrument
File "/usr/lib/
in LoadEvent
File "/usr/lib/
CreateFilesource
File "/usr/lib/
SetProperties
File "/usr/lib/
26, in pathname2url
File "/usr/lib/
return quote(pathname)
File "/usr/lib/
res = map(safe_
KeyError: u'\u6d4b
-------
Related branches
- Jokosher Code: Pending requested
-
Diff: 142 lines (+70/-6)4 files modifiedJokosher/Extension.py (+6/-1)
Jokosher/PlatformUtils/Unix.py (+7/-0)
Jokosher/ui/StatusBar.py (+35/-5)
extensions/Fullscreen.py (+22/-0)
Changed in jokosher: | |
assignee: | nobody → Michael Sheldon (michael-sheldon) |
Changed in jokosher: | |
milestone: | none → 0.11.4 |
importance: | Undecided → High |
status: | New → Fix Committed |
Changed in jokosher: | |
status: | Fix Committed → Fix Released |
I can confirm this. Using locale pt_br