I'm seeing the same error, the file mentioned in
> KeyError: 'plugin/mkverilog'

changes from run to run, seems random.

Thanks,
Kent

On Fri, Nov 21, 2008 at 3:42 PM, Morten Elo Petersen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I get the below error when running sphinx the second time. That is,
> change a few things and rerun.
>
> Traceback (most recent call last):
>  File "/home/mep/tmp/sphinx-fe22500bf876/sphinx/cmdline.py", line 151,
> in main
>    app.build(all_files, filenames)
>  File "/home/mep/tmp/sphinx-fe22500bf876/sphinx/application.py", line
> 138, in build
>    self.builder.build_update()
>  File "/home/mep/tmp/sphinx-fe22500bf876/sphinx/builder.py", line 250,
> in build_update
>    'out of date' % len(to_build))
>  File "/home/mep/tmp/sphinx-fe22500bf876/sphinx/builder.py", line 293,
> in build
>    self.finish()
>  File "/home/mep/tmp/sphinx-fe22500bf876/sphinx/builder.py", line 687,
> in finish
>    self.handle_finish()
>  File "/home/mep/tmp/sphinx-fe22500bf876/sphinx/builder.py", line 778,
> in handle_finish
>    self.indexer.dump(f, self.indexer_format)
>  File "/home/mep/tmp/sphinx-fe22500bf876/sphinx/search.py", line 132,
> in dump
>    format.dump(self.freeze(), stream)
>  File "/home/mep/tmp/sphinx-fe22500bf876/sphinx/search.py", line 173,
> in freeze
>    descrefs=self.get_descrefs(fn2index),
>  File "/home/mep/tmp/sphinx-fe22500bf876/sphinx/search.py", line 151,
> in get_descrefs
>    pdict[name] = (fn2index[doc], i)
> KeyError: 'plugin/mkverilog'
>
> One noteable thing is that the plugin/mkverilog is a .rst file in a
> nested toctree, see below:
>
> contents.rst:
> -------------file start-----------------------
> Furnace documentation index
> ===========================
>
> .. toctree::
>   :maxdepth: 2
>
>   intro
>   plugin/plugins
>
>
> Indices and tables
> ==================
>
> * :ref:`genindex`
> * :ref:`modindex`
> * :ref:`search`
> -------------file end-----------------------
>
>
> plugin/plugins.rst
> -------------file start-----------------------
> Furnace plugins
> ===============
>
> Some text
>
>
> Importing
> ---------
>
> .. toctree::
>
>   ore
>   mkverilog
>
> Exporting
> ---------
>
> .. toctree::
>
>   metax
> -------------file end-----------------------
>
> regards
> Morten
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to