Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #226947 > unrolled thread

xfce4 widget problem

Started byghe2001 <ghe2001@pm.me>
First post2020-09-12 23:50 +0200
Last post2020-09-13 10:10 +0200
Articles 11 — 9 participants

Back to article view | Back to linux.debian.user


Contents

  xfce4 widget problem ghe2001 <ghe2001@pm.me> - 2020-09-12 23:50 +0200
    Re: xfce4 widget problem Charles Curley <charlescurley@charlescurley.com> - 2020-09-13 01:10 +0200
      Re: xfce4 widget problem ghe2001 <ghe2001@protonmail.com> - 2020-09-13 05:10 +0200
        Re: xfce4 widget problem Dan Ritter <dsr@randomstring.org> - 2020-09-13 15:30 +0200
        Re: xfce4 widget problem David Wright <deblis@lionunicorn.co.uk> - 2020-09-13 17:20 +0200
          Re: xfce4 widget problem David <bouncingcats@gmail.com> - 2020-09-13 17:40 +0200
        Re: xfce4 widget problem Cindy Sue Causey <butterflybytes@gmail.com> - 2020-09-13 18:30 +0200
          Re: xfce4 widget problem ghe2001 <ghe2001@protonmail.com> - 2020-09-13 21:00 +0200
            Re: xfce4 widget problem Ralph Katz <ralph@ralphkatz.com> - 2020-09-14 03:50 +0200
              Re: xfce4 widget problem ghe2001 <ghe2001@protonmail.com> - 2020-09-14 05:40 +0200
    Re: xfce4 widget problem l0f4r0@tuta.io - 2020-09-13 10:10 +0200

#226947 — xfce4 widget problem

Fromghe2001 <ghe2001@pm.me>
Date2020-09-12 23:50 +0200
Subjectxfce4 widget problem
Message-ID<AOlzb-5tW-7@gated-at.bofh.it>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Debian Buster, apt says everything's up to date


Did xfce4's Weather Report go away?

I have 2 computers running Debian/xfce4, and the WR widget says "? No Data" on both of them.

I've set it to several locations, and WR finds the locations just fine.  It just can't get the weather data.

I have 2 Internet connections (T1 and WiFi from the apartment building) and neither of them have troubles with the 'Net.  That I know of,

Neither computer has iptables (or any other ip*) filtering enabled.  The router on the T1 is pretty well packet filtered, but the WiFi isn't filtered much at all (according to IT).  And they both worked fine a couple weeks ago.

Does anyone know relevant IP(s) that I can verify aren't blocked somehow?  Any other thoughts?

--
Glenn English


-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wsBzBAEBCAAGBQJfXT0CACEJEObKK1bRaqt3FiEExEbtoeXBeE9fruv35sor
VtFqq3faHggAnfY8nq5A3RcmgZe6abZf8iAAntopKDzQZweX8FstCdUxkuaT
5srckUFrOqN1e2BUEl6Tf8FbHmVE/bxPc+1bP+16Z30/OKXO80iAD3sokiWm
2KsKTpSO9wUVLd5VkVqvh421W7EO1ayUbE01dqYuUUrs6w2M6mykQ4h/zb+s
MdZo5deZJCW7/InKtWp9usddFKhR9pKrFGOWybr4KGR35B7bvWwjGPmztV2p
2MPz7mY6NWeL3Cb1zqH5Fsaw73L7Xd9icXvK09dhT+ZeYsmFmM+SxaVyqWqG
GMak0zP/BsNytopPVfSubv0R99sM7gRd8I2SQ6YGWifTjoYkfPQf+w==
=GSvg
-----END PGP SIGNATURE-----

[toc] | [next] | [standalone]


#226951

FromCharles Curley <charlescurley@charlescurley.com>
Date2020-09-13 01:10 +0200
Message-ID<AOmOC-6oE-9@gated-at.bofh.it>
In reply to#226947

[Multipart message — attachments visible in raw view] — view raw

On Sat, 12 Sep 2020 21:26:27 +0000
ghe2001 <ghe2001@pm.me> wrote:

> I have 2 computers running Debian/xfce4, and the WR widget says "? No
> Data" on both of them.
> 
> I've set it to several locations, and WR finds the locations just
> fine.  It just can't get the weather data.

According to https://docs.xfce.org/panel-plugins/xfce4-weather-plugin,
the weather source (met.no) provides forecast data only, so when it
does deliver data, it is semi-bogus anyway.

Possibly the reason the applet is broken is that met.no has just
re-arranged their site, and the fix has not made it into Debian.
According to that page, it may be a while before that happens, so you
might look for another source of weather information.

(This is the reason you don't hard code web site information into an
application, and instead make it user configurable. Sigh.)

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

[toc] | [prev] | [next] | [standalone]


#226953

Fromghe2001 <ghe2001@protonmail.com>
Date2020-09-13 05:10 +0200
Message-ID<AOqyR-gJ-3@gated-at.bofh.it>
In reply to#226951
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Sorry not to have sent to the list.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, September 12, 2020 10:39 PM, Charles Curley charlescurley@charlescurley.com wrote:

> According tohttps://docs.xfce.org/panel-plugins/xfce4-weather-plugin,
> the weather source (met.no) provides forecast data only, so when it
> does deliver data, it is semi-bogus anyway.

Yeah, I've wondered how accurate it can be from Norway -- but it's (sometimes) close enough for government work. OTOH, I live in Boulder, Colorado, and one day last week it said it was sunny out. But it wasn't; it was snowing all day.

But that was after it stopped getting data (there was a week of forecast in RAM).

I buy your explanation. It clears up my total bewilderment. I'll keep that link, too :-)

I've looked for a better weather widget, but couldn't find one for xfce4. Anybody know of one? Maybe even one that gets data from the known working airport a couple miles from here?

Thanks.

--
Glenn English


-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wsBzBAEBCAAGBQJfXYt4ACEJEJ/XhjGCrIwyFiEELKJzD0JScCVjQA2Xn9eG
MYKsjDJ5AQf6AsbxZRmVjMRjhlwYWYmCi/pY7aqCy4UUrutYIre95PLEi73S
4yZeMdrI++hUso8bhKrXsJElser6XXp1INWnlTS/9QF++TJmbqy2Mj7Zv1HB
P1jWUE/OyglsLUroFX26C36BDoANZFlY/RpDTIMBAdhGag5dzmVj1cEQxiw5
rYCOJQO4OI5cQ3/mDxQqTKeY7Ey+b6ET6shW9i9LTBVEQ15s+iOEVPzcTFBC
nZueFLHSNS7juloZZ4uVTawkHW04anCBPd6+9Aei2pKYlAxWR9TiwH6TNT3e
2ceLj1QkHryZX7VyjOHYdP1qOSV3Zr1vZOpFqKfP7sv+5O56g4IOGA==
=WDIe
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#226961

FromDan Ritter <dsr@randomstring.org>
Date2020-09-13 15:30 +0200
Message-ID<AOAeR-5XY-1@gated-at.bofh.it>
In reply to#226953
ghe2001 wrote: 
> I buy your explanation. It clears up my total bewilderment. I'll keep that link, too :-)
> 
> I've looked for a better weather widget, but couldn't find one for xfce4. Anybody know of one? Maybe even one that gets data from the known working airport a couple miles from here?
> 

Odds are good you have a web browser open all the time.

Open a tab to
https://forecast.weather.gov/MapClick.php?lat=40.01574000000005&lon=-105.27923999999996

and refresh it when you want to know, or use a browser extension
to auto-refresh once an hour or so.

NWS provides the majority of weather information in the US;
other services just reinterpret it with their preferred biases.

-dsr-

[toc] | [prev] | [next] | [standalone]


#226962

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2020-09-13 17:20 +0200
Message-ID<AOBXk-71O-3@gated-at.bofh.it>
In reply to#226953
On Sun 13 Sep 2020 at 03:01:15 (+0000), ghe2001 wrote:
> On Saturday, September 12, 2020 10:39 PM, Charles Curley charlescurley@charlescurley.com wrote:
> 
> > According tohttps://docs.xfce.org/panel-plugins/xfce4-weather-plugin,
> > the weather source (met.no) provides forecast data only, so when it
> > does deliver data, it is semi-bogus anyway.
> 
> Yeah, I've wondered how accurate it can be from Norway -- but it's (sometimes) close enough for government work. OTOH, I live in Boulder, Colorado, and one day last week it said it was sunny out. But it wasn't; it was snowing all day.
> 
> But that was after it stopped getting data (there was a week of forecast in RAM).
> 
> I buy your explanation. It clears up my total bewilderment. I'll keep that link, too :-)
> 
> I've looked for a better weather widget, but couldn't find one for xfce4. Anybody know of one? Maybe even one that gets data from the known working airport a couple miles from here?

I don't know whether, living near or in mountains, Denver International
is close enough to be of any use to you:
http://www.weathercast.co.uk/world-weather/weather-stations/obsid/72565.html
but their site for Boulder Municipal looks very iffy, at least this
week's, and lacks pressure readings:
http://www.weathercast.co.uk/world-weather/weather-stations/obsid/2075059.html

I live four miles from our local airport and the biggest difference is
the rainfall amounts when these recent cloudbursts go by. I imagine
that your wind parameters might be more spacially variable than here
in the Flint Hills.

Does anyone know why sunshine recorders are so sparse in the US?
In fact, I'd say they're virtually unknown. In the UK, they're
scattered all over, eg it was seven miles to my local one at:
http://www.weathercast.co.uk/world-weather/weather-stations/obsid/3740.html

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#226966

FromDavid <bouncingcats@gmail.com>
Date2020-09-13 17:40 +0200
Message-ID<AOCgG-7i1-9@gated-at.bofh.it>
In reply to#226962
On Mon, 14 Sep 2020 at 01:14, David Wright <deblis@lionunicorn.co.uk> wrote:

> Does anyone know why sunshine recorders are so sparse in the US?
> In fact, I'd say they're virtually unknown. In the UK, they're
> scattered all over, eg it was seven miles to my local one at:
> http://www.weathercast.co.uk/world-weather/weather-stations/obsid/3740.html

Maybe sunshine's so rare in the UK that they need objective evidence?
;p

[toc] | [prev] | [next] | [standalone]


#226967

FromCindy Sue Causey <butterflybytes@gmail.com>
Date2020-09-13 18:30 +0200
Message-ID<AOD34-7N1-7@gated-at.bofh.it>
In reply to#226953
On 9/12/20, ghe2001 <ghe2001@protonmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Yeah, I've wondered how accurate it can be from Norway -- but it's
> (sometimes) close enough for government work. OTOH, I live in Boulder,
> Colorado, and one day last week it said it was sunny out. But it wasn't; it
> was snowing all day.


SNOWING?! COOL!


> I've looked for a better weather widget, but couldn't find one for xfce4.
> Anybody know of one? Maybe even one that gets data from the known working
> airport a couple miles from here?


Couldn't bring these words together yesterday.. I use "weather-util"
that operates from a terminal command line:

"Description-en: command-line tool to obtain weather conditions and forecasts
 This utility is intended to provide quick access to current weather conditions
 and forecasts. Presently, it is capable of providing data for localities
 throughout the United States of America and some select locations globally by
 retrieving and processing METAR data from the National Oceanic and Atmospheric
 Administration and forecasts from the National Weather Service."

I've been using it several years now. The data changes as fast as NOAA
does. One drawback is that it's not 100% universal, BUT I did once
track the weather in a very obscure, uninhabited island out in the
Pacific Ocean. Pretty wild..

To get the party started after installation, you type in "weather
--info" plus city name or zip code. There may be other ways, too. I've
only used city name until JUST NOW.

MUCH shorter code to remember if you go the zip code route! As
example, I've been typing in "weather -f fips1375272" for years. TODAY
I learned you can get similar with "weather -f gaz013". Wandering
around the Internet, I've seen those "FIPS" codes used by DFCS. The
weather-util package is referencing "ZCTA" and Census for the zip
code.

Also new to me today is that you can create aliases that you can name
"home" or "work" or whatever you want. That's a very cognitively
friendly option. The details are in "man weather" if that's of
interest. I'm not sure, but it might still more research beyond that
to nail the right declarations.

In "man weather", the command is "weather home work" where you can get
both at the same time and in that specific order. Listed just below
that is an example where you can ALSO type in "weather <latitude>
<longitude>".

Lastly and regarding airports, a nearby airport is returned as one of
two options for each zip code I've searched for so far in my tiny town
area.

For fun, I just sought out Gilmer County Airport's (Georgia) code:
49A. Weather-util's query said that "k49a" is one query option I could
use for nearby forecasts. As a quick test, it also just successfully
reported back data when I winged it by typing in "kcni" for Canton,
Georgia, on the other side of me here.

It matters what you pick because I just got back two forecasts for
locations that *I* can walk to. One says "partly cloudy" with winds
steady at 6MPH while the other is "mostly cloudy" with winds gusting
to 16MPH.

Afterthought: Throwing in that "-f" flag gets you the forecast, too.
Using "--no-cache" might be of interest for anyone who does a lot of
playing with viewing forecasts around the World.

Hope this helps.. SOMEONE! I LOVE its command line simplicity AND the
story behind it. Its creator made it for his girlfriend who wanted
something simple for watching the weather. Sweet.. :)

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with birdseed *

[toc] | [prev] | [next] | [standalone]


#226969

Fromghe2001 <ghe2001@protonmail.com>
Date2020-09-13 21:00 +0200
Message-ID<AOFod-Bb-5@gated-at.bofh.it>
In reply to#226967
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


> To get the party started after installation, you type in "weather
> --info" plus city name or zip code. There may be other ways, too. I've
> only used city name until JUST NOW.

That sounds like a reasonable solution -- tried it.  Nice -- it answers to either weather and weather-util.  My ZIP is 30303 (Boulder, CO):

"ghe@sbox:~$ weather --info 30303
Searching via ZCTA...
Census ZCTA (ZIP code) 30303
----------------------------
katl: Hartsfield-Jackson Atlanta, GA, United States
   (proximity good, 12.2km, 7.56mi)
gaz045: DeKalb, GA
   (proximity good, 15.3km, 9.49mi)"

I tried a couple other Boulder ZIP codes, and they didn't exist.

With Boulder CO or  just Boulder:

"ghe@sbox:~$ weather --info boulder
Searching via name...
Your search is too ambiguous, returning 22 matches.:

fips worked, though:

"ghe@sbox:~$ weather --info  fips08013
Searching via FIPS...
Census Place fips08013, Boulder County, CO
------------------------------------------
kbdu: Boulder Muni, Co, US
   (proximity good, 16km, 9.94mi)
coz039: Boulder And Jefferson Counties Below 6000 Feet/West Broomfield County, CO
   (proximity suspect, 25.4km, 15.8mi)"

Thanks, Cindy.  It looks like it's getting data from the Boulder airport --  its data feels a lot more like what I see out my window.

It's not a GUI widget, but it acts a lot better than the broken one from Norway.  Couple shell aliases might be in order, I think...

--
Glenn English


-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wsBzBAEBCAAGBQJfXmnGACEJEJ/XhjGCrIwyFiEELKJzD0JScCVjQA2Xn9eG
MYKsjDKSbQf9GJQA/jXCrcAS4WVOtqj3WHr5kSzO5SENE5BcDssQHVW0cbv3
9q6bMCDWXZV623hnK1FC7CxxV0JY636oz6r4iOTJNBljN+4EOxqWz9LgHeMB
LbqDWE7GfSgfWQ48gdyAfK9aP/xT6H1fng+MDcnC9/xEBCryjAFBVLNP4oF5
p2Hxj0RVMGaIm3Sn+DUiRkovG4WhHboULwYFAv27BWxpYsQTs3eVw/M98VeC
Y1m/mPgivW2JI5x8HaA4to7EVI8TbXHQODjhMil9BtBrAwGNuD+VbN8rupD+
Q/Zdn0oFJkjK7avtnk2xYb3EBKxnDEyNKy140UwfpY9r+ylqEZNCCQ==
=8QaE
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#226972

FromRalph Katz <ralph@ralphkatz.com>
Date2020-09-14 03:50 +0200
Message-ID<AOLMZ-4u5-1@gated-at.bofh.it>
In reply to#226969
On 9/13/20 12:49 PM, ghe2001 wrote:
[snip]
> That sounds like a reasonable solution -- tried it.  Nice -- it answers to either weather and weather-util.  My ZIP is 30303 (Boulder, CO):
[snip]

> I tried a couple other Boulder ZIP codes, and they didn't exist.
> 
[snip]
> --
> Glenn English


Hi neighbor!  I've been in Denver now for 3 yrs.  As you well know, the
weather here can vary greatly by neighborhood.  I like weather
underground on the recommendation of a local native.  Here's the link
for Boulder, and scroll down the page to Nearby Weather Stations for 33
more localized reporting stations near or in Boulder:

https://www.wunderground.com/weather/us/co/boulder

Regards,
Ralph

[toc] | [prev] | [next] | [standalone]


#226974

Fromghe2001 <ghe2001@protonmail.com>
Date2020-09-14 05:40 +0200
Message-ID<AONvr-5D5-1@gated-at.bofh.it>
In reply to#226972
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256



‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, September 14, 2020 1:43 AM, Ralph Katz <ralph@ralphkatz.com> wrote:

> Hi neighbor!

Hi, Ralph!

> I've been in Denver now for 3 yrs. As you well know, the
> weather here can vary greatly by neighborhood. I like weather
> underground on the recommendation of a local native.

I do too; I've used WU in the past.  But Cindy Sue told me about a program that gets its data from the Boulder airport -- I got it to work (after I got my ZIP code right).  It's CLI, but I'm working on getting it into the xfce menu system to make it a GUI panel widget.  I have xfce's terminal up 24/7, so I think it's going to do just what I was looking for.

I've been in Boulder for 20 or 30 years, and I know what you mean about the 'interesting' weather!

Thanks for the suggestion...

--
Glenn English
-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wsBzBAEBCAAGBQJfXuPFACEJEJ/XhjGCrIwyFiEELKJzD0JScCVjQA2Xn9eG
MYKsjDLjvAf/TqU8vBwl25FCMplGjDiA48aWgqj+8hrg81WXyK3vjPoAgYie
8cLq3gxq/t2TGtVroHwJOYT8DRH8rx4ttWioURdBRCh2v50/nBtxTLYe0paQ
Ee0fJrV3acbToYzoCoO/LdUIPDlHNYzVwcJqCjwCXXH1YmLLy3i2bWxKgLgx
+A1g7NBBLBnj749ik4W+V7YQU4x2uoOIEX16KXdA4JUjAtPFuQAAtPYG6oUz
NKyPCTuZHdGMT1sVuIBAxv3B+j1OytdJu/cAtQuXaEJ+1HFc7CxUf29Ej/rP
lPe4TzxWi+YeeK0LQFTmhJdC7bCdv7G9hUQTQVUGlRXoS7FQ3xXMwQ==
=rKTW
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#226955

Froml0f4r0@tuta.io
Date2020-09-13 10:10 +0200
Message-ID<AOvfb-34Y-1@gated-at.bofh.it>
In reply to#226947
Hi,

Same issue from my side.
A bug report is already ongoing with XFCE [1].
There seems to be some API issues according to Debian BTS [2].

Best regards,
l0f4r0

[1] https://gitlab.xfce.org/panel-plugins/xfce4-weather-plugin/-/issues/27
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925561

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web