[MacPorts] #22994: py-tkinter 2.4.6: Fails on 10.4/PPC

MacPorts noreply at macports.org
Tue Dec 22 16:40:40 PST 2009


#22994: py-tkinter 2.4.6: Fails on 10.4/PPC
--------------------------------------+-------------------------------------
 Reporter:  christopherglong@…        |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  1.8.1                                
 Keywords:                            |        Port:  py-tkinter                           
--------------------------------------+-------------------------------------
 I have a PowerPC computer running 10.4 Tiger.  I can't seem to get `py-
 tkinter` to work properly.  When I try testing it using the following
 code, I get different results, depending on which variants of `tk` I use:

 {{{
 #!python
 import _tkinter
 import Tkinter
 Tkinter._test()
 }}}

 When I try `tk +darwin +quartz`, I get the attached window, which stops
 responding and has to be force quit.

 When I try simply `tk +darwin`, I get this error message:

 {{{
 Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
 /lib-tk/Tkinter.py", line 3667, in _test
     root = Tk()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
 /lib-tk/Tkinter.py", line 1569, in __init__
     self.tk = _tkinter.create(screenName, baseName, className,
 interactive, wantobjects, useTk, sync, use)
 _tkinter.TclError: couldn't connect to display ":0"
 }}}

 Any ideas?

-- 
Ticket URL: <http://trac.macports.org/ticket/22994>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list