Xpra: Ticket #1639: UnboundLocalError: local variable 'cleanups' referenced before assignment

X.Org X Server 1.19.3
Release Date: 2017-03-15
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.39-unofficial+grsec+ x86_64 Gentoo
Current Operating System: Linux l29ah-x201 4.9.39-unofficial+grsec+ #76 SMP PREEMPT Mon Jul 24 19:48:22 MSK 2017 x86_64
Kernel command line: BOOT_IMAGE=Gentoo_old ro root=801 ec_intr=0 acpi_sleep=s4_nohwsig elevator=noop
Build Date: 04 August 2017  06:24:33AM
Current version of pixman: 0.34.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/home/l29ah/.xpra/Xorg.:938.log", Time: Tue Sep 12 13:48:58 2017
(++) Using config file: "/etc/xpra/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xpra main error:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/scripts/main.py", line 177, in main
    return run_mode(script_file, err, options, args, mode, defaults)
  File "/usr/lib64/python2.7/site-packages/xpra/scripts/main.py", line 1469, in run_mode
    return run_server(error_cb, options, mode, script_file, args, current_display)
  File "/usr/lib64/python2.7/site-packages/xpra/scripts/server.py", line 731, in run_server
    xvfb, display_name, cleanups = start_Xvfb(opts.xvfb, pixel_depth, display_name, cwd, uid, gid, username, xauth_data, uinput_uuid)
  File "/usr/lib64/python2.7/site-packages/xpra/x11/vfb_util.py", line 227, in start_Xvfb
    return xvfb, display_name, cleanups
UnboundLocalError: local variable 'cleanups' referenced before assignment


Tue, 12 Sep 2017 11:00:28 GMT - Antoine Martin: status, description changed; resolution set

Thanks for reporting this, fixed in r16827. (updated packages on the way too)


Sat, 23 Jan 2021 05:29:48 GMT - migration script:

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