Skip to content
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

PicklingError when building docs #258

Closed
stefankoegl opened this issue Nov 15, 2014 · 4 comments
Closed

PicklingError when building docs #258

stefankoegl opened this issue Nov 15, 2014 · 4 comments
Milestone

Comments

@stefankoegl
Copy link
Member

When preparing the release of SoCo 0.10 I noticed that building the docs currently fails with the following exception

doc$ make html
sphinx-build -b html -d _build/doctrees   . _build/html
Running Sphinx v1.2b1
loading pickled environment... not yet created
loading intersphinx inventory from http://docs.python.org/2/objects.inv...
building [html]: targets for 8 source files that are out of date
updating environment: 8 added, 0 changed, 0 removed
reading sources... [ 12%] data-structures-mod                                                                                                                                                   
Exception occurred:
  File "/usr/local/lib/python2.7/dist-packages/sphinx/environment.py", line 677, in read_doc
    pickle.dump(doctree, f, pickle.HIGHEST_PROTOCOL)
PicklingError: Can't pickle <class 'soco.data_structures.DidlMetaClass'>: it's not the same object as soco.data_structures.DidlMetaClass
The full traceback has been saved in /tmp/sphinx-err-ulqee2.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-users/>,
or report them in the tracker at <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
Makefile:45: recipe for target 'html' failed
make: *** [html] Error 1
@stefankoegl stefankoegl added this to the 0.10 milestone Nov 15, 2014
@stefankoegl
Copy link
Member Author

git bisect yields 97002b6 as the first problematic commit.

@stefankoegl
Copy link
Member Author

I found the following pointers, but I couldn't find any working solution

@lawrenceakka, would you mind having a look at the issue?

@lawrenceakka
Copy link
Contributor

Stefan,

I can't reproduce this. Your Sphinx is very old (v1.2b1). Can you try it with the latest version (v1.2.3)? I have fixed a few rst formatting errors I found along the way.

Lawrence

@stefankoegl
Copy link
Member Author

You're right... it was just caused my old version of Sphinx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants