Package: wmweather
Version: 2.4.6-2+b1
Severity: important

Stopped working some 5-6 days ago.  Prints this on the console:

,----
| wmweather: Received error 302 while fetching ESMS from NOAA, aborting
| wmweather: Please send a bug report to <mar...@godisch.de>
`----

and returns exit status 1.  Run under `strace' produces this:

,----
| ...
| 25121 openat(AT_FDCWD, "~/.wmweather/ESMS.new", O_WRONLY|O_CREAT|O_TRUNC, 
0666) = 4
| ...
| 25121 recvfrom(5, "HTTP/1.1 302 Object Moved\r\nLocation: 
https://tgftp.nws.noaa.gov/data/observations/metar/decoded/ESMS.TXT\r\nContent-Type:
 text/html\r\nCache-Control: private\r\nConnection: close\r\n\r\n<head><body> 
This object may be found <a 
HREF=\"https://tgftp.nws.noaa.gov/data/observations/metar/decoded/ESMS.TXT\";>here</a>
 </body>", 16384, 0, NULL, NULL) = 308
| ...
| 25121 write(2, "wmweather: Received error 302 while fetching ESMS from NOAA, 
aborting\n", 70) = 70
| 25121 write(2, "wmweather: Please send a bug report to 
<mar...@godisch.de>\n", 59) = 59
| 25121 write(4, "Malmo / Sturup, Sweden (ESMS) 55-33N 013-22E\nFeb 09, 2019 - 
05:20 AM EST / 2019.02.09 1020 UTC\nWind: from the SSW (210 degrees) at 17 MPH 
(15 KT):0\nVisibility: greater than 7 mile(s):0\nSky conditions: 
overcast\nTemperature: 41 F (5 C)\nDew Point: 39 F (4 C)\nRelative Humidity: 
93%\nPressure (altimeter): 29.38 in. Hg (0995 hPa)\nob: ESMS 091020Z 21015KT 
9999 SCT011 BKN030 OVC042 05/04 Q0995 R17/29//95\ncycle: 10\n", 409) = 409
| 25121 close(4)                          = 0
| 25121 unlink("~/.wmweather/ESMS.new") = 0
`----

So, it manages to download the ESMS.TXT file, but unlinks it as it 
doesn't properly cope with the redirection, error handling wise.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-2-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages wmweather depends on:
ii  libc6            2.28-5
ii  libcurl3-gnutls  7.64.0-1
ii  libx11-6         2:1.6.7-1
ii  libxext6         2:1.3.3-1+b2
ii  libxpm4          1:3.5.12-1

Versions of packages wmweather recommends:
ii  x11-utils  7.7+4

Versions of packages wmweather suggests:
ii  wmaker  0.95.8-3

-- no debconf information


Cheers,

--
Cristian

Reply via email to