Hello! On Tue, 2008-07-01 at 16:13 -0800, Jeff Spaleta wrote: > On Thu, Jun 26, 2008 at 2:34 AM, Thomas Perl <[EMAIL PROTECTED]> wrote: > > Sorry for sounding like a distro nazi here, but we cannot support > every > > freakin' distro out there, and I sadly cannot give you any hints on > how > > to fix these problems on "BLAG". Either ask the BLAG maintainers or > fix > > the problem yourself - as I said, the ImportError means that PyGTK > is > > not installed. This problem is out-of-scope for gPodder to support, > as > > it states in its README file that PyGTK needs to be installed. > > I'm not sure this is related... but import gtk can fail if the display > is not accessible. I've seen this happen several times now in > configure scripts which attempt to import gtk as a check to make sure > that pygtk is available. The init process for the gtk module load > attempts to access the graphical display and if it can not, falls over > and dies. I'm not sure if this is the underlying problem, but this is > what I see sometimes when doing python application builds for Fedora > which want to test for the gtk module. gpodder's make test may fail in > the same way.. if done under a chroot for example.
It works for me with a wrongly-set DISPLAY variable.. [EMAIL PROTECTED]:~$ unset DISPLAY [EMAIL PROTECTED]:~$ export DISPLAY [EMAIL PROTECTED]:~$ python Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import gtk /var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:72: GtkWarning: could not open display warnings.warn(str(e), _gtk.Warning) >>> gtk <module 'gtk' from '/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.pyc'> >>> Can you please be a bit more specific on how to trigger that error? Seems to me it can be a problem, and we don't really need to "import gtk" in the setup code (Are we doing this?). Thomas _______________________________________________ gpodder-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/gpodder-devel
