Windows 10 PhotoStructure for Desktops. Fresh install of v 2.0.0-beta.1. Library and referenced photos on SSD.
Where was the problem?
Import sync misses a huge number of de-duped, valid images that are all imported by the other applications I use (Capture One, and have tested with PhotoPrism)
What did you expect PhotoStructure to do?
Import all of a de-duped test folder of 2055 images (mix of .raf, .DNG, .nef, .rw2, .jpg). It didnāt work on Ubuntu desktop (imported 1316 of 2055) and I was asked on forum if they were on HDD so I went. All SSD this time AND set photo checks to their most permissive value.
What did it actually do?
Detected 936 image files and imported 890.
No version of PhotoStructure to date has successfully imported all of my images and it is frustrating given that the UI is so perfect.
a file may not be considered āvalidā, which may actually be due to corruption, or may be a bug in the file integrity tester (which should determine if thereās been file corruption due to bad copies or bitrot). This can be verified with the info tool:
photostructure info /path/to/image.jpg --filter validFile
[
{
"nativePath": "/path/to/truncated.jpg",
"validFile": "/path/to/truncated.jpg is invalid: Premature end of JPEG fileā¶Ā³ā·"
}
]
a bug in the job scheduler (which queues up what files to process as it scans a directory hierarchy, and then pops off work from that queue). Iāve got a bunch of tests for this component, so Iām fairly confident this isnāt the issue, but job queues are tricky to test under different parallel loads.
a bug in sync-file, which is preventing a given file from being imported. The defect (or defects) could arrise due to file contens or some specific state of the library database. You can test this too, just by running sync-file directly on any missing file. Note that info is always read-only, and never updates your library database. sync-fileactually imports the given file(s) into your library, if it can.
Thanks for this. Do I need PhotoStructure for servers to run these command line checks?
Also, I reinstalled and tried importing the same photos into my PhotoStructure library vs leaving them where they were on the other ssd. 1,868 assets of 2050 successfully imported this time.
There (obviously) shouldnāt be a difference, though: it should work properly regardless of whether youāve opted into auto-organization. Iāll think about this.
Auto-Organization isnāt working for me either. I tired importing my whole library and it stopped halfway through. Restarted sync and got
āTimeout currentLibraryLockOwner after 25008msā
A library lock is acquired to prevent libraries on network shares from being written to concurrently (which results in a borked library database). If your library is on a local-only drive, you can turn off the lock acquisition code by setting skipLibraryOpenLocks to true, either by editing the settings.toml in your library, or setting this environment variable.
Also: this shouldnāt happen (obviously!): if you want to share your logs, I can check to see if thereās something else amiss going on.