View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001921||Scribus||Scripter||public||2005-04-26 13:51||2005-09-07 21:26|
|Status||closed||Resolution||no change required|
|Platform||Apple iMac 1.25 GHz G4, 768 Mb||OS||OS X||OS Version||10.3.9|
|Target Version||Fixed in Version|
|Summary||0001921: Script | Scribus Script | Font Sample fails on default Mac install: missing TKinter|
|Description||Installed via fink along with msttfonts, x-ghostscriptfonts, apple systemfonts folowing:|
Started Apple's X11, added Scribus to the Applications menu, started.
Traceback (most recent call last):
File "<string>", line 4, in ?
File "/sw/share/scribus/scripts/FontSample.py", line 40, in ?
from Tkinter import *
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/lib-tk/Tkinter.py", line 38, in ?
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter
|Steps To Reproduce||Start Scribus|
From the menus select: Script, Scribus Script, Font Sample
|Tags||No tags attached.|
My (probably rather poor) understanding is that TKinter on MacOS/X is a bit ... er ... interesting, due to the way MacOS/X has (at least) two different GUI layers. The X11 port of Scribus will probably need to use a version of Tkinter from fink that also works with X11, and a version of Python from fink that's compiled to use the X11 version of Tkinter.
It looks like Scribus is trying to use the system Python shipped by Apple, which if I recall correctly lacks Tkinter support entirely - tkinter has to be added on, and works with Aqua not X11.
I realise that's complex and probably doesn't really help you. I'll see if I can look at what's going on, but I'm somewhat lacking in time right now. I'll CC Martin Costabel, the Fink Scribus maintainer, in case he has any comments on this.
Reminder sent to: costabel
This bug look familiar to you? Just need to install the fink python and tkinter dev packages then rebuild, or is there more to it?
Comments appreciated... I don't currently have access to a box to look at this and won't for a few weeks.
Reminder sent to: avox
Installation of tkinter tested on Panther:
Install TclTkAqua (not standalone) 8.4 (http://tcltkaqua.sourceforge.net/)
Install MacPython 2.3 addons for Panther (http://homepages.cwi.nl/~jack/macpython/download.html)
Ignore the error message
Select File->Open URL, enter:
(see also http://www.python.org/packman/)
Now fontsample.py should run in Scribus/Aqua. Someone else want to test with Scribus/X11?
|Since it seems to work fine when Tkinter is installed (and sounds like you might not even need to do that on 10.4 with some of the Python builds the OS uses), I'm resolving this. It's really an issue with the Python install, not Scribus, anyway.|
|2005-04-26 13:51||tedroche||New Issue|
||Status||new => assigned|
||Assigned To||=> ringerc|
||Note Added: 0004423|
||Note Added: 0004425|
||Note Added: 0005396|
|2005-07-05 15:50||avox||Note Added: 0005399|
|2005-07-05 16:01||avox||Note Edited: 0005399|
|2005-07-05 16:03||avox||Note Edited: 0005399|
||Status||assigned => resolved|
||Resolution||open => no change required|
||Note Added: 0005479|
|2005-09-07 21:26||cbradney||Status||resolved => closed|