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
ValueError: too many values to unpack #7409
Comments
Please let me know your |
Oops...good question - I must confess, I have no idea! Now I feel like a newbie! Let's see: I am trying to compile sage-9.0 and I am stuck at its documentation, which, with sphinx-2.0.1 (and only that! all other versions, from 1.7.5 to 1.8.5 and 2.4.4 break earlier with other errors) breaks at the second pass of the references - you can see the error at the link I posted. About the intersphinx_mapping...using ripgrep I found it at sage-9.0/src/sage/docs/conf.py
Now, before you continue please have a look at https://trac.sagemath.org/ticket/28856 where some important details might be lurking. For example, it is said there that "our intersphinx usage differs from normal usage" - but I have no idea in which respect... |
Thank you for the info. It seems sagemath docs try to configure via Sphinx events. And it does not work since 2.x because we've refactored the intersphinx. Sorry for inconvenience. But I don't know such hack... |
…ed event This changes a priority for config-inited handlers of core modules to invoke them at the late of the event. It allows extensions to modify configurations.
…ed event This changes a priority for config-inited handlers of core modules to invoke them at the late of the event. It allows extensions to modify configurations.
…ed event This changes a priority for config-inited handlers of core modules to invoke them at the late of the event. It allows extensions to modify configurations.
…ed event This changes a priority for config-inited handlers of core modules to invoke them at the late of the event. It allows extensions to modify configurations.
…_handlers Fix #7409: Convert configuration values on late config-inited event
I just merged #7415. It allows extensions to modify configurations via |
Thank you very much! I will forward this information to the sage-on-gentoo project. |
Thanks a lot for going the extra mile and fixing our hacks for us. That is far beyond any responsibility I would have assigned to an upstream project :) As I said in the trac ticket, I don't really know why we aren't using intersphinx as its supposed to be used. But at least now we'll be able to fix our build with an up-to-date sphinx. |
Description
While building the references of Sage 9.0, I got:
How To Reproduce
Steps to reproduce the behavior:
I have written a detailed account in:
cschwan/sage-on-gentoo#580
Expected behavior
No error should occur.
Your project
Sage 9.0 on Gentoo. Using the sage-9.0-r1 ebuild from the sage-on-gentoo overlay: https://github.com/cschwan/sage-on-gentoo
Environment info
See error text above.
Reason
The error occurs in
/usr/lib/python3.7/site-packages/sphinx/ext/intersphinx.py", line 207
According to #3075, it is due to a change that took place in sphinx 1.4:
Could it be that this change didn't reach line 207 of intersphinx.py yet?
The text was updated successfully, but these errors were encountered: