[Twisted-Python] Gtk version
David LeBlanc
whisper at oz.net
Wed Jan 22 18:08:17 MST 2003
Which version of gtk and pygtk should I be using to get twisted GUI's to
work on Windows 2000? In this particular case, it's manhole.
PyGtk-0.6.11 complains about GDK on every keystroke:
This is after the GUI comes up:
setting login report 'connecting...'
-:1: error: invalid string constant "Console_stdout", expected valid string
constant
It does let me log in using the user and password entered when I made the
tap.
Every keystroke causes this:
Traceback (most recent call last):
File "J:\Python22\Lib\site-packages\pygtk\gtk.py", line 127, in __call__
ret = apply(self.func, a)
File "J:\Python22\lib\site-packages\twisted\manhole\ui\pywidgets.py", line
63, in processKey
isMeta = event.state & gtk.GDK.MOD4_MASK
AttributeError: 'module' object has no attribute 'GDK'
PyGtk-1.99.11-libglade dies with:
J:\twila>manhole
Traceback (most recent call last):
File "J:\python22\scripts\manhole.py", line 33, in ?
from twisted.scripts import manhole
File "J:\Python22\Lib\site-packages\twisted\scripts\manhole.py", line 23,
in ?
from twisted.spread.ui import gtkutil
File "J:\Python22\lib\site-packages\twisted\spread\ui\gtkutil.py", line
62, in ?
class GetString(gtk.GtkWindow):
AttributeError: 'module' object has no attribute 'GtkWindow'
PyGtk-0.6.11 seems to be using gtk+-1.3.0
PyGtk-1.99.11-libglade uses gtk2_libraries-win32.zip
Thanks,
David LeBlanc
Seattle, WA USA
More information about the Twisted-Python
mailing list