Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: Unrecognized 'args' object during mambabuild #387

Open
wolny opened this issue Nov 27, 2023 · 0 comments
Open

ValueError: Unrecognized 'args' object during mambabuild #387

wolny opened this issue Nov 27, 2023 · 0 comments

Comments

@wolny
Copy link

wolny commented Nov 27, 2023

Hi there,

I'm getting this error while executing mambabuild in my github action:

# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

    Traceback (most recent call last):
      File "/usr/share/miniconda/lib/python3.11/site-packages/conda/exception_handler.py", line 17, in __call__
        return func(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^
      File "/usr/share/miniconda/lib/python3.11/site-packages/mamba/mamba.py", line 953, in exception_converter
        raise e
      File "/usr/share/miniconda/lib/python3.11/site-packages/mamba/mamba.py", line 946, in exception_converter
        exit_code = _wrapped_main(*args, **kwargs)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/share/miniconda/lib/python3.11/site-packages/mamba/mamba.py", line 892, in _wrapped_main
        result = do_call(parsed_args, p)
                 ^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/share/miniconda/lib/python3.11/site-packages/mamba/mamba.py", line 717, in do_call
        raise ValueError("Unrecognized 'args' object: %r" % args)
    ValueError: Unrecognized 'args' object: Namespace(verbosity=<conda.auxlib._Null object at 0x7fbaecedbd10>, debug=<conda.auxlib._Null object at 0x7fbaecedbd10>, trace=<conda.auxlib._Null object at 0x7fbaecedbd10>, json=<conda.auxlib._Null object at 0x7fbaecedbd10>, no_plugins=<conda.auxlib._Null object at 0x7fbaecedbd10>, cmd='mambabuild', _executable='mambabuild', _args=('-c', 'pytorch', '-c', 'nvidia', '-c', 'conda-forge', 'conda-recipe'))

`$ /usr/share/miniconda/bin/mamba mambabuild -c pytorch -c nvidia -c conda-forge conda-recipe`

  environment variables:
                 CIO_TEST=<not set>
                    CONDA=/usr/share/miniconda
        CONDA_DEFAULT_ENV=base
                CONDA_EXE=/usr/share/miniconda/bin/conda
           CONDA_PKGS_DIR=/home/runner/conda_pkgs_dir
             CONDA_PREFIX=/usr/share/miniconda
    CONDA_PROMPT_MODIFIER=
         CONDA_PYTHON_EXE=/usr/share/miniconda/bin/python
               CONDA_ROOT=/usr/share/miniconda
              CONDA_SHLVL=1
           CURL_CA_BUNDLE=<not set>
      DEPLOYMENT_BASEPATH=/opt/runner
        GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
              GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_11cea903-5418-
                          4305-acc7-17327e8940b8
               LD_PRELOAD=<not set>
                     PATH=/usr/share/miniconda/bin:/usr/share/miniconda/condabin:/usr/share/mini
                          conda/condabin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.car
                          go/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:
                          /home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/u
                          sr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/hom
                          e/runner/.dotnet/tools
       REQUESTS_CA_BUNDLE=<not set>
        SELENIUM_JAR_PATH=/usr/share/java/selenium-server.jar
            SSL_CERT_FILE=<not set>
               SWIFT_PATH=/usr/share/swift/usr/bin

     active environment : base
    active env location : /usr/share/miniconda
            shell level : 1
       user config file : /home/runner/.condarc
 populated config files : /home/runner/.condarc
          conda version : 23.9.0
    conda-build version : 3.27.0
         python version : 3.11.5.final.0
       virtual packages : __archspec=1=x86_64
                          __glibc=2.35=0
                          __linux=6.2.0=0
                          __unix=0=0
       base environment : /usr/share/miniconda  (writable)
      conda av data dir : /usr/share/miniconda/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/runner/conda_pkgs_dir
       envs directories : /usr/share/miniconda/envs
                          /home/runner/.conda/envs
               platform : linux-64
             user-agent : conda/23.9.0 requests/2.31.0 CPython/3.11.5 Linux/6.2.0-1016-azure ubuntu/22.04.3 glibc/2.35
                UID:GID : 1001:[127](https://github.com/wolny/pytorch-3dunet/actions/runs/7004367694/job/19051962378#step:7:128)
             netrc file : None
           offline mode : False

Full action log in here: https://github.com/wolny/pytorch-3dunet/actions/runs/7004367694/job/19051962378

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant