<div>Hi,</div><div><br></div>Nepoogle is a python script and not an executable. This is GDB output:<div><br></div><div><div>Starting program:  </div><div>No executable file specified.</div><div>Use the "file" or "exec-file" command.</div>



<div><br></div><div>But I'm sure that better than a backtrace is a method to reproduce the crash:</div><div><br></div><div><div><font face="'courier new', monospace">#!/usr/bin/env python</font></div><div><font face="'courier new', monospace"># -*- coding: utf-8 -*-</font></div>



<div><font face="'courier new', monospace">from PyKDE4.nepomuk import *</font></div><div><font face="'courier new', monospace">uri = "nepomuk:/res/1f8e139e-3153-4fce-9797-d8bdb8c18d40"</font></div>



<div><font face="'courier new', monospace">print Nepomuk.Resource(uri).resourceType().toString()</font></div></div><div><br></div><div>uri could be a existing or not existing uri and, off course, this code works in console and crash in a ssh session.</div>



<div><br></div><div>But I think that this crash is not relevant, except maybe to discover that there is a coding bug that could be affect other Nepomuk's process, because I'm totally sure that I'm the only person queering his Nepomuk database in a ssh session and I solved the crash using a workaround.</div>



<div><br></div><div>But I think that we are loosing my original question, where is the code that determine the value of the resourceType property?</div><div><br></div><div><br></div><div><div class="gmail_quote">On Mon, Apr 30, 2012 at 5:40 PM, Martin Klapetek <span dir="ltr"><<a href="mailto:martin.klapetek@gmail.com" target="_blank">martin.klapetek@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On Mon, Apr 30, 2012 at 15:20, Ignacio Serantes <span dir="ltr"><<a href="mailto:kde@aynoa.net" target="_blank">kde@aynoa.net</a>></span> wrote:</div>



</div><div class="gmail_quote"><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<span>No, because crash is in a remote session so there is no Dr.konky.</span></blockquote><div><br></div></div><div>If you have gdb, you can run nepoogle in it and then generate a backtrace:</div><div><br></div><div>$ gdb nepoogle</div>





<div>gbd> run</div><div>(...crash...)</div><div>gdb> bt</div><div><br></div><div>Here comes the backtrace.</div><div><br></div><div><div>--</div><div><font color="#666666">Martin Klapetek | KDE Developer</font></div>





</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Best wishes,<div>Ignacio</div><div><br></div><br>
</div></div>