Quite hard for me to try this right
👍
How do I reproduce it ?
Hi SmarmySeaurchin8 , Thanks, we will check that, can you share the Python version you use? 3.6?
It happened again lately and I got:
File "/Remote/shared/conda_envs/tf14_tp099/lib/python3.6/site-packages/trains/backend_interface/util.py", line 76, in get_single_result
log = get_logger()
File "/Remote/shared/conda_envs/tf14_tp099/lib/python3.6/site-packages/trains/debugging/log.py", line 111, in get_logger
path = path or os.path.abspath((inspect.stack()[1])[1])
File "/Remote/shared/conda_envs/tf14_tp099/lib/python3.6/inspect.py", line 1494, in stack
return getouterframes(sys._getframe(1), context)
File "/Remote/shared/conda_envs/tf14_tp099/lib/python3.6/inspect.py", line 1471, in getouterframes
frameinfo = (frame,) + getframeinfo(frame, context)
File "/Remote/shared/conda_envs/tf14_tp099/lib/python3.6/inspect.py", line 1441, in getframeinfo
filename = getsourcefile(frame) or getfile(frame)
File "/Remote/shared/conda_envs/tf14_tp099/lib/python3.6/inspect.py", line 696, in getsourcefile
if getattr(getmodule(object, filename), 'loader', None) is not None:
File "/Remote/shared/conda_envs/tf14_tp099/lib/python3.6/inspect.py", line 725, in getmodule
file = getabsfile(object, _filename)
File "/Remote/shared/conda_envs/tf14_tp099/lib/python3.6/inspect.py", line 709, in getabsfile
return os.path.normcase(os.path.abspath(_filename))
File "/Remote/shared/conda_envs/tf14_tp099/lib/python3.6/posixpath.py", line 376, in abspath
cwd = os.getcwd()
FileNotFoundError: [Errno 2] No such file or directory
AgitatedDove14 Quite hard for me to try this right now. but I've validated that the relevant code segments are untouched between the versions. (at least current master branch at the ClearML repo)
LOL, Let me look into it, could it be the calling file is somehow deleted ?
SmarmySeaurchin8 could you test with the latest RCpip install clearml==0.17.5rc2
Sadly, I don't know. It started happening randomly to me as I used Task.get_tasks() frequently. the call to call_logger makes it all go wrong. I'd suggest trying to call it from several stack traces (i.e from inside different functions, that call other functions from one file or another, etc..)