This is the page I see immediately post enabling the weather module, see below as it is quite long.
Drupal 6.2 and 6.3
Unmodified Zen Classic template. [zen-6.x-1.0-beta2])
WampServer (Apache 2.2.8, PHP 5.2.5, MySQL 5.051a)

Also, attempted further configuration of module results in this:
Module configuring errors, post clicking on link, "Create new system-wide block"

* warning: Invalid argument supplied for foreach() in C:\wamp\www\drupal-6.3\includes\common.inc on line 1489.
* warning: Invalid argument supplied for foreach() in C:\wamp\www\drupal-6.3\includes\form.inc on line 1405.

Unable to configure is the final result, so I disabled and uninstalled the module.

Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:1731340:\"MySQL server has gone away\nquery: UPDATE batch SET token = '995ad061d2cd03ac36a91cbdee2c1a3a', batch = 'a:10:{s:4:\\"sets\\";a:2:{i:0;a:10:{s:7:\\"sandbox\\";a:0:{}s:7:\\"results\\";a:0:{}s:7:\\"success\\";b:0;s:5:\\"title\\";s:40:\\"Installing ICAO data for Weather module.\\";s:10:\\"operations\\";a:77:{i:0;a:2:{i:0;s:26:\\"_weather_fill_icao_table_1\\";i:1;a:0:{}}i:1;a:2:{i:0;s:26:\\"_weather_fill_icao_table_2\\";i:1;a:0:{}}i:2;a:2:{i:0;s:26:\\"_weather_fill_icao_table_3\\& in C:\wamp\www\drupal-6.3\includes\database.mysqli.inc on line 128

Warning: MySQL server has gone away query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'theme_registry:zen_classic' in C:\wamp\www\drupal-6.3\includes\database.mysqli.inc on line 128

Warning: MySQL server has gone away query: UPDATE variable SET value = 'a:27:{s:17:\"zen_block_editing\";i:1;s:14:\"zen_breadcrumb\";s:3:\"yes\";s:24:\"zen_breadcrumb_separator\";s:5:\" › \";s:19:\"zen_breadcrumb_home\";i:1;s:23:\"zen_breadcrumb_trailing\";i:1;s:20:\"zen_breadcrumb_title\";i:0;s:10:\"zen_layout\";s:22:\"border-politics-liquid\";s:14:\"zen_wireframes\";i:1;s:7:\"mission\";s:0:\"\";s:12:\"default_logo\";i:0;s:9:\"logo_path\";s:32:\"sites/default/files/zen_logo.gif\";s:15:\"default_favicon\";i:0;s:12:\"favicon_path\";s:35:\"sites/default/files/zen_favicon.png\";s:13:\"primary_links\";i:1;s:15:\"secondary_links\";i:1;s:11:\"toggle_logo\";i:1;s:14:\"toggle_favicon\";i:1;s:11:\"toggle_name\";i:0;s:13:\"toggle_search\";i:1;s:13:\"toggle_slogan\"; in C:\wamp\www\drupal-6.3\includes\database.mysqli.inc on line 128

Warning: MySQL server has gone away query: DELETE FROM cache WHERE cid = 'variables' in C:\wamp\www\drupal-6.3\includes\database.mysqli.inc on line 128

Warning: MySQL server has gone away query: UPDATE variable SET value = 'a:28:{s:17:\"zen_classic_fixed\";i:0;s:17:\"zen_block_editing\";i:1;s:14:\"zen_breadcrumb\";s:3:\"yes\";s:24:\"zen_breadcrumb_separator\";s:8:\" :: \";s:19:\"zen_breadcrumb_home\";i:1;s:23:\"zen_breadcrumb_trailing\";i:0;s:20:\"zen_breadcrumb_title\";i:0;s:10:\"zen_layout\";s:22:\"border-politics-liquid\";s:14:\"zen_wireframes\";s:1:\"0\";s:7:\"mission\";s:0:\"\";s:12:\"default_logo\";i:0;s:9:\"logo_path\";s:40:\"sites/default/files/zen_classic_logo.gif\";s:15:\"default_favicon\";i:0;s:12:\"favicon_path\";s:45:\"sites/default/files/zen_classic_favicon_1.png\";s:13:\"primary_links\";i:1;s:15:\"secondary_links\";i:1;s:11:\"toggle_logo\";i:1;s:14:\"toggle_favicon\";i:1;s:11:\"toggle_name in C:\wamp\www\drupal-6.3\includes\database.mysqli.inc on line 128

Warning: MySQL server has gone away query: DELETE FROM cache WHERE cid = 'variables' in C:\wamp\www\drupal-6.3\includes\database.mysqli.inc on line 128

Warning: MySQL server has gone away query: UPDATE cache SET data = 'a:186:{s:18:\"aggregator_wrapper\";a:7:{s:9:\"arguments\";a:1:{s:7:\"content\";N;}s:4:\"file\";s:39:\"modules/aggregator/aggregator.pages.inc\";s:8:\"template\";s:37:\"modules/aggregator/aggregator-wrapper\";s:4:\"type\";s:6:\"module\";s:10:\"theme path\";s:18:\"modules/aggregator\";s:11:\"theme paths\";a:1:{i:0;s:18:\"modules/aggregator\";}s:20:\"preprocess functions\";a:2:{i:0;s:19:\"template_preprocess\";i:1;s:38:\"template_preprocess_aggregator_wrapper\";}}s:27:\"aggregator_categorize_items\";a:7:{s:9:\"arguments\";a:1:{s:4:\"form\";N;}s:4:\"file\";s:39:\"modules/aggregator/aggregator.pages.inc\";s:4:\"type\";s:6:\"module\";s:10:\"theme path\";s:18:\"modules/aggregator\";s:8:\"function\" in C:\wamp\www\drupal-6.3\includes\database.mysqli.inc on line 128

Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:114:\"MySQL server has gone away\nquery: SELECT COUNT(*) FROM sessions WHERE sid = 'kran9qq7sp38087hmd2o8cnbt4'\";s:5:\"%file\";s:43:\"C:\\wamp\\www\\drupal-6.3\\includes\\session.inc\";s:5:\"%line\";i:65;}', 3, '', 'http://localhost/drupal-6.3/admin/build/modules/list/confirm', 'http://localhost/drupal-6.3/admin/build/modules', '127.0.0.1', 1215860143) in C:\wamp\www\drupal-6.3\includes\database.mysqli.inc on line 128

Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:2321406:\"MySQL server has gone away\nquery: INSERT INTO sessions (sid, uid, cache, hostname, session, timestamp) VALUES ('kran9qq7sp38087hmd2o8cnbt4', 1, 0, '127.0.0.1', 'messages|a:2:{s:6:\\"status\\";a:1:{i:0;s:42:\\"The configuration options have been saved.\\";}s:5:\\"error\\";a:1:{i:0;s:1731412:\\"user warning: MySQL server has gone away\\nquery: UPDATE batch SET token = '995ad061d2cd03ac36a91cbdee2c1a3a', batch = 'a:10:{s:4:\\\\"sets\\\\";a:2:{i:0;a:10:{s:7:\\\\"sandbox\\\\";a:0:{}s in C:\wamp\www\drupal-6.3\includes\database.mysqli.inc on line 128

Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:134:\"Cannot modify header information - headers already sent by (output started at C:\\wamp\\www\\drupal-6.3\\includes\\database.mysqli.inc:128)\";s:5:\"%file\";s:42:\"C:\\wamp\\www\\drupal-6.3\\includes\\common.inc\";s:5:\"%line\";i:319;}', 3, '', 'http://localhost/drupal-6.3/admin/build/modules/list/confirm', 'http://localhost/drupal-6.3/admin/build/modules', '127.0.0.1', 1215860144) in C:\wamp\www\drupal-6.3\includes\database.mysqli.inc on line 128

Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:102:\"MySQL server has gone away\nquery: DELETE FROM cache_menu WHERE cid LIKE 'links:navigation:%'\";s:5:\"%file\";s:41:\"C:\\wamp\\www\\drupal-6.3\\includes\\cache.inc\";s:5:\"%line\";i:175;}', 3, '', 'http://localhost/drupal-6.3/admin/build/modules/list/confirm', 'http://localhost/drupal-6.3/admin/build/modules', '127.0.0.1', 1215860144) in C:\wamp\www\drupal-6.3\includes\database.mysqli.inc on line 128

Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:102:\"MySQL server has gone away\nquery: DELETE FROM cache_block WHERE expire != 0 AND expire < 1215860144\";s:5:\"%file\";s:41:\"C:\\wamp\\www\\drupal-6.3\\includes\\cache.inc\";s:5:\"%line\";i:166;}', 3, '', 'http://localhost/drupal-6.3/admin/build/modules/list/confirm', 'http://localhost/drupal-6.3/admin/build/modules', '127.0.0.1', 1215860144) in C:\wamp\www\drupal-6.3\includes\database.mysqli.inc on line 128

Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:101:\"MySQL server has gone away\nquery: DELETE FROM cache_page WHERE expire != 0 AND expire < 1215860144\";s:5:\"%file\";s:41:\"C:\\wamp\\www\\drupal-6.3\\includes\\cache.inc\";s:5:\"%line\";i:166;}', 3, '', 'http://localhost/drupal-6.3/admin/build/modules/list/confirm', 'http://localhost/drupal-6.3/admin/build/modules', '127.0.0.1', 1215860144) in C:\wamp\www\drupal-6.3\includes\database.mysqli.inc on line 128

Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:105:\"MySQL server has gone away\nquery: SELECT menu_name FROM menu_links WHERE expanded != 0 GROUP BY menu_name\";s:5:\"%file\";s:40:\"C:\\wamp\\www\\drupal-6.3\\includes\\menu.inc\";s:5:\"%line\";i:2003;}', 3, '', 'http://localhost/drupal-6.3/admin/build/modules/list/confirm', 'http://localhost/drupal-6.3/admin/build/modules', '127.0.0.1', 1215860144) in C:\wamp\www\drupal-6.3\includes\database.mysqli.inc on line 128

Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:119:\"MySQL server has gone away\nquery: UPDATE variable SET value = 'a:0:{}' WHERE name = 'menu_expanded'\";s:5:\"%file\";s:45:\"C:\\wamp\\www\\drupal-6.3\\includes\\bootstrap.inc\";s:5:\"%line\";i:471;}', 3, '', 'http://localhost/drupal-6.3/admin/build/modules/list/confirm', 'http://localhost/drupal-6.3/admin/build/modules', '127.0.0.1', 1215860144) in C:\wamp\www\drupal-6.3\includes\database.mysqli.inc on line 128

Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:85:\"MySQL server has gone away\nquery: DELETE FROM cache WHERE cid = 'variables'\";s:5:\"%file\";s:41:\"C:\\wamp\\www\\drupal-6.3\\includes\\cache.inc\";s:5:\"%line\";i:179;}', 3, '', 'http://localhost/drupal-6.3/admin/build/modules/list/confirm', 'http://localhost/drupal-6.3/admin/build/modules', '127.0.0.1', 1215860144) in C:\wamp\www\drupal-6.3\includes\database.mysqli.inc on line 128

Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:105:\"MySQL server has gone away\nquery: DELETE FROM cache_menu WHERE cid LIKE 'links:primary-links:%'\";s:5:\"%file\";s:41:\"C:\\wamp\\www\\drupal-6.3\\includes\\cache.inc\";s:5:\"%line\";i:175;}', 3, '', 'http://localhost/drupal-6.3/admin/build/modules/list/confirm', 'http://localhost/drupal-6.3/admin/build/modules', '127.0.0.1', 1215860144) in C:\wamp\www\drupal-6.3\includes\database.mysqli.inc on line 128

Comments

toddy’s picture

Assigned: Unassigned » toddy
Status: Active » Postponed (maintainer needs more info)

Maybe the installation went wrong. Does the table "weather_icao" contain any data?

toddy’s picture

Status: Postponed (maintainer needs more info) » Fixed

This should be fixed with version 6.x-5.0. Please try it out.

Varenne’s picture

toddy,

Only recently getting back to my personal Drupal development site and previously posted issues, bugs, etc.

As for this specific module when I did not see an immediate response I assumed the developer/development was busy/on hold so I uninstalled everything, including tables, so no idea what was there,sorry.

From what I see and know now (about Drupal and modules) I think part of my previous issue was due to a lack of knowledge and experience with Drupal modules in general and external module dependencies in particular; In order for the Weather module to work the Location module must also be installed, which has yet another dependency, devel. And then there are the individual setups for each.

What is seriously lacking in my opinion is step-by-step procedures for all of this and any time I contribute, which is in rather short supply these days, will be towards documentation first, testing and debugging second and as part of the first, or alternately during functionality testing for use on my production sites, which again lately is a fairly rare occurrence.

With that said I'd be willing to help out with providing better documentation for this module, and testing/debugging as a secondary or tertiary result of pursing documentation development. I used this approach and did this for the Graphviz Filter module recently. Let me know your thoughts, I'll be sure to check back.

Cheers,

varienne

toddy’s picture

Hi varienne,

that's absolutely great to hear! I'm currently planning to provide better documentation and help texts via the Advanced help module. I would be delighted if you could help with that.

Regarding your previous installation problem, I don't think that you did not install the correct dependencies. I rather think that the Batch API calls during the installation went wrong. However, the latest release should have fixed that. The Location module is only needed if you want to show the "Location" block. You don't need the module for system-wide blocks or custom user blocks.

Regards,
Tobias

Varenne’s picture

Good day Tobias,

Sure, I'd be more than happy to help out and as a plus I do have the Advanced help module installed and set up too, for both my development and production instances. Let me know where and what I can help out with exactly. I'm in the middle of moving (started a new contract Nov 3 in a different city) so there may be a slight delay as I get my new apartment setup and close down the old one.

And yes, I took a break from packing stuff and managed to get it all working today, both the Weather module and the initial part of Locations.

This time it was the Locations module setup that gave me a bit of trouble, when importing the USA zip codes table data via phpMyAdmin. Increased my max_execution_time in php.ini (and memory for scripts) and had to restart it a couple of times but it did finally complete. I think via the command line and MySQL is the better (easier?) way to go, but many WampServer users prefer I think phpMyAdmin, so I am going to work on a procedure for that and submit it to the Locations module maintainers. (It may prove useful for other modules as well.)

Cheers,

varienne

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.