Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #11990
| Path | csiph.com!3.eu.feeder.erje.net!feeder.erje.net!news.albasani.net!tahina.priv.at!bofh.it!news.nic.it!robomod |
|---|---|
| From | Scott Talbert <swt@techie.net> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: [Help] graphlan: Python2 removal in sid/bullseye |
| Date | Fri, 08 Nov 2019 16:10:01 +0100 |
| Message-ID | <z0e3D-7Hy-5@gated-at.bofh.it> (permalink) |
| References | <z0dKh-7l9-1@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Fri Nov 8 15:01:00 2019 |
| Old-Return-Path | <swt@techie.net> |
| X-Amavis-Spam-Status | No, score=-5.54 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, SARE_MLH_Stock10=1.66] autolearn=no autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -4.6 |
| X-Greylist | delayed 438 seconds by postgrey-1.36 at bendel; Fri, 08 Nov 2019 15:00:45 UTC |
| Dkim-Signature | v=1; a=rsa-sha256; c=simple/simple; d=techie.net; s=default; t=1573224772; bh=8jG3jMLN+qFhv/vZr2bcV63kwlkPuQ48p0ZeK3QfQKI=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=LXs7HCYbI+pkxXhhDNOi/92N3yqUHJPwscbd/EVFPTI0r4pKZbYoOZBLcZ5UPcJRr 32n8onHuYK9uDDAvN3Rvnm+hHGnxXNOa/aKRramO+/LEh1xcnMvoi9d7LAbWzno6qS tsDeNqdnK0wopWSpZ5igwuSWjK+g78noiZLvs8jc= |
| X-X-Sender | talbert@bear.techie.net |
| User-Agent | Alpine 2.21 (DEB 202 2017-01-01) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=US-ASCII; format=flowed |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/17558 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/alpine.DEB.2.21.1911080952001.29754@bear.techie.net |
| Approved | robomod@news.nic.it |
| Lines | 29 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | debian-python@lists.debian.org |
| X-Original-Date | Fri, 8 Nov 2019 09:52:52 -0500 (EST) |
| X-Original-Message-ID | <alpine.DEB.2.21.1911080952001.29754@bear.techie.net> |
| X-Original-References | <20191108144614.sjebiajwb3vr7ymv@an3as.eu> |
| Xref | csiph.com linux.debian.maint.python:11990 |
Show key headers only | View raw
On Fri, 8 Nov 2019, Andreas Tille wrote: > Hi, > > I started an attempt to port graphlan to Python3 in Git[1] but its > autopkgtest throws errors: > > > > Running test script ./IBD_biogeography/run.sh . > Traceback (most recent call last): > File "/usr/bin/graphlan_annotate", line 26, in <module> > from src.graphlan_lib import CircTree as CTree > File "/usr/share/graphlan/src/graphlan_lib.py", line 99, in <module> > legal_options = set(zip(*clade_attr+ext_attr+int_attr+structural_attr+global_graphical_attr+branch_attr+leg_attr)[0]) | set(['class']) > TypeError: 'zip' object is not subscriptable > Traceback (most recent call last): > File "/usr/bin/graphlan", line 29, in <module> > from src.graphlan_lib import CircTree as CTree > File "/usr/share/graphlan/src/graphlan_lib.py", line 99, in <module> > legal_options = set(zip(*clade_attr+ext_attr+int_attr+structural_attr+global_graphical_attr+branch_attr+leg_attr)[0]) | set(['class']) > TypeError: 'zip' object is not subscriptable Try converting the zip(x) to list(zip(x)). See: https://stackoverflow.com/questions/27431390/typeerror-zip-object-is-not-subscriptable/27431433 Scott
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread
[Help] graphlan: Python2 removal in sid/bullseye Andreas Tille <andreas@an3as.eu> - 2019-11-08 15:50 +0100 Re: [Help] graphlan: Python2 removal in sid/bullseye Scott Talbert <swt@techie.net> - 2019-11-08 16:10 +0100
csiph-web