Robert, > On Mar 31, 2020, at 10:19 PM, Robert McKeever via 4D_Tech > <[email protected]> wrote: > > The database is 4D v15.4, iMac 10.14.6, using a Pegasus 9Tb RAID (sweet > drive). > > I have 151,814 images, in either JPEG or BMP format, and the format is known > for each image. > > So, I cycle through the images and figure out what the export be, do a create > document for that name, close that file and then do Picture to Blob as > follows: > > If (([ScannedDocuments]FileType="JPEG") | ([ScannedDocuments]FileType="JPG")) > PICTURE TO BLOB([ScannedDocuments]FullImage;$MyBlob;".jpg") > Else > PICTURE TO BLOB([ScannedDocuments]FullImage;$MyBlob;".bmp") > End if > BLOB TO DOCUMENT(document;$MyBlob) > > And I write the document name to a test file with some other info using > append document. > > Periodically, 4D just vanishes. In which case, the text file may or may not > contain the entry it died on. This generally happens when the BLOB TO > DOCUMENT results in the finder showing a file of zero bytes. In fact, I may > get several such files in a block before 4D disappears. No error messages, no > system “Hey, it crashed’ logs, just poof.
Have you run the MSC on the data, just to make sure there are no underlying data problems? Have you tried putting in an ON ERR CALL command to see if you can trap an error before it causes a crash? Could some of the images have gotten an incorrect file type, causing the wrong processing to be done on it? Randy Kaempen Intellex Corporation ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

