Github messages for voidlinux
 help / color / mirror / Atom feed
From: runrin <runrin@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] weather - package or dependency appears to be broken
Date: Fri, 28 May 2021 03:49:22 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31157@inbox.vuxu.org> (raw)

[-- 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'
```

             reply	other threads:[~2021-05-28  1:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-28  1:49 runrin [this message]
2021-05-29 20:44 ` Chocimier
2021-06-22  4:41 ` runrin
2021-06-22  4:41 ` [ISSUE] [CLOSED] " runrin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31157@inbox.vuxu.org \
    --to=runrin@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).