hassanakbar4 / tractive-test

0 stars 0 forks source link

xml2rfc crashes when trying to build my toc #245

Closed hassanakbar4 closed 3 years ago

hassanakbar4 commented 10 years ago

component_Version 2 cli resolution_fixed type_defect | by n.brownlee@auckland.ac.nz


after a series of messages that look sensible, I get the following from python ...

Traceback (most recent call last): File "/usr/local/bin/xml2rfc", line 225, in main() File "/usr/local/bin/xml2rfc", line 210, in main pagedwriter.write(filename) File "/usr/local/lib/python2.7/dist-packages/xml2rfc/writers/base.py", line 1158, in write self.post_rendering() File "/usr/local/lib/python2.7/dist-packages/xml2rfc/writers/paginated_txt.py", line 252, in post_rendering preliminary_toc = self.write_toc(paging=True) File "/usr/local/lib/python2.7/dist-packages/xml2rfc/writers/raw_txt.py", line 288, in write_toc lines = textwrap.wrap(bullet + item.title, TypeError: cannot concatenate 'str' and 'NoneType' objects


Issue migrated from trac:245 at 2021-10-20 18:14:00 +0500

hassanakbar4 commented 10 years ago

@{"email"=>"n.brownlee@auckland.ac.nz", "name"=>nil, "username"=>nil} uploaded file draft-brownlee-svg-rfc-03.xml (13.3 KiB)

hassanakbar4 commented 10 years ago

@{"email"=>"n.brownlee@auckland.ac.nz", "name"=>nil, "username"=>nil} uploaded file draft-brownlee-svg-rfc-03.2.xml (13.3 KiB)

hassanakbar4 commented 10 years ago

@{"email"=>"julian.reschke@gmx.de", "name"=>nil, "username"=>nil} commented


You have

is that intentional?
hassanakbar4 commented 10 years ago

@{"email"=>"henrik@levkowetz.com", "name"=>nil, "username"=>nil} changed priority from medium to major

hassanakbar4 commented 10 years ago

@{"email"=>"henrik@levkowetz.com", "name"=>nil, "username"=>nil} changed status from new to closed

hassanakbar4 commented 10 years ago

@{"email"=>"henrik@levkowetz.com", "name"=>nil, "username"=>nil} changed resolution from ` tofixed`

hassanakbar4 commented 10 years ago

@{"email"=>"henrik@levkowetz.com", "name"=>nil, "username"=>nil} commented


Fixed in [1441]:

Changed code so as to not blow up on empty section titles. Fixes issue #245.