Hi, I'm using Scribus 1.6.1 MacOs M1 Sonoma 14.1.1
and when I want to use script like calendarWizard for example I have this message :
Traceback (most recent call last):
File "<string>", line 11, in <module>
File "<string>", line 677, in <module>
File "<string>", line 667, in main
File "/Applications/Scribus.app/Contents/Frameworks/Python.framework/Versions/3.11/lib/python3.11/tkinter/__init__.py", line 2326, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_tkinter.TclError: Can't find a usable init.tcl in the following directories:
/Library/Frameworks/Python.framework/Versions/3.11/lib/tcl8.6 /usr/lib/tcl8.6 /lib/tcl8.6 /usr/library /library /tcl8.6.13/library /tcl8.6.13/library
/Library/Frameworks/Python.framework/Versions/3.11/lib/tcl8.6/init.tcl: version conflict for package "Tcl": have 8.6.13, need exactly 8.6.12
version conflict for package "Tcl": have 8.6.13, need exactly 8.6.12
while executing
"package require -exact Tcl 8.6.12"
(file "/Library/Frameworks/Python.framework/Versions/3.11/lib/tcl8.6/init.tcl" line 19)
invoked from within
"source /Library/Frameworks/Python.framework/Versions/3.11/lib/tcl8.6/init.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source $tclfile]"
This probably means that Tcl wasn't installed properly.
I don't know how to solve it [/list]
hi loudo
i never managed to run one of the tkinter related scribus scripts under mac os. there are some open bug reports on this topic and a request to include tkinter in the dmg (https://bugs.scribus.net/view.php?id=17096).
it looks as your version of tcl is not exactly the one scribus is looking for to run the script.
Quote from: loudo on March 20, 2024, 11:05:44 PM...version conflict for package "Tcl": have 8.6.13, need exactly 8.6.12
while executing
"package require -exact Tcl 8.6.12"
utnik
But I don't install Tcl package.
Scribus don't use its own package ?
hi loudo
you're right. i found a folder called 'tkinter' inside of the 'scribus.app'.
(https://up.picr.de/47289752km.png)
i don't know, why scribus should search for another version...
utnik
Hi Utnik,
Ok, so maybe I need to ask scribus to search this folder.
Do you know if this is possible and how to do it?
hi loudo
unfortunately i can't help here.
i hope craig bradney will find a way to solve the tkinter-macOs-problem in the near future...
utnik
I am using Windows 10 and Scribus 1.6.1. in my system "CalendarWizard" script runs perfectly. just for your information
regards,
Srikrishnan