I'm in the process of setting up your Orbit.py script and have been running into this error message
File "c:\mystic\scripts\orbit\orbit.py" line 26, in (module)
lat= str(sys.argv[1])
indexError: list index out of range
I'm a real Noob with python and was hoping you could suggest a fix :^)
This error means that the orbit.py script didn't get some parameter it needed. How did you execute the script? Normally from within the xq-orbit.mpx script? or did you tried to executed yourself?
Also there is a chance that you use a different version of python than
the script uses. If i remember, this script needs python 2.7, but if you use python 3, perhaps this is the reason. To check this, edit the xq-orbit.mps file and go to line 500. Change the word "python" to "python2" or "python2.7" see what you got and post back to me.
I hope its one of these. :)
I was trying it from the command line, But now you mention it I should
for obvious reasons run it from the mpx script so it can get the
information it requires. Shoot me now :^)..
Many thanks, You've pointed me in the right direction for sure!
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 31 |
Nodes: | 8 (0 / 8) |
Uptime: | 227:15:32 |
Calls: | 2,088 |
Calls today: | 2 |
Files: | 11,140 |
Messages: | 948,466 |