[gpodder-devel] python core when display not correctly set

  • From: contrib at maisondubonheur.com (Alain TAUCH)
  • Date: Sun, 25 Mar 2007 22:22:52 +0200

On Sun, 25 Mar 2007 21:56:12 +0200
Thomas Perl [Thomas] wrote:

Thomas> Hello Alain!
Thomas> 
Thomas> On Sun, 2007-03-25 at 21:06 +0200, Alain TAUCH wrote:
Thomas> > I'm not sure this should be handled by gpodder, but I'd prefer if it
Thomas> > was
Thomas> > graciously catched by gpodder. 
Thomas> 
Thomas> I've added some code to check for a set $DISPLAY variable and stop with
Thomas> a nonzero return code and message if it's not set.

not sure this will be enough, since even with a $DISPLAY, XOpenDisplay
may still fail. I'll check this.

-- 
Alain


Other related posts: