qtc_chroot_wrapper.py craches when build in non ASCII build dir
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtcreator-plugin-ubuntu (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
When the local is set to french, qtcreator sets the build dir to <project-
This causes a crash:
...
Install the project...
-- Install configuration: ""
Traceback (most recent call last):
File "/home/
sys.
UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 108: ordinal not in range(128)
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
pr.write(f)
File "/usr/lib/
v = v.encode('UTF-8')
UnicodeEncodeError: 'utf-8' codec can't encode character '\udcc3' in position 93: surrogates not allowed
Original exception was:
Traceback (most recent call last):
File "/home/
sys.
UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 108: ordinal not in range(128)
10:37:13: The process "/home/
Erreur lors de la compilation/
When executing step "UbuntuSDK Click build"
This is caused by the é in Défault.
Related branches
- Zoltan Balogh: Approve
-
Diff: 183 lines (+31/-15)8 files modifiedshare/qtcreator/ubuntu/qml/DevicesPage/DevicePage.qml (+3/-3)
share/qtcreator/ubuntu/scripts/qtc_chroot_wrapper.py (+2/-2)
share/qtcreator/ubuntu/scripts/qtc_launch_gallery (+1/-1)
src/ubuntu/resources.qrc (+5/-0)
src/ubuntu/ubuntuclicktool.cpp (+6/-1)
src/ubuntu/ubuntuconstants.h (+1/-1)
src/ubuntu/ubuntupackageoutputparser.cpp (+10/-4)
src/ubuntu/ubuntuvalidationresultmodel.cpp (+3/-3)
Changed in qtcreator-plugin-ubuntu (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in qtcreator-plugin-ubuntu (Ubuntu): | |
status: | In Progress → Fix Committed |
This bug was fixed in the package qtcreator- plugin- ubuntu - 3.5.0+16. 04.20151126- 0ubuntu1
--------------- plugin- ubuntu (3.5.0+ 16.04.20151126- 0ubuntu1) xenial; urgency=medium
qtcreator-
[ Benjamin Zeller ] Ubuntu/ Showcase gallery is not working chroot_ wrapper. py craches when build in non ASCII build dir"
* Fix Bug lp:1494566 "Tools/
after updating my SDK" Fix Bug lp:1499135 "Cannot deploy a scope
onto phone due to reserved policy group 'debug'" Fix Bug lp:1512072
"qtc_
Fix Bug lp:1519385: Latest framework is not presented as the default
(workaround) Move image files into our own plugin so we do not clash
with the scaling image provider of UITK (LP: #1512072, #1519385,
#1494566, #1499135)
* Migrate plugin to UITK 1.3
[ Zoltán Balogh ]
* Change exec line in desktop files. Fixes LP: #1495062 (LP: #1495062)
* Correct the READMe instruction of the webapp template. Fixes LP:
#1517196 (LP: #1517196)
* Migrate the templates to 1.3 UITK
-- Zoltan Balogh <email address hidden> Thu, 26 Nov 2015 05:24:55 +0000