Xfce Forum

Sub domains
 

You are not logged in.

#1 2014-10-10 06:38:21

flowil
Member
Registered: 2014-10-10
Posts: 5

Weather Plugin states 'no data'

Hi!

Since Wednesday 2014-10-8 on a 64bit system and one day later on a 32bit system the weather plugin (xfce4-weather-plugin: 0.8.3-4) stopped getting data from met.no

Maybe a changed connection adress at met.no?

It's strange that the 64bit version (at work) stoped working one day before it does on a 32bit version (at home).

System is:
Manjaro release 0.8.10
Kernel 3.12.28
xfce: 4.11

Any Ideas?

Thanks - Flo

Offline

#2 2014-10-10 11:20:08

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Weather Plugin states 'no data'

met.no changed their API (see: https://bugzilla.xfce.org/show_bug.cgi?id=10916).

This was fixed in the Arch repositories in version 0.8.3-5 (see: https://projects.archlinux.org/svntogit … 9c193a9244).

Is your Manjaro up to date?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2014-10-10 14:43:36

flowil
Member
Registered: 2014-10-10
Posts: 5

Re: Weather Plugin states 'no data'

Thanks to the autoupdate (pamac?) function the system is up2date
latest available version for the weather-plugin is still  -4  (haven't checked AUR)     :-(

Thanks for the reply - I hope, the -5 Version will be in the repo soon


Flo

Offline

#4 2014-10-14 03:00:41

John_Jason_Jordan
Member
From: USA, left coast
Registered: 2011-11-13
Posts: 107

Re: Weather Plugin states 'no data'

flowil wrote:

Thanks for the reply - I hope, the -5 Version will be in the repo soon.

Xubuntu users are even worse off - on 14.04.1 the latest version is -1.


Linguistics on Linux!

Offline

#5 2014-10-14 06:21:52

PaperNick
Member
Registered: 2013-05-26
Posts: 107

Re: Weather Plugin states 'no data'

Yeah, I hate it when weather-plugin stops working. Last time I had to compile a new version in order to get it working.
I'm currently using ToZ’s weather script and it works perfect.

Thanks ToZ!

Last edited by PaperNick (2014-10-14 06:22:01)

Offline

#6 2014-10-14 11:41:25

Jerry3904
Member
Registered: 2013-11-09
Posts: 863

Re: Weather Plugin states 'no data'

For users in the Debian family, the Sid version of the plugin corrects the problem and installs (at least for us) on Stable.


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#7 2014-10-14 12:05:26

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Weather Plugin states 'no data'

Xubuntu users can also temporarily build the plugin from source quite easily:

0. Remove the plugin from the panel.

1. Uninstall the current plugin:

sudo apt-get remove xfce4-weather-plugin

2. Install the build-essentials:

sudo apt-get install build-essential git

3. Install the xfce4-weather-plugin build dependencies:

sudo apt-get build-dep xfce4-weather-plugin

4. Create a place to do the work:

mkdir ~/Development
cd ~/Development

5. Grab the source:

git clone git://git.xfce.org/panel-plugins/xfce4-weather-plugin
cd xfce4-weather-plugin

6. Configure, compile and install:

./autogen.sh --prefix=/usr --disable-static --disable-debug
make
sudo make install

7. Restart xfce4-panel:

xfce4-panel -r

8. Re-add the plugin to the panel and configure as required.

Note: Save the ~/Development/xfce4-weather-plugin directory. When the patched version of the plugin is made available in the ubuntu repositories, simply uninstall the compiled version:

cd ~/Development/xfce4-weather-plugin
sudo make uninstall

...and re-install the package from the repositories.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#8 2014-10-15 04:42:36

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: Weather Plugin states 'no data'

Downloading this .deb

http://launchpadlibrarian.net/186737755/xfce4-weather-plugin_0.8.3-2_amd64.deb

and then running it seems to have fixed the issue on a 64-bit Mint 17 XFCE laptop, so it would probably work on other distros that are based on Ubuntu 14.04.

When it initially quit updating, I entered the following into a terminal window:

sudo add-apt-repository ppa:atareao/atareao
sudo apt-get update
sudo apt-get install my-weather-indicator

Some folks might like that app better (or not). But the user can choose from four different weather services (es must get and activate the API keys for two of them before using those ones, but that is free and there are instructions on the 'Net), so it is more likely to remain functional without an update. It also has an optional onscreen "widget" (with several different styles) if the user wishes to enable it.

Regards,
MDM


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#9 2014-10-15 15:39:59

John_Jason_Jordan
Member
From: USA, left coast
Registered: 2011-11-13
Posts: 107

Re: Weather Plugin states 'no data'

MountainDewManiac wrote:

Downloading this .deb

http://launchpadlibrarian.net/186737755/xfce4-weather-plugin_0.8.3-2_amd64.deb

and then running it seems to have fixed the issue on a 64-bit Mint 17 XFCE laptop, so it would probably work on other distros that are based on Ubuntu 14.04.

Thanks!


Linguistics on Linux!

Offline

#10 2014-10-16 15:19:57

Londrioca
Member
Registered: 2014-10-16
Posts: 1

Re: Weather Plugin states 'no data'

Mint 17 64 bit
Installing v. 0.8.3-2 as per MountainDewManiac simply told me that was the version already installed so I tried installing My Weather Indicator & rebooted, whereupon xfce4-weather-plugin sprang back to life (don't ask me...)

Offline

#11 2014-10-16 22:13:19

Sideburns
Member
From: Trinidad, CO
Registered: 2011-03-30
Posts: 467
Website

Re: Weather Plugin states 'no data'

I've been using version 0.8.3 on Fedora 19, fully updated.  Sometimes right-clicking on it and selecting Refresh is all that's needed, other time I just have to wait, but it always gets new data sooner or later.


Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.

Offline

#12 2014-10-17 21:05:13

Sideburns
Member
From: Trinidad, CO
Registered: 2011-03-30
Posts: 467
Website

Re: Weather Plugin states 'no data'

My Weather Indicator may be the greatest thing since sliced bread, but it's only available for Debian-based distros, and I use Fedora.  There is a bug report at https://bugzilla.xfce.org/show_bug.cgi?id=10916 and I've just added a comment to it.  Maybe if enough of you add Me Too comments, the maintainers will be in more of a hurry to take care of it.


Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.

Offline

#13 2014-10-17 22:25:00

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: Weather Plugin states 'no data'

I was just mentioning an alternative that might work for some until their distro maintainer decides to add a newer/working version of xfce4-weather-plugin to their repositories. I am sorry that your distro does not allow you an easy way to install it in its packaged form. I suppose you could compile/package/? it yourself (I don't know how to turn the .tar.gz file into an .rpm one, but it appears to be written in Python). But then you might as well just compile the newer xfce4-weather-plugin, I guess.

I am starting to wonder another file is the culprit, since someone else (I thought I noticed the same thing, but figured it was a coincidence) above mentioned that when they installed my-weather-indicator, the other app started working again; maybe a library or shared/common file was updated).

Regards,
MDM


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#14 2014-10-17 22:59:06

Sideburns
Member
From: Trinidad, CO
Registered: 2011-03-30
Posts: 467
Website

Re: Weather Plugin states 'no data'

I'm not complaining about the fact that the plugin is only packaged for Debian, just pointing it out.  And, if we can get the weather-plugin updated, nobody will need it as a work-around.


Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.

Offline

#15 2014-10-18 00:26:04

John_Jason_Jordan
Member
From: USA, left coast
Registered: 2011-11-13
Posts: 107

Re: Weather Plugin states 'no data'

Sideburns wrote:

I'm not complaining about the fact that the plugin is only packaged for Debian, just pointing it out.  And, if we can get the weather-plugin updated, nobody will need it as a work-around.

Most Debian based distros come with alien, a command-line tool that will convert an .rpm to a .deb, the other way around as well. The last time I used it I found that it was still architecture-specific; that is, it can't convert a 32-bit .rpm to a 64-bit .deb. It's been a long time since I last used Fedora, but once I needed to convert a 64-bit .deb to a 64-bit .rpm and I was able to accomplish it using an Ubuntu live DVD. The few times I have used alien it has always worked perfectly.


Linguistics on Linux!

Offline

#16 2014-10-18 01:33:14

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: Weather Plugin states 'no data'

Sideburns wrote:

I'm not complaining about the fact that the plugin is only packaged for Debian, just pointing it out.  And, if we can get the weather-plugin updated, nobody will need it as a work-around.

xfce4-weather-plugin 0.8.3-2 is working great for me right now, I have seven days worth of information in the Forecast tab when I click on the app in my panel, and when I select Refresh it does so in less than two seconds.

Or did you mean updated in such a way that it doesn't stop working for us again in the future? If so, I'm pretty sure that the issue is with the data provider (perhaps changing its API? IDK) and I don't see how an app can be written to deal with such changes on-the-fly. That's the primary reason I'm leaving the weather app I mentioned on my computer - it is set up to use one of for different providers, which means that if one stops working with it I merely need to change a setting (and since I had to have one of those providers' API keys created for me when I registered, I would guess that it will remain usable).


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#17 2014-10-18 08:05:07

Sideburns
Member
From: Trinidad, CO
Registered: 2011-03-30
Posts: 467
Website

Re: Weather Plugin states 'no data'

I'm not expecting it to make those change on the fly; I'm hoping that whoever maintains it will be able to do what's needed to get it working again and put out a new version that works with the way the  data is now being sent out.

As far as alien goes, it's available for Fedora and it does work to change a .deb to a .rpm.  However, a .rpm is much more complex than a .deb (or so I've been told) and alien can't add things that aren't in the .deb and that's been known to cause problems.  I'd much rather avoid such things if I don't have to, and I can live with the plugin not working if I have to.


Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.

Offline

#18 2014-10-18 09:12:59

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: Weather Plugin states 'no data'

Again, it is working now.

screenshot-10182014-050407am.php

Regards,
MDM

Last edited by MountainDewManiac (2014-10-18 09:18:16)


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#19 2014-10-18 18:31:18

Sideburns
Member
From: Trinidad, CO
Registered: 2011-03-30
Posts: 467
Website

Re: Weather Plugin states 'no data'

There's a new version in Fedora Updates Testing.  I'll try it and see what happens.


Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.

Offline

#20 2014-10-18 21:01:52

Sideburns
Member
From: Trinidad, CO
Registered: 2011-03-30
Posts: 467
Website

Re: Weather Plugin states 'no data'

Good news for Fedora users: I updated the plugin (with --enablerepo=updates-testing on yum's command line) logged out and back in and It Just Works.  I've also given the update some positive karma, so it should be available to the less adventurous Real Soon Now.


Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.

Offline

#21 2014-10-25 08:58:26

seth
Member
Registered: 2014-10-25
Posts: 3

Re: Weather Plugin states 'no data'

ToZ wrote:

Xubuntu users can also temporarily build the plugin from source quite easily: [...]

great, thanks a lot!
it works! :-)

Offline

#22 2014-10-29 21:28:44

Fkabir
Member
Registered: 2014-10-29
Posts: 1

Re: Weather Plugin states 'no data'

xfce4-weather-plugin_0.8.3-2_i386.deb - For Wheezy from XFCE 4.10

Last edited by Fkabir (2014-10-29 21:29:17)

Offline

#23 2014-10-30 11:21:06

grizzler
Member
From: The Hague, NL
Registered: 2014-03-15
Posts: 13

Re: Weather Plugin states 'no data'

Actually, that's the one for Jessie/Testing. The one for Wheezy/Stable (0.8.3-2~bpo70+1) can be found here: https://packages.debian.org/wheezy-back … her-plugin

Offline

#24 2014-11-03 06:58:49

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: Weather Plugin states 'no data'

Just a heads-up. This is from the XFCE email list:

Harald Judt wrote:

xfce4-weather-plugin 0.8.4 is now available for download from

http://archive.xfce.org/src/panel-plugins/xfce4-weather-plugin/0.8/xfce4-weather-plugin-0.8.4.tar.bz2
http://archive.xfce.org/src/panel-plugins/xfce4-weather-plugin/0.8/xfce4-weather-plugin-0.8.4.tar.bz2.md5
http://archive.xfce.org/src/panel-plugins/xfce4-weather-plugin/0.8/xfce4-weather-plugin-0.8.4.tar.bz2.sha1
http://archive.xfce.org/src/panel-plugins/xfce4-weather-plugin/0.8/xfce4-weather-plugin-0.8.4.tar.bz2.sha256

What is xfce4-weather-plugin?
=============================

A weather plugin for the Xfce desktop environment

Website:

http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin

Release notes for 0.8.4
=======================
This release is a stable, bug-fix release, but it also contains a few
new features, see the detailed change log below. Note that 0.8 is now in
maintenance mode, which means no new features will be added, and it will
only receive bug fixes and API updates (as long as feasible and not
requiring a complete rewrite). A new version 0.9 will eventually appear,
similar to the existing plugin but with more exciting features and
improvements, using openweathermap as weather provider and gtk3, but
development has not even started yet.

Many thanks to Eric Koegel, Issa and Greg Dietsche for contributing
patches, to various people helping with testing and to the many people
spending a lot of work translating the plugin into your local language.

Enjoy!



Detailed release notes
======================
- Improve UI feedback when resetting weather data
- Show API deprecation warnings in the details tab of the summary
  window instead of the standard output
- Support upower-0.99 (bug #10922)
- Use locationforecastLTS-1.2 API (bug #10916)
- Add code to handle proxy authentication (bug #10820)
- Remove code dealing with laptop lid open/close (bug #10330)
- Show astrodata in forecast day header tooltip in summary window
- Fetch and cache astronomical data for multiple days
- Add a button for opening/creating the user icon themes directory in
  the config dialog
- Sort icon themes by path names (user themes are listed first)
- Correct spelling of precipitation (bug #9938)
- Context menu: Resolve mnemonic conflict for Refresh and Remove
  (bug #9911)
- Summary window: Fix clock not updating properly (bug #9933)
- Fix wind direction translation (bug #9895)
- Make using only a single row the default setting
- Better handle single row and icon size in various panel modes
- Fix text color not being remembered over restarts
- Build system cleanups and dependency bumps
- Many translation updates

Regards,
MDM


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#25 2014-11-30 17:36:54

3ruce
Member
Registered: 2011-12-26
Posts: 7

Re: Weather Plugin states 'no data'

ToZ wrote:

Xubuntu users can also temporarily build the plugin from source quite easily:

0. Remove the plugin from the panel.

1. Uninstall the current plugin:

sudo apt-get remove xfce4-weather-plugin

Note: Save the ~/Development/xfce4-weather-plugin directory. When the patched version of the plugin is made available in the ubuntu repositories, simply uninstall the compiled version:

cd ~/Development/xfce4-weather-plugin
sudo make uninstall

...and re-install the package from the repositories.

Worked for me - thank you.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 657.15 KiB (Peak: 689.99 KiB) ]