[Pkg-tcltk-devel] Bug#889810: tk: 'wish' gives console error message; tclsh can't find package Tk
Jasper Taylor
jasper at simulistics.com
Wed Feb 7 09:35:26 UTC 2018
Package: tk
Version: 8.6.0+9
Severity: important
Dear Maintainer,
I found I could not run my Tk-based application. I was starting it with a tclsh
script which then executed "package require Tk" and this command was raising an
error: "Can't find package Tk".
When running 'wish' from the command line a console error message appears as
follows:
>application-specific initialization failed: Can't find a usable tk.tcl in the
following directories:
> /usr/local/lib/tcl8.6/tk8.6 /usr/local/lib/tk8.6 /usr/lib/>tk8.6
/usr/lib/tk8.6 /lib/tk8.6 /usr/library
>
>
>
>This probably means that tk wasn't installed properly.
but Wish then appears to start normally.
-- System Information:
Debian Release: 9.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages tk depends on:
ii tcl 8.6.0+9
ii tk8.6 8.6.6-1+b1
tk recommends no packages.
tk suggests no packages.
-- no debconf information
More information about the Pkg-tcltk-devel
mailing list