"Update Catalog From Files" clears the photos categories

*** Please report new bugs here! ***

Moderator: Dreamer

Post Reply
t3mujin
Posts: 7
Joined: Sun Jan 19, 2014 10:36 pm

"Update Catalog From Files" clears the photos categories

Post by t3mujin » Wed May 23, 2018 10:52 pm

I have some sidecar files that when I run "Update Catalog From Files" it clears the assigned categories that photo already had. those categories were already exported from xnview, but the side had been updated outside xnview.



Log:

Code: Select all

BookmarksModel-GETICON /media/Storage/Photos/Incoming/  2
BookmarksModel-GETICON /media/Storage/Photos/Library/  2
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
BookmarksModel-GETICON /media/Storage/Photos/Incoming/  2
BookmarksModel-GETICON /media/Storage/Photos/Library/  2
LOAD INFO </media/Storage/Photos/Library/StorageClone2/2018/05/06 - Lisboa/Lisboa_201866903.RAF>
  RAW : 148 0 
  JPEG load : 1920 1280 
Over...
Over...
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866903.RAF OK 
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: setFileList(10)
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 2a3dfe0 
CHECK <10> 
### START 10 
######ThumbLoaderThread :: start : 10 


############################################ InfoPropertiesView

Create Tree : File
Create Tree : Image
Create Tree : Camera
BookmarksModel-GETICON /media/Storage/Photos/Incoming/  2
BookmarksModel-GETICON /media/Storage/Photos/Library/  2
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866900.RAF OK 
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866901.RAF OK 
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866902.RAF OK 
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866903.RAF OK 
BookmarksModel-GETICON /media/Storage/Photos/Incoming/  2
BookmarksModel-GETICON /media/Storage/Photos/Library/  2
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866904.RAF OK 
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866905.RAF OK 
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866906.RAF OK 
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866907.RAF OK 
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866908.RAF OK 
101  Unregistered schema namespace URI
ItemData :: update ==> Lisboa_201866909.RAF OK 
######ThumbLoaderThread :: forever : 2a3dfe0 
 ** start condition wait
TIME  0  
### ThumbLoaderThread :: updateFileList
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: updateFileList ok
sizeHints : 376 
Sidecar

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.4.0-Exiv2">
 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about=""
    xmlns:MicrosoftPhoto="http://ns.microsoft.com/photo/1.0/"
    xmlns:xmp="http://ns.adobe.com/xap/1.0/"
    xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:darktable="http://darktable.sf.net/"
    xmlns:lr="http://ns.adobe.com/lightroom/1.0/"
   MicrosoftPhoto:Rating="0"
   xmp:Rating="0"
   xmpMM:DerivedFrom="Lisboa_201866903.RAF"
   darktable:xmp_version="2"
   darktable:raw_params="0"
   darktable:auto_presets_applied="0"
   darktable:history_end="0">
   <dc:creator>
    <rdf:Seq>
     <rdf:li>João Pedro Almeida</rdf:li>
    </rdf:Seq>
   </dc:creator>
   <dc:rights>
    <rdf:Alt>
     <rdf:li xml:lang="x-default">www.joaoalmeidaphotography.com</rdf:li>
    </rdf:Alt>
   </dc:rights>
   <dc:subject>
    <rdf:Seq>
     <rdf:li>Architecture</rdf:li>
     <rdf:li>Building</rdf:li>
     <rdf:li>City</rdf:li>
     <rdf:li>Estremadura</rdf:li>
     <rdf:li>Europe</rdf:li>
     <rdf:li>Lisboa</rdf:li>
     <rdf:li>Lisbon</rdf:li>
     <rdf:li>Location</rdf:li>
     <rdf:li>Marvila</rdf:li>
     <rdf:li>Places</rdf:li>
     <rdf:li>Portugal</rdf:li>
     <rdf:li>Theme</rdf:li>
     <rdf:li>Urban</rdf:li>
    </rdf:Seq>
   </dc:subject>
   <darktable:mask_id>
    <rdf:Seq/>
   </darktable:mask_id>
   <darktable:mask_type>
    <rdf:Seq/>
   </darktable:mask_type>
   <darktable:mask_name>
    <rdf:Seq/>
   </darktable:mask_name>
   <darktable:mask_version>
    <rdf:Seq/>
   </darktable:mask_version>
   <darktable:mask>
    <rdf:Seq/>
   </darktable:mask>
   <darktable:mask_nb>
    <rdf:Seq/>
   </darktable:mask_nb>
   <darktable:mask_src>
    <rdf:Seq/>
   </darktable:mask_src>
   <darktable:history>
    <rdf:Seq/>
   </darktable:history>
   <lr:hierarchicalSubject>
    <rdf:Seq>
     <rdf:li>Architecture</rdf:li>
     <rdf:li>Architecture|Building</rdf:li>
     <rdf:li>Location</rdf:li>
     <rdf:li>Location|City</rdf:li>
     <rdf:li>Places</rdf:li>
     <rdf:li>Places|Europe</rdf:li>
     <rdf:li>Places|Europe|Portugal</rdf:li>
     <rdf:li>Places|Europe|Portugal|Estremadura</rdf:li>
     <rdf:li>Places|Europe|Portugal|Estremadura|Lisbon</rdf:li>
     <rdf:li>Places|Europe|Portugal|Estremadura|Lisbon|Lisboa</rdf:li>
     <rdf:li>Places|Europe|Portugal|Estremadura|Lisbon|Lisboa|Marvila</rdf:li>
     <rdf:li>Theme</rdf:li>
     <rdf:li>Theme|Urban</rdf:li>
    </rdf:Seq>
   </lr:hierarchicalSubject>
  </rdf:Description>
 </rdf:RDF>
</x:xmpmeta>
Attachments
Screenshot from 2018-05-23 23-43-39.png
Screenshot from 2018-05-23 23-43-39.png (13.88 KiB) Viewed 378 times

User avatar
xnview
Author of XnView
Posts: 30018
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: "Update Catalog From Files" clears the photos categories

Post by xnview » Mon May 28, 2018 12:44 pm

assigned categories in the catalog?
Pierre.

t3mujin
Posts: 7
Joined: Sun Jan 19, 2014 10:36 pm

Re: "Update Catalog From Files" clears the photos categories

Post by t3mujin » Fri Jun 15, 2018 10:08 am

Sorry, I was away for some days. The assigned categories actually are the on the xmp, the file was generated by running "Update Files From Catalog" and that section of the metadata never was changed.

User avatar
xnview
Author of XnView
Posts: 30018
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: "Update Catalog From Files" clears the photos categories

Post by xnview » Wed Jun 20, 2018 9:08 am

t3mujin wrote:
Fri Jun 15, 2018 10:08 am
Sorry, I was away for some days. The assigned categories actually are the on the xmp, the file was generated by running "Update Files From Catalog" and that section of the metadata never was changed.
i can't reproduce, which settings do you have in Settings>Metadata?
Pierre.

t3mujin
Posts: 7
Joined: Sun Jan 19, 2014 10:36 pm

Re: "Update Catalog From Files" clears the photos categories

Post by t3mujin » Mon Jul 02, 2018 10:41 pm

Sure, check the attachment
Attachments
Screenshot from 2018-07-02 23-40-01.png

User avatar
xnview
Author of XnView
Posts: 30018
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: "Update Catalog From Files" clears the photos categories

Post by xnview » Tue Jul 03, 2018 2:33 pm

you need to have 'update or create sidecar' enabled
Pierre.

Post Reply