astropy / sphinx-automodapi

Sphinx extension for generating API documentation
https://sphinx-automodapi.readthedocs.io
BSD 3-Clause "New" or "Revised" License
62 stars 44 forks source link

CondaVerificationError #186

Open Elisa-Visentin opened 2 months ago

Elisa-Visentin commented 2 months ago

Hi, Really sorry for disturbing you, but I am running into a very curious issue when trying to create a mamba environment where sphinx-automodapi is installed. Even more curious because this error appears only on some computers/machines (with different 'pachages' providing mamba: mambaforge, miniforge-pypy, mambaforge-pypy). Do you know what can cause this? And how to solve it? Here an extract from my terminal

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi-0.17.0.dist-info/INSTALLER'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi-0.17.0.dist-info/LICENSE.rst'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi-0.17.0.dist-info/METADATA'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi-0.17.0.dist-info/RECORD'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi-0.17.0.dist-info/INSTALLER'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi-0.17.0.dist-info/LICENSE.rst'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi-0.17.0.dist-info/METADATA'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi-0.17.0.dist-info/RECORD'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi-0.17.0.dist-info/WHEEL'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi-0.17.0.dist-info/direct_url.json'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi-0.17.0.dist-info/top_level.txt'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi/__init__.py'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi/autodoc_enhancements.py'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi/automodsumm.py'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi/smart_resolver.py'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi/templates/autosummary_core/base.rst'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi/templates/autosummary_core/class.rst'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi/templates/autosummary_core/module.rst'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-autautomodapi-0.17.0.dist-info/WHEEL'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi-0.17.0.dist-info/direct_url.json'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi-0.17.0.dist-info/top_level.txt'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi/__init__.py'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi/autodoc_enhancements.py'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi/automodsumm.py'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi/smart_resolver.py'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi/templates/autosummary_core/base.rst'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi/templates/autosummary_core/class.rst'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-automodapi located at /fefs/home/elisa.visentin/mambaforge-pypy3/pkgs/sphinx-automodapi-0.17.0-pyh717bed2_0
appears to be corrupted. The path 'site-packages/sphinx_automodapi/templates/autosummary_core/module.rst'
specified in the package manifest cannot be found.

CondaVerificationError: The package for sphinx-aut

conda clean does not solve the issue

Thank you (and again sorry for the stupid question/issue)

pllim commented 2 months ago

@mwcraig , do you know if this package is available on one of those mamba thingies mentioned above?

@Elisa-Visentin , your best bet for now is to pip install it from https://pypi.org/project/sphinx-automodapi/

pip install sphinx-automodapi

Hope this helps!

mwcraig commented 2 months ago

Thanks for reporting this @Elisa-Visentin! I'll try to take a look this afternoon. I think some of uploads got corrupted and a new build is needed.

Elisa-Visentin commented 2 months ago

Thank you @pllim. Yes, my solution was to remove it from the environment file, but I can try to use pip so that I can build the doc locally

mwcraig commented 2 months ago

@Elisa-Visentin -- I hoipe I've fixed the issue. When you get a chance could you please try again and let us know if the conda package works now?

Elisa-Visentin commented 2 months ago

On my laptop I get the same error. I will try tomorrow on the server. BTW, thank you

Elisa-Visentin commented 2 months ago

Same error 😭