Error when trying to save sale.sale report template

I tried to create my own offering “report”, when opening the sale.sale report, I already had error messages, could then download the template, but not re-upload it. Tryton GTK client will always throw an error as follows - I can not even “legally” quit the client for the error message. What could I do?

  File "/usr/local/lib/python3.8/dist-packages/tryton-5.6.8-py3.8.egg/tryton/gui/window/view_form/view/form_gtk/binary.py", line 143, in clear
    self.filename_field.set_client(self.record, None)
  File "/usr/local/lib/python3.8/dist-packages/tryton-5.6.8-py3.8.egg/tryton/gui/window/view_form/model/field.py", line 219, in set_client
    super().set_client(record, value, force_change)
  File "/usr/local/lib/python3.8/dist-packages/tryton-5.6.8-py3.8.egg/tryton/gui/window/view_form/model/field.py", line 163, in set_client
    record.signal('record-changed')
  File "/usr/local/lib/python3.8/dist-packages/tryton-5.6.8-py3.8.egg/tryton/signal_event.py", line 15, in signal
    fnct(self, signal_data, *data)
  File "/usr/local/lib/python3.8/dist-packages/tryton-5.6.8-py3.8.egg/tryton/gui/window/view_form/model/group.py", line 429, in _record_changed
    self.signal('group-changed', record)
  File "/usr/local/lib/python3.8/dist-packages/tryton-5.6.8-py3.8.egg/tryton/signal_event.py", line 15, in signal
    fnct(self, signal_data, *data)
  File "/usr/local/lib/python3.8/dist-packages/tryton-5.6.8-py3.8.egg/tryton/gui/window/view_form/screen/screen.py", line 433, in _group_changed
    self.display()
  File "/usr/local/lib/python3.8/dist-packages/tryton-5.6.8-py3.8.egg/tryton/gui/window/view_form/screen/screen.py", line 924, in display
    view.display()
  File "/usr/local/lib/python3.8/dist-packages/tryton-5.6.8-py3.8.egg/tryton/gui/window/view_form/view/form.py", line 531, in display
    widget.display()
  File "/usr/local/lib/python3.8/dist-packages/tryton-5.6.8-py3.8.egg/tryton/gui/window/view_form/view/form_gtk/url.py", line 158, in display
    self.button.set_uri(self.uri())
  File "/usr/local/lib/python3.8/dist-packages/tryton-5.6.8-py3.8.egg/tryton/gui/window/view_form/view/form_gtk/url.py", line 153, in uri
    CONNECTION.url + '/', '/'.join(path) + '?' + urlencode(params))

TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Cheers,
Wolf

It will be simpler to report bugs to the issue tracker: Issue 10033: Do not render uri of HTML widget if there is no connection - Tryton issue tracker

Agreed in general. But with my very limited knowledge, I’d rather not dare to decide what is a bug and what is me making some stupid mistake.

Cheers,
Wolf