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

Re: Debian weather bug



Hi,

Greg Marks wrote:
> >    Oct 19 18:10:09 debian mateweather-app[3922]: Failed to get METAR
data: 404 Not Found.
> >    Oct 19 18:10:09 debian mateweather-app[3922]: Failed to get IWIN
forecast data: 404 Not Found

  https://en.wikipedia.org/wiki/List_of_HTTP_status_codes
says
  404 Not Found
  The requested resource could not be found but may be available in the
  future. Subsequent requests by the client are permissible.

> This time the messages in /var/log/syslog are:
>  ... mateweather-app[3798]: Failed to get METAR data: 410 Gone.
>  ... clock-applet[3898]: Failed to get METAR data: 410 Gone.

  410 Gone
  Indicates that the resource requested was previously in use but is
  no longer available and will not be available again. This should be
  used when a resource has been intentionally removed and the resource
  should be purged.

So the server which delivered data now says that it won't do any more.

The question is what URL was used, where it is configured, and what
would be a usable replacement URL.

According to
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054248
the "configuration" is possibly hardcoded at
  https://sources.debian.org/src/libmateweather/1.26.3-4/libmateweather/weather-metar.c#L581


Have a nice day :)

Thomas




Reply to: