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
sphinx docs won't build (related to lazyimports?) #102
Comments
i'm looking into this right now, but need to update my sphinx first... stay tuned |
Great. I have also started taking a look at this myself, but sphinx is Here's one possible direction: What do you think? I am heading for the train, so I will be offline for about 1.5 hours, On Wed, Jun 6, 2012 at 7:01 PM, Paul Ivanov
|
argh, i'm having trouble with a different sphinx error that's preventing me frfom getting to the one you're seeing.
|
Interesting. I saw that one when I set the debugging flag thingee to Ariel •••••••••••••••••••••••••• On Jun 6, 2012, at 7:53 PM, Paul Ivanov
|
Oh wait, you're seeing this for other modules as well. No clue what that is Ariel •••••••••••••••••••••••••• On Jun 6, 2012, at 7:53 PM, Paul Ivanov
|
if your proposed commit fixes the issue, it should work to just make that LazyImport replacement function pickleable using something like this ivanov/nitime@3ad77b9 which you can pull from my lazy-sphinx-issue branch |
Running Sphinx v1.1.2
/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/matplotlib/init.py:908: UserWarning: This call to matplotlib.use() has no effect
because the the backend has already been chosen;
matplotlib.use() must be called before pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
if warn: warnings.warn(_use_error_msg)
WARNING: extension 'ipython_console_highlighting' has no setup() function; is it really a Sphinx extension module?
loading pickled environment... not yet created
building [html]: targets for 71 source files that are out of date
updating environment: 71 added, 0 changed, 0 removed
/Users/arokem/projects/nitime/doc/sphinxext/docscrape.py:117: UserWarning: Unknown section Note
warn("Unknown section %s" % key)
/Users/arokem/projects/nitime/doc/sphinxext/docscrape.py:117: UserWarning: Unknown section Warning
warn("Unknown section %s" % key)
/Users/arokem/projects/nitime/doc/sphinxext/docscrape.py:117: UserWarning: Unknown section Example
warn("Unknown section %s" % key)
reading sources... [ 29%] api/generated/nitime.lazyimports
Exception occurred:
File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/sphinx/environment.py", line 828, in read_doc
pickle.dump(doctree, f, pickle.HIGHEST_PROTOCOL)
PicklingError: Can't pickle <type 'module'>: attribute lookup builtin.module failed
The full traceback has been saved in /var/folders/sf/3b6q6p1d7518rpb4882pzsxw0000gn/T/sphinx-err-9UpBlB.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
Either send bugs to the mailing list at http://groups.google.com/group/sphinx-dev/,
or report them in the tracker at http://bitbucket.org/birkenfeld/sphinx/issues/. Thanks!
make: *** [htmlonly] Error 1
The text was updated successfully, but these errors were encountered: