[Qgis-community-team] sphinx trouble
Otto Dassau
dassau at gbd-consult.de
Tue May 21 04:28:20 PDT 2013
Hi Matteo,
looking at the log file, there are lots of
* "fatal errors" with »msgid«- and »msgstr« entries... and warnings ...
* and there are wrong translations: Unknown target name: "figua_raster_2".
In general please never translate reference names, as you can read at the
bottom of:
https://github.com/qgis/QGIS-Documentation/blob/master/source/docs/documentation_guidelines/do_translations.rst
My impression is, there are just too many errors that make sphinx quit, so
you probably need to spend some time to fix all the errors and then try
again.
Regards
Otto
Am Tue, 21 May 2013 13:17:47 +0200
schrieb Otto Dassau <dassau at gbd-consult.de>:
> Hi Matteo,
>
> I built (post_translate) the italian 1.8 branch and it only creates the
> folders _sources and docs. All other languages create much more:
>
> _sources
> docs
> genindex.html
> _images
> _index.html
> objects.inv
> search.html
> searchindex.js
> _static
>
> I don't have a clue yet, why this happens. But it is not a problem of
> sphinx I guess.
>
> Has anybody ever had such a problem?
>
> Regards
> Otto
>
> Am Fri, 17 May 2013 10:05:40 +0200
> schrieb matteo <matteo.ghetta at gmail.com>:
>
> > Hi guys,
> > as usually, before commit the translated files I build them with bash
> > scripst(post_translate it, but I receive some errors, like;
> >
> > Exception occurred:
> > File "/usr/lib/python2.7/dist-packages/sphinx/builders/html.py", line
> > 419, in write_doc
> > self.docwriter.write(doctree, destination)
> > File "/usr/lib/python2.7/dist-packages/docutils/writers/__init__.py",
> > line 77, in write
> > self.translate()
> > File "/usr/lib/python2.7/dist-packages/sphinx/writers/html.py", line
> > 38, in translate
> > self.document.walkabout(visitor)
> > File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 173,
> > in walkabout
> > if child.walkabout(visitor):
> > File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 173,
> > in walkabout
> > if child.walkabout(visitor):
> > File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 173,
> > in walkabout
> > if child.walkabout(visitor):
> > File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 165,
> > in walkabout
> > visitor.dispatch_visit(self)
> > File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 1604,
> > in dispatch_visit
> > return method(node)
> > File
> > "/usr/lib/python2.7/dist-packages/docutils/writers/html4css1/__init__.py",
> > line 957, in visit_footnote_reference
> > href = '#' + node['refid']
> > File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 534,
> > in __getitem__
> > return self.attributes[key]
> > KeyError: 'refid'
> >
> >
> > What does it mean? Actually not for all the files I found the html. For
> > example the entire folder working with vectors does not compare in the
> > output.
> > I attach the output lof file.
> >
> > Thanks
> >
> > Matteo
More information about the Qgis-community-team
mailing list