Your message dated Mon, 04 Nov 2013 01:03:23 +0000
with message-id <e1vd8zf-0006wr...@franck.debian.org>
and subject line Bug#725344: fixed in python-nemu 0.2-1
has caused the Debian Bug report #725344,
regarding python-nemu: incompatible with recent /bin/ip
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
725344: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725344
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-nemu
Version: 0.1-1
Severity: grave
Tags: patch upstream
Justification: renders package unusable

Nemu depends on /bin/ip to get addresses of interfaces:
  ip -o addr list

But recent iproute/iproute2 does not show link information anymore,
making Nemu fail with following traceback:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nemu/protocol.py", line 272, in run
    cmd[0](cmd[1], *cmd[2])
  File "/usr/lib/python2.7/dist-packages/nemu/protocol.py", line 480, in 
do_ADDR_ADD
    nemu.iproute.add_addr(ifnr, a)
  File "/usr/lib/python2.7/dist-packages/nemu/iproute.py", line 461, in add_addr
    addresses = get_addr_data()[1][ifname]
  File "/usr/lib/python2.7/dist-packages/nemu/iproute.py", line 440, in 
get_addr_data
    bynam[name].append(_parse_ip_addr(match.group(4)))
KeyError: 'lo'


iproute 20120521 is the latest version that lists addresses in expected format. 
So this bug does not affect Wheezy.

Attached patch fixes parsing of /bin/ip output.

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (900, 'unstable'), (400, 'testing'), (300, 'experimental'), (200, 
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10.10+ (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-nemu depends on:
ii  bridge-utils    1.5-6
ii  iproute         1:3.11.0-1
ii  procps          1:3.3.4-2
ii  python          2.7.3-5
ii  python-passfd   0.2-1
ii  python-unshare  0.1-2

python-nemu recommends no packages.

Versions of packages python-nemu suggests:
ii  xauth  1:1.0.7-1

-- no debconf information
--- src/nemu/iproute.py	2012-04-02 05:00:00.000000000 +0200
+++ src/nemu/iproute.py	2013-10-04 13:46:16.318263897 +0200
@@ -434,9 +434,10 @@
             raise RuntimeError("Invalid `ip' command output")
         idx = int(match.group(1))
         name = match.group(2)
-        if match.group(3):
+        if name not in bynam:
             bynam[name] = byidx[idx] = []
-            continue # link info
+            if match.group(3): # BBB: old iproute also shows link info
+                continue
         bynam[name].append(_parse_ip_addr(match.group(4)))
     return byidx, bynam
 

--- End Message ---
--- Begin Message ---
Source: python-nemu
Source-Version: 0.2-1

We believe that the bug you reported is fixed in the latest version of
python-nemu, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 725...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Martín Ferrari <tin...@debian.org> (supplier of updated python-nemu package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 03 Nov 2013 18:09:11 -0300
Source: python-nemu
Binary: python-nemu
Architecture: source all
Version: 0.2-1
Distribution: unstable
Urgency: high
Maintainer: Martín Ferrari <tin...@debian.org>
Changed-By: Martín Ferrari <tin...@debian.org>
Description: 
 python-nemu - lightweight network emulator embedded in a small python library
Closes: 725344
Changes: 
 python-nemu (0.2-1) unstable; urgency=high
 .
   * Update homepage, VCS location, and watchfile.
   * Update Standards-Version to 3.9.5, no changes needed.
   * New upstream release. Closes: #725344 (Raising urgency as it is an RC bug).
Checksums-Sha1: 
 0626caa89078902b1e47746c92eaadc72ebd6c65 1803 python-nemu_0.2-1.dsc
 659901a1518cef4b7cf7149a47383039fd6885fc 48447 python-nemu_0.2.orig.tar.gz
 bc7fc4e4aabe3ce631ab572debd0a76a982106ab 1930 python-nemu_0.2-1.diff.gz
 f9435870766d2fbd8099a1a72bcf409fb18ed955 27720 python-nemu_0.2-1_all.deb
Checksums-Sha256: 
 064bae4b56a35187dfd98c24f296de5d730da5a253349cc5f0b825daa4a845a1 1803 
python-nemu_0.2-1.dsc
 3c3429ecdaa701b5d173036e6605a0b262bd01f035ca91a90f7457a63b289a6c 48447 
python-nemu_0.2.orig.tar.gz
 8eff64c45f66e494dab2e78610df2b7e4a27891d308f8c831d99724aa28dbfeb 1930 
python-nemu_0.2-1.diff.gz
 2600040c17454795035979d21164c72bdf93a2ee45e20666b8b3d5dcb7dd2f24 27720 
python-nemu_0.2-1_all.deb
Files: 
 41d7f5c2cc654db34eaff396534b7a09 1803 python optional python-nemu_0.2-1.dsc
 e7732dacea04c9b78da5f6018575affe 48447 python optional 
python-nemu_0.2.orig.tar.gz
 807ffd8bf46de2880b7ac201e5db0009 1930 python optional python-nemu_0.2-1.diff.gz
 4e54de0bbd318a10ca01e835e8c88ba9 27720 python optional 
python-nemu_0.2-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iQIcBAEBCAAGBQJSdvFiAAoJEF3Y4L+Ro9PauI4P/32xWaFDKEzjUbKtJh7Ac42b
z5FqI8jmAb/UcOuzwrykHpNNwGdoFr0GOhR0LHgJLuAAQdZOfvMDTbCNrPTO6EjH
2NmSunC8e/y/hFFZkE/HRvKPvdJ5lSlvGg+Vx6lK5eEY5ncG/n8v7xOgP/YNJSF7
qP+REIFzpxaY6QtNr6UMO5XkSyCxPDnw4qG7jsl67WKp3h+Et6YlHWTK6b0bP17R
Gfhy8psu4jA0ZJCcn8Ps791+i5+5trbkI7PG0YvyQTu9E8Hv+EDuoyk9pei0gmKr
rEfZNc63rWsvM1bypU1TJ67mf9iR1tdV//H2WClHsvkTqCJ9DKkvzMpO2LnCiUOH
f8zW7/nv5bVmXHpLTzD2ptRllt4WcfceP60FujrLZRNItZgcMYxdqBDMkT8nU/nu
lxX/f1fU6KNtNnx4PZaGL/TCeNBiLL1hvwOze2FaGr/ZkSL/wPdjdEWzLNp+SV5m
Z9oRjkapJKvqogsdMzUTJcM59PEFP5FpWKCP+s39oQzDYUNpjR5iOJMX0NqNll/m
CcAGHMm1dO6jMIkxPlkgxDCxG9QQR5Y9j9o4oTHitzneiiau7aVcYi5WVlGGbPQo
epWH4AcU3ZL3AyrBXW/1ylw2dmvF+y0XQB50eGzf7sjPhKAiY7S5+vphW9FKGmS8
TEYteFquzkBVx2gLY1El
=yf5a
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to