<div dir="ltr"><br><div class="gmail_extra">Thanks very much Gilles! I reply inline too...<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 23, 2013 at 6:44 PM, Gilles Caulier <span dir="ltr"><<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@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><br><div class="gmail_quote"><div class="im">2013/4/23 Yiou WANG <span dir="ltr"><<a href="mailto:geow812@gmail.com" target="_blank">geow812@gmail.com</a>></span><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"><div><div><span>Hi everyone,<br><br></span></div><span>I'm working on a bug related to advanced search, so I got the latest digiKam (3.2.0-beta 2) from git. It can compile, build and run without much problem. But when I try to write some query using search, whatever I do, nothing happens. I cannot see any search result. So that means the advance search cannot work either...<br>
<br></span></div></div></blockquote><div><br></div></div><div>It work fine here, in same conditions.</div><div class="im"><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><span></span></div><div><span>What was different this time is I got a warning when compiling:<br></span></div><div><span><br></span></div><span>I compiled using: cmake -DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on -DDIGIKAMSC_COMPILE_DOC=on -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..<br>
</span><div><div><span><br></span></div></div></div></blockquote></div><div>ok</div><div class="im"><div><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><div><span>CMake Warning at /usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32 (find_package):<br> Could not find module FindQtGStreamer.cmake or a configuration file for<br> package QtGStreamer.<br>
<br> Adjust CMAKE_MODULE_PATH to find FindQtGStreamer.cmake or set<br> QtGStreamer_DIR to the directory containing a CMake configuration file for<br> QtGStreamer. The file will have one of the following names:<br><br>
QtGStreamerConfig.cmake<br> qtgstreamer-config.cmake<br><br>Call Stack (most recent call first):<br> extra/kipi-plugins/CMakeLists.txt:172 (MACRO_OPTIONAL_FIND_PACKAGE)<br><br></span></div></div></div></blockquote>
<div><br></div></div><div>Don't care. It's for VideoSlideShow kipi-plugins.</div><div class="im"><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>
<div><span></span></div><div><span>Besides, I always get the error: QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work.<br></span></div></div></div></blockquote>
<div><br></div></div><div>It's an internal Qt message. I have same here since a long time.</div><div class="im"><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><div><span>
</span></div><div><span>But it is always there, and it seems to disturb nothing, so I don't think that's the reason...<br></span></div><div><span>I tried to debug a little bit, the method keywordChanged() is called. And I'm sure my query should return some result.<br>
</span></div></div></div></blockquote><div><br></div></div><div>It can be a KIO slave dysfunction. DB query run through a kioslave. If it not responding...</div><div><br></div><div>But in this case if you have broken kioslave, no item will be displayed in iconview from AlbumGUI. Same about Tag view</div>
</div></div></div></blockquote><div><br></div><div>Tag View is fine, maybe that means kioslave is fine too. <br></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 class="im">
<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><div><span>
</span></div><div><span>I've been blocked on this for some time... Does anyone has seen this before? Thanks in advance!<br><br></span></div></div></div></blockquote><div><br></div></div><div>Did you enable some icon view filters when you run advanced search tool ?</div>
<div><br></div><div>Did you have touch some code somewhere ?</div><div><br></div><div>Did you turn on digiKam and kioslave debug space through kdebugdialog. In this case when you run digiKam in a console, debug messages will be printed.</div>
<div><br></div><div>If i remember, if you print with kDebug() << writer.xml() returned from SearView::write(), it will show you the XML string used to query DB in search.</div><span class=""><font color="#888888"><div>
<br></div><div>
Gilles Caulier</div></font></span></div></div></div>
</blockquote></div><span><br></span></div><div class="gmail_extra"><span>I discarded all changes, and it still doesn't work...<br></span></div><div class="gmail_extra"><span>I tried enabling and disabling icon view filters, and still no change...<br>
</span></div><div class="gmail_extra"><span>I tried to turn on kdebugdialog, it gives:<br><br>digikam(27252)/digikam (core) Digikam::SearchTabHeader::keywordChanged: same keywords as before, ignoring...<br>digikam(27252)/digikam (core) Digikam::SearchTabHeader::keywordChanged: keywords changed to ' "2012" '<br>
digikam(27252)/KGEOMAP KGeoMap::ItemMarkerTiler::slotSourceModelReset: ----<br>digikam(27252)/digikam (core) Digikam::SearchTabHeader::keywordChanged: keywords changed to ' "2012" '<br>digikam(27252)/digikam (core) Digikam::SearchTabHeader::keywordChanged: same keywords as before, ignoring...<br>
<br></span></div><div class="gmail_extra"><span>seems fine...<br><br></span></div><div class="gmail_extra"><span>And please tell me what SearView is, because I haven't found that...<br></span></div><div class="gmail_extra">
<span>But I tried debugging in QtCreator, the query is:<br><?xml version="1.0"?><search><group><field name="keyword" relation="like">2012</field></group></search>\n<br>
</span>
</div></div>