Hi,<div><br></div><div>Since KDE 4.8.1 the call to Nepomuk.Resource() over a ssh connection is crashing with a segmentation fault, a D-Bus issue?. This is a problem to me because Nepoogle it's not working anymore in ssh sessions.</div>

<div><br></div><div>I developed a workaround using a class named cResource, a read only Nepomuk.Resorce() I developed in python time ago, so problem is solved except for one point, the resourceType() property. API documentation is the next:</div>

<div><br></div><div><a class="el" href="http://api.kde.org/4.8-api/kdelibs-apidocs/nepomuk/html/namespaceNepomuk.html" style="color:rgb(70,101,162);font-weight:bold;text-decoration:none;padding-bottom:0px;font-family:'Lucida Grande',Verdana,Geneva,Arial,sans-serif;font-size:13px;line-height:16px;text-align:justify;background-color:rgb(251,252,253)">Nepomuk</a><span style="font-family:'Lucida Grande',Verdana,Geneva,Arial,sans-serif;font-size:13px;line-height:16px;text-align:justify;background-color:rgb(251,252,253)"> tries hard to make this the type furthest down the hierarchy. In case the resource has only one type, this is no problem. However, if the resource has multiple types from different type hierarchies, there is no guarantee which one will be used here.</span></div>

<div><span style="font-family:'Lucida Grande',Verdana,Geneva,Arial,sans-serif;font-size:13px;line-height:16px;text-align:justify;background-color:rgb(251,252,253)"><br></span></div><div><span style="font-family:'Lucida Grande',Verdana,Geneva,Arial,sans-serif;font-size:13px;line-height:16px;text-align:justify;background-color:rgb(251,252,253)">here is the link: </span><a href="http://api.kde.org/4.8-api/kdelibs-apidocs/nepomuk/html/classNepomuk_1_1Resource.html#af1d04d4eed2a0d5e1f4a496d6259b31f">http://api.kde.org/4.8-api/kdalgorithelibs-apidocs/nepomuk/html/classNepomuk_1_1Resource.html#af1d04d4eed2a0d5e1f4a496d6259b31f</a></div>

<div><br></div><div>I looked for this code in Nepomuk source code but I can't found it so any help locating this code would be appreciated.</div><div><br></div><div>I'm actually using my own guess but I prefer to port original algorithm to python.</div>

<div><br></div><div>If someone wants to fix this bug it's easy to reproduce:</div><div><ol><li>Download Nepoogle if it's not installed, a version minor or equal to 0.9.1 is required.</li><li>Start a ssh session, a localhost session is valid.</li>

<li>Execute a query using Nepoogle.</li></ol></div><div><div>-- </div>Best wishes,<div>Ignacio</div><div><br></div><br>
</div>