[Pkg-dia-team] Bug#492396: should not warn about missing DISPLAY when used at the command line

W. Martin Borgert debacle at debian.org
Fri Jul 25 18:53:46 UTC 2008


Package: dia
Version: 0.96.1-7
Severity: minor

Since PyGTK is "integrated" into dia, it warns about about
missing DISPLAY, when running at the command line (and DISPLAY
is not set):

$ DISPLAY='' dia --export=foo.png foo.dia
/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:72: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
foo.dia --> foo.png

Running dia with no DISPLAY is no reason to complain.
(Btw. the "foo.dia --> foo.png" line is waste, as well.)





More information about the Pkg-dia-team mailing list