Hi Gryphon,
I was just trying to set up sbbl.mpy here, and when it runs, I get the following:
PYTHON ERROR (sbbl.mpy)
File "sbbl.mpy", line 510, in <module>
File "sbbl.mpy", line 493, in main_menu
File "sbbl.mpy", line 206, in short_list
IndexError: list index out of range
Press a key
Not sure if it's something on my end, or what happened. As I also
receive the 'syncdata' via Fidonet, I'll try using that message area,
and see if it makes any difference.
PYTHON ERROR (sbbl.mpy)
File "sbbl.mpy", line 510, in <module>
File "sbbl.mpy", line 493, in main_menu
File "sbbl.mpy", line 206, in short_list
IndexError: list index out of range
Press a key
Can you open your copy of sbbl.mpy and let me know what is on line 206?
Can you open your copy of sbbl.mpy and let me know what is on line 20
On 01/01/18, Gryphon said the following...
PYTHON ERROR (sbbl.mpy)
File "sbbl.mpy", line 510, in <module>
File "sbbl.mpy", line 493, in main_menu
File "sbbl.mpy", line 206, in short_list
IndexError: list index out of range
Press a key
Can you open your copy of sbbl.mpy and let me know what is on line 20
bbs.writeln(" %-25s %-15s %4s %-22s" % (key,software[key],nodes[key],uus[1]))
(Sorry, the line wrapped. There is a space between the two lines.)
If it were an MPL, I could probably try to debug it on this end, but I haven't started teaching myself Python yet.
I think it's like I said. First of all, its data-related. There
appears to be a missing or malformatted Telnet: statement in the record for this entry. Second, the mpy doesn't properly handle error
conditions. The 'uus[1]' variable is likely the culpret. The script is forcing the use of element 1 and there is no actual element 1.
Therefore, it err's.
Unfortunately, it doesn't fail in my setup, so I don't have an actual issue where I can test a fix. The best I can do is make an assumption
and let you test it in production.
Give me a bit and I'll have an update. I'll let you know when its ready.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 72:25:23 |
Calls: | 6,714 |
Calls today: | 2 |
Files: | 12,246 |
Messages: | 5,357,081 |