Hi,
on SHR-U openbmap-logger will not report neighbouring cells, while
reporting serving cells works as usual. The folowing line in
openbmap.log lead me to the patch below, after which openBmap will
happily report neighbours again (and the error message is gone):
ERROR:root:get neighbour cells info: int() can't convert non-string with
explicit base
--- logger.py.ORG Wed Jun 16 13:43:23 2010
+++ logger.py Wed Jun 16 13:43:55 2010
@@ -333,8 +333,8 @@
if "lac" and "cid" in cell:
# lac and cid are hexadecimal strings
result = {}
- result['lac'] = str(int(cell["lac"], 16))
- result['cid'] = str(int(cell["cid"], 16))
+ result['lac'] = str(cell["lac"])
+ result['cid'] = str(cell["cid"])
# The signal strength in percent (0-100) is returned.
# The following comments were about the signal strength
(see GetStatus):
# Mickey pointed out (see dev mailing list archive):
Florian
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel