开始gitk错误 [英] Starting gitk Error

查看:828
本文介绍了开始gitk错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我加载gitk时,我得到一个关于参数的错误

 启动脚本中的错误:错误的参数缩放 :在执行
wm state。$ geometry(state)
(proceduremakewindowline 320)时
必须是正常的,标志性的或取消

从$ b中调用$ bmakewindow
(文件/ usr / local / git / bin / gitk第11250行)

有人知道解决方案吗?我正在使用Mac OS X 10.6.3



thx!

解决方案

正如在博客文章使用Macport安装mercurial结果安装了一堆相依的库,结果造成gitk不能执行

错误...我的意思是:


使用Macport安装的结果,mercurial会安装一堆库的依赖项,导致gitk无法执行。



Gitk将使用错误的tk库版本。


问题在于第一个安装已经使用以下方式修改了 .bashrc

  export PATH = / opt / local / bin:/ opt / local / sbin:$ PATH 

修改原始路径( / usr / bin:/ bin:/ usr / sbin:/ sbin:/ usr / local / b in:/ usr / X11 / bin



试试在 .bashrc

  export PATH = $ PATH:/ opt / local / bin:/ opt / local / sbin 

code>


When I'm loading gitk I get an error about an argument

Error in startup script: bad argument "zoomed": must be normal, iconic, or withdrawn
    while executing
"wm state . $geometry(state)"
    (procedure "makewindow" line 320)
    invoked from within
"makewindow"
    (file "/usr/local/git/bin/gitk" line 11250)

Anybody knows a solution? I'm working on Mac OS X 10.6.3

thx!

解决方案

As mention in this blog post:

使用Macport安裝mercurial結果安裝了一堆相依的library,結果造成gitk不能執行

Err... I meant:

The results using Macport installation, mercurial installs a bunch of dependencies of the library, resulting in a gitk which can not perform.

Gitk will use the wrong tk library version.

The issue was that the first installation has modified the .bashrc with:

export PATH=/opt/local/bin:/opt/local/sbin:$PATH

modifying the original PATH (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin)

Try instead in the .bashrc:

export PATH=$PATH:/opt/local/bin:/opt/local/sbin

这篇关于开始gitk错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆