[cvs] [Wiki] changed: MetarWeather

Wiki Guest wikiguest at horde.org
Mon Aug 2 14:34:49 UTC 2010


guest [86.65.193.13]  Mon, 02 Aug 2010 10:34:49 -0400

Modified page: http://wiki.horde.org/MetarWeather
New Revision:  2.0
Change log:  File not found workaround

@@ -30,4 +30,34 @@
  Now login to horde, go to the portal, choose METAR block and click  
the edit button in the upper right of the block.
  The rest is self-explanatory click-and-play.

  --Ralf Lang
+
++++Error message: Services_Weather: Sourcefile nsd_cccc not found!
+
+While executing the above commands:
+<code>
+php buildMetarDB.php -a -u horde_db_user -p horde_db_pass -d horde_db
+php buildMetarDB.php -l -u horde_db_user -p horde_db_pass -d horde_db
+</code>
+
+You may receive the error message:
+<code>
+Services_Weather: Sourcefile nsd_cccc not found!
+</code>
+
+The reason is that the file downloaded by {{buildMetarDB.php}} script  
is empty (0 byte file size) as of August,2 2010.
+Fortunately, there are alternate working links to this file on this  
page as TXT or ZIP format instead of the 0 file size GZIP one:  
http://weather.noaa.gov/tg/site.shtml
+
+So, you should modify line 273 in {{buildMetarDB.php}} file from:
+<code>
+if (extension_loaded("zlib")) {
+</code>
+to:
+<code>
+if (extension_loaded("zlibXXXX")) {
+</code>
+
+This way the file will be downloaded as TXT format which is not  
empty, and you metar tables will be filled with appropriate data.
+
+-- Mathieu RV
+



More information about the cvs mailing list