Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: ANNOUNCE vdr-weather-0.2.0.tgz



> On Wed, Apr 02, 2003 at 11:52:04PM +0200, Andreas Kool wrote:
> 
> > Sorry, but your plugin does'nt work here :-(
> > While entering your plugin, the OSD immediately reads "No Data availabl
> e"

This is normal until the data is read.

> |Apr  1 13:16:01 zaphod vdr[24229]: starting plugin: weather (0.2.0): Dis
> plays the current weather conditons.
> |Apr  1 13:16:01 zaphod vdr[24236]: weather Thread started (pid=24236)
> |Apr  1 13:16:01 zaphod vdr[24236]: Connectiong weather.noaa.gov.
> |Apr  1 13:16:01 zaphod vdr[24229]: setting primary device to 1
> |Apr  1 13:16:01 zaphod vdr[24229]: SVDRP listening on port 2001
> |Apr  1 13:16:01 zaphod vdr[24237]: LIRC remote control thread started (p
> id=24237)
> |Apr  1 13:16:01 zaphod vdr[24238]: KBD remote control thread started (pi
> d=24238)
> |Apr  1 13:16:01 zaphod vdr[24229]: remote control LIRC - keys known
> |Apr  1 13:16:01 zaphod vdr[24229]: remote control KBD - keys known
> |Apr  1 13:16:01 zaphod vdr[24229]: switching to channel 1
> |Apr  1 13:16:02 zaphod vdr[24236]: Response was:  220 tgftp.nws.noaa.gov
>  FTP server ready. 
> |Apr  1 13:16:02 zaphod vdr[24236]: Login user [anonymous].
> |Apr  1 13:16:43 zaphod vdr[24236]: Response was:  230 Guest login ok, ac
> cess restrictions apply. 
> |Apr  1 13:16:43 zaphod vdr[24236]: Getting /data/observations/metar/stat
> ions/EDHL.TXT.
> |Apr  1 13:18:14 zaphod vdr[24229]: connect from 172.17.42.3, port 44039 
> - accepted

Hm, how are you two connected to the internet? Maybe Firewalled?

> 
> weather-0.2.0
> vdr-1.1.26 with ElchiAIO2-1.1.20

I use the same and no problems with EDHL. The problem must be somewhere in
the connection. Maybe it's a problem with FtpRead.

Please try the following patch (against vdr-weather-0.2.0a), it adds just
more logging information and post your log again.

--- metarReader.c       Tue Apr  1 23:53:19 2003
+++ metarReader.c       Thu Apr  3 09:44:49 2003
@@ -110,9 +110,10 @@
        }
 
        logLastResponse(conn);
+       dsyslog("Reading date.");
 
        if (FtpRead(date, 1024, nData) == 0) {
-               dsyslog("Could not read data: %s", filename);
+               dsyslog("Could not read date from %s", filename);
                logLastResponse(conn);
                FtpQuit(conn);
 
@@ -120,9 +121,10 @@
        }
 
        logLastResponse(conn);
+       dsyslog("Reading metar.");
 
        if (FtpRead(metar, 1024, nData) == 0) {
-               dsyslog("Could not read data: %s", filename);
+               dsyslog("Could not read metar from %s", filename);
                logLastResponse(conn);
                FtpQuit(conn);
 



Cheers,
Steffen

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index