Package Details: nam 1.15-6

Git Clone URL: https://aur.archlinux.org/nam.git (read-only, click to copy)
Package Base: nam
Description: Tcl/TK based animation tool for viewing network simulation traces and real world packet traces
Upstream URL: http://www.isi.edu/nsnam/nam/
Licenses: GPL
Submitter: shaurz
Maintainer: qrwteyrutiyoup
Last Packager: qrwteyrutiyoup
Votes: 4
Popularity: 0.000000
First Submitted: 2006-03-17 01:52 (UTC)
Last Updated: 2016-11-08 18:16 (UTC)

Latest Comments

EasternArcher commented on 2023-01-06 14:18 (UTC)

Just a temporary solution for /usr/lib/tk8.6/tk.tcl: wrong # args: should be "source fileName" error:

remove -encoding utf-8 from these two files: - /usr/lib/tk8.6/tk.tcl - /usr/lib/tk8.6/ttk/ttk.tcl

codepurble commented on 2021-04-20 04:58 (UTC)

nam fails to open, complaining about an unusable tk.tcl file. It seems to be pointing out errors in the provided tk.tcl script present at /usr/lib/tk8.6/tk.tcl.

/usr/lib/tk8.6/tk.tcl: wrong # args: should be "source fileName"
wrong # args: should be "source fileName"
    while executing
"source -encoding utf-8 /usr/lib/tk8.6/icons.tcl"
    (in namespace eval "::" script line 1)
    invoked from within
"namespace eval :: [list source -encoding utf-8 [file join $::tk_library $file.tcl]]"
    (procedure "SourceLibFile" line 2)
    invoked from within
"SourceLibFile icons"
    (in namespace eval "::tk" script line 2)
    invoked from within
"namespace eval ::tk {
    SourceLibFile icons
    SourceLibFile button
    SourceLibFile entry
    SourceLibFile listbox
    SourceLibFile menu
    SourceLibFile panedw..."
    (file "/usr/lib/tk8.6/tk.tcl" line 501)
    invoked from within
"source.orig /usr/lib/tk8.6/tk.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel source.orig [list $fileName]"
    invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
..."
    (procedure "source" line 8)
    invoked from within
"source /usr/lib/tk8.6/tk.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list source $file]"

This probably means that tk wasn't installed properly.

qrwteyrutiyoup commented on 2016-08-03 14:24 (UTC) (edited on 2016-08-09 18:32 (UTC) by qrwteyrutiyoup)

@elv: Thanks for letting me know. It should be working again now.

eang commented on 2016-08-03 09:53 (UTC)

Doesn't build with g++ 6.1.1. However, I managed to build it with clang.

StatelessCat commented on 2014-12-01 22:44 (UTC)

@sergio.correia , you're right, after recompilation of otcl, tclcl, nam is working, thanks :)

qrwteyrutiyoup commented on 2014-11-23 22:51 (UTC)

@SchrodingerCat: it seems to work on my end. Did you try recompiling otcl, tclcl and nam after updating to the newer tcl 8.6.3 package?

StatelessCat commented on 2014-11-23 21:32 (UTC)

Hey, i think this can't work anymore because of Tcl 8.6.3 and this nam need exactly 8.6.2. At the nam runtime i got "[code omitted because of length] : version conflict for package "Tcl": have 8.6.3, need exactly 8.6.2 while executing "package require -exact Tcl 8.6.2"" i don't know how to make it works :/