xpra icon
Bug tracker and wiki

Opened 7 months ago

Closed 6 months ago

Last modified 6 months ago

#2080 closed defect (needinfo)

ValueError forwarding non-transparent system tray icons to win32 clients

Reported by: stdedos Owned by: stdedos
Priority: minor Milestone: 2.5
Component: server Version: 2.4.x
Keywords: Cc:

Description

Unknown failure when running gnome-terminal+pidgin.

Server: Ubuntu Xenial 16.04 / xpra v2.5-r21174

Client: Win 10 / xpra 64bit

revision 21159
built on Win7Pro64-PC by Win7 Pro 64
2018-11-29 18:36

using Cython 0.29.1
gcc (Rev3, Built by MSYS2 project) 8.2.0

It could be related to a "user X has signed in" notification from Pidgin (visual+audio+tray icon).

It happen(s) constantly on the session that has pidgin running, regardless of how many times attached + detached

2018-12-13 14:16:17,364  (press Control-C to detach)

Traceback (most recent call last):
  File "./xpra/client/client_tray.py", line 172, in set_tray_icon
  File "./xpra/platform/win32/win32_tray.py", line 89, in set_icon_from_data
  File "./xpra/platform/win32/win32_NotifyIcon.py", line 341, in set_icon_from_data
  File "./xpra/platform/win32/win32_NotifyIcon.py", line 148, in image_to_ICONINFO
  File "C:/msys64/mingw64/lib/python2.7/site-packages/PIL/Image.py", line 738, in tobytes
  File "C:/msys64/mingw64/lib/python2.7/site-packages/PIL/Image.py", line 467, in _getencoder
ValueError: No packer found from RGBX to BGRA
Traceback (most recent call last):
  File "./xpra/client/client_tray.py", line 172, in set_tray_icon
  File "./xpra/platform/win32/win32_tray.py", line 89, in set_icon_from_data
  File "./xpra/platform/win32/win32_NotifyIcon.py", line 341, in set_icon_from_data
  File "./xpra/platform/win32/win32_NotifyIcon.py", line 148, in image_to_ICONINFO
  File "C:/msys64/mingw64/lib/python2.7/site-packages/PIL/Image.py", line 738, in tobytes
  File "C:/msys64/mingw64/lib/python2.7/site-packages/PIL/Image.py", line 467, in _getencoder
ValueError: No packer found from RGBX to BGRA
2018-12-13 14:16:18,933 sound output using 'opus' audio codec

(you may rename the ticket after figuring out the issue)

This issue might be related to connection quality / timeout issues, but I am not sure.

  • I do not comfortable trying to read the diagnostics / session info
  • Connected through wifi (without XPRA_NETWORK_ADAPTER_TYPE=wifi)
  • Connection appears flawed in general:
Download
67 Mbps
Latency
Unloaded
79 ms
Loaded
133 ms

 Upload
Speed
27 Mbps

Change History (4)

comment:1 Changed 7 months ago by Antoine Martin

Status: newassigned
Summary: ValueError: No packer found from RGBX to BGRA - Unknown failure when running gnome-terminal+pidginValueError forwarding non-transparent system tray icons to win32 clients

That's odd. We should have been handling non-transparent system tray icons on win32, r21224 fixes that.

But I cannot seem to get any application to send non-transparent icons - which is why I have never hit this bug, so I will have to test on an Ubuntu 16.04 VM to see if the problem comes from there somehow.

comment:2 Changed 6 months ago by Antoine Martin

Owner: changed from Antoine Martin to stdedos
Status: assignednew

@stdedos: can you reproduce this with any of the windows builds from https://xpra.org/beta?

comment:3 Changed 6 months ago by Antoine Martin

Resolution: needinfo
Status: newclosed

comment:4 Changed 6 months ago by stdedos

I have ran a small verification, no issues. I will try harder in some days' time

Note: See TracTickets for help on using tickets.