Traceback (most recent call last):


 "blockcheck.py", line 1107, in <module>


 "tkinter/__init__.py", line 2023, in __init__
_tkinter.TclError: no display name and no $DISPLAY environment variable

Traceback (most recent call last):


 "/srv/galaxy/lib/galaxy/web/framework/middleware/error.py", line 154, in __call__

app_iter = self.application(environ, sr_checker)


 "/srv/galaxy/venv/lib/python3.8/site-packages/paste/recursive.py", line 85, in __call__

return self.application(environ, start_response)


 "/srv/galaxy/venv/lib/python3.8/site-packages/paste/httpexceptions.py", line 640, in __call__

return self.application(environ, start_response)


 "/srv/galaxy/lib/galaxy/web/framework/base.py", line 145, in __call__

return self.handle_request(environ, start_response)


 "/srv/galaxy/lib/galaxy/web/framework/base.py", line 224, in handle_request

body = method(trans, **kwargs)


 "/srv/galaxy/lib/galaxy/web/framework/decorators.py", line 58, in call_and_format

return format_return_as_json(rval, jsonp_callback, pretty=(pretty or trans.debug))


 "/srv/galaxy/lib/galaxy/web/framework/decorators.py", line 330, in format_return_as_json

json = safe_dumps(rval, **dumps_kwargs)


 "/srv/galaxy/lib/galaxy/util/json.py", line 70, in safe_dumps

dumped = json.dumps(*args, allow_nan=False, **kwargs)


 "/usr/local/lib/python3.8/json/__init__.py", line 234, in dumps

return cls(


 "/usr/local/lib/python3.8/json/encoder.py", line 199, in encode

chunks = self.iterencode(o, _one_shot=True)


 "/usr/local/lib/python3.8/json/encoder.py", line 257, in iterencode

return _iterencode(o, 0)


 "/usr/local/lib/python3.8/json/encoder.py", line 179, in default

raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type _Attrib is not JSON serializable
