끔찍한 WM 날씨 위젯 문제 = data[“{city}”]

창 관리자로 Awesome WM을 사용하고 있습니다.
더 유연한 환경을 얻으십시오. 그러나 날씨 위젯을 할 때,
‘악의적 인’라이브러리를 사용하여 실수를 저질렀습니다.
문제는 다음입니다 : 바탕 화면 날씨 정보를 얻고 싶을 때, 나는 벡터를 얻습니다. N/A ‘에스. 나는 실제로 문제가있는 곳을인지 할 수 없다 … 악의적 인 소스로부터 정보를 얻는 동안 모든 것이 수신된다. 어쩌면 그것은 악의적 인 위젯의 버그일까요?
스크린 샷 (화면 왼쪽 상단보기) : 화면 .
위젯 코드 :

-- {{{ Weather widget
weatherBox = wibox({ type = "desktop", visible = true, bg = "#00000000" })
weatherBox:geometry({ x = 10, y = 25, width = 300, height = 85 })
weatherLayout = wibox.layout.fixed.horizontal()

weatherWidget = boxWidget(vicious.widgets.weather,
    function(w, data)
        local city        = data["{city}"]
        local wind_speed  = data["{windkmh}"]
        local wind        = data["{wind}"]
        local sky         = data["{sky}"]
        local humidity    = data["{humid}"]
        local temperature = data["{tempc}"]

        return 'Location: ' .. city .. '\n' ..
               'Wind: ' .. wind_speed .. ', ' .. wind_speed .. '\n' ..
               'Sky: ' .. sky .. '\n' ..
               'Humidity: ' .. humidity .. '\n' ..
               'Temerature: ' .. temperature .. ', C\n'
    end, 1, "UUEE")

weatherLayout:add(weatherWidget)
weatherBox:set_widget(weatherLayout)
-- }}}