Thanks! I'm definitely making progress, rox edit will run now, though it is still giving me errors. I ran it from a console and tried to use the search feature, it errored out every time with

Traceback (most recent call last):
File "./EditWindow.py", line 470, in mini_changed
self.minibuffer.changed()
File "./search.py", line 76, in changed
buffer = self.window.buffer
AttributeError: Search instance has no attribute 'window'

Sooooo, I'm gonna go bug them back at rox. One thing I wanted to clarify (besides "what is pygtk.pth, and why do you hate it so?") was about the prefix suggestion:

I used --prefix=/usr, but I went back and ran python -v after that and got this response:

/usr/lib/python2.2/site.pyc matches /usr/lib/python2.2/site.py

so is --prefix=/usr appropriate? or do I need to also reinstall python (please say no...) and will having pygtk installed in a non-standard location cause problems with other Python-based apps than Rox?

I ran these tests again:

>>> import pygtk
>>> pygtk.require('2.0')
>>> import gtk
>>> gtk.Window
<type 'gtk.Window'>
>>>

and it worked, so I think any remaining problems would be with the rox application alone, no?

Really big thanks, I am so happy to know there are such helpful people in the world.

-J.


Christian Reis wrote:

I now officially hate pygtk.pth.

On Mon, Jan 20, 2003 at 01:27:32PM -0500, joehill wrote:

Then I ran make install as root and found that it had installed to this directory

/usr/local/lib/python2.2/site-packages/gtk-2.0

which is one of the directories mentioned by rox support.

still, rox edit will not run.

What rox support didn't tell you is that the prefix where your package
is installed *does* matter, and that /usr and /usr/local are not the
same: if the python version you are using is installed to the prefix
/usr then you *must* install pygtk to the same prefix.
This means, yes, that you need to supply --prefix=/usr to pygtk's
configure.

A python -v will tell you what prefix is being used by default (just see
from where site.py is being loaded).

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Reply via email to