Source: vusb-analyzer
Version: 1.1-2
Severity: serious
Justification: Policy 3.5

In a clean chroot:

| $ vusb-analyzer --help
| Traceback (most recent call last):
|   File "./vusb-analyzer", line 13, in <module>
|     from VUsbTools import Views, Log, Diff, Decode
|   File "/usr/lib/vusb-analyzer/VUsbTools/Views.py", line 15, in <module>
|     from VUsbTools import Types, Style
|   File "/usr/lib/vusb-analyzer/VUsbTools/Types.py", line 20, in <module>
|     except gnomecanvas:
| NameError: name 'gnomecanvas' is not defined

It looks like gnomecanvas was indented to be optional, it's just nobody tested it:

| try:
|     import gnomecanvas
| except gnomecanvas:
|     print "Warning: You don't have gnome-canvas (or its python bindings) 
installed."
|     print "         The happy timing diagram will be disabled."
|     gnomecanvas = None

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110207201429.ga2...@jwilk.net

Reply via email to