[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gtk2 patch stopped dead in the tracks.
From: |
Ralf Engels |
Subject: |
gtk2 patch stopped dead in the tracks. |
Date: |
Sat, 1 Feb 2003 18:25:34 +0100 |
Hi,
I just wanted to try out Bernhards gtk2 patch and now are stopped by this
error:
--
Traceback (most recent call last):
File "./sketch.py", line 41, in ?
Sketch.UI.main(sys.argv)
File "./Sketch/UI/__init__.py", line 238, in main
application = SketchApplication(filenames)
File "./Sketch/UI/skapp.py", line 192, in __init__
self.build_window()
File "./Sketch/UI/skapp.py", line 250, in build_window
self.toolbox = SketchToolbox(self, self.context)
File "./Sketch/UI/toolbox.py", line 79, in __init__
self.build_window()
File "./Sketch/UI/toolbox.py", line 91, in build_window
skpixmaps.init_from_widget(self.window)
File "./Sketch/UI/skpixmaps.py", line 106, in init_from_widget
bitmaps.InitFromWidget(widget)
File "./Sketch/UI/skpixmaps.py", line 57, in InitFromWidget
setattr(self, name, load_bitmap(window, file)[0])
File "./Sketch/UI/skpixmaps.py", line 44, in load_bitmap
bitmap = gtk.gdk.bitmap_create_from_data(window, data, width, height)
TypeError: bitmap_create_from_data() argument 2 must be string without null
bytes, not str
I am using pygtk-1.99.14.
Can you help me there?
Ralf
________________________
Ralf Engels
Software design engineer
www.rengels.de
- gtk2 patch stopped dead in the tracks.,
Ralf Engels <=