Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] weather - package or dependency appears to be broken
@ 2021-05-28  1:49 runrin
  2021-05-29 20:44 ` Chocimier
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: runrin @ 2021-05-28  1:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1712 bytes --]

New issue by runrin on void-packages repository

https://github.com/void-linux/void-packages/issues/31157

Description:
* xuname:  
Void 5.11.22_1 x86_64 AuthenticAMD uptodate rrFFF
* package:  
weather-2.4.1_2

this appears to have stopped working fairly recently.

commands with coordinates such as example command `weather 35.878573,-78.727813` produce the following result:

```
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/weather.py", line 221, in get_uri
    data = urlopen(uri).read().decode("utf-8")
  File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.9/urllib/request.py", line 561, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/bin/weather", line 70, in <module>
    partial = weather.get_metar(
  File "/usr/lib/python3.9/site-packages/weather.py", line 266, in get_metar
    metar = get_uri(
  File "/usr/lib/python3.9/site-packages/weather.py", line 230, in get_uri
    sys.exc_type,
AttributeError: module 'sys' has no attribute 'exc_type'
```

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-22  4:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-28  1:49 [ISSUE] weather - package or dependency appears to be broken runrin
2021-05-29 20:44 ` Chocimier
2021-06-22  4:41 ` runrin
2021-06-22  4:41 ` [ISSUE] [CLOSED] " runrin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).