graphics/sketch and Python 2.3

Shawn K. Quinn skquinn at xevious.kicks-ass.net
Sat Sep 6 03:37:48 PDT 2003


The graphics/sketch port does not work with Python 2.3. Installing 
Python 2.2 and changing /usr/local/bin/sketch to use Python 2.2 does 
work, however (it does spit out many warnings).

Attempting to use Python 2.3 gives the following error:

Traceback (most recent call last):
  File "/usr/local/share/sketch/sketch.py", line 34, in ?
    Sketch.main.main()
  File "/usr/local/share/sketch/Sketch/Base/main.py", line 148, in main
    run_script = options.run_script)
  File "/usr/local/share/sketch/Sketch/UI/skapp.py", line 181, in 
__init__
    geometry = geometry)
  File "/usr/local/share/sketch/Sketch/UI/skapp.py", line 100, in 
__init__
    self.init_tk(screen_name, geometry)
  File "/usr/local/share/sketch/Sketch/UI/skapp.py", line 210, in 
init_tk
    geometry = geometry)
  File "/usr/local/share/sketch/Sketch/UI/skapp.py", line 105, in 
init_tk
    className = self.tk_class_name)
  File "/usr/local/lib/python2.3/lib-tk/Tkinter.py", line 1565, in 
__init__
    self.tk.wantobjects(wantobjects)
AttributeError: wantobjects

-- 
Shawn K. Quinn


More information about the freebsd-ports mailing list