weather not working with airport codes

Bug #1937889 reported by Todd Taft
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
weather-util (Ubuntu)
New
Undecided
Unassigned

Bug Description

An example given in the man page for weather:
weather rdu
fails.

taft@kangaroo:~$ weather rdu
Searching via airport...
No IATA/FAA airport code "rdu" in the /usr/share/weather-util/airports.gz file.

I have tried multiple other airport codes, and none of them seem to work:

taft@kangaroo:~$ weather dfw
Searching via airport...
No IATA/FAA airport code "dfw" in the /usr/share/weather-util/airports.gz file.
taft@kangaroo:~$ weather nyc
Searching via airport...
No IATA/FAA airport code "nyc" in the /usr/share/weather-util/airports.gz file.
taft@kangaroo:~$ weather lax
Searching via airport...
No IATA/FAA airport code "lax" in the /usr/share/weather-util/airports.gz file.
taft@kangaroo:~$ weather lhr
Searching via airport...
No IATA/FAA airport code "lhr" in the /usr/share/weather-util/airports.gz file.
taft@kangaroo:~$ weather hel
Searching via airport...
No IATA/FAA airport code "hel" in the /usr/share/weather-util/airports.gz file.
taft@kangaroo:~$ weather syd
Searching via airport...
No IATA/FAA airport code "syd" in the /usr/share/weather-util/airports.gz file.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in weather-util (Ubuntu):
status: New → Confirmed
Revision history for this message
Jeremy Stanley (fungi) wrote :

What version are you seeing this in? The version in Jammy has these and I don't get the error message indicated.

Changed in weather-util (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Todd Taft (taft) wrote :

This happens in 20.04.

Package: weather-util
Version: 2.3-2
Package: weather-util-data
Version: 2.3-2

Changed in weather-util (Ubuntu):
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.