Ticket #1299 (closed defect: invalid)
cellhunter is not able to check cell IDs
| Reported by: | Quix0r | Owned by: | TAsn |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Other | Version: | SHR-unstable |
| Keywords: | Cc: |
Description
CellHunter? is runable but fails with below backtrace if I hit "Check CellIds?":
root@om-gta02 ~ # cellhunter.py
Traceback (most recent call last):
File "/usr/bin/cellhunter.py", line 225, in check_cellid
while len(self.cell_la) < 4:
TypeError: object of type 'dbus.Int32' has no len()
killall: wget: no process killed
root@om-gta02 ~ #
Attachments
Change History
comment:1 in reply to: ↑ description Changed 21 months ago by mnalis
The patched version (it seems) can be found here: http://freeyourphone.de/portal_v1/download/file.php?id=237 (also attached)
from discussion at: http://freeyourphone.de/portal_v1/viewtopic.php?f=9&t=865&sid=e27e1de5552533dbcf9ec496afe4f1a3&start=255
can someone package it for SHR-T?
comment:2 Changed 20 months ago by Quix0r
I can confirm that it also works on unstable.
One little thing (I'm not registered in that other forum): I have to press "Offline Mode" twice to get it turned ON. That wasn't needed with the unpatched version on Paroli.
And "Auto-check" doesn't work as well. In the console it reads:
Error while getting neighbour cells: org.freesmartphone.GSM.DeviceFailed: OK
Traceback (most recent call last):
File "/usr/bin/cellhunter.py", line 354, in check_cellid_auto
self.check_cellid(button, label)
File "/usr/bin/cellhunter.py", line 328, in check_cellid
self.send_data()
File "/usr/bin/cellhunter.py", line 472, in send_data
offlineFile = open(self.homedir + '/cellhunter/cellhunter_offline.log', 'a')
IOError: [Errno 2] No such file or directory: '/home/root/cellhunter/cellhunter_offline.log'
As far as I can remember, the logfile was directly stored in ~/ also the uploader script (including mine) refers to ~/cellhunter_offline.log
I'm also sometimes getting this:
Error while getting neighbour cells: org.freesmartphone.GSM.DeviceFailed: OK
comment:3 Changed 20 months ago by mnalis
Oh, "Offline Mode" twice and ~/cellhunter/cellhunter_offline.log are trivial, I don't know why the original patchers did that... Anyway, here is uploaded version that fixes that (cellhunter.py_mn_cleanup1)
as for "Error while getting neighbour cells: org.freesmartphone.GSM.DeviceFailed?: OK", I'm not sure, hadn't happened to me yet. If you could run "cellhunter.py -d" and then send me output when it happens, I'll look some more into that one, but it is possible that it's unrelated to cellhunter (as it is exception from try block using DBUS self.ogsmd_monitor_iface.GetNeighbourCellInformation? calls to get info from fsogsmd)
Changed 20 months ago by mnalis
-
attachment
cellhunter.py_mn_cleanup1
added
fix "Offline mode twice" and ~/cellhunter_offline.log
comment:4 Changed 17 months ago by slyon
- Status changed from new to closed
- Resolution set to invalid
comment:5 Changed 17 months ago by mnalis
slyon, can you explain why is this has been closed with resolution "Invalid"?
Has it been fixed some other way in SHR in the meantime or what?
comment:6 Changed 17 months ago by slyon
cellhunter isn't part of the actively developed shr-core and it doesn't seem to be developed any more by it's upstream ( http://ch.omoco.de/cellhunter/ - last update from sep. 2009)

locates cells again