MP LINUX v0.21 - Search into database

Bugs, defects, GPFs.

Moderators: Olivier_G, Dreamer, XnTriq, helmut, xnview

MP LINUX v0.21 - Search into database

Postby oops66 » Sat Oct 17, 2009 1:28 pm

Sorry, but it's strange this problem has reappeared into this v0.21, I have it again !
see here: http://newsgroup.xnview.com/viewtopic.php?f=74&t=18433&p=77820#p77820
The function Search by IPTC Keywords
To reproduce:
Tools\Search \ ADD-->\ IPTC\Keywords\ (is) or (contain) \ "your keyword"\ ... does'nt work if "Use Database" is checked.
(I have checked into XnView MP database via sqlitebrowser, and it seems however that all keywords are already into the db)
PS: If "Use Database" is non checked, this function works correctly.
XnView-WIKI | XnView Versions: v1.97 under Wine v1.1.32 & XnViewMP Linux beta V0.21 || OS:Ubuntu v9.04 & v9.10
User avatar
oops66
 
Posts: 1075
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: MP LINUX v0.21 - Search into database

Postby xnview » Thu Nov 19, 2009 1:48 pm

I can't reproduce...
(I have checked into XnView MP database via sqlitebrowser, and it seems however that all keywords are already into the db)

When searching in IPTC, imported keywords are not used. XnView search in Images::Meta field
So perhaps this DB info is not good... Try with a clean DB?
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 15210
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: MP LINUX v0.21 - Search into database

Postby oops66 » Thu Nov 19, 2009 2:19 pm

xnview wrote:I can't reproduce...
(I have checked into XnView MP database via sqlitebrowser, and it seems however that all keywords are already into the db)

When searching in IPTC, imported keywords are not used. XnView search in Images::Meta field
So perhaps this DB info is not good... Try with a clean DB?

Hello Pierre,
I have tried to delete the XnView.db file, but unfortunately I have the same problem with this fresh XnView.db file.

PS: A other important thing: it's better to have by default the criteria: "=Contains" instead "=is "
XnView-WIKI | XnView Versions: v1.97 under Wine v1.1.32 & XnViewMP Linux beta V0.21 || OS:Ubuntu v9.04 & v9.10
User avatar
oops66
 
Posts: 1075
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: MP LINUX v0.21 - Search into database

Postby JohnFredC » Thu Nov 19, 2009 6:41 pm

oops66 wrote:A other important thing: it's better to have by default the criteria: "=Contains" instead "=is "


Maybe...
John
User avatar
JohnFredC
 
Posts: 1170
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota & Winter Springs Florida

Re: MP LINUX v0.21 - Search into database

Postby xnview » Fri Nov 20, 2009 1:02 pm

Is it possible to have some files? And which search?
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 15210
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: MP LINUX v0.21 - Search into database

Postby oops66 » Fri Nov 20, 2009 1:32 pm

xnview wrote:Is it possible to have some files? And which search?

Yes why not (but not easy because I have a lot of files, more than 500), maybe you can first try to add some IPTC keywords with some characters like ( "space", "@", "(", "?" upper& lower case) .
IPTC keywords examples:
Code: Select all
Black Cat ? @home:3 (5) IPTC sample
red Dog (41) @ChicaGo gaRdEn: ... else - iptc sample
Name Firstname ? (21) IpTc sample
testtttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt (1) sample iPtC
...

I have some IPTC keywords with about 50 characters ( 54 is my maximum)
Pierre, how many characters max are supported for IPTC keywords ?
XnView-WIKI | XnView Versions: v1.97 under Wine v1.1.32 & XnViewMP Linux beta V0.21 || OS:Ubuntu v9.04 & v9.10
User avatar
oops66
 
Posts: 1075
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: MP LINUX v0.21 - Search into database

Postby xnview » Fri Nov 20, 2009 1:56 pm

oops66 wrote:Pierre, how many characters max are supported for IPTC keywords ?

I think 256

But you use special character in your search? Or perhaps send me your .db?
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 15210
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: MP LINUX v0.21 - Search into database

Postby oops66 » Fri Nov 20, 2009 3:06 pm

OK I have found the problem ( IPTC Keywords search into Data base):

1-) If I first select the Tab Categories ( browser mode) --> then do Tools\Search ---> then (the field : Filename is blank & the field "Directory" is blank too) --> And it works
but
2-) If I first select the Tab Folders ( browser mode) browse directories --> then do Tools\Search ---> then (the field : Filename is still blank but the field "Directory" is now not blank) --> And now it doesn't work

So this function only works if the field "Directory" is blank ! (even if "Match any of these following Conditions" is checked)

( I do not use special character in my search )
XnView-WIKI | XnView Versions: v1.97 under Wine v1.1.32 & XnViewMP Linux beta V0.21 || OS:Ubuntu v9.04 & v9.10
User avatar
oops66
 
Posts: 1075
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: MP LINUX v0.21 - Search into database

Postby xnview » Mon Nov 23, 2009 9:31 am

Ok, the problem is base pathname, pathname stored in DB is not correct...
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 15210
Joined: Mon Oct 13, 2003 7:31 am
Location: France


Return to MP Testing - Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests