Openmoko Bug #1718: python-pygtk programs don't work

Openmoko Public Trac bugs at docs.openmoko.org
Sun Aug 10 09:59:39 CEST 2008


#1718: python-pygtk programs don't work
---------------------+------------------------------------------------------
 Reporter:  Mercury  |        Owner:  julian_chu
     Type:  defect   |       Status:  new       
 Priority:  normal   |    Milestone:  OM-2008.8 
Component:  Distro   |      Version:  GTA02v5   
 Severity:  normal   |   Resolution:            
 Keywords:           |     Blocking:            
Blockedby:           |  
---------------------+------------------------------------------------------

Comment(by neilbrown):

 I had this problem too.

 I found that if you change the "init" call on line 82 of
 {{{/usr/lib/python2.5/site-packages/gtk-2.0/gtk/_init_.py}}}
 to "{{{_init}}}" (i.e. add a leading underscore),
 then pygtk works perfectly.

 NeilBrown

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/1718#comment:4>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the buglog mailing list