From nobody@FreeBSD.org  Wed Feb 14 23:19:50 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 74C3716A400
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 14 Feb 2007 23:19:50 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 6552513C491
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 14 Feb 2007 23:19:50 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l1ENJovn031099
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 14 Feb 2007 23:19:50 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l1ENJoHf031098;
	Wed, 14 Feb 2007 23:19:50 GMT
	(envelope-from nobody)
Message-Id: <200702142319.l1ENJoHf031098@www.freebsd.org>
Date: Wed, 14 Feb 2007 23:19:50 GMT
From: alexv<voitau@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: /usr/ports/astro/weatherget doesn't work.
X-Send-Pr-Version: www-3.0

>Number:         109178
>Category:       ports
>Synopsis:       /usr/ports/astro/weatherget doesn't work.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    infofarmer
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 14 23:20:31 GMT 2007
>Closed-Date:    Thu Feb 15 23:06:24 GMT 2007
>Last-Modified:  Thu Feb 15 23:06:24 GMT 2007
>Originator:     alexv
>Release:        6.2-STABLE i386
>Organization:
>Environment:
6.2-STABLE i386
>Description:
Here are the results of trying to test examples from man page:

%weatherget --station-id=US4566 --standard
Traceback (most recent call last):
  File "/usr/local/bin/weatherget", line 513, in ?
    temp_units  = head().ut()[0].strip()
  File "/usr/local/bin/weatherget", line 249, in __init__
    self.head = tag_contents('head', forecast().forecast)[0]
IndexError: list index out of range

%weatherget --station-id=US4566 -extended-day=2 --metric
Traceback (most recent call last):
  File "/usr/local/bin/weatherget", line 126, in ?
    if int(NUMDAYS) > 10:
ValueError: invalid literal for int(): xtended-day=2

Concerning the last one, just a typo `-extended-day' instead of `--extended-day' in man page.
>How-To-Repeat:
Reproducible always.
>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->infofarmer 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Feb 14 23:20:42 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109178 

From: "Andrew Pantyukhin" <infofarmer@FreeBSD.org>
To: alexv <voitau@gmail.com>
Cc: bug-followup@freebsd.org
Subject: Re: ports/109178: /usr/ports/astro/weatherget doesn't work.
Date: Thu, 15 Feb 2007 03:47:02 +0300

 Where did you get that station id? Please use
 "weatherget -l CITY" to find a correct one.

From: "Aliaksandr Voitau" <voitau@gmail.com>
To: "Andrew Pantyukhin" <infofarmer@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: ports/109178: /usr/ports/astro/weatherget doesn't work.
Date: Thu, 15 Feb 2007 20:24:07 +0000

 Shame on me! Really works with the correct city ID.
 I was just a bit confused with not working samples and would suppose a
 bit friendlier message that ID is incorrect :)
 
 Thanks!
 
 
 On 2/15/07, Andrew Pantyukhin <infofarmer@freebsd.org> wrote:
 > Where did you get that station id? Please use
 > "weatherget -l CITY" to find a correct one.
 >
State-Changed-From-To: open->closed 
State-Changed-By: sat 
State-Changed-When: Thu Feb 15 23:05:33 UTC 2007 
State-Changed-Why:  
Problem solved. I also filed a wish in berlios bug tracker. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109178 
>Unformatted:
