#988196 xserver-xspice: if Xspice use --vdagent, "/usr/bin/Xspice", line 277, NameError: name 'temp_dir' is not defined #988196
- Package:
- xserver-xspice
- Source:
- xserver-xorg-video-qxl
- Description:
- Xspice X server
- Submitter:
- Gerald Suen
- Date:
- 2021-05-07 12:48:05 UTC
- 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