allzpark
allzpark copied to clipboard
linecache error on reset
Sometimes this happens; it's likely due to how Rez chooses to clear the in-memory cache, which Allzpark is doing on each reset. It looks like it's actually clearing Python's internal memory, which seems to confuse Python.
"C:\Users\marcus\packages\python\3.7.3\platform-windows\arch-AMD64\app\lib\inspect.py", line 955, in getsourcelines lines, lnum = findsource(object) File "C:\Users\marcus\packages\python\3.7.3\platform-windows\arch-AMD64\app\lib\inspect.py", line 771, in findsource linecache.checkcache(file) File "C:\Users\marcus\packages\python\3.7.3\platform-windows\arch-AMD64\app\lib\linecache.py", line 79, in checkcache del cache[filename] 'C:\\Users\\marcus\\packages\\pack\\4.0.4\\package.py'
Workaround
Simply resetting again clears the issue.