hassanakbar4 / tractive-test

0 stars 0 forks source link

--v3 fails with stack trace #380

Closed hassanakbar4 closed 3 years ago

hassanakbar4 commented 6 years ago

component_Version_3_cli_txt resolution_fixed type_defect | by julian.reschke@gmx.de


  File "/bin/xml2rfc", line 11, in <module>
    sys.exit(main())
  File "/usr/lib/python3.6/site-packages/xml2rfc/run.py", line 425, in main
    writer.write(filename)
  File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 117, in write
    text = self.render(self.root, width=72, joiners=joiners)
  File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 147, in render
    res = func(e, width, **kwargs)
  File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 2487, in render_rfc
    ctext = self.render(c, width, **kwargs)
  File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 147, in render
    res = func(e, width, **kwargs)
  File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 1693, in render_middle
    text = self.join(text, c, width, **kwargs)
  File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 166, in join
    etext = self.render(e, width, **kwargs)
  File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 147, in render
    res = func(e, width, **kwargs)
  File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 2760, in render_section
    text = self.join(text, c, width, **kwargs)
  File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 166, in join
    etext = self.render(e, width, **kwargs)
  File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 147, in render
    res = func(e, width, **kwargs)
  File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 2760, in render_section
    text = self.join(text, c, width, **kwargs)
  File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 166, in join
    etext = self.render(e, width, **kwargs)
  File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 147, in render
    res = func(e, width, **kwargs)
  File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 1724, in render_name
    return fill(self.inner_text_renderer(e).strip(), width=width-hang, hang=hang)
  File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 233, in inner_text_renderer
    text += self.render(c, width, **kwargs)
  File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 147, in render
    res = func(e, width, **kwargs)
  File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 851, in render_cref
    return self.quote_renderer(e, width, '//', source, None, **kwargs)
  File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 258, in quote_renderer
    kwargs['joiners'].update({ 't':       joiner(*, '\n\n', *, 0, 0), })
KeyError: 'joiners'

Issue migrated from trac:380 at 2021-10-20 18:30:28 +0500

hassanakbar4 commented 6 years ago

@{"email"=>"julian.reschke@gmx.de", "name"=>nil, "username"=>nil} uploaded file foo.xml (108.5 KiB)

hassanakbar4 commented 6 years ago

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


Cannot reproduce here with switches --v3 --html; which command line arguments are you using, please?

hassanakbar4 commented 6 years ago

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

hassanakbar4 commented 6 years ago

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

hassanakbar4 commented 6 years ago

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


Fixed in [2745]:

Filled in missing rendering values for the case when cref is being rendered in inline context in the v3 text renderer. Fixes issue #380.