Page MenuHome

Comment with no line number problem
Open, Needs Triage by DeveloperPublic


There appears to be a problem with the PO file


Where the comment is duplicated and one of it (top line) doesn't have a linenumber reference at the end:

#: ../../manual/editors/3dview/grease_pencil/stroke_edit.rst
#: ../../manual/editors/3dview/grease_pencil/stroke_edit.rst:76
msgid "Menu"
msgstr "Trình Đơn -- Menu"

This is causing sphinx to abort with error upon write (dump_po) in the file

  • '.local/lib/python3.6/site-packages/sphinx_intl/'
  • '.local/lib/python3.6/site-packages/babel/messages/'

Exception occurred:

File ".local/lib/python3.6/site-packages/babel/messages/", line 592, in write_po
  for filename, lineno in sorted(message.locations):

TypeError: '<' not supported between instances of 'int' and 'NoneType'

The problem is caused by the line


since it was expecting to see that there is a line number (int) and not 'None', due to the missing number. This is happening with every language sets.



Event Timeline

Bastien Montagne (mont29) edited projects, added Documentation; removed Translations.

This is the manual, not blender's i18n…

Hi all,

I'm new to Blender development and was hoping to contribute to Blender in some way. I was wondering if this bug still needed a fix.