create new tag
, view all tags

WeatherPluginDev Discussion: Page for developer collaboration, enhancement requests, patches and improved versions on WeatherPlugin contributed by the TWikiCommunity.
• Please let us know what you think of this extension.
• For support, check the existing questions, or ask a new support question in the Support web!
• Please report bugs below

Feedback on WeatherPlugin

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):


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:

  1. all plugins are double-listed (posting screenshot here, can be moved if this behavior is correct/incorrect)
  2. 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

Topic attachments
I Attachment History Action Size Date Who Comment
Perl source code filepm WeatherPlugin.pm r1 manage 11.8 K 2006-05-21 - 10:26 DaleFrancum 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.
JPEGjpg screenshot_double_plugins.jpg r1 manage 151.6 K 2005-07-17 - 14:31 BillSkellenger double-listed plugins in configure (comment here)
Edit | Attach | Watch | Print version | History: r14 < r13 < r12 < r11 < r10 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r14 - 2006-05-25 - JamesVautin
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.