<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 11 July 2015 at 12:09, Rick Walsh <span dir="ltr"><<a href="mailto:rickmwalsh@gmail.com" target="_blank">rickmwalsh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 11 July 2015 at 11:22, Dirk Hohndel <span dir="ltr"><<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><div><div><br></div><div><br>On Jul 10, 2015, at 17:55, Rick Walsh <<a href="mailto:rickmwalsh@gmail.com" target="_blank">rickmwalsh@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 11 July 2015 at 10:42, Dirk Hohndel <span dir="ltr"><<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>On Sat, Jul 11, 2015 at 10:36:42AM +1000, Rick Walsh wrote:<br>
> Hi Dirk,<br>
><br>
> On 11 July 2015 at 10:29, Dirk Hohndel <<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>> wrote:<br>
><br>
> > So this is an odd infinite recursion. I can clearly see how it could<br>
> > happen - but if you have a current Subsurface it should not happen.<br>
> > Let me guess, you updated marble but not Subsurface?<br>
> ><br>
> > Anyway, I have pushed a quick fix to marble/Subsurface-testing which<br>
> > should address that silly problem.<br>
> ><br>
> ><br>
> Thanks, you fix to marble works.<br>
><br>
> But I am running the latest Subsurface master:<br>
>  commit d8ca04626589221c5f7c178e882cfaa4c095ce2a<br>
<br>
</span>Strange. The only way the infinite recursion could have happened was if<br>
you didn't have marbledata/bitmaps/empty.png<br></blockquote><div><br></div><div>Interesting.  I have empty.png there, and I can open it.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Is there any reason why that would not be present in whatever path Marble<br>
is looking in for you? Are you installing things locally? Are you running<br>
out of your build tree?<br></blockquote><div><br></div><div>The build.sh script installs everything to the install-root directory.  Before running install-root/bin/subsurface I need to add install-root/lib to LD_LIBRARY.  I've set up a script called start-subsurface to do this.<br><br></div><div>Otherwise (and more often), I just run ./subsurface from inside subsurface/build.  Neither way was working until your latest Marble patch.  Both ways work now.</div></div></div></div>
</blockquote><br></div></div><div>I'd love to know why it didn't find empty.png... Can you recompile marble and add a #define DEBUG 1 to src/lib/marble/MarblePath.cpp ( that's from memory, I'm on my phone)</div></div></blockquote><div><br></div></div></div><div>Yes, the file is there.  I added #define DEBUG 1 to MarblePath.cpp, re-ran make in marble-source/build then again in subsurface/build.<br><br>Is this the output you're interested in?<br>






<div>
<span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">(gdb) run
</span><br>Starting program: /home/rick/build/subsurface/build/subsurface  <span class=""><br>[Thread debugging using libthread_db enabled]
<br>Using host libthread_db library "/lib64/libthread_db.so.1".
<br></span>Map theme file does not exist: ""
<br>QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
<br>[New Thread 0x7fff81bf9700 (LWP 19105)]
<br>[Thread 0x7fff81bf9700 (LWP 19105) exited]<br>
<br></span></div></div></div></div></div></blockquote><div><br></div><div>Ah, I tell a lie.  I can't find MarblePath.cpp.  That output was after adding the debug line to MarbleMap.cpp, but perhaps my inability to read a file name could have been useful.<br></div><div>Just a stab in the dark, but are we getting to here in MarbleMap.cpp?  From line 709:<br><br>void MarbleMapPrivate::setDocument( QString key )<br>{<br>    if ( !m_model->mapTheme() ) {<br>        // Happens if no valid map theme is set or at application startup<br>        // if a file is passed via command line parameters and the last<br>        // map theme has not been loaded yet<br>        /**<br>         * @todo Do we need to queue the document and process it once a map<br>         * theme becomes available?<br>         */<br>        return;<br>    }<br><br><br><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div><span style="font-family:monospace"></span></div>


Cheers,<br><br></div><div>Rick<br></div><div><br></div></div></div></div>
</blockquote></div><br></div></div>