xpra icon
Bug tracker and wiki

Opened 4 years ago

Last modified 4 years ago

#1239 closed defect

Server spewing name error tracebacks — at Version 1

Reported by: J. Max Mena Owned by: Josh
Priority: major Milestone: 1.0
Component: html5 Version: trunk
Keywords: Cc:

Description (last modified by J. Max Mena)

I have a feeling it has to do with the fixes due to #1218.

With a trunk built r12890 server and connecting with Google Chrome and a r12860 regular client:

  • I get the following traceback many times per second. It's actually interfering with my ability to test a couple other HTML5 tickets.
NameError: global name 'excluded' is not defined
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_source.py", line 1112, in expire_delayed_region
  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_source.py", line 1211, in may_send_delayed
  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_source.py", line 1223, in do_send_delayed
  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_source.py", line 1239, in send_delayed_regions
    self.do_send_delayed_regions(damage_time, regions, coding, options)
  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 579, in do_send_delayed_regions
    return send_nonvideo(get_best_encoding=self.get_best_encoding)
  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_video_source.py", line 570, in send_nonvideo
    WindowSource.do_send_delayed_regions(self, damage_time, regions, encoding, options, exclude_region=exclude_region, get_best_encoding=get_best_encoding)
  File "/usr/lib64/python2.7/site-packages/xpra/server/window/window_source.py", line 1332, in do_send_delayed_regions
    return excluded
NameError: global name 'excluded' is not defined

The html client does appear to work okay, if a little slow, and regular clients also work fine.

Change History (1)

comment:1 Changed 4 years ago by J. Max Mena

Description: modified (diff)
Summary: HTML Server spewing name error tracebacksServer spewing name error tracebacks


I see this even with connecting with a regular Python client, and even with HTML disabled. Updating the ticket to reflect this.

Note: See TracTickets for help on using tickets.