xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Opened 5 years ago

Closed 5 years ago

Last modified 8 months ago

#1336 closed defect (fixed)

AssertionError spam in window icon compression

Reported by: L29Ah Owned by: Antoine Martin
Priority: minor Milestone: 1.0
Component: server Version: trunk
Keywords: Cc:

Description (last modified by Antoine Martin)

2016-10-08 01:57:53,621 Error during encoding:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/server/source.py", line 2180, in encode_loop
    fn_and_args[1](*fn_and_args[2:])
  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_source.py", line 588, in compress_and_send_window_icon
    assert wrapper.datatype in ("premult_argb32", "png")
AssertionError
}}}}
is sometimes printed to stderr; everything looks worky tho.

Change History (2)

comment:1 Changed 5 years ago by Antoine Martin

Description: modified (diff)
Resolution: fixed
Status: newclosed
Summary: AssertionError spamAssertionError spam in window icon compression

Good catch, r14043 should fix this.
(it was rare because it would only fire when we find that not compressing the window icon is actually smaller than the compressed version, which should be quite rare - I never hit it before!)

Closing, feel free to re-open if you see it again.

comment:2 Changed 8 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1336

Note: See TracTickets for help on using tickets.