Re: module named cairo, python-gtk

2009-04-18 Thread Mark Grieveson
On Sat, 18 Apr 2009 05:29:54 + (UTC)
debian-user-digest-requ...@lists.debian.org wrote:

 In some python applications, such as exfalso, or gdebi-gtk, I get an
 error regarding there being no module named cairo.  For example, 

Never mind.  I fixed this by dpkg-reconfiguring the packages
python-cairo, python-gtk2, and python-gobject.  There's still some
errors when I run the above named programs, but at least they now run.

Mark


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: module named cairo, python-gtk

2009-04-18 Thread Cousin Stanley

 util.gtk_init()
   File /usr/share/quodlibet/util/__init__.py, line 44, in gtk_init
 import gtk
   File /var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py,
 line 48, in module from gtk import _gtk
 ImportError: No module named cairo
  

  Mark  

You might try installing the  python-cairo  package  

Description: Python bindings for the Cairo vector graphics library
 This package contains modules that allow you to use the cairo
 vector graphics library in Python programs.


-- 
Stanley C. Kitching
Human Being
Phoenix, Arizona


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: module named cairo, python-gtk

2009-04-18 Thread Mark Grieveson
On Sun, 19 Apr 2009 03:21:15 + (UTC)
debian-user-digest-requ...@lists.debian.org wrote:

   Mark  
 
 You might try installing the  python-cairo  package  
 
 Description: Python bindings for the Cairo vector graphics
 library This package contains modules that allow you to use the cairo
  vector graphics library in Python programs.

Thanks for your response.  I actually did solve this.  I
dpkg-reconfigured a few packages (python-cairo being one of them) that
the programs I was having trouble with depended upon, and this did fix
it.

Mark


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



module named cairo, python-gtk

2009-04-17 Thread Mark Grieveson
In some python applications, such as exfalso, or gdebi-gtk, I get an
error regarding there being no module named cairo.  For example, 

m...@debian:~$ exfalso
Traceback (most recent call last):
  File /usr/bin/exfalso, line 69, in module
main(sys.argv)
  File /usr/bin/exfalso, line 46, in main
util.gtk_init()
  File /usr/share/quodlibet/util/__init__.py, line 44, in gtk_init
import gtk
  File /var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py,
line 48, in module from gtk import _gtk
ImportError: No module named cairo

I reinstalled exfalso, which went by without a problem.  But still,
this issue remains.  There is a broken link, that
being /etc/alternatives/python-gtk, which may or may not have something
to do with it.  Other python applications, such as tovidgui, work
without a problem.  tovidgui is not a part of the official Lenny
distribution, though, but it does rely upon both python and gtk, I
think.

As always, all ideas are welcome.

Mark


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org