Hi Karl,
With latest version getting this error in most RPI - all of which are marked as down...
- Code: Select all
pi@raspberrypi:~/pibeacon $ sudo python master.py
20-13:28:21 master execMaster L:1624 Lv:30 ========================= starting master version: 11.3
Killed
pi@raspberrypi:~/pibeacon $ 20-13:28:25 master execMaster L:1672 Lv:30 START.. indigoServer IP:>>192.168.1.19<<
20-13:28:27 master execMaster L:1683 Lv:50 hw clock info: ('', 'hwclock: Cannot access the Hardware Clock via any known method.\nhwclock: Use the --debug option to see the details of our search for an access method.\n')
20-13:28:37 master execMaster L:1708 Lv:30 no ip number working, trying again, indigoServerOn:True, ip:
20-13:28:47 master execMaster L:1708 Lv:30 no ip number working, trying again, indigoServerOn:True, ip:
20-13:28:58 master execMaster L:1708 Lv:30 no ip number working, trying again, indigoServerOn:True, ip:
20-13:29:08 master execMaster L:1708 Lv:30 no ip number working, trying again, indigoServerOn:True, ip:
20-13:29:08 master execMaster L:1700 Lv:30 no ip number working, giving up, running w/o ip number, setting mode to clockMANUAL
20-13:29:09 master readNewParams L:382 Lv:30 UPS-V2 interface NOT enabled
20-13:29:10 INPUTgpio <module> L:204 Lv:30 starting INPUTgpio program
Traceback (most recent call last):
File "/home/pi/pibeacon/INPUTgpio.py", line 208, in <module>
INPUTcount = U.readINPUTcount()
File "/home/pi/pibeacon/piBeaconUtils.py", line 1969, in readINPUTcount
IPC[str(p)] =0
TypeError: list indices must be integers, not str
20-13:29:11 master setACTIVEorKILL L:537 Lv:30 started:INPUTgpio.py
20-13:29:11 INPUTgpio <module> L:204 Lv:30 starting INPUTgpio program
Traceback (most recent call last):
File "/home/pi/pibeacon/INPUTgpio.py", line 208, in <module>
INPUTcount = U.readINPUTcount()
File "/home/pi/pibeacon/piBeaconUtils.py", line 1969, in readINPUTcount
IPC[str(p)] =0
TypeError: list indices must be integers, not str
20-13:29:11 installLibs <module> L:321 Lv:30 installLibs starting
20-13:29:11 installLibs <module> L:348 Lv:30 installLibs no opsys upgrade requested
20-13:29:11 installLibs <module> L:371 Lv:30 ==== libraries seem to be setup, no need for action
20-13:29:11 installLibs <module> L:373 Lv:30 ==== libraries install finished
20-13:29:12 beaconloop startBlueTooth L:126 Lv:30 (re)starting bluetooth
20-13:29:12 beaconloop startBlueTooth L:142 Lv:30 Beacon Use HCINo -1; useHCI:hci0; myBLEmac:B8:27:EB:47:6C:80; devId:0
20-13:29:12 beaconloop startBlueTooth L:154 Lv:30 hcitool -i hci0 cmd 0x08 0x0008 1E 02 01 1A 1A FF 4C 00 02 15 2f 23 44 54 cf 6d 4a 0f ad f2 f4 91 1b a9 ff a6 00 09 00 02 C5 00
20-13:29:12 beaconloop startBlueTooth L:162 Lv:30 hcitool -i hci0 cmd 0x08 0x0006 00 10 00 20 03 00 00 00 00 00 00 00 00 07 00
20-13:29:12 beaconloop startBlueTooth L:166 Lv:30 hcitool -i hci0 cmd 0x08 0x000a 01
20-13:29:12 beaconloop startBlueTooth L:174 Lv:30 BLE start returned:
hci0: Type: Primary Bus: UART
BD Address: B8:27:EB:47:6C:80 ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING
RX bytes:1560 acl:0 sco:0 events:102 errors:0
TX bytes:5070 acl:0 sco:0 commands:102 errors:0
20-13:29:12 beaconloop startBlueTooth L:186 Lv:30 my BLE mac# is : B8:27:EB:47:6C:80
20-13:29:12 beaconloop startBlueTooth L:194 Lv:30 ble thread started
20-13:29:12 beaconloop execbeaconloop L:808 Lv:30 starting loop
20-13:29:13 beaconloop execbeaconloop L:1059 Lv:50 in Line 956 has error=string index out of range bad data, skipping
MAC: FB:3A:45:26:C0:15
UUID: 01
20-13:29:15 beaconloop execbeaconloop L:1059 Lv:50 in Line 956 has error=string index out of range bad data, skipping
MAC: FB:3A:45:26:C0:15
UUID: 01
20-13:29:16 beaconloop execbeaconloop L:1059 Lv:50 in Line 956 has error=string index out of range bad data, skipping
MAC: C8:AE:2B:E8:DC:8B
UUID: 01
20-13:29:17 beaconloop execbeaconloop L:1059 Lv:50 in Line 956 has error=string index out of range bad data, skipping
MAC: FB:3A:45:26:C0:15
UUID: 01
20-13:29:18 beaconloop execbeaconloop L:1059 Lv:50 in Line 956 has error=string index out of range bad data, skipping
MAC: C8:AE:2B:E8:DC:8B
UUID: 01
20-13:29:19 beaconloop execbeaconloop L:1059 Lv:50 in Line 956 has error=string index out of range bad data, skipping
MAC: FB:3A:45:26:C0:15
UUID: 01
20-13:29:21 beaconloop execbeaconloop L:1059 Lv:50 in Line 956 has error=string index out of range bad data, skipping
MAC: FB:3A:45:26:C0:15
UUID: 01
20-13:29:22 beaconloop execbeaconloop L:1059 Lv:50 in Line 956 has error=string index out of range bad data, skipping
MAC: C8:AE:2B:E8:DC:8B
UUID: 01
20-13:29:23 beaconloop execbeaconloop L:1059 Lv:50 in Line 956 has error=string index out of range bad data, skipping
MAC: FB:3A:45:26:C0:15
UUID: 01
20-13:29:24 beaconloop execbeaconloop L:1059 Lv:50 in Line 956 has error=string index out of range bad data, skipping
MAC: C8:AE:2B:E8:DC:8B
UUID: 01
20-13:29:25 beaconloop execbeaconloop L:1059 Lv:50 in Line 956 has error=string index out of range bad data, skipping
MAC: FB:3A:45:26:C0:15
UUID: 01
& then this
- Code: Select all
20-13:12:55 beaconloop execbeaconloop L:1059 Lv:50 in Line 956 has error=string index out of range bad data, skipping
MAC: FB:3A:45:26:C0:15
UUID: 01
Repeating, as first example
Gone back to 7.112.313 and all RPIs now marked up and going again interestingly enough, but the same errors continue in the PIs and some of GPIO don’t seem to be responding.
On reflection I suspect the GPIOs have not been working for a few versions, use a few GPIO buttons (mainly in summer) and one for Gate open/close which is prone to hardware failure (so didn’t think much of it not reporting)
Ok, have done some research...
GPIO - not reporting since v7.111.311 @ 2019-09-16
Think issue:
PiBeaconUtils.py
Line 1957
- Code: Select all
try:
int(IPC[str(p)])
except:
#IPC[str(p)] =0
IPC[int(p)] =0
Fixes, update GPIO Pi’s and all GPIO going again.
Still on older version mine you...
Glenn