You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "./conv.py", line 12, in <module>
for event in data:
File "/home/hamish/tmp/fdb/.pyvenv/lib/python3.7/site-packages/fdb/trace.py", line 972, in parse
for rec in (self.parse_event(x) for x in self._iter_trace_blocks(lines)):
File "/home/hamish/tmp/fdb/.pyvenv/lib/python3.7/site-packages/fdb/trace.py", line 972, in <genexpr>
for rec in (self.parse_event(x) for x in self._iter_trace_blocks(lines)):
File "/home/hamish/tmp/fdb/.pyvenv/lib/python3.7/site-packages/fdb/trace.py", line 959, in parse_event
return self._parse_block(record_parser)
File "/home/hamish/tmp/fdb/.pyvenv/lib/python3.7/site-packages/fdb/trace.py", line 941, in _parse_block
result = parser()
File "/home/hamish/tmp/fdb/.pyvenv/lib/python3.7/site-packages/fdb/trace.py", line 660, in __parser_start_transaction
self._parse_attachment_info(values)
File "/home/hamish/tmp/fdb/.pyvenv/lib/python3.7/site-packages/fdb/trace.py", line 299, in _parse_attachment_info
pad, s = attachment_id.split('_')
ValueError: too many values to unpack (expected 2)
It looks like it's getting confused by the underscores in the Firebird install path. If I change the FIREBIRD_2_5 to something without underscores in the trace then the error goes away.
The text was updated successfully, but these errors were encountered:
I'm getting exceptions parsing trace logs.
The input trace is as simple as
It looks like it's getting confused by the underscores in the Firebird install path. If I change the FIREBIRD_2_5 to something without underscores in the trace then the error goes away.
The text was updated successfully, but these errors were encountered: