windows - objects.inv missing?

69 views
Skip to first unread message

fkunze

unread,
Mar 11, 2010, 12:24:30 PM3/11/10
to sphinx-dev
I am using Windows Vista, python 2.6.3 and Sphinx v0.6.5.

After building my project (successfully) my objects.inv file only
contains 3 lines:

# Sphinx inventory version 1
# Project: Pandorabots
# Version:

So the question is: why?

I discovered this when I tried using intersphinx to use some
documentation in another project by adding a dictionary entry to this
line in my conf.py:
intersphinx_mapping = {'http://docs.python.org/': None, 'file:///C:/
pcode/ws/pandorabots-docs/2-docs/docs/_build/html': None
}

which led to this error message:
C:\pcode\ws\pandorabots-docs\2-docs\docs>make html
Running Sphinx v0.6.5
loading pickled environment... not found
WARNING: intersphinx inventory 'file:///C:/pcode/ws/pandorabots-docs/2-
docs/docs
/_build/html/objects.inv' not fetchable due to <class
'urllib2.URLError'>: <urlo
pen error [Error 2] The system cannot find the file specified: 'C:\
\pcode\\ws\\p
andorabots-docs\\2-docs\\docs\\_build\\html\\objects.inv'>

My conf.py file does contain what I think are the correct references
to intersphinx - namely:
extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.todo',
'sphinx.ext.coverage', 'sphinx.ext.ifconfig', 'pandorabotsdocs',]

Thanks in advance...
Fritz

Georg Brandl

unread,
Apr 6, 2010, 1:40:09 PM4/6/10
to sphin...@googlegroups.com, fkunze
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 11.03.2010 18:24, schrieb fkunze:
> I am using Windows Vista, python 2.6.3 and Sphinx v0.6.5.
>
> After building my project (successfully) my objects.inv file only
> contains 3 lines:
>
> # Sphinx inventory version 1
> # Project: Pandorabots
> # Version:

But still, there is such a file? Do you have any modules/functions/classes
documented in your doc set? For Sphinx 0.6, only these items are put into
objects.inv.

> So the question is: why?
>
> I discovered this when I tried using intersphinx to use some
> documentation in another project by adding a dictionary entry to this
> line in my conf.py:
> intersphinx_mapping = {'http://docs.python.org/': None, 'file:///C:/
> pcode/ws/pandorabots-docs/2-docs/docs/_build/html': None
> }
>
> which led to this error message:
> C:\pcode\ws\pandorabots-docs\2-docs\docs>make html
> Running Sphinx v0.6.5
> loading pickled environment... not found
> WARNING: intersphinx inventory 'file:///C:/pcode/ws/pandorabots-docs/2-
> docs/docs
> /_build/html/objects.inv' not fetchable due to <class
> 'urllib2.URLError'>: <urlo
> pen error [Error 2] The system cannot find the file specified: 'C:\
> \pcode\\ws\\p
> andorabots-docs\\2-docs\\docs\\_build\\html\\objects.inv'>

But this would mean that there is no objects.inv at all?

Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAku7cfkACgkQN9GcIYhpnLBoBACeJiYjxCXs8fwQGo2qqq082TbT
jAkAnAlZUgKout13lTnZjTpj8BwFjwMA
=mr0O
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages