question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BUG Wrong pandas intersphinx URL

See original GitHub issue

Master is failing due to:

Warning, treated as error:

failed to reach any of the inventories with the following issues:

intersphinx inventory 'https://pandas.pydata.org/objects.inv' not fetchable due to <class 'requests.exceptions.HTTPError'>: 404 Client Error: Not Found for url: https://pandas.pydata.org/objects.inv

Indeed https://pandas.pydata.org/objects.inv gives 404 error. I think the correct link is: http://pandas.pydata.org/pandas-docs/stable/objects.inv

Will file a Sphinx issue.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
larsonercommented, Apr 17, 2020

for most Sphinx documentation sets, if you provide a URL to any page in the docs

This is the key part. pandas.pydata.org is no longer a Sphinx documentation page, and it’s not the Sphinx docs. It’s a landing page. The Sphinx docs live elsewhere under a subdirectory, so you have to at least point at that. I don’t think that it means that, given a non-Sphinx-generated URL, it will crawl all of its subdirectories to search for objects.inv files.

Our intersphinx mappings for other packages is just the base URL e.g., ‘sklearn’: ('https://scikit-learn.org/stable

I suspect the comparable base URL in this case would actually be https://scikit-learn.org, and I would expect this to also fail if it were also a landing page and not a redirect to stable

No idea why the current url worked fine previously

My guess is that it was formerly a sphinx-generated page, and they changed it to be a landing page with Sphinx docs under a subdirectory

0reactions
lucyleeowcommented, Apr 17, 2020

Makes sense. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Specifying targets for intersphinx links to numpy, scipy, and ...
Where can I find instructions on how to specify targets for :ref: s and :term: s in numpy , scipy , and matplotlib...
Read more >
Change Log — Sphinx-Gallery 0.12.0.dev0-git documentation
BUG Wrong pandas intersphinx URL #646. css not included in wheels? #644. BUG: Fix CSS includes and add manifest check in CI #648...
Read more >
seed-intersphinx-mapping - PyPI
Populate the Sphinx 'intersphinx_mapping' dictionary from the project's requirements.
Read more >
What's New — pandas 0.23.3 documentation - PyData |
Re-allowed duplicate level names of a MultiIndex . Accessing a level that has a duplicate name by name still raises an error (GH19029)....
Read more >
Release 0.5.0 — statsmodels v0.10.2 documentation
It contains many new features and a large amount of bug fixes detailed ... import numpy as np import pandas as pd import...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found