Package: awn-manager
Version: 0.2.6-4
Severity: important
Tags: patch

wn-manager crashes on startup with error message:
Traceback (most recent call last):
File "/usr/bin/awn-manager.old", line 203, in <module>
awnmanager = AwnManager()
File "/usr/bin/awn-manager.old", line 90, in __init__
colormap = screen.get_rgb_colormap()
NameError: global name 'screen' is not defined

This is probably just a typo since the attached patch fixes the issue

Cheers,

Emme


- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.16-stable
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages awn-manager depends on:
ii  avant-window-navigator        0.2.6-4    A MacOS X like panel for GNOME
ii  gnome-menus                   2.22.1-1   an implementation of the freedeskt
ii  librsvg2-common               2.22.2-2   SAX-based renderer library for SVG
ii  python                        2.5.2-1    An interactive high-level object-o
ii  python-awn                    0.2.6-4    Python bindings for avant-window-n
ii  python-central                0.6.6      register and build utility for Pyt
ii  python-gnome2                 2.22.0-1   Python bindings for the GNOME desk
ii  python-gnome2-desktop         2.22.0-1   Python bindings for the GNOME desk
ii  python-xdg                    0.15-1.1   A python library to access freedes

awn-manager recommends no packages.

-- no debconf information
--- /usr/bin/awn-manager	2008-05-20 11:25:44.976064040 +0200
+++ /usr/bin/awn-manager.old	2008-05-20 11:25:24.497177304 +0200
@@ -87,7 +87,7 @@
         self.gtk_screen = self.window.get_screen()
         colormap = self.gtk_screen.get_rgba_colormap()
         if colormap == None:
-            colormap = self.gtk_screen.get_rgb_colormap()
+            colormap = screen.get_rgb_colormap()
         gtk.widget_set_default_colormap(colormap)
 
         self.notebook = self.wTree.get_widget("panelCategory")

Reply via email to