Hi Takeshi-san,
You were correct, I checked my conf.py and we are overriding the
_warn_node method. I removed that, and used the "suppress_warnings"
parameter instead. Works great! :)
Thank you for pointing me in the right direction.
-jeff
On 2016-05-30 12:45 PM, Komiya Takeshi wrote:
Hi jeff,
Could you show me the stacktrace?
And please check your conf.py not to override warn() or _warn_node() method.
Since 1.4, the argument of these function are changed.
So if you override them, it causes errors.
In details, see this issue: https://github.com/sphinx-doc/sphinx/issues/2429
Thanks,
Takeshi KOMIYA
2016年5月31日火曜日 0時20分49秒 UTC+9 Jeff McKenna:
Hello everyone,
After upgrading to 1.4.2 I get the following error when trying to 'make
html':
***
Exception occurred:
File
"C:\Python-3.5.1\lib\site-packages\sphinx-1.4.2-py3.5.egg\sphinx\environment.py",
line 917, in process_images
type='image', subtype='nonlocal_uri')
TypeError: _warn_node() got an unexpected keyword argument 'type'
***
I believe that this is pointing to the following image directive that I
use, that points to a remote URL:
.. image::
http://demo.mapserver.org/cgi-bin/mapserv?map=/osgeo/mapserver/tutorial/htdocs/example1-1.map&layer=states&mode=map
<http://demo.mapserver.org/cgi-bin/mapserv?map=/osgeo/mapserver/tutorial/htdocs/example1-1.map&layer=states&mode=map>
This works fine in 1.4.1 and all past Sphinx versions.
What changed with 1.4.2 regarding this?
Thanks,
-jeff
On 2016-05-29 5:53 AM, Komiya Takeshi wrote:
> Hi all,
>
> I'm delighted to announce the release of Sphinx 1.4.2, now
available on
> the Python package index at <http://pypi.python.org/pypi/Sphinx
<http://pypi.python.org/pypi/Sphinx>
> <http://pypi.python.org/pypi/Sphinx
<http://pypi.python.org/pypi/Sphinx>>>.
>
> It includes about 4 features and 44 bug fixes for the 1.4.1 release
> series, among them a
> incompatibility and a packaging error.
>
> For the full changelog, go to
> <http://www.sphinx-doc.org/en/stable/changes.html
<http://www.sphinx-doc.org/en/stable/changes.html>
> <http://www.sphinx-doc.org/en/stable/changes.html
<http://www.sphinx-doc.org/en/stable/changes.html>>>.
> Thanks to all collaborators and contributers!
>
> What is it?
> ===========
>
> Sphinx is a tool that makes it easy to create intelligent and
beautiful
> documentation for Python projects (or other documents consisting of
> multiple reStructuredText source files).
>
> Website: http://sphinx-doc.org/
> IRC: #sphinx-doc on irc.freenode.net <http://irc.freenode.net>
<http://irc.freenode.net/>
>
> Enjoy!
> --
> Takeshi KOMIYA
>
--
You received this message because you are subscribed to the Google
Groups "sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.