kooyee ‘s blog

开源软件, 众人努力的结晶, 全人类的共同财富
posts - 103, comments - 55, trackbacks - 0, articles - 66
   :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

【Bug】当调用nam时错误

Posted on 2008-12-03 05:05 kooyee 阅读(2303) 评论(3)  编辑  收藏
当调用nam时,出现如下错误
[code omitted because of length]
: no event type or button # or keysym
    while executing
"bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D / 120) * 4}] units
}"
    invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D)}] units
}
bind Li..."

这个是由于nam调用的tk组件和xproto-7.0.13 不兼容导致的(xproto-7.0.13 新添加了 GenericEvent)。

解决方法:
到这里下载补丁http://bugs.gentoo.org/show_bug.cgi?id=225999

在ns-allinone-2.33下运行
patch -p0 <tk-8.4.18-tkBind.patch

然后重装ns-2.33

评论

# re: 【Bug】当调用nam时错误[未登录]  回复  更多评论   

2008-12-14 08:36 by fish
麻烦告诉一声 tk-8.4.18-tkbind.patch 怎么下载啊??!!!着急!!
或者麻烦发到我邮箱 y5p8@163.com 谢谢啊!!!!!!

# re: 【Bug】当调用nam时错误  回复  更多评论   

2008-12-17 22:11 by bingye
麻烦告诉一下tk-8.4.18-tkBind.patch怎么下啊?
或者也给我发邮箱吧。bingye2962@163.com。谢谢了。

# re: 【Bug】当调用nam时错误  回复  更多评论   

2012-07-22 10:20 by 雨中蝶
怎么重装ns-2.33

只有注册用户登录后才能发表评论。


网站导航: