| Summary: | /usr/ports/astro/weatherget doesn't work. | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | alexv <voitau> |
| Component: | Individual Port(s) | Assignee: | Andrew Pantyukhin <infofarmer> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports-bugs->infofarmer Over to maintainer Where did you get that station id? Please use "weatherget -l CITY" to find a correct one. 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 Problem solved. I also filed a wish in berlios bug tracker. Thanks! |
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.