Closed ericmock closed 1 year ago
@ericmock Could you provide more info?
A clear and concise description of what the bug is.
Steps to reproduce the behavior:
A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.
Add any other context about the problem here.
Also could you run it again with environmental variable set to RW_DEBUG=True
?
The debug information ended with: RecursionError: maximum recursion depth exceeded in comparison
This is version 1.1.1
Unselected 'Add working directory to reloadable path' and got the same issue.
The line:
File "shibokensupport/signature/loader.py", line 61, in feature_imported
File "shibokensupport/feature.py", line 137, in feature_imported
File "shibokensupport/feature.py", line 148, in _mod_uses_pyside
File "/usr/lib/python3.10/inspect.py", line 1139, in getsource
lines, lnum = getsourcelines(object)
File "/usr/lib/python3.10/inspect.py", line 1121, in getsourcelines
lines, lnum = findsource(object)
File "/usr/lib/python3.10/inspect.py", line 954, in findsource
lines = linecache.getlines(file, module.__dict__)
File "/usr/lib/python3.10/site-packages/apipkg/_module.py", line 133, in __dict__
self.__makeattr(name)
File "/usr/lib/python3.10/site-packages/apipkg/_syncronized.py", line 16, in synchronized_wrapper_function
return wrapped_function(*args, **kwargs)
File "/usr/lib/python3.10/site-packages/apipkg/_module.py", line 110, in __makeattr
result = importobj(modpath, attrname)
File "/usr/lib/python3.10/site-packages/apipkg/_importing.py", line 33, in importobj
module = __import__(modpath, None, None, ["__doc__"])
File "/usr/lib/python3.10/site-packages/py/__metainfo.py", line 1, in <module>
import py
occur repeatedly in the debug output.
@ericmock I can't reproduce this. Is it the whole traceback?
Also could you share the code around line 148 in feature.py?
Restarting PyCharm (again?) seems to have fixed the issue.
Very similar to: https://github.com/reloadware/reloadium/issues/76#issue-1472779069
Except: using Python 3.10 on Manjaro with a local project and the cakeshop.py "calculate" example.