GNU bug report logs - #52350
pypi import: ungraceful exit when recursively importing unknown package

Previous Next

Package: guix;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Tue, 7 Dec 2021 11:28:02 UTC

Severity: normal

Full log


Message #11 received at 52350 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 52350 <at> debbugs.gnu.org
Subject: Re: bug#52350: pypi import: ungraceful exit when recursively
 importing unknown package
Date: Tue, 08 Mar 2022 11:09:45 +0100
Hi Ricardo,

On mar., 07 déc. 2021 at 11:26, Ricardo Wurmus <rekado <at> elephly.net> wrote:

> ./pre-inst-env guix import pypi -r pytestrerunfailures

--8<---------------cut here---------------start------------->8---
$ guix import pypi pytestrerunfailures
following redirection to `https://pypi.org/pypi/pytestrerunfailures/json/'...
guix import: error: failed to download meta-data for package 'pytestrerunfailures'

$ guix import pypi pytestrerunfailures -r
following redirection to `https://pypi.org/pypi/pytestrerunfailures/json/'...
--8<---------------cut here---------------end--------------->8---

Fixed by f7bb161445903c51d299307610403cb3de0fcc56, at least the ugly
backtrace.  However, it is still unsatisfactory since the error is not
correctly handled.

I propose to close because the exit is now graceful -- at least less
ungraceful. :-)


Cheers,
simon




This bug report was last modified 3 years and 98 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.