[Pkg-dia-team] Bug#443126: dia's python console plugin uses deprecated gtk python bindings

Daniel Kahn Gillmor dkg-debian.org at fifthhorseman.net
Tue Sep 18 21:25:51 UTC 2007


Package: dia
Version: 0.96.1-4
Severity: minor

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


A simple run of dia that included bringing up the console plugin
generated the following spew to stderr (or maybe it was stdout):

String printer-command registered before loading persistence!
String printer-file registered before loading persistence!
/usr/share/dia/python/group_props.py:55: GtkWarning: gtk_table_resize: assertion `n_cols > 0 && n_cols < 65536' failed
  table = gtk.Table(2, len(props), 0)
/usr/share/dia/python/gtkcons.py:118: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
  self.text.set_editable(gtk.FALSE)
/usr/share/dia/python/gtkcons.py:139: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
  self.inp.pack_end(self.vscroll, expand=gtk.FALSE)
/usr/share/dia/python/gtkcons.py:143: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
  self.pack_end(self.inputbox, expand=gtk.FALSE)
/usr/share/dia/python/gtkcons.py:149: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
  self.inputbox.pack_start(self.prompt, fill=gtk.FALSE, expand=gtk.FALSE)
/usr/share/dia/python/gtkcons.py:154: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
  self.inputbox.pack_end(self.closer, fill=gtk.FALSE, expand=gtk.FALSE)
/usr/share/dia/python/gtkcons.py:197: GtkDeprecationWarning: gtk.idle_add is deprecated, use gobject.idle_add instead
  gtk.idle_add(self.scroll_to_end)
/usr/share/dia/python/gtkcons.py:190: DeprecationWarning: integer argument expected, got float
  self.text.scroll_to_iter(iter, 0.0, 0.5)
sys:1: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead

While some of this might be legitimate, deprecated items that can be
easily fixed should be cleaned up, so that the remaining error spew
has a better signal-to-noise ratio.

Thanks for maintaining dia in debian,

	--dkg

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

Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dia depends on:
ii  dia-common              0.96.1-4         Diagram editor (common files)
ii  dia-libs                0.96.1-4         Diagram editor (library files)
ii  libart-2.0-2            2.3.19-3         Library of functions for 2D graphi
ii  libatk1.0-0             1.18.0-2         The ATK accessibility toolkit
ii  libc6                   2.6.1-1+b1       GNU C Library: Shared libraries
ii  libcairo2               1.4.10-1         The Cairo 2D vector graphics libra
ii  libfontconfig1          2.4.2-1.2        generic font configuration library
ii  libfreetype6            2.3.5-1+b1       FreeType 2 font engine, shared lib
ii  libglib2.0-0            2.14.0-2         The GLib library of C routines
ii  libgtk2.0-0             2.10.13-1        The GTK+ graphical user interface 
ii  libpango1.0-0           1.18.1-1         Layout and rendering of internatio
ii  libpng12-0              1.2.15~beta5-2   PNG library - runtime
ii  libpopt0                1.10-3           lib for parsing cmdline parameters
ii  libx11-6                2:1.0.3-7        X11 client-side library
ii  libxcursor1             1:1.1.9-1        X cursor management library
ii  libxext6                1:1.0.3-2        X11 miscellaneous extension librar
ii  libxfixes3              1:4.0.3-2        X11 miscellaneous 'fixes' extensio
ii  libxi6                  2:1.1.3-1        X11 Input extension library
ii  libxinerama1            1:1.0.2-1        X11 Xinerama extension library
ii  libxml2                 2.6.30.dfsg-2    GNOME XML library
ii  libxrandr2              2:1.2.2-1        X11 RandR extension library
ii  libxrender1             1:0.9.3-1        X Rendering Extension client libra
ii  zlib1g                  1:1.2.3.3.dfsg-5 compression library - runtime

Versions of packages dia recommends:
ii  gsfonts-x11                   0.20       Make Ghostscript fonts available t

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQIVAwUBRvBCXszS7ZTSFznpAQIMZBAAhmwPTDQI6g3grz4Cg7dXGYQlDsUvYyAh
moA2WGb3eQWnLvu4+NuinGhF0+ZFCCpMP5Q6exmAfhSkQcWaUJ/5KtSndJY2cCjt
XO3VZnZbtHvVoAdCy/topnjcBO+htb4mcg7gK8Q3mQgNqhlrYRVoKkH6gS6JXrLM
ERDoEJpjVp+zBuhULPl8r26WBTHauAJLzeT+1/QAuC1ZzFqgsSoFSmYuhFasGjGZ
SF8eYfvMeXh3J1beJ6oqbIYtvjMGHTB3eRoFkqUZrXFK8/5knLZscWAzgyyZNQ4D
67AHnLZtaLTfkEetQnUZvZA+8No/hPEnb42F6Poe549MEKL3N53bUfePfUKAHRFI
iYnfx+aMU2jPB0EdRIKJoVB9Hbe/e3K9aPwr4PcZp3JjrpDP36Qyn5KRsdQISMBa
wnn3P+JKz2GgqGeGlvDkTDZPx3Ma4OpC2+KxKOnrwmophYw0WJOblZtmYfbx0utz
e3Hsudw9+PWX78u/naxylmPPVhtTOJtioL4mFgWjzS7y/QCf6Aqisu8K6I5aWIwc
18bNtJzm3ckoyRKjS7k1IDJQJubw7m/UIEPCD8Mo0EB+myvDPA/ZTTARjkKapLOG
7WThdXBUVKuEOdiJd+w0Q9Zkb7ssLwgxWZGpnxYWYf/XoRTrRP0GuxdZMTs4eXva
yDl32B/EM1o=
=9Xg+
-----END PGP SIGNATURE-----





More information about the Pkg-dia-team mailing list