On Mon, 20 Jan 2003 17:47:36 -0200, Christian Reis <[EMAIL PROTECTED]>
wrote:
> On Mon, Jan 20, 2003 at 02:22:26PM -0500, joehill wrote:
> > AttributeError: Search instance has no attribute 'window'
>
> Well, this is a rox problem now, thankfully, not ours. :-)
Actually, it might be a PyGTK problem. Looks like the infamous
ref-counting bug ("this object is only referenced by signal handlers, so
I'm going to wipe __dict__"):
http://bugzilla.gnome.org/show_bug.cgi?id=92955
> > 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
>
> pygtk.pth is what tells Python to look in the gtk-2.0 or gtk-1.2
> directories by default, and I use it as shorthand to refer to the whole
> pygtk.py debacle. I hate this solution because it is has utterly
> confusing semantics and has generated about 50% of the list traffic for
> the last 4 months or so.
Indeed. I guess there was a need to be compatible with RedHat 8.0 (where
'import gtk' has to get 2.0 by default) and everyone else (where it has to
get 1.2). Perhaps there should be a warning if you forget to import pygtk?
[...]
> There is no need to reinstall Python, and all PyGTK apps will now find
> pygtk correctly. One thing that many ignore is that the default prefix
> of /usr/local *MAY NOT BE CORRECT* for your system. If your Python is
> installed by default to /usr, it definitely isn't - you *must use*
> --prefix=/usr instead. Just because it's default, in this case, doesn't
> mean it's correct.
Doesn't pygtk.py search sys.path? In that case, it should still find stuff
in /usr/local, even if python is in /usr (provided /usr/local is in the
default search path). I think there's a problem if you've installed some
gtk-2.0 bits to one prefix and some to another, though:
http://bugzilla.gnome.org/show_bug.cgi?id=70178
(at the end; I should have opened a separate bug report)
--
Thomas Leonard http://rox.sourceforge.net
[EMAIL PROTECTED] [EMAIL PROTECTED]
GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/