Dear Maintainer,
* What led up to the situation?
The command '/usr/bin/xrtQookStart' or Desktop launcher "XRay Tracer" fails to
start GUI.
* What was the outcome of this action?
An error message is displayed in the Terminal:
mean: 'getargs'?
$ /usr/bin/xrtQookStart
Traceback (most recent call last):
File "/usr/bin/xrtQookStart", line 30, in <module>
ex = xQ.XrtQook()
^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/xrt/gui/xrtQook/__init__.py", line 245,
in __init__
self.initAllTrees()
File "/usr/lib/python3/dist-packages/xrt/gui/xrtQook/__init__.py", line 637,
in initAllTrees
if inspect.getargspec(obj)[3] is not None:
^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean:
'getargs'?
* What outcome did you expect instead?
The GUI should start.
* Potential fix
It seems inspect.getargspec is now deprecated in python 3.11. It should be
replaced by inspect.getfullargspec(func)
The upstream code has been fixed, so that a version upgrade to 1.6.0 should fix
the bug.