Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi, Anyone Know What Is Cause? I Tried To Run This In My Agent. But Somehow This Got This Error After Agent Install Depedencies My_Env:

Hi,
anyone know what is cause? i tried to run this in my agent. but somehow this got this error after agent install depedencies

my_env:
clearml-agent=1.5.2
clearml-sever=1.11
clearml=1.11

my_error:

Traceback (most recent call last):
  File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/task_repository/template-yolov8.git/src/train.py", line 24, in <module>
    task = Task.init(
  File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/task.py", line 603, in init
    task = cls(
  File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/task.py", line 205, in __init__
    super(Task, self).__init__(**kwargs)
  File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/backend_interface/task/task.py", line 162, in __init__
    super(Task, self).__init__(id=task_id, session=session, log=log)
  File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/backend_interface/base.py", line 145, in __init__
    super(IdObjectBase, self).__init__(session, log, **kwargs)
  File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/backend_interface/base.py", line 39, in __init__
    self._session = session or self._get_default_session()
  File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/backend_interface/base.py", line 115, in _get_default_session
    InterfaceBase._default_session = Session(
  File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/backend_api/session/session.py", line 157, in __init__
    self._connect()
  File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/backend_api/session/session.py", line 163, in _connect
    self._ssl_error_count_verbosity = self.config.get(
  File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/config/__init__.py", line 32, in get
    cls._init()
  File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/config/__init__.py", line 26, in _init
    cls._config = load_config(Path(__file__).parent)  # noqa: F405
  File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/backend_api/config/__init__.py", line 13, in load
    config = Config()
  File "/mnt/ssd_1/clearml-cache/venvs-builds/3.10/lib/python3.10/site-packages/clearml/backend_config/config.py", line 100, in __init__
    raise ValueError("Invalid environment %s" % env)
ValueError: Invalid environment None

config cache

    venvs_cache: {
        # maximum number of cached venvs
        max_entries: 10
        # minimum required free space to allow for cache entry, disable by passing 0 or negative value
        free_space_threshold_gb: 20.0
        # unmark to enable virtual environment caching
        path: /home/agfian/shared/ssd_1/clearml-cache/venvs-cache
    },    

docker_internal_mounts {
        sdk_cache: "/clearml_agent_cache"
        apt_cache: "/home/user/shared/ssd_1/clearml-cache/apt-cache"
        ssh_folder: "/root/.ssh"
        pip_cache: "/home/user/shared/ssd_1/clearml-cache/pip"
        poetry_cache: "/home/user/shared/ssd_1/clearml-cache/pypoetry"
        vcs_cache: "/home/user/shared/ssd_1/clearml-cache/vcs-cache"
        venv_build: "/home/user/shared/ssd_1/clearml-cache/venvs-builds"
        pip_download: "/home/user/shared/ssd_1/clearml-cache/pip-download-cache"
    }

TIA 🙌

  
  
Posted one year ago
Votes Newest

Answers 3


Hi @<1523701087100473344:profile|SuccessfulKoala55> , Thanks for your response.

I'm not entirely sure about the use of CLEARML_ENV since I haven't interacted with it before. Could you guide me on what I should set as its value?

Previously, the system was running smoothly. However, I've run into some issues after making certain configuration changes to modify the server permissions. Specifically, I'm curious if these changes might have influenced the agent's permission to access certain directories.

To ascertain this, I'm eager to conduct a test to determine whether the agent can successfully access these specific folders. However, I'm currently unsure about the best method to carry out such a test. Any advice or guidance would be much appreciated

  
  
Posted one year ago

It looks like you've set CLEARML_ENV to an unsupported value

  
  
Posted one year ago

hi @<1523701087100473344:profile|SuccessfulKoala55> , it solved! thanks for information CLEARML_ENV ! I just accidently write environment varible CLEARML_ENV on every clearml-agent.conf. 🎉

  
  
Posted one year ago
1K Views
3 Answers
one year ago
one year ago
Tags
Similar posts