Skip to content

Location reporting returns useless information #115

Closed
@bsipocz

Description

@bsipocz

Using numpydoc 0.7, the location of reporting seems to be broken, the currently provided information is useless yet too verbose.

  File "/Users/bsipocz/munka/devel/astroquery/astropy_helpers/astropy_helpers/extern/numpydoc/docscrape.py", line 343, in _parse
    raise ValueError(msg)
ValueError: The section Examples appears twice in the docstring of None in None.

https://travis-ci.org/astropy/astroquery/jobs/287555157#L1742

I see that part of the code is already been refactored. I wonder if it's fixes my issue, what's your ETA for a new release?

Edit: I've just checked this with the current dev version, same error:

Exception occurred:
  File "/Users/bsipocz/munka/devel/astroquery/astropy_helpers/astropy_helpers/extern/numpydoc/docscrape.py", line 358, in _error_location
    raise ValueError(msg)
ValueError: The section Examples appears twice in the docstring of None in None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions