https://bugs.kde.org/show_bug.cgi?id=374657
Bug ID: 374657
Summary: Non-ascii home directory causes kajongg to crash
during startup (again)
Product: kajongg
Version: unspecified
Platform: Fedora RPMs
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
It seems bug 322606 has returned.
When I try to start kajongg, it ends immediately with a Python traceback,
complaining about a UnicodeEncodeError. If I change the HOME environment
variable to some pure ASCII path, it works. To reproduce see below. The first
invocation of kajongg comes up with a window, while the second one fails as can
be seen.
This is on a Fedora 25 system with kajongg-16.08.3-1.fc25.noarch.
[göran@mimmi ~]$ mkdir /tmp/göran /tmp/goeran
[göran@mimmi ~]$ HOME=/tmp/goeran kajongg
[göran@mimmi ~]$ HOME=/tmp/göran kajongg
Traceback (most recent call last):
File "/usr/bin/kajongg", line 172, in <module>
parseOptions()
File "/usr/bin/kajongg", line 147, in parseOptions
if not initDb():
File "/usr/share/kde4/apps/kajongg/query.py", line 283, in initDb
PrepareDB(DBHandle.dbPath()) # create or upgrade
File "/usr/share/kde4/apps/kajongg/query.py", line 161, in dbPath
return Options.dbPath if Options.dbPath else appdataDir() + name
File "/usr/share/kde4/apps/kajongg/kde.py", line 94, in appdataDir
unicode(KGlobal.dirs().locateLocal("appdata", ""))) + '/'
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal
not in range(128)
--
You are receiving this mail because:
You are watching all bug changes.