Ahmad Baitalmal wrote:
Christian, first of all, I appreciate your friendly attitude. SometimesIf you put gtksourceview.so in gtk/, you will need to import it as "gtk.gtksourceview". Might this be the cause of your problem?
I just give up on working on a project just because I don't want to deal
with the rude comments I get back.
On Wed, 2003-01-22 at 02:46, Christian Reis wrote:
Hey Ahmad, nice work. I'll let Johan have a look at the code, but justK, so I got a fresh CVS gtksourceview (builds/installs perfectly), and a
as a tip, next time try to work with CVS and patches (generated with cvs
diff -urN from the pygtk module root). It makes it a *LOT* easier to
integrate code (I won't be surprised if Johan can't do it and has to ask
you for the CVS patch) and it's standard in OSS work too.
fresh CVS gnome-python/pygtk (also builds/installs perfectly).
Then I added my wrapper files to gnome-python/pygtk/gtk/ and builds
perfectly also.
With the 1.99.14 tarball, I "make install" and my gtksourceviewmodule.*
are installed to /usr/lib/python2.2/site-packages/gtk-2.0/gtk/ and I
just import gtksourceview and I'm in business.
The problem I'm having with the CVS version, it builds and make install
works, and I see the gtksourceviewmodule.* files in
/usr/lib/python2.2/site-packages/gtk-2.0/gtk/ but python can't import
the gtksourceview module?
It just says 'no module named gtksourceview'
Try running python with the "-v" switch if you still have troubles. It will print debug messages when importing modules, which might also help.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
