ports/139552: [science/paraview-2.2.4]: ParaView error: InitializeTcl failed Tk_Init error: Can't find a usable tk.tcl in the following directories: /usr/local/lib/paraview-2.4/tk8.4

O. Hartmann ohartman at zedat.fu-berlin.de
Mon Oct 12 22:30:02 UTC 2009


>Number:         139552
>Category:       ports
>Synopsis:       [science/paraview-2.2.4]: ParaView error: InitializeTcl failed Tk_Init error: Can't find a usable tk.tcl in the following directories:      /usr/local/lib/paraview-2.4/tk8.4
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 12 22:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     O. Hartmann
>Release:        FreeBSD 8.0-RC1/AMD64
>Organization:
FU Berlin
>Environment:
>Description:
Besides the fact that the port's version of paraview (2.2.4) is quite outdated (paraview is actually version 3.6.1(!) paraview does not work properly and results in the following error: 

ParaView error: InitializeTcl failed
Tk_Init error: Can't find a usable tk.tcl in the following directories: 
    /usr/local/lib/paraview-2.4/tk8.4

/usr/local/lib/paraview-2.4/tk8.4/tk.tcl: no event type or button # or keysym
no event type or button # or keysym
    while executing
"bind Listbox <MouseWheel> {
    %W yview scroll [expr {- (%D / 120) * 4}] units
}"
    (file "/usr/local/lib/paraview-2.4/tk8.4/listbox.tcl" line 182)
    invoked from within
"source /usr/local/lib/paraview-2.4/tk8.4/listbox.tcl"
    (in namespace eval "::" script line 1)
    invoked from within
"namespace eval :: [list source [file join $::tk_library $file.tcl]]"
    (procedure "SourceLibFile" line 2)
    invoked from within
"SourceLibFile listbox"
    (in namespace eval "::tk" script line 4)
    invoked from within
"namespace eval ::tk {
        SourceLibFile button
        SourceLibFile entry
        SourceLibFile listbox
        SourceLibFile menu
        SourceLibFile panedwindow
        SourceLibFile ..."
    invoked from within
"if {$::tk_library ne ""} {
    if {[string equal $tcl_platform(platform) "macintosh"]} {
        proc ::tk::SourceLibFile {file} {
            if {[catch {
                namesp..."
    (file "/usr/local/lib/paraview-2.4/tk8.4/tk.tcl" line 397)
    invoked from within
"source /usr/local/lib/paraview-2.4/tk8.4/tk.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list source $file]"


This probably means that tk wasn't installed properly.

>How-To-Repeat:
Install out of date paraview from ports and try using it.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list