New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yawn failing #22
Comments
This code works for me. Did you try to restart awesome (Mod + Ctrl + r)? You do not have internet connection immediately after boot, so you might have to restart the window manager at certain times. |
This code works for me too. Paste the output of
|
curl --connect-timeout 1 -fsm 1 'http://weather.yahooapis.com/forecastrss?u=c&w=12752509' produces nothing! yup I restart awesome when debugging these widget, pointless rebooting ;) |
if I re-run that command but increase the timeout to above 5 then I get some output BUT when I increase the timeout within init.lua for yawn then I still see N/A |
Since the output is an empty string, yawn interprets it as a bad connectivity or no network issue. Then this might not be a lain bug. Try:
|
Also, opening http://weather.yahooapis.com/forecastrss?u=c&w=12752509 in a browser does show the feed for Pretoria, right? |
yup that link has always worked, I used to use it in conky which is how I knew my code ;) IT WORKS :) must have been a timeout due to my being connected to a pfsense router using a usb 3g dongle for internet! [SOLVED] |
Ok, so this was definetly not a bug. FYI, this is not a forum, instead of editing posts with [SOLVED] tag, you have to close the issue. |
when I use mod+w it displays the message "service not available at this moment"
http://i.imgur.com/3mpryRs.jpg
here are the lines for this widget i use in rc.lua
-- Weather
weathericon = wibox.widget.imagebox(beautiful.widget_weather)
yawn = lain.widgets.yawn(12752509, {
settings = function()
widget:set_markup(markup("#eca4c4", forecast:lower() .. " @ " .. units .. "°C "))
end
})
right_layout:add(weathericon)
right_layout:add(yawn.widget)
The text was updated successfully, but these errors were encountered: