Bug#988196: xserver-xspice: if Xspice use --vdagent, "/usr/bin/Xspice", line 277, NameError: name 'temp_dir' is not defined
Package: xserver-xspice
Version: 0.1.5+git20200331-1
Severity: normal
Dear Maintainer,
Xspice --port 5900 --disable-ticketing --xorg Xorg :3.0 --vdagent
Traceback (most recent call last):
File "/usr/bin/Xspice", line 277, in <module>
if not temp_dir:
NameError: name 'temp_dir' is not defined
This is my solution:
Line 269:
""" % locals())
cf.flush()
# Add two line below
else:
temp_dir = None
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-6-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Reply to: