Path: csiph.com!weretis.net!feeder7.news.weretis.net!news.albasani.net!tahina.priv.at!bofh.it!news.nic.it!robomod From: Andrey Rahmatullin Newsgroups: linux.debian.bugs.dist,linux.debian.maint.python Subject: Bug#939181: [Help] Re: Bug#939181: cycle: Python2 removal in sid/bullseye Date: Wed, 11 Sep 2019 17:10:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Sep 11 15:06:13 2019 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -4 Reply-To: Andrey Rahmatullin , 939181@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: Debian Med Packaging Team X-Debian-Pr-Message: followup 939181 X-Debian-Pr-Package: src:cycle X-Debian-Pr-Keywords: help sid bullseye X-Debian-Pr-Source: cycle X-Spam-Bayes: score:0.0000 Tokens: new, 8; hammy, 150; neutral, 63; spammy, 0. spammytokens: hammytokens:0.000-+--H*ct:application, 0.000-+--H*ct:protocol, 0.000-+--H*ct:micalg, 0.000-+--H*ct:signed, 0.000-+--H*ct:pgp-signature Dkim-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=wrar.name; s=20160710; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=VzqMP6B5EQp94uzO+VRlOGoy+0KRnadGc6OpLvH/lVU=; b=jfisM1uemx09aDVmNA64stILr 3bWvYWGE0W8PzK7XiI3nMkV7nInPuWAdO8RSVNvu1NxXywcpXi0zlzTdxeQIOeWyO4z+CC9QpZy4L AkZckE/Ib6iOQj+Jt7eKZ+q6CKYseB1DbOLR9uUHiv9GiiL21ViGQEVJySDjtl1lZbMlw=; MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="XOIedfhf+7KOe/yw" Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Greylist: delayed 1795 seconds by postgrey-1.36 at buxtehude; Wed, 11 Sep 2019 15:02:32 UTC X-Debian-Message: from BTS X-Mailing-List: archive/latest/1558053 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 61 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Antonio Terceiro , 939181@bugs.debian.org, debian-python@lists.debian.org X-Original-Date: Wed, 11 Sep 2019 19:32:33 +0500 X-Original-Message-ID: <20190911143233.GC1706@belkar.wrar.name> X-Original-References: <20190911123354.GA16873@debian.org> <20190911141234.7hwnsil5bp2m6cew@an3as.eu> <20190911141234.7hwnsil5bp2m6cew@an3as.eu> Xref: csiph.com linux.debian.bugs.dist:974709 linux.debian.maint.python:11785 --XOIedfhf+7KOe/yw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 11, 2019 at 04:12:34PM +0200, Andreas Tille wrote: > Control: tags -1 help >=20 > On Wed, Sep 11, 2019 at 09:33:54AM -0300, Antonio Terceiro wrote: > > E: Sub-process /usr/bin/dpkg returned an error code (1) > > ~[100]$ cycle > > File "/usr/bin/cycle", line 29 > > if lang_find: > > ^ > > TabError: inconsistent use of tabs and spaces in indentation >=20 > Argh. That's fixed via autopep8 in Git[1] now. However, when calling > cycle I get >=20 > $ cycle > Traceback (most recent call last): > File "/usr/bin/cycle", line 12, in > from dialogs import * > File "/usr/share/cycle/dialogs.py", line 8, in > from cal_year import cycle, Val > File "/usr/share/cycle/cal_year.py", line 9, in > from dialogs import Note_Dlg > ImportError: cannot import name 'Note_Dlg' from 'dialogs' (/usr/share/cyc= le/dialogs.py) There are circular imports in the code so you most likely broke that by reordering imports in various files. "from cal_year import *; from dialogs import *" works, the reverse doesn't, so the /usr/bin/cycle code is definitely problematic, not sure about other changes. --=20 WBR, wRAR --XOIedfhf+7KOe/yw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAl15BX0tFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh DeYP/RRpSXYzwM9XWEiW3OZZk2oHWWjH2ll1bJKEruHGMp8Itw2dIJILAxYZ2qfj ap/XcAWLa8z/RRyvwUxLNgsj+zNdMS2LgMCXEkANuFGaIL1ZpOFW2Hc4haMlQ1DT VGilr/A1brIwxZ9aapi7Y1qlZiP5yjBOQa0OKBJ3twQHsNoiJLAvUiujbh9bH0wE hXDCZw+buhWRxbFTg6/Iw2aw5Y1ajy937YCcGpETSRAW1AhxEb5I4Zr0mciKDLNw eut0EZoWMRV7XqriX5pr6x6R3CcrMQADo7hYNFx9Ju/qV7iN8hx65NE7liZ8lLjV TUvD7MP81tL61zjSGQ8p4llBwKppV2JeXG+K1u7OlmCdZQpdMR9P144Qn9llD+Nk xD2zdgry5vovqcL269j7oFHk4JjQH8zmkd4SQghzY49GvocoalmguhPO2WE2lWlu 7mFayfoqig94nRYGeMpip4/ogSO9IWQjrct46DsncQuuyNmfsAy17g88WNLHwf6R BB65yH5xjPYGYTsmcwAC7EWeZZNLDqHTEpqXOMfypuqBzrDJcHSY3kcqagwAgwun ZVua3SXeRzA6BGJkqcC85c6S9hgawElghO9xS5lGqVfghAk+khfz5Ni72+QoX0RZ Z49+dJQqKpSqONBGO9pR7yadR1ZcsmMTVmcz3k/mH1Cae0Gl =zPt+ -----END PGP SIGNATURE----- --XOIedfhf+7KOe/yw--