https://bugs.documentfoundation.org/show_bug.cgi?id=104850
Bug ID: 104850
Summary: HELPWIKI: Handle <acronym> item type
Product: LibreOffice
Version: 5.3.0.0.beta2
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Documentation
Assignee: libreoffice-bugs@lists.freedesktop.org
Reporter: kelem...@ubuntu.com
python2 help-to-wiki.py -r -n
Generating the titles...
Path to the .po files not provided, using "../translations/source"
Currently generating helpwiki pages in the 5.3 branch gives exceptions like
this because of the new <acronym> item type:
$ python2 help-to-wiki.py -r -n
Generating the main wiki pages...
Warning: Unhandled element "switch" in "default"
(source/text/shared/01/02100000.xhp)
Warning: Unhandled element "case" in "default"
(source/text/shared/01/02100000.xhp)
Unhandled item type "acronym".
Exception in thread Thread-380:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/home/gabor/src/core/helpcontent2/to-wiki/wikiconv2.py", line 1391, in
run
file.write(parser.get_all())
File "/home/gabor/src/core/helpcontent2/to-wiki/wikiconv2.py", line 1305, in
get_all
return self.head_obj.get_all()
File "/home/gabor/src/core/helpcontent2/to-wiki/wikiconv2.py", line 369, in
get_all
text = text + i.get_all()
File "/home/gabor/src/core/helpcontent2/to-wiki/wikiconv2.py", line 1170, in
get_all
raise UnhandledItemType('Paragraph id: '+str(self.id))
UnhandledItemType: Paragraph id: par_id030820161744123676
Unhandled item type "acronym".
(and three more similar exceptions)
This is already fixed in master:
https://cgit.freedesktop.org/libreoffice/help/commit/?id=7de8eed8b1b908c9e37f6e2499f37768a2354d27
Here I'm requesting permission to backport to the 5-3 branch.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs