Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2007 23:19:50 GMT
From:      alexv<voitau@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/109178: /usr/ports/astro/weatherget doesn't work.
Message-ID:  <200702142319.l1ENJoHf031098@www.freebsd.org>
Resent-Message-ID: <200702142320.l1ENKW8M068672@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         109178
>Category:       ports
>Synopsis:       /usr/ports/astro/weatherget doesn't work.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 14 23:20:31 GMT 2007
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702142319.l1ENJoHf031098>