* Problem with gitk on cygwin
@ 2007-03-29 10:21 Raimund Bauer
2007-03-30 5:25 ` Shawn O. Pearce
0 siblings, 1 reply; 3+ messages in thread
From: Raimund Bauer @ 2007-03-29 10:21 UTC (permalink / raw)
To: 'git'
When trying to use gitk from current cygwin-install, I get an error-dialog
and no gitk-window.
Error title: "Error in startup script"
Error message:
--------------------------------
.git
8 [main] git 1620 tty_list::allocate: No tty allocated while executing
"exec git rev-parse --git-dir"
(procedure "gitdir" line 6)
invoked from within
"gitdir"
invoked from within
"set gitdir [gitdir]"
(file "/usr/bin/gitk" line 6270)
--------------------------------
Setting the environment variable GIT_DIR produced a slightly different
error, but didn't help.
The new error message is:
--------------------------------
6 [main] git 1268 tty_list::allocate: No tty allocated while executing
"close $refd"
(procedure "readrefs" line 47)
invoked from within
"readrefs"
(file "/usr/bin/gitk" line 6325)
--------------------------------
Did I forget to install some cygwin package (and it's only a problem of
cygwin dependencies), or does gitk on cygwin have a problem currently?
--
best regards
Ray
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with gitk on cygwin
2007-03-29 10:21 Problem with gitk on cygwin Raimund Bauer
@ 2007-03-30 5:25 ` Shawn O. Pearce
2007-03-30 7:36 ` Raimund Bauer
0 siblings, 1 reply; 3+ messages in thread
From: Shawn O. Pearce @ 2007-03-30 5:25 UTC (permalink / raw)
To: Raimund Bauer; +Cc: 'git'
Raimund Bauer <ray007@gmx.net> wrote:
> When trying to use gitk from current cygwin-install, I get an error-dialog
> and no gitk-window.
>
> Error title: "Error in startup script"
> Error message:
> --------------------------------
> .git
> 8 [main] git 1620 tty_list::allocate: No tty allocated while executing
> "exec git rev-parse --git-dir"
> (procedure "gitdir" line 6)
> invoked from within
> "gitdir"
> invoked from within
> "set gitdir [gitdir]"
> (file "/usr/bin/gitk" line 6270)
> --------------------------------
I have seen this failure before, and its usually a result of having
your CYGWIN environment variable including 'notty':
http://www.cygwin.com/cygwin-ug-net/using-cygwinenv.html
Or maybe its the opposite. I don't have access to my Cygwin system
right now, so I cannot check if I have notty, tty, or just ommitted
it entirely from my CYGWIN environment varible. But I think that's
the issue.
--
Shawn.
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Problem with gitk on cygwin
2007-03-30 5:25 ` Shawn O. Pearce
@ 2007-03-30 7:36 ` Raimund Bauer
0 siblings, 0 replies; 3+ messages in thread
From: Raimund Bauer @ 2007-03-30 7:36 UTC (permalink / raw)
To: spearce; +Cc: 'git'
> From: spearce@spearce.org [mailto:spearce@spearce.org]
>
> I have seen this failure before, and its usually a result of
> having your CYGWIN environment variable including 'notty':
>
> http://www.cygwin.com/cygwin-ug-net/using-cygwinenv.html
>
> Or maybe its the opposite. I don't have access to my Cygwin
> system right now, so I cannot check if I have notty, tty, or
> just ommitted it entirely from my CYGWIN environment varible.
> But I think that's the issue.
Thanks a lot, that was the right pointer, even if I don't
understand what went wrong.
My CYGWIN environment variable was set to "ntsec tty", and after
doing a
export CYGWIN=ntsec
in the shell (which according to your link shouldn't change
anything) gitk magically started working!
> Shawn.
Thank you very much my saviour, now I can use gitk in office too ;-)
--
best regards
Ray
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-03-30 7:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-29 10:21 Problem with gitk on cygwin Raimund Bauer
2007-03-30 5:25 ` Shawn O. Pearce
2007-03-30 7:36 ` Raimund Bauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).