<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 13 Jun 2015, at 15:53, Dirk Hohndel <<a href="mailto:dirk@hohndel.org" class="">dirk@hohndel.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jun 13, 2015, at 1:26 AM, Joakim Bygdell <<a href="mailto:j.bygdell@gmail.com" class="">j.bygdell@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><blockquote type="cite" class="">On 12 Jun 2015, at 23:09, Dirk Hohndel <<a href="mailto:dirk@hohndel.org" class="">dirk@hohndel.org</a>> wrote:<br class=""><br class="">I just pushed a bunch of changes to the cloud storage.<br class=""><br class="">This should be ready for testing now.<br class=""><br class=""></blockquote><br class="">Creating stuff via the preferences went without a hitch in the sense that it did not generate any errors.<br class=""></div></div></blockquote><div class=""><br class=""></div>Yes, and I can see your storage has been created</div><div class=""><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Selecting “Cloud storage open” from file menu gives me this error message.<div class=""><br class=""><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class="">git clone of <a href="https://cloud.subsurface-divelog.org/git/j.bygdell@gmail.com" class="">https://cloud.subsurface-divelog.org/git/j.bygdell@gmail.com</a> failed (Failed to make directory '/Library/Application Support/Subsurface': Permission denied)<br class=""></blockquote></div></div></div></blockquote><div class=""><br class=""></div>Why would it try to create this directory in /Library? It should create it in ~/Library </div><div class="">(and there you should definitely have permission to create it... it's where by default</div><div class="">we create your .XML / .ssrf file as well. Very strange. From the logs on my side</div><div class="">you are on 10.10 just as I am (I'm on my iMac this morning, not on my Linux box</div><div class="">so I figured I'd test from this machine as well.</div><div class=""><br class=""></div><div class="">I'll investigate this bug, too</div></div></div></blockquote><div><br class=""></div>Another thing, once I created the Subsurface folder under “/Library/Application Support/“, subsurface created a new folder named Subsurface in the one I created.</div><div>Generating structure like : “/Library/Application Support/Subsurface/Subsurface"</div><div><br class=""></div><div><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class="">Unable to open git repository at '<a href="https://cloud.subsurface-divelog.org/git/j.bygdell@gmail.com[j.bygdell@gmail.com]'" class="">https://cloud.subsurface-divelog.org/git/j.bygdell@gmail.com[j.bygdell@gmail.com]'</a><br class="">Failed to read '<a href="https://cloud.subsurface-divelog.org/git/j.bygdell@gmail.com[j.bygdell@gmail.com]'" class="">https://cloud.subsurface-divelog.org/git/j.bygdell@gmail.com[j.bygdell@gmail.com]'</a></blockquote><br class="">The target directory on Mac should be "~/Library/Application Support/Subsurface" as the user don’t have write access to "/Library/Application Support".<br class=""></div></div></div></blockquote><div class=""><br class=""></div>Yep</div><div class=""><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">After manual creating the Subsurface directory under “/Library/Application Support" I get the following error when I try to open the cloud repository.<br class=""><br class=""><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class="">git clone of <a href="https://cloud.subsurface-divelog.org/git/j.bygdell@gmail.com" class="">https://cloud.subsurface-divelog.org/git/j.bygdell@gmail.com</a> failed (Reference '<a href="mailto:refs/remotes/origin/j.bygdell@gmail.com" class="">refs/remotes/origin/j.bygdell@gmail.com</a>' not found)<br class="">Unable to open git repository at '<a href="https://cloud.subsurface-divelog.org/git/j.bygdell@gmail.com[j.bygdell@gmail.com]'" class="">https://cloud.subsurface-divelog.org/git/j.bygdell@gmail.com[j.bygdell@gmail.com]'</a><br class="">Failed to read '<a href="https://cloud.subsurface-divelog.org/git/j.bygdell@gmail.com%5Bj.bygdell@gmail.com%5D'" class="">https://cloud.subsurface-divelog.org/git/j.bygdell@gmail.com[j.bygdell@gmail.com]'</a></blockquote></div></div></div></blockquote><div class=""><br class=""></div><div class="">This appears to be the issue I just mentioned in my email to Willem.</div><div class="">It seems that somehow the initial creation of the branch failed. I can</div><div class="">try to fix this.</div><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Interesting though, I can do a manual clone of the cloud repo from a terminal.<br class=""></div></div></div></blockquote></div><br class=""><div class="">Which branch are you cloning? If I look in your repo it doesn't appear</div><div class="">to have a branch initialized…</div></div></div></blockquote><div><br class=""></div>I just tested the connectivity using the same actions as in the error message to se if it where a user:password related error.</div><div><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">Thank you, Joakim, for testing this. This is the only way we'll get this to a</div><div class="">useful state - if people play with it and help me identify all the bugs.</div><div class=""><br class=""></div><div class="">I'll try to get things to work "from scratch" with a new account on my Mac</div><div class="">and let you know as I make progress</div><div class=""><br class=""></div><div class="">/D</div></div></div></blockquote></div><br class=""><div class="">
<div class="">/Jocke</div>

</div>

<br class=""></body></html>