Page 1 of 2

Import 310 directories

Posted: Wed Jul 31, 2019 9:00 pm
by elfroggio
Linux Opensuse Leap 15.1.

How can I import 310 directories/folders? I have a total of 48,000 images in there

All the images are underneath the /drive-b/photos/ directory. /drive-b/ is a 4TB internal drive /dev/sdb which is separate from the rest of the system.

Image


Thanks

Re: Import 310 directories

Posted: Wed Jul 31, 2019 10:30 pm
by michel038
These photos do contain keywords ? iptc ? xmp ? xmp companion ?
Do you have already created some of these keywords as categories in xnviewmp ?
Did you backup some settings, categories, xnview.db ... before adding so much photos ?

If yes, go to settings metadata, mark the first checkbox (import xmp .. iptc .. to categories ), unmark the second (export)
go to settings catalog, click on "add folders" and choose the directory that contains your photos to be added ...
it will take a few hours to read 48000 files


When finised, you'll be able to use categories filter.

in settings metadata you can now unmark "import ..." and set "export ..." , so keywords will be added when you check a category.

( If there are no keywords at all in these photos, you can use ExifTool to copy folder names into keywords, but it's a bit tricky ...)

Re: Import 310 directories

Posted: Thu Aug 01, 2019 12:03 am
by elfroggio
michel038 wrote: Wed Jul 31, 2019 10:30 pm These photos do contain keywords ? iptc ? xmp ? xmp companion ?
I would say that about half of them have keywords and they are stored in .cr2.xmp and .raf.xmp
michel038 wrote: Wed Jul 31, 2019 10:30 pm Do you have already created some of these keywords as categories in xnviewmp ?
Did you backup some settings, categories, xnview.db ... before adding so much photos ?
I have a spreadsheet with all my keywords. I could even create them by hand if "really" needed. There are less 350 keywords in all.
michel038 wrote: Wed Jul 31, 2019 10:30 pm If yes, go to settings metadata, mark the first checkbox (import xmp .. iptc .. to categories ), unmark the second (export)
go to settings catalog, click on "add folders" and choose the directory that contains your photos to be added ...
it will take a few hours to read 48000 files
I tried this twice and it crashed about a third of the way through. The second time, I deleted all the xnviewmp config before trying to import again.

Code: Select all

GFF :: LoadThumbnail : 2 
 CHECK : <coren-stan-20180727-a002-5x7-vertical.xcf>
LOAD BITMAP </drive-b/photos/gimps/coren-stan-20180727-a002-5x7-vertical.xcf>
*** Error in `/tmp/.mount_xnniewayDVaX/usr/XnView/XnView': double free or corruption (!prev): 0x00007f01741c1b60 ***
/tmp/.mount_xnniewayDVaX/usr/bin//xnviewmp: line 5: 31627 Aborted                 (core dumped) "$usr/XnView/XnView" "$@"
Thanks

Re: Import 310 directories

Posted: Mon Aug 05, 2019 3:34 pm
by xnview
elfroggio wrote: Thu Aug 01, 2019 12:03 am

Code: Select all

GFF :: LoadThumbnail : 2 
 CHECK : <coren-stan-20180727-a002-5x7-vertical.xcf>
LOAD BITMAP </drive-b/photos/gimps/coren-stan-20180727-a002-5x7-vertical.xcf>
*** Error in `/tmp/.mount_xnniewayDVaX/usr/XnView/XnView': double free or corruption (!prev): 0x00007f01741c1b60 ***
/tmp/.mount_xnniewayDVaX/usr/bin//xnviewmp: line 5: 31627 Aborted                 (core dumped) "$usr/XnView/XnView" "$@"
is it possible to have the .xcf file?

Re: Import 310 directories

Posted: Sun Aug 11, 2019 4:13 am
by elfroggio
xnview wrote: Mon Aug 05, 2019 3:34 pm
elfroggio wrote: Thu Aug 01, 2019 12:03 am

Code: Select all

GFF :: LoadThumbnail : 2 
 CHECK : <coren-stan-20180727-a002-5x7-vertical.xcf>
LOAD BITMAP </drive-b/photos/gimps/coren-stan-20180727-a002-5x7-vertical.xcf>
*** Error in `/tmp/.mount_xnniewayDVaX/usr/XnView/XnView': double free or corruption (!prev): 0x00007f01741c1b60 ***
/tmp/.mount_xnniewayDVaX/usr/bin//xnviewmp: line 5: 31627 Aborted                 (core dumped) "$usr/XnView/XnView" "$@"
is it possible to have the .xcf file?
Actually, there are 2 files:

https://drive.google.com/open?id=1vDHCf ... hA-J5VzHc1

and

https://drive.google.com/open?id=1nsoyE ... AoZl5Gh5gx

If XnV can't read them , what about ignoring them completely?

Thanks

Re: Import 310 directories

Posted: Mon Aug 12, 2019 10:51 am
by xnview
elfroggio wrote: Sun Aug 11, 2019 4:13 am If XnV can't read them , what about ignoring them completely?
Xn can read .xcf. Are you using 0.93.1? I can't reproduce the crash

Re: Import 310 directories

Posted: Tue Aug 13, 2019 12:53 am
by elfroggio
xnview wrote: Mon Aug 12, 2019 10:51 am
elfroggio wrote: Sun Aug 11, 2019 4:13 am If XnV can't read them , what about ignoring them completely?
Xn can read .xcf. Are you using 0.93.1? I can't reproduce the crash
I'm using Opensuse Leap 15.1 and the crash was with

Code: Select all

xnview_mp.glibc2.17-x86_64.appimage
downloaded from: https://download.xnview.com/XnView_MP.g ... 4.AppImage

I even told it to ignore that directory (with most of my gimps/xcf files) and it still crashed.

Is there a way to tell it to ignore some file extensions?

Thanks

Re: Import 310 directories

Posted: Wed Aug 14, 2019 12:58 pm
by xnview
elfroggio wrote: Tue Aug 13, 2019 12:53 am downloaded from: https://download.xnview.com/XnView_MP.g ... 4.AppImage
Right, strange, i can only reproduce with this AppImage, not the TGZ or deb
Is there a way to tell it to ignore some file extensions?
You can add .xcf in Settings>Filelist>Custom filter - Exclude

Re: Import 310 directories

Posted: Wed Aug 14, 2019 7:01 pm
by elfroggio
xnview wrote: Wed Aug 14, 2019 12:58 pm
elfroggio wrote: Tue Aug 13, 2019 12:53 am downloaded from: https://download.xnview.com/XnView_MP.g ... 4.AppImage
Right, strange, i can only reproduce with this AppImage, not the TGZ or deb
Is there a way to tell it to ignore some file extensions?
You can add .xcf in Settings>Filelist>Custom filter - Exclude
Adding ".xcf" in 'Settings>Filelist>Custom filter - Exclude' doesn't work, it still crashes xn

Thanks

Re: Import 310 directories

Posted: Thu Aug 15, 2019 12:27 pm
by xnview
do you use Filter>Custom?

Re: Import 310 directories

Posted: Thu Aug 15, 2019 5:41 pm
by elfroggio
xnview wrote: Thu Aug 15, 2019 12:27 pm do you use Filter>Custom?
No: settings > borowser > file list > file operations > exclude

Image

Thanks

Re: Import 310 directories

Posted: Fri Aug 16, 2019 6:57 am
by xnview
no in Browser, View>Filter by>Custom

Re: Import 310 directories

Posted: Fri Aug 16, 2019 4:59 pm
by elfroggio
xnview wrote: Fri Aug 16, 2019 6:57 am no in Browser, View>Filter by>Custom
I don't see, I did: but there's nothing allow me to select images without the gimps xcf. When I press enter while highlighting custom: nothing happens

Image

Thanks

Re: Import 310 directories

Posted: Mon Aug 19, 2019 8:08 am
by xnview
elfroggio wrote: Thu Aug 15, 2019 5:41 pm Image
Here you need to check the 'show as thumbnail' for exclude

Re: Import 310 directories

Posted: Tue Aug 20, 2019 12:22 am
by elfroggio
xnview wrote: Mon Aug 19, 2019 8:08 am
elfroggio wrote: Thu Aug 15, 2019 5:41 pm Image
Here you need to check the 'show as thumbnail' for exclude
Still no success. :shock:

I get the following error:

Code: Select all

GFF :: LoadThumbnail : 0 
 CHECK : <bizcard-sritch-20181101.xcf>
LOAD BITMAP </drive-b/photos/business/bizcard-sritch-20181101.xcf>
GFF :: LoadThumbnail : 0 
ItemData :: update ==> business OK 
 CHECK : <agility-20100612-8158-edit.psd>
LOAD BITMAP </drive-b/photos/gimps/agility-20100612-8158-edit.psd>
  JPEG load : 1.044444  90 62
  JPEG load : 160 94 
GFF :: LoadThumbnail : 0 
 CHECK : <agility-20100612-8158-edit.psd.xmp>
LOAD BITMAP </drive-b/photos/gimps/agility-20100612-8158-edit.psd.xmp>
my_error_exit...<Not a JPEG file: starts with 0x3c 0x3f>
GFF :: LoadThumbnail : 2 
 CHECK : <coren-stan-20180727-a002-5x7-vertical.xcf>
LOAD BITMAP </drive-b/photos/gimps/coren-stan-20180727-a002-5x7-vertical.xcf>
ItemData :: update ==> customers OK 
ItemData :: update ==> events OK 
*** Error in `/tmp/.mount_xnview05iPoa/usr/XnView/XnView': double free or corruption (!prev): 0x00007fec10097260 ***
/tmp/.mount_xnview05iPoa/usr/bin//xnviewmp: line 5:  9382 Aborted                 (core dumped) "$usr/XnView/XnView" "$@"
froggy@etherlbert:~> 
I included a few more than the image xnviewmp crashes on. See: /bizcard-sritch-20181101.xcf which is OK

In /tmp, I have

Code: Select all

> ls -alF /tmp/qts*
-rw-r--r-- 1 froggy users 0 Aug 14 11:53 /tmp/qtsingleapp-XnView-19c-3e8-lockfile
srwxr-xr-x 1 froggy users 0 Aug 15 10:37 /tmp/qtsingleapp-XnView-2b96-3e8=
-rw-r--r-- 1 froggy users 0 Aug 15 10:37 /tmp/qtsingleapp-XnView-2b96-3e8-lockfile
-rw-r--r-- 1 froggy users 0 Aug 15 10:37 /tmp/qtsingleapp-XnView-308d-3e8-lockfile
-rw-r--r-- 1 froggy users 0 Aug  1 09:55 /tmp/qtsingleapp-XnView-3612-3e8-lockfile
-rw-r--r-- 1 froggy users 0 Aug  1 09:57 /tmp/qtsingleapp-XnView-378a-3e8-lockfile
srwxr-xr-x 1 froggy users 0 Aug 14 11:50 /tmp/qtsingleapp-XnView-52c8-3e8=
-rw-r--r-- 1 froggy users 0 Aug 14 11:50 /tmp/qtsingleapp-XnView-52c8-3e8-lockfile
srwxr-xr-x 1 froggy users 0 Aug 16 09:52 /tmp/qtsingleapp-XnView-5572-3e8=
-rw-r--r-- 1 froggy users 0 Aug 16 09:52 /tmp/qtsingleapp-XnView-5572-3e8-lockfile
-rw-r--r-- 1 froggy users 0 Aug 15 10:36 /tmp/qtsingleapp-XnView-5ac6-3e8-lockfile
srwxr-xr-x 1 froggy users 0 Aug 14 11:54 /tmp/qtsingleapp-XnView-79f1-3e8=
-rw-r--r-- 1 froggy users 0 Aug 14 11:54 /tmp/qtsingleapp-XnView-79f1-3e8-lockfile
srwxr-xr-x 1 froggy users 0 Aug 14 11:52 /tmp/qtsingleapp-XnView-8466-3e8=
-rw-r--r-- 1 froggy users 0 Aug 14 11:52 /tmp/qtsingleapp-XnView-8466-3e8-lockfile
srwxr-xr-x 1 froggy users 0 Aug 12 17:50 /tmp/qtsingleapp-XnView-86a3-3e8=
-rw-r--r-- 1 froggy users 0 Aug 12 17:50 /tmp/qtsingleapp-XnView-86a3-3e8-lockfile
-rw-r--r-- 1 froggy users 0 Aug  1 09:57 /tmp/qtsingleapp-XnView-a13d-3e8-lockfile
-rw-r--r-- 1 froggy users 0 Aug 14 11:51 /tmp/qtsingleapp-XnView-a870-3e8-lockfile
srwxr-xr-x 1 froggy users 0 Aug 19 17:13 /tmp/qtsingleapp-XnView-b150-3e8=
-rw-r--r-- 1 froggy users 0 Aug 19 17:13 /tmp/qtsingleapp-XnView-b150-3e8-lockfile
-rw-r--r-- 1 froggy users 0 Aug  1 10:14 /tmp/qtsingleapp-XnView-b9eb-3e8-lockfile
srwxr-xr-x 1 froggy users 0 Aug 19 17:16 /tmp/qtsingleapp-XnView-d9c-3e8=
-rw-r--r-- 1 froggy users 0 Aug 19 17:16 /tmp/qtsingleapp-XnView-d9c-3e8-lockfile
-rw-r--r-- 1 froggy users 0 Aug 12 17:44 /tmp/qtsingleapp-XnView-da4e-3e8-lockfile
-rw-r--r-- 1 froggy users 0 Aug  1 18:25 /tmp/qtsingleapp-XnView-ea3-3e8-lockfile
-rw-r--r-- 1 froggy users 0 Aug 16 09:53 /tmp/qtsingleapp-XnView-f7cd-3e8-lockfile
srwxr-xr-x 1 froggy users 0 Aug 19 17:14 /tmp/qtsingleapp-XnView-fb8e-3e8=
-rw-r--r-- 1 froggy users 0 Aug 19 17:14 /tmp/qtsingleapp-XnView-fb8e-3e8-lockfile
Thanks