[Python-modules-team] Bug#862054: python3-igraph: error when plotting graph inline in jupyter notebook

Jorge Moraleda jorge.moraleda at gmail.com
Sun May 7 20:27:33 UTC 2017


Package: python3-igraph
Version: 0.7.1.post6-3
Severity: normal

Dear Maintainer,

Attempting to plot within jupyter notebook yields the error:
AttributeError: 'bytes' object has no attribute 'encode'

This code reproduces this bug when typed inside a jupyter notebook:
import igraph
G = igraph.Graph.Erdos_Renyi(100, 0.1);
igraph.plot(G)

This bug agains the python igraph package is discussed in greater detail at https://github.com/igraph/python-igraph/issues/88 and was fixed in the 0.7 release branch of python-igraph that debian includes on August 5, 2016 (https://github.com/igraph/python-igraph/commit/8864b46849b031a3013764d03e167222963c0f5d)

We should repackage the debian package python3-igraph with a later version python igraph that incorporates this fix as plotting is an important component of the igraph library. Thank you.

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64
 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-igraph depends on:
ii  libc6         2.24-10
ii  libigraph0v5  0.7.1-2.1+b2
ii  python3       3.5.3-1
pn  python3:any   <none>

python3-igraph recommends no packages.

python3-igraph suggests no packages.

-- no debconf information



More information about the Python-modules-team mailing list