xpra icon
Bug tracker and wiki

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#102 closed defect (fixed)

UnicodeDecodeError: 'utf8' codec can't

Reported by: Timo Juhani Lindfors Owned by: Antoine Martin
Priority: major Milestone: 0.2
Component: server Version: 0.1.0
Keywords: Cc:

Description

debian squeeze amd64. If I just start svn 693 server and connect gnome-terminal to it I see

[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
[dix] Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!
Xlib:  extension "RANDR" missing on display ":3.0".
Xlib:  extension "RANDR" missing on display ":3.0".
Xlib:  extension "RANDR" missing on display ":3.0".
Randr not supported: X server does not support required extension Randr
using notification forwarder: <xpra.dbus_notifications_forwarder.DBUSNotificationsForwarder at /org/freedesktop/Notifications at 0x29dcf50>

xpra is ready.

Error parsing property _NET_WM_ICON (type icon); this may be a misbehaving application, or bug in Wimpiggy
  Data: '\x16\x00\x00\x00\x16\x00\x00\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00\xff\xff\xff\x00'[...?]
error reading initial property _NET_WM_ICON
Traceback (most recent call last):
  File "/home/lindi/xpra-install/amd64/svn693_v0.0.7.22-584-ge448b3d/lib/python/wimpiggy/window.py", line 859, in _read_initial_properties
    self._handle_property_change(mutable)
  File "/home/lindi/xpra-install/amd64/svn693_v0.0.7.22-584-ge448b3d/lib/python/wimpiggy/window.py", line 699, in _handle_property_change
    self._property_handlers[name](self)
  File "/home/lindi/xpra-install/amd64/svn693_v0.0.7.22-584-ge448b3d/lib/python/wimpiggy/window.py", line 769, in _handle_net_wm_icon
    surf = self.prop_get("_NET_WM_ICON", "icon")
  File "/home/lindi/xpra-install/amd64/svn693_v0.0.7.22-584-ge448b3d/lib/python/wimpiggy/window.py", line 534, in prop_get
    return prop_get(self.client_window, key, type, ignore_errors=ignore_errors)
  File "/home/lindi/xpra-install/amd64/svn693_v0.0.7.22-584-ge448b3d/lib/python/wimpiggy/prop.py", line 316, in prop_get
    return _prop_decode(target, type, data)
  File "/home/lindi/xpra-install/amd64/svn693_v0.0.7.22-584-ge448b3d/lib/python/wimpiggy/prop.py", line 273, in _prop_decode
    return _prop_decode_scalar(disp, type, data)
  File "/home/lindi/xpra-install/amd64/svn693_v0.0.7.22-584-ge448b3d/lib/python/wimpiggy/prop.py", line 277, in _prop_decode_scalar
    value = deserialize(disp, data)
  File "/home/lindi/xpra-install/amd64/svn693_v0.0.7.22-584-ge448b3d/lib/python/wimpiggy/prop.py", line 166, in NetWMIcons
    stream = StringIO(data)
  File "/usr/lib/python2.6/io.py", line 1899, in __init__
    initial_value = unicode(initial_value)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 8: invalid start byte

This differs from bug #101 since I am only testing xpra server and X client, not using xpra client at all yet.

Change History (4)

comment:1 Changed 6 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

same fix as #96: r697 uses the old python-2 only StringIO class again.

comment:2 Changed 6 years ago by Antoine Martin

was related to #96

comment:3 Changed 6 years ago by Antoine Martin

Milestone: current0.2

comment:4 Changed 6 years ago by Antoine Martin

Component: androidserver
Note: See TracTickets for help on using tickets.