{"thread":{"id":"17273","subject":"SOLVED: Re: gitk doesn't work w/o sudo.","startedAt":"2009-01-20T18:33:32Z","lastAt":"2009-01-20T18:33:32Z","messageCount":1,"participants":["Dilip M"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"101285","messageId":"c94f8e120901201033r13a25cb7y905324d5205d2412@mail.gmail.com","threadId":"17273","inReplyTo":null,"subject":"SOLVED: Re: gitk doesn't work w/o sudo.","fromName":"Dilip M","fromEmail":"dilipm79@gmail.com","sentAt":"2009-01-20T18:33:32Z","receivedAt":"2009-01-20T18:33:32Z","isPatch":false,"sender":{"key":"dilipm79@gmail.com","avatar":"https://gravatar.com/avatar/9417e308513ce9251de2802a026c72eb164e6c9b9d7143a3ee13f6ed0c4d1bd5?d=mp&s=160"},"body":"On Tue, Jan 20, 2009 at 11:50 PM, Dilip M <dilipm79@gmail.com> wrote:\n> On Tue, Jan 20, 2009 at 10:46 PM, Johannes Schindelin\n> <Johannes.Schindelin@gmx.de> wrote:\n>> 'd try running it with strace, and then search the output for stat()\n>> calls involving <something>/.git.\n>\n> Seems like we are almost there....here is the log..\n>\n> dm-laptop:~/repos/atria> grep gitk /tmp/gitk_1.log\n> execve(\"/usr/bin/gitk\", [\"/usr/bin/gitk\"], [/* 37 vars */]) = 0\n> open(\"/usr/bin/gitk\", O_RDONLY)         = 3\n> execve(\"/usr/bin/wish8.4\", [\"/usr/bin/wish8.4\", \"/usr/bin/gitk\",\n> \"--\"], [/* 37 vars */]) = 0\n> stat(\"/usr/bin/gitk\", {st_mode=S_IFREG|0755, st_size=237778, ...}) = 0\n> open(\"/usr/bin/gitk\", O_RDONLY)         = 6\n> lstat(\"/usr/share/gitk\", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0\n> lstat(\"/usr/share/gitk/lib\", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0\n> lstat(\"/usr/share/gitk/lib/msgs\", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0\n> access(\"/usr/share/gitk/lib/msgs/en_in.msg\", F_OK) = -1 ENOENT (No\n> such file or directory)  <======\n> lstat(\"/usr/share/gitk\", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0\n> lstat(\"/usr/share/gitk/lib\", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0\n> lstat(\"/usr/share/gitk/lib/msgs\", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0\n> access(\"/usr/share/gitk/lib/msgs/en.msg\", F_OK) = -1 ENOENT (No such\n> file or directory)       <======\n> stat(\"/home/dm/.gitk\", {st_mode=S_IFREG|0644, st_size=683, ...}) = 0\n> open(\"/home/dm/.gitk\", O_RDONLY)        = 6\n> writev(5, [{\"\\22\\0\\7\\0\\16\\0@\\3\\'\\0\\0\\0\\37\\0\\0\\0\\10NG\\0\\4\\0\\0\\0gitk\\20\"...,\n> 48}], 1) = 48\n> writev(5, [{\"\\22\\0\\7\\0\\16\\0@\\3(\\1\\0\\0\\37\\1\\0\\0\\10AME\\4\\0\\0\\0gitk\\22\"...,\n> 112}], 1) = 112\n>\n> dm-laptop:~/repos/atria> ls -l /usr/share/gitk/lib/msgs/en_in.msg\n> ls: cannot access /usr/share/gitk/lib/msgs/en_in.msg: No such file or directory\n>\n> But how is it working when  I do 'sudo'..\n\nJust re-installed tcl/tk...it is working fine..:)\n\nMany thanks to Reece Dunn,  Johannes Schindelin, Brian Foster....who\nall helped me out...:)\n\n-- DM\n"}]}