Hello. I am currently trying to launch xschem usin...
# xschem
h
Hello. I am currently trying to launch xschem using https://github.com/iic-jku/osic-multitool and am getting the following error.
Copy code
hayato@DESKTOP-931VA3D:~$ xschem
cd caravel_user_project_analog

^CUse 'exit' to close the program
open_pdks installation: using /home/hayato/pdk
SKYWATER_MODELS: /home/hayato/pdk/sky130A/libs.tech/ngspice
SKYWATER_STDCELLS: /home/hayato/pdk/sky130A/libs.ref/sky130_fd_sc_hd/spice
Tcl_AppInit() error: can not execute /usr/local/share/xschem/xschem.tcl, please fix:
invalid command name "image"
tcleval(): evaluation of script: wm withdraw . failed
         : invalid command name "wm"
tcleval(): evaluation of script: tk_messageBox -icon error -type ok -message        {Tcl_AppInit() err 1: can not execute /usr/local/share/xschem/xschem.tcl, please fix:
 invalid command name "image"} failed
         : invalid command name "tk_messageBox"
What I worked on:
cd osic-multitool/
export NGSPICE_VERSION=38
./iic-osic-setup.sh
cd
source iic-init.sh
There is no error on the way, but when xschem is executed after this, the above error appears. If anyone knows how to solve this problem, we would appreciate it if you could let us know.
e
I mean I cant help you with that problem, but why arent you useing the docker container? Everything is already set up there... I think its called iic-osic-tools...
s
It looks like only
tcl
is installed and not
tk
. The errors are due to
wm
,
tk_messageBox
,
image
commands not recognized. These are tk commands. Install tk8.6 package (
sudo apt install tk8.6
) To quickly check if
tk
is installed try to run the tk shell,
wish
, or
wish8.6
. If it tells command not found then tk is missing on the system.
h
Thank you for your comment. I checked and tk8.6 was already installed. We will try to use docker.