Gajim crashes with Unicode home

Bug #1103258 reported by skybon
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gajim (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I have cyrillic username and cyrillic home path. Gajim crashes on startup with

Traceback (most recent call last):
  File "gajim.py", line 155, in <module>
    common.configpaths.gajimpaths.init(config_path)
  File "/usr/share/gajim/src/common/demandimport.py", line 86, in __getattribute__
    self._load()
  File "/usr/share/gajim/src/common/demandimport.py", line 58, in _load
    mod = _origimport(head, globals, locals)
  File "/usr/share/gajim/src/common/configpaths.py", line 191, in <module>
    gajimpaths = ConfigPaths()
  File "/usr/share/gajim/src/common/configpaths.py", line 107, in __init__
    base = os.getenv('XDG_CONFIG_HOME') or expand(u'~/.config')
  File "/usr/lib/python2.7/posixpath.py", line 280, in expanduser
    return (userhome + path[i:]) or '/'
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 6: ordinal not in range(128)

Revision history for this message
Daniel (wurstsalat3000) wrote :

Please update to a recent version of Gajim. Version 1.0+ uses python3, which should fix the issue.

Changed in gajim (Ubuntu):
status: New → Incomplete
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.