[Debian-med-packaging] Bug#908722: invesalius: Fails to upgrade: SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Comecei")?

Axel Beckert abe at debian.org
Thu Sep 13 01:09:21 BST 2018


Package: invesalius
Version: 3.1.99992-1
Severity: serious

Hi,

when tying to upgrade invesalius from 3.1.99991-1 to 3.1.99992-1, it
failed for me as follows:

[…]
Preparing to unpack .../5-invesalius_3.1.99992-1_all.deb ...
Unpacking invesalius (3.1.99992-1) over (3.1.99991-1) ...
[…]
Preparing to unpack .../6-invesalius-bin_3.1.99992-1_amd64.deb ...
Unpacking invesalius-bin (3.1.99992-1) over (3.1.99991-1) ...
[…]
Setting up invesalius-bin (3.1.99992-1) ...
[…]
Setting up invesalius (3.1.99992-1) ...
  File "/usr/share/invesalius/invesalius/data/editor.py", line 120
    print "Comecei"
                  ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Comecei")?

  File "/usr/share/invesalius/invesalius/data/orientation.py", line 37
    print "AXIAL"
                ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("AXIAL")?

  File "/usr/share/invesalius/invesalius/data/volume_widgets.py", line 68
    print "send signal - update slice info in panel and in 2d"
                                                             ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("send signal - update slice info in panel and in 2d")?

dpkg: error processing package invesalius (--configure):
 installed invesalius package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 invesalius

This can also be seen in this piuparts log:
https://piuparts.debian.org/sid/fail/invesalius_3.1.99992-1.log

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.17.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages invesalius depends on:
ii  invesalius-bin    3.1.99992-1
ii  python3           3.6.6-1
ii  python3-gdcm      2.8.7-2
ii  python3-nibabel   2.3.0-1
ii  python3-numpy     1:1.14.5-1+b1
ii  python3-pil       5.2.0-2
ii  python3-psutil    5.4.6-1+b1
ii  python3-scipy     1.1.0-1+b1
ii  python3-serial    3.4-4
ii  python3-skimage   0.14.0-1
ii  python3-vtk7      7.1.1+dfsg1-5
ii  python3-vtkgdcm   2.8.7-2
ii  python3-wxgtk4.0  4.0.1+dfsg-6

invesalius recommends no packages.

invesalius suggests no packages.

-- no debconf information



More information about the Debian-med-packaging mailing list