Problem with starting burpui under python 3.8
Hi,
I tried to start burpui bui-agent, but it failed with following message: Failed loading backend for Burp version 2: dictionary keys changed during iteration
I startet the bui-agent with following cmd Line: root@toothrot:~ sudo -u burpui /usr/local/bin/bui-agent -d -c /etc/burp/buiagent.cfg -l /tmp/logg
the log file (shows following:
root@toothrot:~ # cat /tmp/logg
[2020-05-02 11:18:16,654] ERROR in agent.__init__: Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/burpui_agent/agent.py", line 70, in __init__
self.backend = Client(conf=conf)
File "/usr/local/lib/python3.8/dist-packages/burpui_agent/misc/backend/burp2.py", line 137, in __init__
self.parser = Parser(self)
File "/usr/local/lib/python3.8/dist-packages/burpui_agent/misc/parser/burp1.py", line 57, in __init__
self._load_all_conf()
File "/usr/local/lib/python3.8/dist-packages/burpui_agent/misc/parser/burp1.py", line 154, in _load_all_conf
self._load_conf_srv()
File "/usr/local/lib/python3.8/dist-packages/burpui_agent/misc/parser/burp1.py", line 104, in _load_conf_srv
self.clientconfdir = self._server_conf.get('clientconfdir')
File "/usr/local/lib/python3.8/dist-packages/burpui_agent/misc/parser/utils.py", line 1638, in get
return self._get(key, default)
File "/usr/local/lib/python3.8/dist-packages/burpui_agent/misc/parser/utils.py", line 1619, in _get
self._refresh()
File "/usr/local/lib/python3.8/dist-packages/burpui_agent/misc/parser/utils.py", line 1601, in _refresh
for key in viewkeys(self.types):
RuntimeError: dictionary keys changed during iteration
Failed loading backend for Burp version 2: dictionary keys changed during iteration
As you can see the host is using puthon 3.8 (it's a debian bullseye installation) it's also true for the burpui it self, mor ore less the same output.
Is there a patch to run so it can run with python 3.8?
Kind reagrds ueli