• XQ-WEATHER suddenly stopped working

    From Indrid Cold@21:1/165 to All on Wednesday, September 21, 2016 19:25:00
    Hello again,

    my 2nd problem for today - i run Mystic on RPi, and I've got installed python 2.7 and 3.2. Time ago I've installed without particular problems the nice mod from XQTR, XQ-WEATHER, and it has worked well till today... now, it keeps not working, and I can recognize this error message:

    Traceback (most recent call last):
    File "./getweather.py", line 299, in <module>
    main()
    File "./getweather.py", line 251, in main
    current.get('rain', ('1h': 0))['1h'],
    KeyError: '1h'

    Can you help me restoring this nice addon? I don't understand what has happened....

    ¯¯ÅndçŒd Cíld®®

    "What do you look like?"
    "It depends on who is looking."

    --- Mystic BBS v1.12 A31 (Raspberry Pi)
    * Origin: Miskatonic BBS | telnet://rasppi.servebbs.org (21:1/165)
  • From xqtr@21:1/126 to Indrid Cold on Thursday, September 22, 2016 09:09:00
    For sure its a Python thing... my guess is that some package updated which changed the syntax for Python or a version upgrade. Make sure that the script runs with Python3 and not v2. Execute it externally with python3 <scriptname> and see the results.

    --- Mystic BBS v1.12 A31 (Linux)
    * Origin: Twinkle BBS (21:1/126)