Closed WillNilges closed 2 years ago
Fuck. You were right mary, I lied. I knew it would happen, but I was lazy.
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/local/lib/python3.8/site-packages/flask_pyoidc/flask_pyoidc.py", line 253, in wrapper
return view_func(*args, **kwargs)
File "/opt/proxstar/proxstar/__init__.py", line 273, in vm_power
delete_vnc_target(token=vnc_token)
UnboundLocalError: local variable 'vnc_token' referenced before assignment
There's a thing that checks for a VMID when starting/stopping/etc-ing a VM. It raises an exception that isn't caught right now. This'll catch it and hopefully stop fucking everything up.