Launchpad has imported 23 comments from the remote bug at
https://bugzilla.xfce.org/show_bug.cgi?id=10916.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2014-05-28T03:16:54+00:00 Frank McCormick wrote:


Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/0

------------------------------------------------------------------------
On 2014-05-28T03:18:58+00:00 Frank McCormick wrote:

(wrapper:23148): weather-WARNING **: Met.no LocationforecastLTS API states that 
this version of the webservice is deprecated, and the plugin needs to be 
adapted to use a newer version, or it will stop working within a few month. 
Please file a bug on https://bugzilla.xfce.org if no one else has done so yet.
weather-Message: getting 
http://api.yr.no/weatherapi/locationforecastlts/1.1/?lat=45.500000;lon=-73.583298;msl=82

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/1

------------------------------------------------------------------------
On 2014-05-28T12:35:09+00:00 Guy wrote:

The same here on xubuntu 12.04 LTS seens 3 days.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/2

------------------------------------------------------------------------
On 2014-05-28T12:47:44+00:00 Harald Judt wrote:

Thanks for reporting. If I haven't missed anything, a patch will be
quite trivial, as there are not many API changes. Probably simply
changing the URL will suffice. I'll try and test soon.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/3

------------------------------------------------------------------------
On 2014-05-28T13:01:52+00:00 Guy wrote:

Thanks Harald,

I think too that's only a url problem. Let us know...

Cheers.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/4

------------------------------------------------------------------------
On 2014-05-28T18:51:42+00:00 Harald Judt wrote:

Simply using the new URL will not help.

The updated API version uses CamelCase symbol names instead of UPPERCASE
ones and has added some new names (like 'Drizzle'), which unfortunately
have not been documented (yet?).

What's more, the typo 'celcius' has been replaced by the fixed 'celsius',
which has not been documented too, but luckily the plugin will not be affected 
by that change.

Making symbol names uppercase is trivial, and very probably I can map
the new symbol names to existing ones so they can be represented by
existing icon themes. I have contacted met.no for more information so I
can work on those patches.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/5

------------------------------------------------------------------------
On 2014-06-03T18:30:30+00:00 Harald Judt wrote:

Created attachment 5509
make-plugin-ready-for-met.no-locationforecast-1.2-API.patch

I have not received any replies from met.no yet, and though not much
time has passed, I'm not very convinced I will. Nevertheless, I have
created patches to deal with this problem, it would be great if someone
could try them and verify that the results look sane.

The first one prepares the plugin for the new API 1.2, but still uses
the old version 1.1. After applying this patch, you should see no
differences to an unpatched plugin.

The second patch then switches to the new API 1.2. If you do an
immediate comparison, you will probably notice differences in the
forecasts, because the new API seems to produce different results than
1.1. If not, you will at least find that the WARNING no longer appears.

While I have tried to match the symbols as good as possible and these
patches should keep the 0.8.3 plugin going for some while longer, I have
decided to switch to openweathermap for the next feature release.
Openweathermap has many benefits, many other clients use it and it has
good documentation, especially in comparison to met.no.

At the moment, it is not advised to compile and use current git because
there are problems with the update code, noticeable in sunrise/sunset
values after 24 hours usage, though there should be no other issues and
no crashes. I'm not sure if I will ever fix this, since I'll have to
throw away code for openweathermap. Maybe I'll release a stable 0.8.4
(basically 0.8.3 with bug fixes but without new features) if I get to it
before working on the provider switch, but I can't promise that.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/6

------------------------------------------------------------------------
On 2014-06-03T18:31:57+00:00 Harald Judt wrote:

Created attachment 5510
switch-to-met.no-locationforecastlts-1.2-api.patch

Only usable after applying patch #5509.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/7

------------------------------------------------------------------------
On 2014-06-04T05:41:16+00:00 Guy wrote:

Thank you Harald for your work and patches. I would like to try them but
I don't know how to patch them. If you could explain it shortly I will
do it.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/8

------------------------------------------------------------------------
On 2014-06-04T18:34:18+00:00 Harald Judt wrote:

In short, you would have to build the plugin yourself, applying the
patches before compiling. I won't have time to help you with this, but
if you're interested you can find instructions in the README. However,
if you haven't done this before, you will probably need to seek help
elsewhere.

Meanwhile I have got an answer from met.no. They have documented the new
symbols on another of their many web pages, so I will create a new, more
complete patch soon, making attachment #5509 obsolete. They have also
told me they will fix the other issues that they haven't been aware of
until now.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/9

------------------------------------------------------------------------
On 2014-06-09T17:50:22+00:00 Harald Judt wrote:

Updated patch pushed to git. The previous patch was almost complete.
Please use these patches instead of the ones attached here:

http://git.xfce.org/panel-plugins/xfce4-weather-plugin/commit/?id=1ff71669644a0b824a8a5ba9b40771ee4fb8a76b
http://git.xfce.org/panel-plugins/xfce4-weather-plugin/commit/?id=7df303bc5fa649299e18efeb5d4b801614030488

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/10

------------------------------------------------------------------------
On 2014-06-09T17:51:05+00:00 Harald Judt wrote:

Leaving this bug report open until a new version has been released.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/11

------------------------------------------------------------------------
On 2014-06-11T06:40:55+00:00 Guy wrote:

Created attachment 5525
Screenshot

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/12

------------------------------------------------------------------------
On 2014-06-11T06:48:24+00:00 Guy wrote:

Comment on attachment 5525
Screenshot

Does it mean that you will do an 8.4 version ?

I take the opportunity to say that the forecasts window doesn't enlarge
enough to see all the informations (font), the size is 14 here.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/13

------------------------------------------------------------------------
On 2014-06-11T08:58:36+00:00 Harald Judt wrote:

gu...@bluewin.ch: Please do not hijack bug reports.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/14

------------------------------------------------------------------------
On 2014-07-01T15:32:08+00:00 Mikejani wrote:

(In reply to Harald Judt from comment #6)
> it would be great if someone could try them and verify that
> the results look sane.

Harald, I built the 0.8.3 source from http://archive.xfce.org/src/panel-
plugins/xfce4-weather-plugin/0.8/ with the two patches you supplied for
the 1.2 API.  Both patches applied successfully, however the patches
were all offset by quite a few lines.

I've been using the newly built plugin for several days now and have
noticed no adverse behavior.  The prior warnings about met.no versions
are gone and all features appear to be working properly.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/15

------------------------------------------------------------------------
On 2014-10-05T11:10:09+00:00 Sean Davis wrote:

I can also verify that these patches work as expected.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/16

------------------------------------------------------------------------
On 2014-10-09T17:07:03+00:00 Evangelos Foutras wrote:

Just noting that the old API version was disabled a couple of days ago
so a new release would be great.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/17

------------------------------------------------------------------------
On 2014-10-10T19:20:58+00:00 GVS wrote:

One can download the 0.8.3-2 version deb or rpm file from:

http://pkgs.org/download/xfce4-weather-plugin

It works fine on 14.04 of Xubuntu, which is all I have tried it on.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/18

------------------------------------------------------------------------
On 2014-10-12T15:41:39+00:00 John Thompson wrote:

Is there a patched source tarball available someplace? The binary
packages for 0.8.3.2 have unresolved dependencies on my Ubuntu-12.0.4
and Centos-6.3 machines.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/19

------------------------------------------------------------------------
On 2014-10-13T12:58:50+00:00 stefano wrote:

@JohnThompson

You can download the latest source codewith this command on terminal:

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

then

cd xfce4-weather-plugin

sh autogen.sh

Even if it says to type 'make', I suggest to type:

./configure --prefix=/usr

bacause its default prefix is /usr/local. If your XFCE installation is 
in /usr/local dont' need to run configure

I compiled it today 2014-10-13 on Salckware 14.1 because it stopped to
work (no data error).

Now it works again. Thanks developers for patching it.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/20

------------------------------------------------------------------------
On 2014-10-13T15:55:54+00:00 John Thompson wrote:

Thanks... I found a src.rpm on the Fedora "Koji" site, used rpmbuild to
patch the source tree and build my Centos rpm, then "make distclean" to
clean out the binaries from the patched source tree, tarred up the
patched sources and copied to my Ubuntu machine. Then "./configure
--prefix=/usr" and "checkinstall -D" to build a Debian package.
Installed the new package and all is well again...

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/21

------------------------------------------------------------------------
On 2014-10-13T19:36:22+00:00 Harald Judt wrote:

Please beware that the current git version still has a bug in the update
routine, I've already mentioned that above. Nothing too bad, it won't
make anything crash, but the sunrise/sunset dates and therefore night
time status will not be updated correctly (which you might only notice
after a day, and then probably not every time). Refreshing the data
manually via the context menu or a middle-click on the panel widget
might solve this too.

I've only noticed a few moments ago there have already been a lot of
changes since 0.8.3. I'm currently investigating into this bug, but
debugging and testing takes time due to the nature of the bug. I'm not
sure I will find a clean solution quickly, but if I can work around my
bad design of the update routine, then I'll do a dirty fix and release
0.8.4. Could take a week, or maybe even a month, depending on what other
stuff steals my time...

BTW: If you look at the README and the goodies homepage, you'll find
detailed instructions on how to download the source and build the
plugin. You can simply apply the two patches from this bug report on
0.8.3, and this way you won't have to care about the update bug at all.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-weather-
plugin/+bug/1382532/comments/22


** Changed in: xfce4-weather-plugin
       Status: Unknown => Confirmed

** Changed in: xfce4-weather-plugin
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1382532

Title:
  SRU api used by xfce4-weather-applet has changed

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfce4-weather-plugin/+bug/1382532/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to