[pygtk] Init trouble

2000-06-07 Thread Niklas Saers Mailinglistaccount

Hi. When I do a 

import gnome.ui

(or applet or capplet) or even just 
python /usr/local/lib/python1.5/site-packages/gnome/ui 
then I get first Permission denied to /dev/dsp0 (which is ok since I don't
have a soundcard which is supported on my FreeBSD 4.0 box) and then I get
an 'Alarm clock' and it ends. The modules seem to end in the
initialization of the python-files. Can anyone help me out on what this
error is and how I can make it go away so that I can work with my glade
projects? I'm using python 1.5 and python-glade 1.53

Sincerely yours
   Niklas Saers


___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk



Re: [pygtk] GdkImlib

2000-06-07 Thread Paul Clifford

"Eric Gillespie, Jr." wrote:

 Has anyone had any luck using GdkImlib? I can't get it to load
 any images at all. The following simple program
 
 from GdkImlib import *
 image = Image("/home/epg/test.xpm")
 
 gives the following error message:
 
 /convert: No such file or directory
 gdk_imlib ERROR: Cannot load image: /home/epg/1.xpm
 All fallbacks failed.

It looks like your version of imlib was compiled without built-in xpm
support and tried to fall back on ImageMagick to convert the xpm file
into something it could handle.  Since "convert" wasn't found you either
don't have ImageMagick on your system, or your PATH doesn't include the
directory convert was installed in.  The best solution would be to
recompile imlib with xpm support, but you could try installing
ImageMagick (or updating your PATH if it's already installed) if you
want a quick fix.

___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk



Re: [pygtk] Init trouble

2000-06-07 Thread James Henstridge

On Wed, 7 Jun 2000, Niklas Saers Mailinglistaccount wrote:

 Hi. When I do a 
 
 import gnome.ui
 
 (or applet or capplet) or even just 
 python /usr/local/lib/python1.5/site-packages/gnome/ui 
 then I get first Permission denied to /dev/dsp0 (which is ok since I don't
 have a soundcard which is supported on my FreeBSD 4.0 box) and then I get
 an 'Alarm clock' and it ends. The modules seem to end in the
 initialization of the python-files. Can anyone help me out on what this
 error is and how I can make it go away so that I can work with my glade
 projects? I'm using python 1.5 and python-glade 1.53

Well, the /dev/dsp message is due to the gnome-libs initialising esd.  I
don't know about the Alarm clock message.  Try passing the --disable-sound
argument to your program to disable esd usage and see if that makes a
difference.

 
 Sincerely yours
Niklas Saers
 

James.

-- 
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/



___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk