ports/109178: /usr/ports/astro/weatherget doesn't work.

alexv voitau at gmail.com
Wed Feb 14 23:20:33 UTC 2007


>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:



More information about the freebsd-ports-bugs mailing list