xpra icon
Bug tracker and wiki

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

Opened 6 years ago

Closed 6 years ago

Last modified 16 months ago

#1078 closed defect (fixed)

AttributeError in XpraServer: missing control_command_unlock_batck_delay

Reported by: J. Max Mena Owned by: Antoine Martin
Priority: critical Milestone: 0.17
Component: server Version: trunk
Keywords: Cc:


As per the title:

The latest trunk revision is broken. Attempting to start a server causes the following traceback and error:

xpra main error:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/scripts/main.py", line 124, in m
    return run_mode(script_file, err, options, args, mode, defaults)
  File "/usr/lib64/python2.7/site-packages/xpra/scripts/main.py", line 934, in r
    return run_server(error_cb, options, mode, script_file, args)
  File "/usr/lib64/python2.7/site-packages/xpra/scripts/server.py", line 1002, i
n run_server
    app = XpraServer(clobber)
  File "/usr/lib64/python2.7/site-packages/xpra/x11/server.py", line 189, in __i
    X11ServerBase.__init__(self, clobber)
  File "/usr/lib64/python2.7/site-packages/xpra/x11/x11_server_base.py", line 74, in __init__
  File "/usr/lib64/python2.7/site-packages/xpra/server/gtk_server_base.py", line 41, in __init__
  File "/usr/lib64/python2.7/site-packages/xpra/server/server_base.py", line 86, in __init__
  File "/usr/lib64/python2.7/site-packages/xpra/server/server_core.py", line 162, in __init__
  File "/usr/lib64/python2.7/site-packages/xpra/server/server_base.py", line 662, in init_control_commands
    cmd.do_run = getattr(self, "control_command_%s" % cmd.name.replace("-", "_"))
AttributeError: 'XpraServer' object has no attribute 'control_command_unlock_batck_delay'

Running grep "batck" * -r -i in the source produces about 15 or so matches. After manually editing them(as in every single reference to "batck") to say "batch", everything builds and runs successfully. It's unclear to me if "batck" was a typo or not. Either way, there is some inconsistency somewhere that breaks the latest trunk revision.

Spelunking through the timeline shows that r11606 was the revision that introduced the break. Builds before this revision work fine.


Clients are unaffected. This is confined to servers.

Change History (3)

comment:1 Changed 6 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

Indeed it is a typo, sorry about that - fixed in r11608. Closing.

comment:2 Changed 6 years ago by Antoine Martin

Summary: Latest Trunk Revision Is BrokenAttributeError in XpraServer: missing control_command_unlock_batck_delay

comment:3 Changed 16 months ago by migration script

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

Note: See TracTickets for help on using tickets.