<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 9, 2013 at 10:42 PM, Marco Martin <span dir="ltr"><<a href="mailto:notmart@gmail.com" target="_blank">notmart@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 class="im">On Friday 05 April 2013, Marco Martin wrote:<br>
> > - slotFileCreated  - This is called when a new file is created.<br>
> > - slotClosedAfterWrite  - We don't track file modifications, we only<br>
> > track when files are opened with a write mode and then closed. So this<br>
> > is the slot that should be called when you modify a file.<br></div></blockquote><div><br></div><div>Could you add a debug statement in Nepomuk2::FileIndexer::indexFile( .. ).<br><br></div><div>The slotClosedAfterWrite calls this method via dbus.<br>
 <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
> ><br>
> > Try adding some debug statements.<br>
><br>
> finally got a working image where i could try that.<br>
> so,slotFileCreated is always called for every added file (and quite<br>
> immediately)<br>
><br>
> but  the new files will never come out of a query until i restart nepomuk<br>
<br>
</div>could it be a problem in the query cache (something similar already occurred<br>
in the past iirc?), since it seems the files are correctly indexed, but not<br>
appearing in query results?<br>
<br>
Cheers,<br>
Marco Martin<br>
</blockquote></div><br><br clear="all"><br>-- <br><span style="color:rgb(192,192,192)">Vishesh Handa</span><br>
</div></div>