xpra icon
Bug tracker and wiki

Opened 3 years ago

Closed 3 years 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 (1)

comment:1 Changed 3 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.

Note: See TracTickets for help on using tickets.