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: Namespace #369

Open
johnwason opened this issue Sep 8, 2023 · 0 comments
Open

ValueError: Unrecognized 'args' object: Namespace #369

johnwason opened this issue Sep 8, 2023 · 0 comments

Comments

@johnwason
Copy link

I am getting a weird error ValueError: Unrecognized 'args' object: Namespace when trying to run mambabuild. The full action run log can be found here: https://github.com/johnwason/tesseract/actions/runs/6106625994/job/16604704368

The error:

Unrecognized 'args' object: Namespace(debug=False, json=False, no_plugins=<conda.auxlib._Null object at 0x7f2abb112c50>, cmd='mambabuild', _executable='mambabuild', _args=('-m', '.ci_support/linux_64_.yaml', '.'))

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

    Traceback (most recent call last):
      File "/usr/share/miniconda3/lib/python3.10/site-packages/conda/exception_handler.py", line 17, in __call__
        return func(*args, **kwargs)
      File "/usr/share/miniconda3/lib/python3.10/site-packages/mamba/mamba.py", line 945, in exception_converter
        raise e
      File "/usr/share/miniconda3/lib/python3.10/site-packages/mamba/mamba.py", line 938, in exception_converter
        exit_code = _wrapped_main(*args, **kwargs)
      File "/usr/share/miniconda3/lib/python3.10/site-packages/mamba/mamba.py", line 884, in _wrapped_main
        result = do_call(parsed_args, p)
      File "/usr/share/miniconda3/lib/python3.10/site-packages/mamba/mamba.py", line 716, in do_call
        raise ValueError("Unrecognized 'args' object: %r" % args)
    ValueError: Unrecognized 'args' object: Namespace(debug=False, json=False, no_plugins=<conda.auxlib._Null object at 0x7f2abb112c50>, cmd='mambabuild', _executable='mambabuild', _args=('-m', '.ci_support/linux_64_.yaml', '.'))

`$ /usr/share/miniconda3/condabin/mamba mambabuild -m .ci_support/linux_64_.yaml .`

  environment variables:
                 CIO_TEST=<not set>
                    CONDA=/usr/share/miniconda3
           CONDA_PKGS_DIR=/home/runner/conda_pkgs_dir
               CONDA_ROOT=/usr/share/miniconda3
           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_8c2430fb-
                          ac4e-40e4-97c7-02086327efbc
               LD_PRELOAD=<not set>
                     PATH=/usr/share/miniconda3/condabin:/home/runner/.local/bin:/opt/pipx_bin:/
                          home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/l
                          ocal/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/
                          usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/game
                          s:/snap/bin
       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 : None
       user config file : /home/runner/.condarc
 populated config files : /usr/share/miniconda3/.condarc
                          /home/runner/.condarc
          conda version : 23.7.3
    conda-build version : 3.[26](https://github.com/johnwason/tesseract/actions/runs/6106625994/job/16604704368#step:7:27).1
         python version : 3.10.12.final.0
       virtual packages : __archspec=1=x86_64
                          __glibc=2.35=0
                          __linux=5.15.0=0
                          __unix=0=0
       base environment : /usr/share/miniconda3  (writable)
      conda av data dir : /usr/share/miniconda3/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/miniconda3/envs
                          /home/runner/.conda/envs
               platform : linux-64
             user-agent : conda/23.7.3 requests/2.31.0 CPython/3.10.12 Linux/5.15.0-1041-azure ubuntu/22.04.3 glibc/2.35
                UID:GID : 1001:1[27](https://github.com/johnwason/tesseract/actions/runs/6106625994/job/16604704368#step:7:28)
             netrc file : None
           offline mode : False


An unexpected error has occurred. Conda has prepared the above report.
If you suspect this error is being caused by a malfunctioning plugin,
consider using the --no-plugins option to turn off plugins.

Example: conda --no-plugins install <package>

Alternatively, you can set the CONDA_NO_PLUGINS environment variable on
the command line to run the command without plugins enabled.

Example: CONDA_NO_PLUGINS=true conda install <package>
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