forum/Looking at the webapp on OSXgit-annexhttp://git-annex.branchable.com/forum/Looking_at_the_webapp_on_OSX/git-annexikiwiki2013-11-27T22:47:37Zcomment 1http://git-annex.branchable.com/forum/Looking_at_the_webapp_on_OSX/comment_1_68820f2f469356633c1abb18a47e0c59/joeyh.name2013-11-27T22:47:37Z2012-07-26T18:17:40Z
<p>This could happen if you already had an old version of git-annex assistant running in that repository.</p>
<p>Try:</p>
<p>git annex assistant --stop ; git annex webapp</p>
comment 2http://git-annex.branchable.com/forum/Looking_at_the_webapp_on_OSX/comment_2_4ce86546d8a135df9cfab46b4612fa0b/jtang2013-11-27T22:47:37Z2012-07-26T20:42:37Z
<p>The last few commits fixed the webapp startup quirk, it doesn't work yet for me as the watch command is probably failing</p>
<pre>
laplace:annex jtang$ git annex webapp -d
[2012-07-26 21:41:15 IST] read: git ["--git-dir=/Users/jtang/annex/.git","--work-tree=/Users/jtang/annex","show-ref","git-annex"]
[2012-07-26 21:41:15 IST] read: git ["--git-dir=/Users/jtang/annex/.git","--work-tree=/Users/jtang/annex","show-ref","--hash","refs/heads/git-annex"]
[2012-07-26 21:41:15 IST] read: git ["--git-dir=/Users/jtang/annex/.git","--work-tree=/Users/jtang/annex","log","refs/heads/git-annex..731005d121426a38b206c4544da02cdb3b974974","--oneline","-n1"]
[2012-07-26 21:41:15 IST] read: git ["--git-dir=/Users/jtang/annex/.git","--work-tree=/Users/jtang/annex","log","refs/heads/git-annex..d36d8d88847decc2320f0be22892ad94a8abe594","--oneline","-n1"]
[2012-07-26 21:41:15 IST] read: git ["--git-dir=/Users/jtang/annex/.git","--work-tree=/Users/jtang/annex","log","refs/heads/git-annex..57bcddc14d03b61028f7002e2dabcc5181d74f3d","--oneline","-n1"]
[2012-07-26 21:41:15 IST] read: git ["--git-dir=/Users/jtang/annex/.git","--work-tree=/Users/jtang/annex","log","refs/heads/git-annex..372aceaf49b60ebe31cc3fe2e52ba4fbe99c134f","--oneline","-n1"]
[2012-07-26 21:41:15 IST] chat: git ["--git-dir=/Users/jtang/annex/.git","--work-tree=/Users/jtang/annex","cat-file","--batch"]
[2012-07-26 21:41:15 IST] read: git ["config","--null","--list"]
git-annex: failed to start git-annex assistant
</pre>
<p>it doesn't segfault or anything, it just states that the assistant command failed to start :P</p>
comment 3http://git-annex.branchable.com/forum/Looking_at_the_webapp_on_OSX/comment_3_6d398a2cceff14a1b774b85ee1725073/joeyh.name2013-11-27T22:47:37Z2012-07-26T22:07:25Z
<p>I've been improving this code path, so make sure you're current. I just made it wait for longer than the 10 seconds it was waiting before giving up.</p>
<p>If it still fails, try running <code>git-annex assistant --debug --foreground</code>
in one terminal, wait for it to start up, and then run <code>git annex webapp</code> in another.
If that still fails, check if <code>.git/annex/webapp.html</code> exists.</p>
comment 4http://git-annex.branchable.com/forum/Looking_at_the_webapp_on_OSX/comment_4_5e503787a4b1d3534c5e20da5480b763/joeyh.name2013-11-27T22:47:37Z2012-07-26T22:08:53Z
Oh, wait, you're right, if the assistant process that watch forks off is segfaulting, that error message is about the best we can hope for. You can try the manual startup of the assistant to confirm it's crashing..
comment 5http://git-annex.branchable.com/forum/Looking_at_the_webapp_on_OSX/comment_5_c735841bc230efc61594ea013fc2902b/Jimmy2013-11-27T22:47:37Z2012-07-27T15:53:50Z
I can confirm that the watch command is crashing when i start it up manually.
comment 6http://git-annex.branchable.com/forum/Looking_at_the_webapp_on_OSX/comment_6_0e489fbfc89d282e9eb47f1b814ff70c/jtang2013-11-27T22:47:37Z2012-07-27T18:21:17Z
FYI, the webapp starts up and sends me to a web browser with the correct page <img src="http://git-annex.branchable.com/smileys/smile4.png" alt=";)" /> this is after the other issue of <span class="createlink"><a href="http://git-annex.branchable.com/ikiwiki.cgi?do=create&from=forum%2FLooking_at_the_webapp_on_OSX%2Fcomment_6_0e489fbfc89d282e9eb47f1b814ff70c&page=Watch_command_as_of_commit_6cecc26206c4a539999b04664136c6f785211a41_segfaults" rel="nofollow">?</a>Watch command as of commit 6cecc26206c4a539999b04664136c6f785211a41 segfaults</span> got fixed.