Donate Share

mapivi

Tracker: Bugs

5 Duplicates in database - ID: 2857586
Last Update: Comment added ( doug233 )

Using MaPiVi under MS Windows XP Professional, I noticed that every image
is stored twice in the database: Once the path contains slashes, once
backslashes. (But the final separator right before the file name itself
always is a slash.) The search dialogue reveals that file and EXIF data are
only displayed for the database entry containing slashes, while the
"viewed" counter only is maintained for the backslash version (screenshot
attached).


Doug ( doug233 ) - 2009-09-12 16:21

5

Open

Fixed

Nobody/Anonymous

None

None

Public


Comments ( 6 )




Date: 2009-11-15 13:00
Sender: doug233

Martin, I confirm the bug is fixed. Thanks a lot!


Date: 2009-10-23 17:34
Sender: mrherrmannProject AdminAccepting Donations

This bug should hopefully be fixed with mapivi.pl revision 36.


Date: 2009-09-25 12:27
Sender: nobody

Martin,

I found out the following:

- Browsing a folder results in double entries for each single picture in
the folder.

- The menu <Search - Add to database> works correctly. Only the "slash
entries" are created in the database. But when I view such a picture, the
"backslash duplicate" is created.

So there are (at least) two ways to create backslash entries in the
database: Browsing a folder, and viewing a picture.

Thank you for this great product. Keep on the good work! (I will donate if
I decide to use Mapivi. So far I am only testing it.)

Best regards,
Stefan



Date: 2009-09-17 19:39
Sender: mrherrmannProject AdminAccepting Donations

Strange, I've never seen this behavior. How did you add the pictures to the
database? Just by browsing the folder or with the menu "add to database" or
both ways?
Mapivi normalizes the backslashes to slashes in the function
addToSearchDB(), so this should not happen.
Could you please open menu Search-Edit database and remove all the wrong
entries (the paths containing a backslash)?
And then add all or just some folders again to the database with menu:
Search-add to database?
Are there still double entries now?


Date: 2009-09-12 16:38
Sender: doug233

Mapivi config dir: C:\Dokumente und
Einstellungen\[snip]\Anwendungsdaten/maprogs/mapivi

Perl version: 5.10.0
Perl/Tk version: 804.028
Tcl/Tk version: 8.4
Tcl/Tk patch level: 8.4
Tk::JPEG version: 4.003
MetaData version: 0.153
Perl executable: C:\Perl\bin\perl.exe
System (OS): MSWin32
Process ID (PID): 2976
Running since: 0 day(s) 01:29:52


OS type: Windows_NT
System name: [snip]
# of processors: 2
Processor: x86
Processor type: x86 Family 6 Model 15 Stepping 11, GenuineIntel
Processor rev.: 0f0b
Here is a list of all external programs used by Mapivi.
Some of them are needed, some are optional.

available: composite - combine pictures e.g. thumbnails with a
background
available: convert - build thumbnails
not available: exiftool - Read/write meta information in image files
not available: gimp-remote - edit pictures with The GIMP (only UNIX)
available: gimp-win-remote - edit pictures with The GIMP (only
windows)
available: identify - describe the format and characteristics of
a picture
available: jhead - handle EXIF infos and embedded thumbnail
pictures
not available: jpegpixi - do nearly lossless interpolation (remove
dead pixels)
available: jpegtran - do lossless rotation of pictures
available: mogrify - change the size/quality of pictures
available: montage - combine pictures to e.g. index prints
not available: mozilla-thunderbird - send pictures via email
not available: thunderbird - send pictures via email
not available: xwd - make a screenshot of a window or desktop



Date: 2009-09-12 16:34
Sender: doug233

Observed in Mapivi 0.9.7.


Log in to comment.




Attached File ( 1 )

Filename Description Download
database_duplicates.png Search dialogue showing db duplicate Download

Changes ( 3 )

Field Old Value Date By
resolution_id Accepted 2009-10-23 17:34 mrherrmann
resolution_id None 2009-09-17 19:39 mrherrmann
File Added 342715: database_duplicates.png 2009-09-12 16:21 doug233