Please add your comments to
WeatherPlugin here. Flames, gifts, patches - everything.
--
AndreBonhote - 01 Nov 2004
I have not tried it out, but nice idea.
Small suggestion: Perform and document the
TWiki:Plugins/Benchmark
for this Plugin.
--
PeterThoeny - 06 Nov 2004
Any volunteers for the benchmarking?
--
AndreBonhote - 09 Nov 2004
Finally got it to work with SVN 4654. Maybe plugins will be handled differently in Dakar, or maybe it's my installation of mod_perl... I needed to declare:
$TWiki::cfg{Plugins}{WeatherPlugin}{Enabled} = 1;
in
LocalSite.cfg to get it to work.
--
BillSkellenger - 16 Jul 2005
Not sure, but it sounds like there is an issue with the
DakarRelease code.
--
PeterThoeny - 16 Jul 2005
Peter: Might be. I'm trying to get it to work on a machine at work with an earlier SVN version, and it seems to have the same issue. (figured it out at home and will try the same fix at work)
My thought was that because mod_perl allegedly pre-compiles perl scripts and holds them in memory, maybe it has no chance to see the newly-installed plugins?
Plugin users: There are no weather icons included wth this package, although it expects to find them in /images/whatever/... If anyone is looking for some nice icons, you'll find some
here
. I've enhanced this by adding a few more configurables (metric/english units, some more data displayed, etc.) as well as a configurable to choose an icon "theme". You unzip some icons from the above link into (some directories need to be created):
twiki/pub/TWiki/WeatherPlugin/images/icons/
and the new configuration option lets you just type in the iconset that you want. I am installing SVK at the moment, will post a patch soon...
--
BillSkellenger - 17 Jul 2005
Bill, if you had run
configure it should have found the plugin and offered the enable switch to you then. Did it fail to do so? Or did you just short-cut that step?
DakarRelease does not auto-discover plugins at runtime - they have to be found using
configure and enabled through that interface. This is an optimisation (and a necessary performance trade-off) in the plugins start-up process. But once the plugin is found once, it should be found for all time.
--
CrawfordCurrie - 17 Jul 2005
CC: Thanks much... I did run configure several times per our other discussion. I just removed my switch, restarted Apache, and checked configure again... I found that it did discover the plugin, however:
- all plugins are double-listed (posting screenshot here, can be moved if this behavior is correct/incorrect)
- after clicking (both?) options for WeatherPlugin and selecting Next, it bombs with the following error:
Insecure dependency in eval while running setgid at /var/www/localhost/htdocs/twiki/bin/configure line 1147.
Which is perhaps the reason why I couldn't get it up and running...
Is there a plan to update the documentation for Dakar-specific changes? I would be glad to help with a few of these items...
--
BillSkellenger - 17 Jul 2005
added
.zip to
CVS
--
WillNorris - 19 Jul 2005
WeatherPlugin.pm: I made a few changes so that the plugin would display forecasts as well. I currently am retrieving 2 days of forecasts. I removed the icon line since it wasn't working for me; sorry, I should have left that in for you.
--
DaleFrancum - 21 May 2006
Thanks Dale. This Plugin has a
PleaseFeelFreeToModify policy, please feel free to update the Plugin topic and attach an updated zip to it.
Please consider upgrading this Plugin so that it runs on Cairo
and Dakar codebase.
HandlingCairoDakarPluginDifferences has more.
--
PeterThoeny - 21 May 2006