Bug#282453: gdesklets: Fails start Calendar display

Michal Kaspar Michal Kaspar <mkaspar@it-media.cz>, 282453@bugs.debian.org
Mon, 22 Nov 2004 09:38:31 +0100


This is a multi-part MIME message sent by reportbug.

--===============1848750788==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: gdesklets
Version: 0.31.1-1
Severity: important

If I try open Calendar display either from commandline or from graphical
shell, it pops up window with:
Error in sensor Calendar

An error occured while running a sensor.

with Details:
Traceback (most recent call last):
  File "/usr/share/gdesklets/factory/SensorFactory.py", line 83, in create_sensor
   sensor = module.new_sensor(args)
AttributeError: 'module' object has no attribute 'new_sensor'

The only possibility to continue is to press OK and then another window
appears with:
Invalid display file
'/usr/share/gdesklets/Displays/calendar/Calendar.display'

After OK this display exits. Some other displays I tried seem to worrk
correctly.

The display file contains invalid data and could not be loaded.

I tried to purge gdesklets and gdesklets-data and install it again, I
deleted my .gdesklets but the problem is still the same.
Copy of gdesklets log attached.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-686
Locale: LANG=C, LC_CTYPE=cs_CZ

Versions of packages gdesklets depends on:
ii  gconf2                    2.6.4-2        GNOME configuration database syste
ii  libart-2.0-2              2.3.16-6       Library of functions for 2D graphi
ii  libatk1.0-0               1.6.1-5        The ATK accessibility toolkit
ii  libbonobo2-0              2.6.2-7        Bonobo CORBA interfaces library
ii  libbonoboui2-0            2.6.1-1        The Bonobo UI library
ii  libc6                     2.3.2.ds1-18   GNU C Library: Shared libraries an
ii  libgconf2-4               2.6.4-2        GNOME configuration database syste
ii  libgcrypt11               1.2.0-4        LGPL Crypto library - runtime libr
ii  libglib2.0-0              2.4.7-1        The GLib library of C routines
ii  libgnome2-0               2.6.1.2-2      The GNOME 2 library - runtime file
ii  libgnomecanvas2-0         2.6.1.1-2      A powerful object-oriented display
ii  libgnomeui-0              2.6.1.1cvs-1   The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0            2.6.2-2        The GNOME virtual file-system libr
ii  libgnutls11               1.0.16-9       GNU TLS library - runtime library
ii  libgpg-error0             1.0-1          library for common error values an
ii  libgtk2.0-0               2.4.13-1       The GTK+ graphical user interface 
ii  libgtop2-2                2.6.0-4        Libraries for gtop system monitori
ii  libice6                   4.3.0.dfsg.1-8 Inter-Client Exchange library
ii  liborbit2                 1:2.10.2-1.1   libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0             1.4.1-4        Layout and rendering of internatio
ii  libpopt0                  1.7-5          lib for parsing cmdline parameters
ii  librsvg2-2                2.8.1-1        SAX-based renderer library for SVG
ii  libsm6                    4.3.0.dfsg.1-8 X Window System Session Management
ii  libtasn1-2                0.2.10-3       Manage ASN.1 structures (runtime)
ii  libxml2                   2.6.11-5       GNOME XML library
ii  python-gnome2             2.0.3-1        Python bindings for the GNOME desk
ii  python-gtk2               2.2.0-3        Python bindings for the GTK+ widge
ii  python-numeric            23.6-2         Numerical (matrix-oriented) Mathem
ii  xlibs                     4.3.0.dfsg.1-8 X Window System client libraries m
ii  zlib1g                    1:1.2.2-3      compression library - runtime

-- no debconf information

--===============1848750788==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="gdesklets.log"

Here's gDesklets log
/usr/share/gdesklets/factory/DisplayFactory.py:150: DeprecationWarning: Using
sensors is deprecated now. Please consider using controls and inline scripts
now.
  DeprecationWarning)
Traceback (most recent call last):
  File "/usr/share/gdesklets/factory/SensorFactory.py", line 83, in
create_sensor
    sensor = module.new_sensor(args)
AttributeError: 'module' object has no attribute 'new_sensor'
Traceback (most recent call last):
  File "/usr/share/gdesklets/factory/DisplayFactory.py", line 75, in
create_display
    sax.parseString(data, self)
  File "/usr/lib/python2.3/site-packages/_xmlplus/sax/__init__.py", line 47, in
parseString
    parser.parse(inpsrc)
  File "/usr/lib/python2.3/site-packages/_xmlplus/sax/expatreader.py", line 109,
in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.3/site-packages/_xmlplus/sax/xmlreader.py", line 123,
in parse
    self.feed(buffer)
  File "/usr/lib/python2.3/site-packages/_xmlplus/sax/expatreader.py", line 216,
in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.3/site-packages/_xmlplus/sax/expatreader.py", line 315,
in end_element
    self._cont_handler.endElement(name)
  File "/usr/share/gdesklets/factory/DisplayFactory.py", line 225, in endElement
    sensorctrl.sensor = (module, args)
  File "./Sensors/__init__.py", line 38, in __set_sensor
RuntimeError: Could not load sensor
Info: Purging ID 'id11011112855813246'.


--===============1848750788==--