andrecurvello / wlan-pos

Automatically exported from code.google.com/p/wlan-pos
0 stars 0 forks source link

test -t crash-not sure if same as the last issue #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Online visible APs: 2
[['00:16:16:1F:14:E0' '00:16:16:1E:EB:60']
 ['-49' '-78']]
select from table: cidaps
Partly matched cluster(s) found(max intersect size: 1):
[ [ '114',
    [ '00:21:91:38:8D:92',
      '00:22:3F:25:3D:A0',
      '00:16:16:1F:14:E0',
      '00:16:16:1F:1B:80']],
  [ '117',
    [ '00:16:16:1E:C2:40',
      '00:16:16:1E:EB:60',
      '00:17:7B:0F:19:D0',
      '00:02:2D:A7:11:43']],
  [ '118',
    [ '00:1B:54:25:86:40',
      '00:17:7B:0F:16:D9',
      '00:16:16:1E:F3:80',
      '00:16:16:1E:EB:60']]]
===================================
select cid = 114 from table cfps
 keyaps: ['00:21:91:38:8D:92', '00:22:3F:25:3D:A0', '00:16:16:1F:14:E0',
'00:16:16:1F:1B:80']
keycfps: (114, 1419, 39.909751, 116.35457100000001, '-69.0|-75.0|-77.0|-77.0')
sum_rss: [ 784.]
-----------------------------------
select cid = 117 from table cfps
 keyaps: ['00:16:16:1E:C2:40', '00:16:16:1E:EB:60', '00:17:7B:0F:19:D0',
'00:02:2D:A7:11:43']
keycfps: (117, 1422, 39.910367000000001, 116.354091, '-65.0|-67.0|-71.0|-72.0')
sum_rss: [ 0.]
-----------------------------------
select cid = 118 from table cfps
 keyaps: ['00:1B:54:25:86:40', '00:17:7B:0F:16:D9', '00:16:16:1E:F3:80',
'00:16:16:1E:EB:60']
keycfps: (118, 1423, 39.910398999999998, 116.353763, '-64.0|-72.0|-73.0|-73.0')
Traceback (most recent call last):
  File "./online.py", line 455, in <module>
    main()
  File "./online.py", line 293, in main
    latlon = fixPos(len_visAPs, wifis, verbose)
  File "./online.py", line 85, in fixPos
    def fixPos(len_wlan, wlan, verb=False):
  File "./online.py", line 197, in fixPos
    wlan = wl[:,idxs_inters]
IndexError: invalid index

Original issue reported on code.google.com by xiaotian...@gmail.com on 2 Apr 2010 at 1:15

GoogleCodeExporter commented 8 years ago
[['00:60:B3:C9:61:27' '00:16:16:1E:B9:80' '00:1A:70:FB:B8:7F'
  '00:17:7B:0F:16:D9']
 ['-63' '-64' '-65' '-66']]

Original comment by xiaotian...@gmail.com on 4 Apr 2010 at 12:19

GoogleCodeExporter commented 8 years ago

Original comment by xiaotian...@gmail.com on 4 Apr 2010 at 1:18