Hi, I am using clearml on a new server, and Task.init() crashes when I run it from (remote) pycharm but ok when I run from a commandline. Running on remote pycharm is ok for me on another server. The error that I get is:
Traceback (most recent call last): File "/disk2/guytevet/anaconda3/envs/motion_diff/lib/python3.7/site-packages/clearml/task.py", line 593, in init auto_connect_streams=auto_connect_streams, File "/disk2/guytevet/anaconda3/envs/motion_diff/lib/python3.7/site-packages/clearml/task.py", line 3040, in _create_dev_task log_to_backend=True, File "/disk2/guytevet/anaconda3/envs/motion_diff/lib/python3.7/site-packages/clearml/task.py", line 183, in __init__ super(Task, self).__init__(**kwargs) File "/disk2/guytevet/anaconda3/envs/motion_diff/lib/python3.7/site-packages/clearml/backend_interface/task/task.py", line 155, in __init__ super(Task, self).__init__(id=task_id, session=session, log=log) File "/disk2/guytevet/anaconda3/envs/motion_diff/lib/python3.7/site-packages/clearml/backend_interface/base.py", line 145, in __init__ super(IdObjectBase, self).__init__(session, log, **kwargs) File "/disk2/guytevet/anaconda3/envs/motion_diff/lib/python3.7/site-packages/clearml/backend_interface/base.py", line 39, in __init__ self._session = session or self._get_default_session() File "/disk2/guytevet/anaconda3/envs/motion_diff/lib/python3.7/site-packages/clearml/backend_interface/base.py", line 119, in _get_default_session secret_key=ENV_SECRET_KEY.get(), File "/disk2/guytevet/anaconda3/envs/motion_diff/lib/python3.7/site-packages/clearml/backend_api/session/session.py", line 207, in __init__ self.refresh_token() File "/disk2/guytevet/anaconda3/envs/motion_diff/lib/python3.7/site-packages/clearml/backend_api/session/token_manager.py", line 112, in refresh_token self._set_token(self._do_refresh_token(self.__token, exp=self.req_token_expiration_sec)) File "/disk2/guytevet/anaconda3/envs/motion_diff/lib/python3.7/site-packages/clearml/backend_api/session/session.py", line 765, in _do_refresh_token six.reraise(*sys.exc_info()) File "/home/sigalr/.local/lib/python3.7/site-packages/six.py", line 719, in reraise raise value File "/disk2/guytevet/anaconda3/envs/motion_diff/lib/python3.7/site-packages/clearml/backend_api/session/session.py", line 753, in _do_refresh_token res.status_code, self.host, msg clearml.backend_api.session.session.LoginError: Failed getting token (error 401 from
): Unauthorized (invalid credentials) (failed to locate provided credentials) python-BaseException