pWidgets 2.5.8

Window managers, icon programs, widgets, etc.
Message
Author
User avatar
davids45
Posts: 1326
Joined: Sun 26 Nov 2006, 23:33
Location: Chatswood, NSW

There's no weather today here too

#3166 Post by davids45 »

G'day Moat,

I have been widget weather forecastless as well, from yesterday I think.

This morning, I went as far as checking the original yahoo address in a browser but it was unresponsive. Definitely not a 'Good' Friday.

So I found yahoo weather for Chatswood on the yahoo.com.au site

https://weather.yahoo.com.au/local-fore ... /chatswood

and being an optimist, copied that address over the original in the weather widget, but nothing resulted.

Is there another less troublesome weather agency that could be used for a detailed weather widget? The original basic weather widget is still OK but I miss the extra information and prognostication of the Forecast widget.

David S.

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

Re: There's no weather today here too

#3167 Post by Moat »

Hi David -
davids45 wrote:Is there another less troublesome weather agency that could be used for a detailed weather widget?
I've been wondering the same thing myself. On my Windows machines, I run the desktop widget app Xwidgets, which AFAICT uses Accuweather.com for weather information. For me, it has reported faithfully for years without a hitch.

I do have to wonder how difficult it might be to modify our existing Pwidgets configs to work with a new information source. I'm guessing it will take some rather serious work... :?

It seems no one can leave well enough alone these days. :x

Ziggy, Mick... help! :) :oops:

Bob
Last edited by Moat on Fri 25 Mar 2016, 02:00, edited 1 time in total.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#3168 Post by musher0 »

Hi Moat.

I can confirm that vovchick's yweather is not responding properly today. I did get a
couple of forecasts during the day, forcing it with a restart of xwin. However after the
last forecast I got late this afternoon (Ottawa time), the app froze badly.

Maybe try a general weather site, like weather.com or accuweather.com until we really
know what's going on with yweather? Maybe it's just a glitch, or a database update.
(Since they carry weather data from everywhere in the world, that DB must be huge.)

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#3169 Post by Moat »

Bonsoir, musher0 -
musher0 wrote:However after the
last forecast I got late this afternoon (Ottawa time), the app froze badly.
Yup - it was right around that same time period (late this afternoon, Eastern time in Michigan) when I noticed the Pwidget failed in reporting, after working fine earlier. And then at that point, launching Yweather, it failed (and crashed a few minutes later) also.

The scary thing was the authorization error reported in the Pwidgets temp weather file - and in Googling that specific error, led me to the (very recent) Yahoo info linked to earlier. Doesn't look good. No specific mention there of rss feeds, though - which is where Pwidgets scripts snatch their weather info from. So who knows... it may indeed be a temporary glitch while Yahoo sorts out this authentication/secret crap.

But I'm not holding my breath. Grrr...

Thanks for the reports, fellas.

[edit] Looking closer, I was wrong - it indeed appears the standard rss feeds are affected by this change after all. Grrrrr.... :cry:

Bob

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

#3170 Post by tlchost »

weather underground still offers forecast and free keys.
I use it in a script in the #puppylinux channel on freenode

Most puppies have a link to the channel...if you care to, log in and type
!w or !w help

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#3171 Post by Moat »

Still broken today, throwing the same "Please provide valid credentials. OAuth oauth_problem".

More people reporting the issue - https://www.reddit.com/r/jailbreak/comm ... e_if_your/

I don't get it - just what in Pete's name are they thinking? Potentially breaking millions of users' weather reporting apps, worldwide.

:?

Bob

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#3172 Post by Moat »

Found a simple fix for the Yahoo weather issue, from this post in the Rainmeter forums -

https://forum.rainmeter.net/viewtopic.p ... 17#p121417

Simply replace the existing config's Yahoo URL...

Code: Select all

http://weather.yahooapis.com


... with this -

Code: Select all

http://xml.weather.yahoo.com


For how long this "new" URL will continue to function, who knows. But it's working dandy here, so far. YaY! :)

Bob

User avatar
davids45
Posts: 1326
Joined: Sun 26 Nov 2006, 23:33
Location: Chatswood, NSW

New yahoo weather link

#3173 Post by davids45 »

G'day Moat,

Thanks for finding the fix for our Weather-Forecast widget yahoo source.

It works for here (Sydney (not the one in Canada), temperatures in Celsius) in my browser.

But not yet in my widget - I'd probably fiddled with it too much and will need to start again from scratch :oops: .

Hoping Yahoo don't decide to stop this feed before I get the widget fixed :roll: .

Fixed - I needed to paste the new URL in the (unused by me) Weather_Station widget config - I'd pasted the link in the Weather_Station_Forecast config (which I use) but it called the URL from the Weather_Station widget (ignoring the URL line in its own config file?). Probably something I've broken during playing around.


David S.

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

#3174 Post by tlchost »

odd.....
this url gives me what I want for weather
http://xml.weather.yahoo.com/forecastrss?w=12766523&u=f
but
when used in the weather station configuration file, it doesn't return
any values

Any hints/ideas ?

thanks

Mayou

nobody cares of my trouble with pwidgets.

#3175 Post by Mayou »

nobody cares of my trouble with pwidgets :?: not US, women... I go away, where sun is shining, where pWidgets is not frozen as in United states of America.

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#3176 Post by Moat »

tlchost wrote:Any hints/ideas ?
My guess is that line 16 of the Weather_Stationfunc plugin has to be changed to reflect the new URL (for Weather_Station, that would be /usr/local/pwidgets/widgets/plugins/Weather_Station/Weather_Stationfunc) - otherwise it might be overwriting the config's new URL with the bad, old URL if being invoked via the Pwidgets GUI.

Just a guess. I plan on digging into these issues if I get some time this week. Looks like all of the Yahoo weather widgets/plugins will need to be tweaked.

Bob

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#3177 Post by Moat »

Hey musher0 -
musher0 wrote:I can confirm that vovchick's yweather is not responding properly today.
In case you're interested, I more-or-less repaired vovchik's Yweather, using this newly-discovered, working Yahoo URL - http://www.murga-linux.com/puppy/viewto ... 431#896431

I'm sure you could do a better job at compiling it, but hey - it works, and it's really not that big anyway. FWIW! :)

Bob

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

#3178 Post by tlchost »

Moat wrote:
In case you're interested, I more-or-less repaired vovchik's Yweather, using this newly-discovered, working Yahoo URL - http://www.murga-linux.com/puppy/viewto ... 431#896431
any luck with pwidgets weather ?

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#3179 Post by Moat »

Hi tlchost -

After applying the URL tweaks I mentioned in a few posts above - to both the Pwidgets' config and especially Weather_Stationfunc plugin - unload/re-load the widget via Pwidgets GUI and in the location popup window enter USMD0018 for Baltimore (from this website - https://weather.codes/united-states-of- ... /maryland/ )

IOW - USMD0018 is the location code you want.

See if that works. It does here (is it really mid 70's there today?).

Actually (and optionally), the Weather_Stationfunc plugin's location parameter forecastrss?p has been deprecated, and could be changed to forecastrss?w instead - in which case your original WOEID of 12766523 should likely work.

Aack... more tail-chasing, never-ending stuff to fix... :?

Bob

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

#3180 Post by tlchost »

[quote="Moat"
IOW - USMD0018 is the location code you want.

See if that works. It does here (is it really mid 70's there today?).

Actually (and optionally), the Weather_Stationfunc plugin's location parameter forecastrss?p has been deprecated, and could be changed to forecastrss?w instead - in which case your original WOEID of 12766523 should likely work.[/quote]

Thanks...works now...and yes, it's 74 and we're having a thunder storm.
BTW, USMD0020 is the weather station 1/2 mile from me.

Hopefully the changes will be incorporated in the next release of pwidgets

User avatar
davids45
Posts: 1326
Joined: Sun 26 Nov 2006, 23:33
Location: Chatswood, NSW

Yahoo weather gone again?

#3181 Post by davids45 »

G'day,

My recently modified Weather-Station-Forecast widget has just gone weatherless again.
Is this more Yahoo "activity behind their scenes"?

David S.

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#3182 Post by Moat »

Hi David,

I'm experiencing the same here, with /root/.pwidgets/tmp/wever-tmp reporting "Could not connect to the requested server host". :cry:

Fingers crossed, and hoping it's just a temporary server glitch. Googling about in search of any recent news regarding these servers being inaccessible is exposing nothing definitive, nothing pointing at Yahoo dropping this service or the like - or even the servers being "down" ATM.

So - hopefully just a temporary glitch! We'll see over the next few hours/days, eh...:?:

Bob

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#3183 Post by Moat »

Yeah, screw it - Yahoo indeed appears to be history in regards to our Pwidget's weather scripts. Bah! :? Vovchik's Yweather, too.

I managed to get a really nice weather conky (9 day forecast!) adjusted and working in Pwidgets on my Precise Pup... but it's a heavily-tweaked Pup, per this thread of Battleshooter's (running conky-all v1.8.1, Lua, and feh as the desktop wallpaper "placeholder" instead of the Rox pinboard);

http://www.murga-linux.com/puppy/viewtopic.php?t=72815

I attached the .pet below, but I couldn't get it to function/display properly on an OOTB Puppy w/Pwidgets, without at least the above (newer conky-all, feh, Lua) tweaks - but tinker away, if anybody wants - you might have better luck than I getting it to work on Puppy's default Roxdesktop.

Uses Accuweather, and is 99.8% based on the great work of TeoBigusGeekus and Sector11 over at the bunsenlabs forum;

https://forums.bunsenlabs.org/viewtopic.php?id=189

Lovin' it, here! :)

Bob
Attachments
Glassycast.jpg
Running on my modified Precise 5.7.1 retro (Chloe Pup)
(25.19 KiB) Downloaded 1181 times
Glassycast.pet
Worth tinkerin' with...
(99.11 KiB) Downloaded 597 times

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#3184 Post by Moat »

Oh yeah... here's my fat-but-happy Chloe Precise pup, if anybody wants to see the weather conky in action directly (as well as have a great, polished, complete and up-to-date pup to try out);

https://dl.dropboxusercontent.com/u/209 ... up_R27.iso

330-ish Mb. MD5sum - a0a24a8e885883dc9b2ff9c6c11ae70c

Notes - Enabling the Glassycast weather via Pwidget's Plugins>Cluster selection after network connection is established, works best. Also, use only Frisbee from the tray to connect - I cannot get SNS or Dougal's to work on this pup.

Bob

User avatar
solo
Posts: 389
Joined: Thu 14 Nov 2013, 20:33

#3185 Post by solo »

I'm not running a weather forecast widget in Conky myself, but I did see an alternative method to Yahoo at this link:

http://conky.pitstop.free.fr/wiki/index ... r_%28en%29

It uses https://www.wunderground.com/

So perhaps this might be a reliable alternative.

Post Reply