添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
When I call following URL https://software.rtcm-ntrip.org/changeset/10236/ntrip/trunk/BNC/src/src.pri?format=diff I get the mentioned error message. This also happens when I deactivate all plugins.
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/trac/web/main.py", line 609, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python3.6/site-packages/trac/web/main.py", line 301, in dispatch
    raise e
  File "/usr/lib/python3.6/site-packages/trac/web/main.py", line 247, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python3.6/site-packages/trac/versioncontrol/web_ui/changeset.py", line 343, in process_request
    self._render_diff(req, filename, repos, data)
  File "/usr/lib/python3.6/site-packages/trac/versioncontrol/web_ui/changeset.py", line 689, in _render_diff
    output = ''.join(output)
TypeError: sequence item 0: expected str instance, bytes found
It is fixed by
Similar URLs on a second Trac instance work, so maybe that needs postgres as database to fail?
Applying the change on the working system with sqlite3 database does no harm.
                    
You may use WikiFormatting
 here.