Bug#573510: traceback: IndexError: list index out of range

2010-03-14 Thread Jeremy Stanley
On Fri, Mar 12, 2010 at 02:05:13PM +, The Fungi wrote: I've confirmed this bug is still present in my development version as well. I'll see if I can track down and fix the issue shortly. Apologies for the delay... attached is a patch which solves this issue in 1.4. I've integrated my

Bug#573510: traceback: IndexError: list index out of range

2010-03-14 Thread Celejar
On Mon, 15 Mar 2010 00:44:02 + Jeremy Stanley fu...@yuggoth.org wrote: On Fri, Mar 12, 2010 at 02:05:13PM +, The Fungi wrote: I've confirmed this bug is still present in my development version as well. I'll see if I can track down and fix the issue shortly. Apologies for the

Bug#573510: traceback: IndexError: list index out of range

2010-03-12 Thread The Fungi
On Thu, Mar 11, 2010 at 07:13:20PM -0500, Celejar wrote: [...] ~$ weather -iKMJX Traceback (most recent call last): File /usr/bin/weather, line 36, in module murl=get(murl, argument) File /usr/lib/python2.5/site-packages/weather.py, line 97, in get_metar + id.upper() +))

Bug#573510: traceback: IndexError: list index out of range

2010-03-12 Thread Jeremy Stanley
The get_metar() function is attempting to parse the name of the locality out of the first line of the decoded METAR. Using the verbose output option you can see why this won't work: fu...@cthulhu:~$ weather -viKMJX Station name not available Mar 12, 2010 - 09:55 AM EST / 2010.03.12 1455

Bug#573510: traceback: IndexError: list index out of range

2010-03-11 Thread Celejar
Package: weather-util Version: 1.4-1 Severity: important ~$ weather -iKMJX Traceback (most recent call last): File /usr/bin/weather, line 36, in module murl=get(murl, argument) File /usr/lib/python2.5/site-packages/weather.py, line 97, in get_metar + id.upper() +)) IndexError: list