Git Gui Error In Startup Script
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies
Gitk Error In Startup Script: No Display Name And No $display Environment Variable
of this site About Us Learn more about Stack Overflow the company Business error in startup script: invalid command name "tk_messagebox Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask
Cygwin Git Gui
Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign gitk package require tk up Git startup script error up vote 0 down vote favorite i was using Git when i tried to open a repository. That was on a shared folder between a Windows7 virtual machine and Kubuntu 13.04 as host. Git closed suddenly and that was in the console: Error in startup script: child process exited abnormally while executing "exec /usr/lib/git-core/git-config --global --unset gui.recentrepo mac ssh x11 {^/home/acuellar /MÁquinas Virtuales/CompartidaC#/BS2-BASE2\.Utils$}" ("eval" body line 1) invoked from within "eval exec $opt $cmdp $args" (procedure "git" line 23) invoked from within "git config --global --unset gui.recentrepo "^$p\$"" (procedure "_unset_recentrepo" line 3) invoked from within "_unset_recentrepo $p" (procedure "_get_recentrepos" line 7) invoked from within "_get_recentrepos" (procedure "choose_repository::pick" line 82) invoked from within "choose_repository::pick" invoked from within "if {[catch { set _gitdir $env(GIT_DIR) set _prefix {} }] && [catch { # beware that from the .git dir this sets _gitdir to . # and _prefix t..." (file "/usr/lib/git-core/git-gui" line 1234) Thanks! git git-gui share|improve this question edited Aug 22 '13 at 11:52 patthoyts 15.4k2353 asked Aug 22 '13 at 11:17 Adrián Cuéllar 82 1 You were using git-gui and the Tcl stack trace there shows that it actually tried running a git config command which failed. You might try running that command from the repository in question and see how it responds. The directory path as reported above looks extremely wierd to me with a number of spaces appended to the "acuellar" directory name. This was evidently while selecting a repository in the initial repo select
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack
Tk Initialization Failed: No Display Name And No $display Environment Variable.
Overflow the company Business Learn more about hiring developers or posting ads with us no display name and no $display environment variable ssh Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a
Gitk Cygwin
community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up gitk will not start on Mac: unknown color name “lime” up vote 98 down vote http://stackoverflow.com/questions/18378914/git-startup-script-error favorite 21 I've installed git on a mac via brew install git. When I try to start gitk I get the following error: Error in startup script: unknown color name "lime" (processing "-fore" option) invoked from within "$ctext tag conf m2 -fore [lindex $mergecolors 2]" (procedure "makewindow" line 347) invoked from within "makewindow" (file "/usr/local/bin/gitk" line 12434) It appears that my Mac doesn't have a color named lime. Can I add http://stackoverflow.com/questions/34637896/gitk-will-not-start-on-mac-unknown-color-name-lime a lime color to the environment, or is there a better fix? The git version is 2.7.0, and the Mac is running Yosemite 10.10.5 gitk share|improve this question asked Jan 6 at 16:27 ReggieB 3,73812225 add a comment| 9 Answers 9 active oldest votes up vote 143 down vote accepted You can check your version of Tcl/Tk by running wish and using the command info patchlevel. It appears that git 2.7.0, Tcl/Tk 8.5.9, and OS X 10.11 El Capitan do not work well together. I solved this problem by doing brew cask install tcl, which installed 8.6.4, and gitk works now. share|improve this answer answered Jan 19 at 20:58 Keith B 2,07641519 1 This is the permanent fix (not a temporary workaround). –wisbucky Jan 26 at 20:33 2 There's something odd using MacPorts here. Tcl version 8.6.4 is installed, but wish is reporting 8.5.9. –edA-qa mort-ora-y Feb 1 at 8:23 3 Once I installed a new Tcl/Tk, I had to do brew install --build-from-source git in order to get git gui to start gitk with the updated Tcl. –lo5an Feb 4 at 1:27 A caveat I've since discovered: if you have tcl 8.6.4 installed, then rbenv has trouble installing new Ruby versions. –Keith B Feb
Sign in Pricing Blog Support Search GitHub This repository Watch 225 Star 6,099 Fork 367 babun/babun Code Issues 273 https://github.com/babun/babun/issues/130 Pull requests 17 Projects 0 Wiki Pulse Graphs New issue Application initialization failed: no display name and no $DISPLAY environment variable #130 Closed lpalli opened this Issue https://bugs.launchpad.net/bugs/1330312 May 19, 2014 · 2 comments Projects None yet Labels feedback Milestone No milestone Assignees No one assigned 3 participants lpalli commented May 19, error in 2014 If it is possible how we must configure babun to use graphical tools like gitk ou git gui? The installation work fine but the execution causes an error message: Application initialization failed: no display name and no $DISPLAY environment variable Error in startup script: invalid command name "tk_messageBox" while executing "tk_messageBox -icon error -type error in startup ok -title "git-gui: fatal error" -message $err" invoked from within "if {[catch {package require Tcl 8.4} err] || [catch {package require Tk 8.4} err] } { catch {wm withdraw .} tk_messageBox \ -icon error \ -typ..." (file "/usr/lib/git-core/git-gui" line 34) tombujok commented May 20, 2014 It's a Cygwin issue - have a look here: http://cygwin.com/ml/cygwin/2012-02/msg00318.html tombujok added the feedback label May 20, 2014 tombujok closed this Feb 4, 2015 oswaldo commented May 31, 2016 • edited Actually that is not an issue. You can use pact to install the required x packages. I believe I have done the following in my instance: pact install xinit tcl-tk Then launch the xserver with for instance: startxwin In another terminal, according to this documentation you should create the following environment variable: export DISPLAY=:0.0 And then ssh with the -Y flag. Works for me. @tombujok, maybe you should try it yourself, possibly getting to more straight forward instructions and add that to the faq instead
Importance Assigned to Milestone git (Ubuntu) Edit New Undecided Unassigned Edit You need to log in to change this bug's status. Affecting: git (Ubuntu) Filed here by: LittleBigBrain When: 2014-06-16 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance New Undecided Assigned to Nobody Me Comment on this change (optional) Email me about changes to this bug report Also affects project (?) Also affects distribution/package Nominate for series Bug Description git gui works fine when there is no non-ASCII character in recentrepo entries. Git gui can open the path with non-ASCII characters without any problem. However if the gui.recentrepo contain non-ASCII characters, it will throw out an error. The user.name can contain non-ASCII UTF8 characters .This works fine: git config --list user.name=NewUSer∞ π ∅