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.

DOC: Warnings about duplicate object description of astropy.coordinates.builtin_frames

See original GitHub issue

I started seeing these warnings in RTD. Is this related to the recent doc refactoring, @nstarman , @adrn , or @mhvk ?

.../astropy/coordinates/builtin_frames/galactic.py:docstring of astropy.coordinates.builtin_frames.galactic.Galactic:1: WARNING: duplicate object description of astropy.coordinates.builtin_frames.galactic.Galactic, other instance in api/astropy.coordinates.Galactic, use :noindex: for one of them
.../astropy/coordinates/builtin_frames/lsr.py:docstring of astropy.coordinates.builtin_frames.lsr.GalacticLSR:1: WARNING: duplicate object description of astropy.coordinates.builtin_frames.lsr.GalacticLSR, other instance in api/astropy.coordinates.GalacticLSR, use :noindex: for one of them
.../astropy/coordinates/builtin_frames/galactocentric.py:docstring of astropy.coordinates.builtin_frames.galactocentric.Galactocentric:1: WARNING: duplicate object description of astropy.coordinates.builtin_frames.galactocentric.Galactocentric, other instance in api/astropy.coordinates.Galactocentric, use :noindex: for one of them
.../astropy/coordinates/builtin_frames/ecliptic.py:docstring of astropy.coordinates.builtin_frames.ecliptic.GeocentricMeanEcliptic:1: WARNING: duplicate object description of astropy.coordinates.builtin_frames.ecliptic.GeocentricMeanEcliptic, other instance in api/astropy.coordinates.GeocentricMeanEcliptic, use :noindex: for one of them
.../astropy/coordinates/builtin_frames/ecliptic.py:docstring of astropy.coordinates.builtin_frames.ecliptic.GeocentricTrueEcliptic:1: WARNING: duplicate object description of astropy.coordinates.builtin_frames.ecliptic.GeocentricTrueEcliptic, other instance in api/astropy.coordinates.GeocentricTrueEcliptic, use :noindex: for one of them
.../astropy/coordinates/builtin_frames/hcrs.py:docstring of astropy.coordinates.builtin_frames.hcrs.HCRS:1: WARNING: duplicate object description of astropy.coordinates.builtin_frames.hcrs.HCRS, other instance in api/astropy.coordinates.HCRS, use :noindex: for one of them
.../astropy/coordinates/builtin_frames/ecliptic.py:docstring of astropy.coordinates.builtin_frames.ecliptic.HeliocentricEclipticIAU76:1: WARNING: duplicate object description of astropy.coordinates.builtin_frames.ecliptic.HeliocentricEclipticIAU76, other instance in api/astropy.coordinates.HeliocentricEclipticIAU76, use :noindex: for one of them
.../astropy/coordinates/builtin_frames/ecliptic.py:docstring of astropy.coordinates.builtin_frames.ecliptic.HeliocentricMeanEcliptic:1: WARNING: duplicate object description of astropy.coordinates.builtin_frames.ecliptic.HeliocentricMeanEcliptic, other instance in api/astropy.coordinates.HeliocentricMeanEcliptic, use :noindex: for one of them
.../astropy/coordinates/builtin_frames/ecliptic.py:docstring of astropy.coordinates.builtin_frames.ecliptic.HeliocentricTrueEcliptic:1: WARNING: duplicate object description of astropy.coordinates.builtin_frames.ecliptic.HeliocentricTrueEcliptic, other instance in api/astropy.coordinates.HeliocentricTrueEcliptic, use :noindex: for one of them
.../astropy/coordinates/builtin_frames/icrs.py:docstring of astropy.coordinates.builtin_frames.icrs.ICRS:1: WARNING: duplicate object description of astropy.coordinates.builtin_frames.icrs.ICRS, other instance in api/astropy.coordinates.ICRS, use :noindex: for one of them
.../astropy/coordinates/builtin_frames/itrs.py:docstring of astropy.coordinates.builtin_frames.itrs.ITRS:1: WARNING: duplicate object description of astropy.coordinates.builtin_frames.itrs.ITRS, other instance in api/astropy.coordinates.ITRS, use :noindex: for one of them
.../astropy/coordinates/builtin_frames/lsr.py:docstring of astropy.coordinates.builtin_frames.lsr.LSR:1: WARNING: duplicate object description of astropy.coordinates.builtin_frames.lsr.LSR, other instance in api/astropy.coordinates.LSR, use :noindex: for one of them
.../astropy/coordinates/builtin_frames/lsr.py:docstring of astropy.coordinates.builtin_frames.lsr.LSRD:1: WARNING: duplicate object description of astropy.coordinates.builtin_frames.lsr.LSRD, other instance in api/astropy.coordinates.LSRD, use :noindex: for one of them
.../astropy/coordinates/builtin_frames/lsr.py:docstring of astropy.coordinates.builtin_frames.lsr.LSRK:1: WARNING: duplicate object description of astropy.coordinates.builtin_frames.lsr.LSRK, other instance in api/astropy.coordinates.LSRK, use :noindex: for one of them
.../astropy/coordinates/builtin_frames/gcrs.py:docstring of astropy.coordinates.builtin_frames.gcrs.PrecessedGeocentric:1: WARNING: duplicate object description of astropy.coordinates.builtin_frames.gcrs.PrecessedGeocentric, other instance in api/astropy.coordinates.PrecessedGeocentric, use :noindex: for one of them
.../astropy/coordinates/builtin_frames/skyoffset.py:docstring of astropy.coordinates.builtin_frames.skyoffset.SkyOffsetFrame:1: WARNING: duplicate object description of astropy.coordinates.builtin_frames.skyoffset.SkyOffsetFrame, other instance in api/astropy.coordinates.SkyOffsetFrame, use :noindex: for one of them
.../astropy/coordinates/builtin_frames/supergalactic.py:docstring of astropy.coordinates.builtin_frames.supergalactic.Supergalactic:1: WARNING: duplicate object description of astropy.coordinates.builtin_frames.supergalactic.Supergalactic, other instance in api/astropy.coordinates.Supergalactic, use :noindex: for one of them
.../astropy/coordinates/builtin_frames/equatorial.py:docstring of astropy.coordinates.builtin_frames.equatorial.TEME:1: WARNING: duplicate object description of astropy.coordinates.builtin_frames.equatorial.TEME, other instance in api/astropy.coordinates.TEME, use :noindex: for one of them

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
adrncommented, May 10, 2021

Hm, I don’t think so - this looks like a potential automodapi issue?

0reactions
pllimcommented, May 20, 2021

Opened astropy/sphinx-automodapi#130

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using the SkyCoord High-Level Class — Astropy v5.2
The SkyCoord object can maintain the union of frame attributes for all built-in and user-defined coordinate frames in the astropy.coordinates.
Read more >
Sphinx: What is the cause for 'WARNING: duplicate object ...
The problem seems to be that you use the Attributes header in the docstring for some __init__ methods. The warnings go away if...
Read more >
Astronomical Coordinate Systems (astropy.coordinates)
Overview of astropy.coordinates concepts¶ · Here we provide an overview of the package and associated framework. · is built on a three-tiered system...
Read more >
Astropy Documentation - Read the Docs
10.3 Overview of astropy.coordinates concepts . ... Warning: Users of the Anaconda python distribution should follow the instructions for ...
Read more >
Generating Python API docs raises lots of warnings about ...
blender/doc/python_api/sphinx-in/aud.rst:643: WARNING: duplicate object description of aud.PlaybackManager.setVolume, other instance in aud, ...
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