-
Notifications
You must be signed in to change notification settings - Fork 36
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
AttributeError: 'Values' object has no attribute 'pep_references' #37
Comments
Maybe it's not so nondeterministic, it seems to happen every time now.
https://github.com/HoTT/HoTT/runs/2386323130?check_suite_focus=true#step:6:2122 |
Is there a way to get the python traceback to also print function arguments? |
Traceback with arguments: https://github.com/HoTT/HoTT/runs/2393729047?check_suite_focus=true#step:6:2122 |
And here's the tail of the full traceback
|
@cpitclaudel do you have any idea what's going on here? |
I will look soon |
Quick check: which command is yielding this result? You're processing a .v file with embedded reST? Or with embedded Coqdoc? |
I'm invoking |
It looks like there was a similar issue in Sphinx (sphinx-doc/sphinx#4512) that was fixed by default_settings = {
'embed_stylesheet': False,
'cloak_email_addresses': True,
'pep_base_url': 'https://www.python.org/dev/peps/',
+ 'pep_references': None,
'rfc_base_url': 'https://tools.ietf.org/html/',
+ 'rfc_references': None,
'input_encoding': 'utf-8-sig',
'doctitle_xform': False,
'sectsubtitle_xform': False,
'halt_level': 5,
'file_insertion_enabled': True,
'smartquotes_locales': [],
} in |
Thanks, I saw that one, but I should be inheriting all default settings in RstCoqParser:
Which version of docutils are you using? |
If you run that same command manually, with just theories/Basics.v, do you get the same issue? |
Reproduced by upgrading to 0.17 |
That's strange, given that we seem to have succeeded on docutils-0.17 (see https://github.com/HoTT/HoTT/runs/2353352310?check_suite_focus=true), but we are failing on docutils-0.17.1. In any case, the failure occurs with docutils 0.17.1 [release] and Python version 3.7.3. |
Ah sorry, I meant I updated to the latest from 0.16, and things are now reproducing; it could be that the culprit is 17.1 instead of 17. Will look right away. |
https://github.com/HoTT/HoTT/runs/2369972229#step:6:2123
Is it safe to always run with
--traceback
? Is it suggested?The text was updated successfully, but these errors were encountered: