[Reportbug-maint] Bug#533824: reportbug: displays useless warnings

Sandro Tosi morph at debian.org
Mon Jun 22 06:34:03 UTC 2009


reassign 533824 python-gtk2
thanks

On Sat, Jun 20, 2009 at 18:26, Jakub Wilk<ubanus at users.sf.net> wrote:
> Package: reportbug
> Version: 4.4
> Severity: minor
>
> Every time I run reportbug, it a pointless warning is shown.
>
> $ env | grep -c DISPLAY
> 0
>
> $ grep ^ui /etc/reportbug.conf .reportbugrc
> /etc/reportbug.conf:ui text
>
> $ reportbug reportbug
> /usr/lib/pymodules/python2.5/gtk-2.0/gtk/__init__.py:72: GtkWarning: could
> not open display
>  warnings.warn(str(e), _gtk.Warning)
> [snip]

the problem (if there is any) is in gtk:

$ env | grep -c DISPLAY
0
$ python
Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
/usr/lib/pymodules/python2.5/gtk-2.0/gtk/__init__.py:72: GtkWarning:
could not open display
  warnings.warn(str(e), _gtk.Warning)
>>>

>
>
> -- System Information:
> Debian Release: squeeze/sid
>  APT prefers unstable
>  APT policy: (900, 'unstable'), (500, 'experimental')
> Architecture: i386 (i686)
>
> Kernel: Linux 2.6.29-2-686 (SMP w/2 CPU cores)
> Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages reportbug depends on:
> ii  apt                           0.7.21     Advanced front-end for dpkg
> ii  python                        2.5.4-2    An interactive high-level
> object-o
> ii  python-reportbug              4.4        Python modules for interacting
> wit
>
> reportbug recommends no packages.
>
> Versions of packages reportbug suggests:
> ii  debconf-utils                 1.5.26     debconf utilities
> ii  debsums                       2.0.45     verification of installed
> package ii  dlocate                       1.02       fast alternative to
> dpkg -L and dp
> ii  esmtp-run [mail-transport-age 0.6.0-1    User configurable relay-only
> MTA
> ii  file                          5.03-1     Determines file type using
> "magic"
> ii  gnupg                         1.4.9-4    GNU privacy guard - a free PGP
> rep
> pn  python-gnome2-extras          <none>     (no description available)
> ii  python-gtk2                   2.14.1-3   Python bindings for the GTK+
> widge
> ii  python-urwid                  0.9.8.4-1  curses-based UI/widget library
> for
> pn  python-vte                    <none>     (no description available)
>
> -- no debconf information
>
> --
> Jakub Wilk
>
>
>
>


Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi





More information about the Reportbug-maint mailing list