This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmocom-bb/+/15300
Change subject: trx_toolkit/trx_sniff.py: properly handle unknown header version error
......................................................................
trx_toolkit/trx_sniff.py: properly handle unknown header version error
Change-Id: Ie04782ced1fab7bc363549bfa37528f5a124e99d
---
M src/target/trx_toolkit/trx_sniff.py
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/00/15300/1
diff --git a/src/target/trx_toolkit/trx_sniff.py b/src/target/trx_toolkit/trx_sniff.py
index 7e5c2bd..13c31e7 100755
--- a/src/target/trx_toolkit/trx_sniff.py
+++ b/src/target/trx_toolkit/trx_sniff.py
@@ -110,6 +110,10 @@
try:
msg.parse_msg(msg_raw)
msg.validate()
+ except IndexError as e:
+ log.warning("Ignoring message: %s" % e)
+ self.cnt_burst_dropped_num += 1
+ return
except ValueError as e:
desc = msg.desc_hdr()
if desc is "":
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/15300
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Ie04782ced1fab7bc363549bfa37528f5a124e99d
Gerrit-Change-Number: 15300
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190827/f25d3c90/attachment.htm>