Package: veromix
Version: 0.17.0-1
Severity: important
Tags: patch

When trying to install veromix without having python3 installed, the
following occurs:
Setting up python3 (3.2.3~rc2-1) ...
running python rtupdate hooks for python3.2...
  File "/usr/share/veromix/dbus-service/pulseaudio/PulseStream.py", line 44
    raise Exception, "Couldn't do connect_record()"
                   ^
SyntaxError: invalid syntax

The attache patch fixes this.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages veromix depends on:
ih  python3         3.2.3~rc2-1
iu  python3-dbus    1.1.0-1
iu  python3-gi      3.2.2-1
ii  veromix-common  0.17.0-1

veromix recommends no packages.

veromix suggests no packages.

-- no debconf information
--- PulseStream.py	2012-06-09 19:05:04.000000000 +0200
+++ /usr/share/veromix/dbus-service/pulseaudio/PulseStream.py	2012-06-09 19:04:09.000000000 +0200
@@ -41,7 +41,7 @@
                                           None, # buffer_attr
                                           0) # flags
         if retval != 0:
-            raise Exception, "Couldn't do connect_record()"
+            raise Exception("Couldn't do connect_record()")
 
 
     def peek(self, pulseInterface):
@@ -50,4 +50,4 @@
     def disconnect(self):
         retval = pa_stream_disconnect(self)
         if retval != 0:
-            raise Exception, "Couldn't do disconnect()"
+            raise Exception("Couldn't do disconnect()")

Reply via email to