[Numpy-discussion] numpydoc.traitsdoc error

9 views
Skip to first unread message

Brad Buran

unread,
Mar 24, 2012, 1:58:06 PM3/24/12
to Discussion of Numerical Python
Not sure if this is the appropriate place to report the issue, but
I've been getting the following error when trying to build my docs
using Sphinx 1.1.3:

File "C:\Python27\lib\site-packages\numpydoc\numpydoc.py", line 36,
in mangle_docstrings
doc = get_doc_object(obj, what, u"\n".join(lines), config=cfg)
TypeError: get_doc_object() got multiple values for keyword argument 'config'

Full traceback is attached. Is anyone else having a similar issue?

Thanks,
Brad

sphinx-err-kpakmw.log

Ralf Gommers

unread,
Mar 24, 2012, 5:39:02 PM3/24/12
to Discussion of Numerical Python
To determine if the problem is in your toolchain or in your code, you can try to build the numpy docs. I just checked that they build for me with Sphinx 1.1.3. If you have numpy installed, simply type "make html" or "make latex" in the doc/ dir.

Ralf


Ralf Gommers

unread,
Mar 25, 2012, 4:57:28 PM3/25/12
to Discussion of Numerical Python


On Sun, Mar 25, 2012 at 4:46 PM, Brad Buran <bbu...@cns.nyu.edu> wrote:
Hi Ralf:

The Numpy documentation built fine for me.  I actually think the
problem is with the traitsdoc extension (when I change my conf.py file
to use the numpydoc extension instead of numpydoc.traitsdoc the build
works fine).  I checked the traits and traitsui packages to see if I
could use them for testing, but it appears that they do not use the
traitsdoc extension.

Hmm, I don't know anything about that. If you don't get an answer here, you can try asking on an Enthought mailing list.

Ralf

 

Brad
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Di...@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
_______________________________________________
NumPy-Discussion mailing list
NumPy-Di...@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply all
Reply to author
Forward
0 new messages