straw-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Straw-devel] module_check in setup.py


From: Juri Pakaste
Subject: Re: [Straw-devel] module_check in setup.py
Date: Tue, 20 Jan 2004 19:45:28 +0200

On Tue, 2004-01-20 at 10:03, Terje Rosten wrote:
> * Juri Pakaste
> | 
> | This is caused by import gtk causing a RuntimeError when there's no
> | X display.
> 
> What about this patch? If the $DISPLAY variable is not set, define it
> and then try to import the modules.

No, I don't think so. Probably in most cases if you don't have $DISPLAY,
you don't have authorization to access a display either.

Maybe I'll just make it catch the runtimeerror, print out a warning and
keep going.

-- 
[ Juri Pakaste / address@hidden / http://www.iki.fi/juri/ ]





reply via email to

[Prev in Thread] Current Thread [Next in Thread]