• Re: orbit

    From xqtr@21:1/111 to Lloyd on Sun Dec 10 06:17:58 2017
    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 :^)

    Hi Lloyd,

    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?

    Did you press CTRL-L and entered both coordinates? cause these are
    parameters for the orbit.py script.

    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. :)

    .----- --- -- -
    | Another Droid BBS
    : Telnet : andr01d.zapto.org:9999 [UTC 11:00 - 20:00]
    . Contact : xqtr.xqtr@gmail.com

    --- Mystic BBS v1.12 A34 (Raspberry Pi/32)
    * Origin: Another Droid BBS (21:1/111)
  • From Lloyd@21:1/103 to xqtr on Mon Dec 11 20:09:24 2017

    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?

    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 :^)..

    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'm using 2.7 with Mystic.

    I hope its one of these. :)

    Many thanks, You've pointed me in the right direction for sure!

    Cheers
    Lloyd

    --- Mystic BBS v1.12 A37 2017/12/09 (Windows/32)
    * Origin: - Micro Link BBS - QLD, OZ (21:1/103)
  • From xqtr@21:1/111 to Lloyd on Mon Dec 11 18:27:10 2017
    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

    I thought so, but still i covered some other situations in case i was wrong :)

    information it requires. Shoot me now :^)..

    BANG... I shot you down... BANG BANG... hahaah :)

    Many thanks, You've pointed me in the right direction for sure!

    Nice. :) If anything else, just ask here.

    .----- --- -- -
    | Another Droid BBS
    : Telnet : andr01d.zapto.org:9999 [UTC 11:00 - 20:00]
    . Contact : xqtr.xqtr@gmail.com

    --- Mystic BBS v1.12 A34 (Raspberry Pi/32)
    * Origin: Another Droid BBS (21:1/111)