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

Warnings have trailing text #23

Open
liberforce opened this issue Sep 4, 2018 · 4 comments
Open

Warnings have trailing text #23

liberforce opened this issue Sep 4, 2018 · 4 comments
Labels

Comments

@liberforce
Copy link

liberforce commented Sep 4, 2018

Here's the output I get, all with default options:

creating_packages/understand_packaging.rst:9:didn:and_packaging
howtos/other_languages_package_manager/python.rst:101:didn:ager/python
mastering/custom_cache.rst:78:mutex:ustom_cache
reference/conanfile/methods.rst:583:OpenCV:e/methods
reference/conanfile_txt.rst:120:OpenCV:nfile_txt

It seems the end of the filename appears again in the last field.

@dhellmann
Copy link
Member

I wonder if that's caused by sphinx writing progress info on a line and then moving the cursor back to the start of the line and then the error being printed out.

What happens if you redirect output to a file or pipe it through tee?

@liberforce
Copy link
Author

liberforce commented Sep 4, 2018

Seems you're right:

writing output... [ 16%] howtos/collect_licenses
writing output... [ 17%] howtos/custom_generators
howtos/custom_generators.rst:7:doesn:
howtos/custom_generators.rst:45:doesn:
writing output... [ 18%] howtos/generic_ci_artifactory
writing output... [ 18%] howtos/header_only
writing output... [ 19%] howtos/link_apple_framework

Should I open a bug against Sphinx ?

I'm using:

Sphinx==1.7.7
sphinxcontrib-spelling==4.2.0

@pawamoy
Copy link

pawamoy commented Mar 3, 2019

Same here.  @liberforce did you open an issue against Sphinx since then?

@dhellmann
Copy link
Member

This probably has more to do with the way the spelling extension is reporting errors/warnings than with something in sphinx itself. I wonder if it should be using a different error reporting function, or adding a newline to the error message, or something else.

@dhellmann dhellmann added the bug label Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants