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: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 307 |
Nodes: | 16 (2 / 14) |
Uptime: | 02:43:25 |
Calls: | 6,903 |
Calls today: | 20 |
Files: | 12,373 |
Messages: | 5,424,880 |
Posted today: | 1 |