Details
-
Bug
-
Status: Reported
-
P3: Somewhat important
-
Resolution: Unresolved
-
Qt Creator 4.4.0
-
None
-
{noformat}
Qt 5.9.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.2.1 20170901 [gcc-7-branch revision 251580]) on "xcb"
OS: openSUSE Tumbleweed [linux version 4.13.3-1-default]
Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX
Environment:
QEMU_AUDIO_DRV="pa"
QT_IM_MODULE="xim"
QT_IM_SWITCHER="imsw-multi"
QT_QPA_PLATFORMTHEME="qt5ct"
QT_SYSTEM_DIR="/usr/share/desktop-data"
Features: QT_NO_EXCEPTIONS
Library info:
PrefixPath: /usr
DocumentationPath: /usr/share/doc/packages/qt5
HeadersPath: /usr/include/qt5
LibrariesPath: /usr/lib64
LibraryExecutablesPath: /usr/lib64/qt5/libexec
BinariesPath: /usr/lib64/qt5/bin
PluginsPath: /usr/lib64/qt5/plugins
ImportsPath: /usr/lib64/qt5/imports
Qml2ImportsPath: /usr/lib64/qt5/qml
ArchDataPath: /usr/lib64/qt5
DataPath: /usr/share/qt5
TranslationsPath: /usr/share/qt5/translations
ExamplesPath: /usr/lib64/qt5/examples
TestsPath: /usr/tests
SettingsPath: /etc/xdg
Standard paths [*...* denote writable entry]:
DesktopLocation: "Desktop" */home/ukrkyi/Стільниця*
DocumentsLocation: "Documents" */home/ukrkyi/Документи*
FontsLocation: "Fonts" */home/ukrkyi/.local/share/fonts* /home/ukrkyi/.fonts
ApplicationsLocation: "Applications" */home/ukrkyi/.local/share/applications* /usr/share/applications
MusicLocation: "Music" */home/ukrkyi/Музика*
MoviesLocation: "Movies" */home/ukrkyi/Відео*
PicturesLocation: "Pictures" */home/ukrkyi/Картинки*
TempLocation: "Temporary Directory" */tmp*
HomeLocation: "Home" */home/ukrkyi*
AppLocalDataLocation: "Application Data" */home/ukrkyi/.local/share/QtProject/qtdiag* /usr/share/QtProject/qtdiag
CacheLocation: "Cache" */home/ukrkyi/.cache/QtProject/qtdiag*
GenericDataLocation: "Shared Data" */home/ukrkyi/.local/share* /usr/share
RuntimeLocation: "Runtime" */run/user/1000*
ConfigLocation: "Configuration" */home/ukrkyi/.config* /etc/xdg
DownloadLocation: "Download" */home/ukrkyi/Завантажене*
GenericCacheLocation: "Shared Cache" */home/ukrkyi/.cache*
GenericConfigLocation: "Shared Configuration" */home/ukrkyi/.config* /etc/xdg
AppDataLocation: "Application Data" */home/ukrkyi/.local/share/QtProject/qtdiag* /usr/share/QtProject/qtdiag
AppConfigLocation: "Application Configuration" */home/ukrkyi/.config/QtProject/qtdiag* /etc/xdg/QtProject/qtdiag
File selectors (increasing order of precedence):
uk_UA unix linux opensuse
Network:
Using "OpenSSL 1.0.2l-fips 25 May 2017", version: 0x100020cf
Platform capabilities: ThreadedPixmaps OpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement SyncState RasterGLSurface SwitchableWidgetComposition
Style hints:
mouseDoubleClickInterval: 400
mousePressAndHoldInterval: 800
startDragDistance: 10
startDragTime: 500
startDragVelocity: 0
keyboardInputInterval: 400
keyboardAutoRepeatRate: 30
cursorFlashTime: 1000
showIsFullScreen: 0
showIsMaximized: 0
passwordMaskDelay: 0
passwordMaskCharacter: U+25CF
fontSmoothingGamma: 1.7
useRtlExtensions: 0
setFocusOnTouchRelease: 0
tabFocusBehavior: Qt::TabFocusBehavior(TabFocusAllControls)
singleClickActivation: 0
Additional style hints (QPlatformIntegration):
ReplayMousePressOutsidePopup: 0
Theme:
Platforms requested : i3,generic
available : kde,gtk2,gtk3,qt5ct
Styles requested : qt5ct-style
available : Breeze,gtk2,qt5ct-style,Windows,Fusion
Icon theme : breeze, from /usr/share/icons,/usr/share/pixmaps,/home/ukrkyi/.local/share/icons
System font : "Noto Sans" 10
Fonts:
General font : "Noto Sans" 10
Fixed font : "Noto Sans" 10
Title font : "Noto Sans" 10
Smallest font: "Noto Sans" 10
Palette:
WindowText: #ff000000
Button: #ffa0a0a4
Light: #fff0f0f6
Midlight: #ffc8c8cd
Dark: #ff505052
Mid: #ff6b6b6d
Text: #ff000000
BrightText: #ffffffff
ButtonText: #ff000000
Base: #ffffffff
Window: #ffa0a0a4
Shadow: #ff000000
Highlight: #ff000080
HighlightedText: #ffffffff
Link: #ff0000ff
LinkVisited: #ffff00ff
AlternateBase: #ffcfcfd1
NoRole: #ff000000
ToolTipBase: #ffffffdc
ToolTipText: #ff000000
Screens: 1, High DPI scaling: inactive
# 0 "LVDS1" Depth: 24 Primary: yes
Manufacturer:
Model:
Serial number:
Geometry: 1366x768+0+0 Available: 1366x768+0+0
Physical size: 340x190 mm Refresh: 60 Hz Power state: 0
Physical DPI: 102.048,102.669 Logical DPI: 96.1119,96.0946 Subpixel_None
DevicePixelRatio: 1 Pixel density: 1
Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0
LibGL Vendor: Intel Open Source Technology Center
Renderer: Mesa DRI Intel(R) Ivybridge Mobile
Version: 3.0 Mesa 17.2.1
Shading language: 1.30
Format: Version: 3.0 Profile: 0 Swap behavior: 0 Buffer size (RGB): 8,8,8
qt5ct: using qt5ct plugin
Plugin information:
+ Android 4.4.0
+ AutoTest 4.4.0
AutotoolsProjectManager 4.4.0
+ BareMetal 4.4.0
+ Bazaar 4.4.0
+ Beautifier 4.4.0
+ BinEditor 4.4.0
+ Bookmarks 4.4.0
+ CMakeProjectManager 4.4.0
+ CVS 4.4.0
+ ClangCodeModel 4.4.0
+ ClangStaticAnalyzer 4.4.0
+ ClassView 4.4.0
ClearCase 4.4.0
+ CodePaster 4.4.0
+ Core 4.4.0
+ CppEditor 4.4.0
+ CppTools 4.4.0
+ Debugger 4.4.0
+ Designer 4.4.0
+ DiffEditor 4.4.0
EmacsKeys 4.4.0
+ FakeVim 4.4.0
+ GLSLEditor 4.4.0
+ GenericProjectManager 4.4.0
+ Git 4.4.0
HelloWorld 4.4.0
+ Help 4.4.0
+ ImageViewer 4.4.0
Ios 4.4.0
+ Macros 4.4.0
+ Mercurial 4.4.0
+ ModelEditor 4.4.0
Nim 4.4.0
+ Perforce 4.4.0
+ ProjectExplorer 4.4.0
+ PythonEditor 4.4.0
+ QbsProjectManager 4.4.0
+ QmakeAndroidSupport 4.4.0
+ QmakeProjectManager 4.4.0
+ QmlDesigner 4.4.0
+ QmlJSEditor 4.4.0
+ QmlJSTools 4.4.0
+ QmlProfiler 4.4.0
+ QmlProjectManager 4.4.0
+ Qnx 4.4.0
+ QtSupport 4.4.0
+ RemoteLinux 4.4.0
+ ResourceEditor 4.4.0
+ ScxmlEditor 4.4.0
SilverSearcher 4.4.0
+ Subversion 4.4.0
+ TaskList 4.4.0
+ TextEditor 4.4.0
+ Todo 4.4.0
UpdateInfo 4.4.0
+ Valgrind 4.4.0
+ VcsBase 4.4.0
+ Welcome 4.4.0
WinRt 4.4.0
Qt Creator 4.4.0
Базується на Qt 5.9.1 (GCC 7.2.1 20170901 [gcc-7-branch revision 251580], 64 біти)
{noformat}{noformat} Qt 5.9.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.2.1 20170901 [gcc-7-branch revision 251580]) on "xcb" OS: openSUSE Tumbleweed [linux version 4.13.3-1-default] Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX Environment: QEMU_AUDIO_DRV="pa" QT_IM_MODULE="xim" QT_IM_SWITCHER="imsw-multi" QT_QPA_PLATFORMTHEME="qt5ct" QT_SYSTEM_DIR="/usr/share/desktop-data" Features: QT_NO_EXCEPTIONS Library info: PrefixPath: /usr DocumentationPath: /usr/share/doc/packages/qt5 HeadersPath: /usr/include/qt5 LibrariesPath: /usr/lib64 LibraryExecutablesPath: /usr/lib64/qt5/libexec BinariesPath: /usr/lib64/qt5/bin PluginsPath: /usr/lib64/qt5/plugins ImportsPath: /usr/lib64/qt5/imports Qml2ImportsPath: /usr/lib64/qt5/qml ArchDataPath: /usr/lib64/qt5 DataPath: /usr/share/qt5 TranslationsPath: /usr/share/qt5/translations ExamplesPath: /usr/lib64/qt5/examples TestsPath: /usr/tests SettingsPath: /etc/xdg Standard paths [*...* denote writable entry]: DesktopLocation: "Desktop" */home/ukrkyi/Стільниця* DocumentsLocation: "Documents" */home/ukrkyi/Документи* FontsLocation: "Fonts" */home/ukrkyi/.local/share/fonts* /home/ukrkyi/.fonts ApplicationsLocation: "Applications" */home/ukrkyi/.local/share/applications* /usr/share/applications MusicLocation: "Music" */home/ukrkyi/Музика* MoviesLocation: "Movies" */home/ukrkyi/Відео* PicturesLocation: "Pictures" */home/ukrkyi/Картинки* TempLocation: "Temporary Directory" */tmp* HomeLocation: "Home" */home/ukrkyi* AppLocalDataLocation: "Application Data" */home/ukrkyi/.local/share/QtProject/qtdiag* /usr/share/QtProject/qtdiag CacheLocation: "Cache" */home/ukrkyi/.cache/QtProject/qtdiag* GenericDataLocation: "Shared Data" */home/ukrkyi/.local/share* /usr/share RuntimeLocation: "Runtime" */run/user/1000* ConfigLocation: "Configuration" */home/ukrkyi/.config* /etc/xdg DownloadLocation: "Download" */home/ukrkyi/Завантажене* GenericCacheLocation: "Shared Cache" */home/ukrkyi/.cache* GenericConfigLocation: "Shared Configuration" */home/ukrkyi/.config* /etc/xdg AppDataLocation: "Application Data" */home/ukrkyi/.local/share/QtProject/qtdiag* /usr/share/QtProject/qtdiag AppConfigLocation: "Application Configuration" */home/ukrkyi/.config/QtProject/qtdiag* /etc/xdg/QtProject/qtdiag File selectors (increasing order of precedence): uk_UA unix linux opensuse Network: Using "OpenSSL 1.0.2l-fips 25 May 2017", version: 0x100020cf Platform capabilities: ThreadedPixmaps OpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement SyncState RasterGLSurface SwitchableWidgetComposition Style hints: mouseDoubleClickInterval: 400 mousePressAndHoldInterval: 800 startDragDistance: 10 startDragTime: 500 startDragVelocity: 0 keyboardInputInterval: 400 keyboardAutoRepeatRate: 30 cursorFlashTime: 1000 showIsFullScreen: 0 showIsMaximized: 0 passwordMaskDelay: 0 passwordMaskCharacter: U+25CF fontSmoothingGamma: 1.7 useRtlExtensions: 0 setFocusOnTouchRelease: 0 tabFocusBehavior: Qt::TabFocusBehavior(TabFocusAllControls) singleClickActivation: 0 Additional style hints (QPlatformIntegration): ReplayMousePressOutsidePopup: 0 Theme: Platforms requested : i3,generic available : kde,gtk2,gtk3,qt5ct Styles requested : qt5ct-style available : Breeze,gtk2,qt5ct-style,Windows,Fusion Icon theme : breeze, from /usr/share/icons,/usr/share/pixmaps,/home/ukrkyi/.local/share/icons System font : "Noto Sans" 10 Fonts: General font : "Noto Sans" 10 Fixed font : "Noto Sans" 10 Title font : "Noto Sans" 10 Smallest font: "Noto Sans" 10 Palette: WindowText: #ff000000 Button: #ffa0a0a4 Light: #fff0f0f6 Midlight: #ffc8c8cd Dark: #ff505052 Mid: #ff6b6b6d Text: #ff000000 BrightText: #ffffffff ButtonText: #ff000000 Base: #ffffffff Window: #ffa0a0a4 Shadow: #ff000000 Highlight: #ff000080 HighlightedText: #ffffffff Link: #ff0000ff LinkVisited: #ffff00ff AlternateBase: #ffcfcfd1 NoRole: #ff000000 ToolTipBase: #ffffffdc ToolTipText: #ff000000 Screens: 1, High DPI scaling: inactive # 0 "LVDS1" Depth: 24 Primary: yes Manufacturer: Model: Serial number: Geometry: 1366x768+0+0 Available: 1366x768+0+0 Physical size: 340x190 mm Refresh: 60 Hz Power state: 0 Physical DPI: 102.048,102.669 Logical DPI: 96.1119,96.0946 Subpixel_None DevicePixelRatio: 1 Pixel density: 1 Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0 LibGL Vendor: Intel Open Source Technology Center Renderer: Mesa DRI Intel(R) Ivybridge Mobile Version: 3.0 Mesa 17.2.1 Shading language: 1.30 Format: Version: 3.0 Profile: 0 Swap behavior: 0 Buffer size (RGB): 8,8,8 qt5ct: using qt5ct plugin Plugin information: + Android 4.4.0 + AutoTest 4.4.0 AutotoolsProjectManager 4.4.0 + BareMetal 4.4.0 + Bazaar 4.4.0 + Beautifier 4.4.0 + BinEditor 4.4.0 + Bookmarks 4.4.0 + CMakeProjectManager 4.4.0 + CVS 4.4.0 + ClangCodeModel 4.4.0 + ClangStaticAnalyzer 4.4.0 + ClassView 4.4.0 ClearCase 4.4.0 + CodePaster 4.4.0 + Core 4.4.0 + CppEditor 4.4.0 + CppTools 4.4.0 + Debugger 4.4.0 + Designer 4.4.0 + DiffEditor 4.4.0 EmacsKeys 4.4.0 + FakeVim 4.4.0 + GLSLEditor 4.4.0 + GenericProjectManager 4.4.0 + Git 4.4.0 HelloWorld 4.4.0 + Help 4.4.0 + ImageViewer 4.4.0 Ios 4.4.0 + Macros 4.4.0 + Mercurial 4.4.0 + ModelEditor 4.4.0 Nim 4.4.0 + Perforce 4.4.0 + ProjectExplorer 4.4.0 + PythonEditor 4.4.0 + QbsProjectManager 4.4.0 + QmakeAndroidSupport 4.4.0 + QmakeProjectManager 4.4.0 + QmlDesigner 4.4.0 + QmlJSEditor 4.4.0 + QmlJSTools 4.4.0 + QmlProfiler 4.4.0 + QmlProjectManager 4.4.0 + Qnx 4.4.0 + QtSupport 4.4.0 + RemoteLinux 4.4.0 + ResourceEditor 4.4.0 + ScxmlEditor 4.4.0 SilverSearcher 4.4.0 + Subversion 4.4.0 + TaskList 4.4.0 + TextEditor 4.4.0 + Todo 4.4.0 UpdateInfo 4.4.0 + Valgrind 4.4.0 + VcsBase 4.4.0 + Welcome 4.4.0 WinRt 4.4.0 Qt Creator 4.4.0 Базується на Qt 5.9.1 (GCC 7.2.1 20170901 [gcc-7-branch revision 251580], 64 біти) {noformat}
Description
On localised Qt Creator, configuration name is localised by default:
So when debugging, errors similar to this prevent "stack" and "variables and expression views" from working:
<175python theDumper.fetchStack({"limit":0,"nativemixed":0,"token":175}) <176python theDumper.fetchVariables({"autoderef":1,"context":"","displaystringlimit":"100","dyntype":1,"expanded":["local","return","inspect","watch"],"fancy":1,"formats":{},"nativemixed":0,"partialvar":"","passexceptions":0,"qobjectnames":1,"resultvarname":"","stringcutoff":"10000","token":176,"typeformats":{},"watchers":[{"exp":"7374725b695d","iname":"watch.0"}]}) >&"python theDumper.fetchStack({\"limit\":0,\"nativemixed\":0,\"token\":175})\n" >&"Traceback (most recent call last):\n" >&" File \"<string>\", line 1, in <module>\n" >&" File \"/usr/share/qtcreator/debugger/gdbbridge.py\", line 1282, in fetchStack\n" >&" objfile = fromNativePath(symtab.objfile.filename)\n" >&"UnicodeEncodeError: 'ascii' codec can't encode characters in position 69-79: ordinal not in range(128)\n" >&"Error while executing Python code.\n" >175^error,msg="Error while executing Python code."
Workaround is renaming configuration name to some value containing only ASCII symbols, but it is not convenient to do for every created project.