Announcement

Collapse
No announcement yet.

conky weather

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    conky weather

    Hi,

    I have conky up and running but one issue remains. I am running on an AMD 64 bit Hardy 8.04 with al the latest updates. I have installed the weather portion of conky and registered at the weather site for my id's etc. All of the is ok. Here is my issue. When I start conky I get several errors and then it comes up but no weather info other than the sun/cloud logo. Here is the error I am seeing:
    Conky: desktop window (180000f) is subwindow of root window (1a6)
    Conky: drawing to desktop window
    Conky: drawing to double buffer
    Traceback (most recent call last):
    File "/usr/share/conkyforecast/conkyForecast.py", line 1302, in <module>
    weather = Weather(options)
    File "/usr/share/conkyforecast/conkyForecast.py", line 453, in __init__
    self.options.locale = locale.getdefaultlocale()[0][0:2]
    TypeError: 'NoneType' object is unsubscriptable
    Traceback (most recent call last):
    File "/usr/share/conkyforecast/conkyForecast.py", line 1302, in <module>
    weather = Weather(options)
    File "/usr/share/conkyforecast/conkyForecast.py", line 453, in __init__
    self.options.locale = locale.getdefaultlocale()[0][0:2]
    TypeError: 'NoneType' object is unsubscriptable

    Here is the code in the .conkyrc :
    ${voffset -15}${font ConkyWeather:size=36}c ${font Verdana:size=15}${voffset -5}${execi 3600 conkyForecast -i --location=USNY1144 --datatype=LT} / ${execi 3600 conkyForecast -i --location=USNY1144 --datatype=HT}

    Can anyone see why I am getting error instead of weather stats? I've looked at it so long it looks right no matter what I do........
    And yes I have the id's in the .conkyForecast.config file



    #2
    Re: conky weather

    Hi,

    Found my own answer here. In the .conkyForecast.config file I had to put in the "locale" even though it said that the script should find it on it's own. Once I added that to the script it worked.
    Consider this solved.

    Comment

    Working...
    X