Summary: | x11-plugins/gkrellweather-2.0.7-r1 and -r2 does not work | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jouni Rinne <l33tmmx> |
Component: | Current packages | Assignee: | Jim Ramsay (lack) (RETIRED) <lack> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | desktop-dock |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Description
Jouni Rinne
2010-09-06 16:09:22 UTC
Created attachment 246274 [details]
emerge --info
This plugin works fine for me (-r2 version) with a couple different weather stations. Forecast is correct and has today's date. I'd like you to do 2 things for me, if you have time: 1) Upgrade to the -r1 version explicitly, and see if the bug hits you there. Then upgrade back up to -r2. I need to find out if the bug affects -r1 or -r1 or both. 2) When you have the broken plugin installed, take a look in ~/.wmWeatherReports (this is where the back-end data fetching utility puts the data it downloads off the web). You should see a .dat and .TXT file for each weather station you have tried to use. Check the dates on those files. Stop and restart gkrellm. See if the one you have configured is updated or not. Perhaps something there will suggest what's going on. As soon as I upgrade to -r1 and restart gkrellm, the .wmWeatherReports/*.dat and *.TXT stop updating; I've set gkrellm to update the file(s) every 15 mins, the weather station updates its output every half an hour. BUT, I noticed something I didn't notice earlier: the GrabWeather binary gets renamed and moved around between revisions. Here's the output of 'equery files gkrellweather' for every revision: * Contents of x11-plugins/gkrellweather-2.0.7: /usr /usr/bin /usr/bin/GrabWeather2 /usr/lib64 /usr/lib64/gkrellm2 /usr/lib64/gkrellm2/plugins /usr/lib64/gkrellm2/plugins/gkrellweather.so /usr/share /usr/share/doc /usr/share/doc/gkrellweather-2.0.7 /usr/share/doc/gkrellweather-2.0.7/ChangeLog.bz2 /usr/share/doc/gkrellweather-2.0.7/README.bz2 * Contents of x11-plugins/gkrellweather-2.0.7-r1: /usr /usr/bin /usr/bin/GrabWeather /usr/lib64 /usr/lib64/gkrellm2 /usr/lib64/gkrellm2/plugins /usr/lib64/gkrellm2/plugins/gkrellweather.so /usr/share /usr/share/doc /usr/share/doc/gkrellweather-2.0.7-r1 /usr/share/doc/gkrellweather-2.0.7-r1/ChangeLog.bz2 /usr/share/doc/gkrellweather-2.0.7-r1/README.bz2 * Contents of x11-plugins/gkrellweather-2.0.7-r2: /usr /usr/lib64 /usr/lib64/gkrellm2 /usr/lib64/gkrellm2/plugins /usr/lib64/gkrellm2/plugins/gkrellweather.so /usr/libexec /usr/libexec/gkrellweather /usr/libexec/gkrellweather/GrabWeather /usr/share /usr/share/doc /usr/share/doc/gkrellweather-2.0.7-r2 /usr/share/doc/gkrellweather-2.0.7-r2/ChangeLog.bz2 /usr/share/doc/gkrellweather-2.0.7-r2/README.bz2 Just got an idea while reading through my own comment :) I installed gkrellweather-2.0.7-r1 and renamed GrabWeather to GrabWeather2, and restarted gkrellm... It works! So the culprit must be the renamed/moved binary; the patches do something weird to it. Ok, I finally figured out what was wrong... Because the GrabWeather executable kept changing names and paths between revisions, I should have manually edited the path in ~/.gkrellm2/user-config after *every* update... To make sure everything went as it should I started afresh and stopped gkrellm, removed every reference to gkrellweather in ~/.gkrellm2/user-config and restarted gkrellm after upgrading gkrellweather to -r2. Needless to say it seems to work now :) I hope you don't continue to move around these files any more; at least you should then inform the users with elog or something. I think you could now safely mark this bug as 'fixed' :) (In reply to comment #5) > Ok, I finally figured out what was wrong... Because the GrabWeather executable > kept changing names and paths between revisions, I should have manually edited > the path in ~/.gkrellm2/user-config after *every* update... To make sure > everything went as it should I started afresh and stopped gkrellm, removed > every reference to gkrellweather in ~/.gkrellm2/user-config and restarted > gkrellm after upgrading gkrellweather to -r2. Needless to say it seems to work > now :) > > I hope you don't continue to move around these files any more; at least you > should then inform the users with elog or something. > > I think you could now safely mark this bug as 'fixed' :) Sorry for the late response, and also for the inconvenience of the issue in the first place. This was a one-time move to resolve a conflict with x11-misc/bbweather (Bug #333289), so it shan't happen again! |