Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #11989
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Andreas Tille <andreas@an3as.eu> |
| Newsgroups | linux.debian.maint.python |
| Subject | [Help] graphlan: Python2 removal in sid/bullseye |
| Date | Fri, 08 Nov 2019 15:50:01 +0100 |
| Message-ID | <z0dKh-7l9-1@gated-at.bofh.it> (permalink) |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Fri Nov 8 14:46:27 2019 |
| Old-Return-Path | <andreas@an3as.eu> |
| X-Amavis-Spam-Status | No, score=-3.34 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, MEDS2=2, RCVD_IN_DNSWL_NONE=-0.0001, SARE_MLH_Stock10=1.66] autolearn=no autolearn_force=no |
| X-Policyd-Weight | using cached result; rate:hard: -4.6 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | NeoMutt/20170113 (1.7.2) |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/17557 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/20191108144614.sjebiajwb3vr7ymv@an3as.eu |
| Approved | robomod@news.nic.it |
| Lines | 34 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Fri, 8 Nov 2019 15:46:14 +0100 |
| X-Original-Message-ID | <20191108144614.sjebiajwb3vr7ymv@an3as.eu> |
| Xref | csiph.com linux.debian.maint.python:11989 |
Show key headers only | View raw
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
Any hint how to fix this?
Kind regards
Andreas.
[1] https://salsa.debian.org/med-team/graphlan
--
http://fam-tille.de
Back to linux.debian.maint.python | Previous | Next — Next 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