<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="">Hi,<div class=""><br class=""></div><div class="">I was having the same problems as Jocke and i believe I at least somewhat understand what is going on.</div><div class=""><br class=""></div><div class="">First of all, the error message about the missing ref is indeed due to the fact that the pristine repository does not contain any branch. Manually creating that branch there makes it go away and it works from then on (™).</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 13 Jun 2015, at 18:20, Dirk Hohndel <<a href="mailto:dirk@hohndel.org" class="">dirk@hohndel.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">I'd love for you to set a breakpoint in system_default_directory() and</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">figure out what's going on there...</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote></div><br class=""></div><div class="">This seems to be a problem with the QStandardPaths on Mac. I had encountered this before when writing he image cashes but then forgot about it after I manually created a Subsurface subdirctory.</div><div class=""><br class=""></div><div class="">Here on OSX 10.10.3 (but as I said, this is older) with Qt5.4, QStandardPaths for AppDataLocation gives for me </div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">("/Library/Application Support/Subsurface/Subsurface", "/Library/Application Support/Subsurface/Subsurface", "/Users/helling/test/subsurface/build/Subsurface.app/„)</div></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">And initially /Library/Application Support/Subsurface does not exist (no problem with that, that is documented) but </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><div style="margin: 0px;" class="">$ ls -ld /Library/Application\ Support/</div><div style="margin: 0px;" class="">drwxr-xr-x  13 root  admin  442 May  7 22:57 /Library/Application Support/</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">i.e. the ordinary user cannot create subdirectories there (subsurface tries this but fails). You have to do it manually with sudo.</div><div class=""><br class=""></div><div class="">Using WritablePaths is not better either since it also gives the first result. Honestly, I don’t know what to do about this. We could, for Mac, hard code the path to ~/Library/Application Support/Subsurface but besides that I don’t know. I would tend to blame Qt for this problem but it could be Apple’s as well.</div><div class=""><br class=""></div><div class="">Best</div><div class="">Robert</div></div><div class=""><br class=""></div></body></html>