-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some of the transferred images are not complete, with portions blank/empty/gray. #55
Comments
I think the only thing you can do is delete the incomplete images and run the import again. If they're there, it won't reimport (because it compares the Flickr ID with the image name; it's only if that doesn't match that it checks the files themselves for checksum equality). I don't have any time at the moment to work on a better fix for this either, sorry. |
Thank you Sam! Should I delete the image file from the directory, or must I delete the image ID in the database too? I did find that the command-line tool "jpeginfo" recognized the incomplete files as being corrupt: [root@PDS2232 12]# jpeginfo -c 3678175c So I could write a script that deletes the bad/incomplete images. The question then becomes, "should my script delete the image from the hard drive, or should the script delete the record of the image in the piwigo database, or should it delete both the image and the database record?" Thank you! |
Thank you Sam! Should I delete the image file from the directory, or must I delete the image ID in the database too? I did find that the command-line tool "jpeginfo" recognized the incomplete files as being corrupt: [root@PDS2232 12]# jpeginfo -c 3678175c So I could write a script that deletes the bad/incomplete images. The question then becomes, "should my script delete the image from the hard drive, or should the script delete the record of the image in the piwigo database, or should it delete both the image and the database record?" Thank you! |
You should just be able to delete the DB record (if I recall correctly). The file shouldn't matter, it will be overwritten with the full version. |
@ElliotMcGucken I think you could delete the photos with the script you mentioned, then use the admin -> tools -> synchronise -> synchronise file structure with database -> directories + files function in the piwigo UI to reflect those changes in the DB before trying a re-import. |
regarding the issue of broken photo imports in itself, last time this was mentioned here (#45 ) it seemed to be randomly resolving itself... |
Greetings!
Some of the transferred images are not complete, with portions blank/empty as seen in this screen capture:
The grey parts of the image represent the missing parts of the image.
The images are indeed complete on flickr.
Is this a known issue? Any remedies? I've seen it in a few dozen instances so far.
When I re-run the flickr2piwigo transfer, will it update the incomplete images with the complete versions?
I read somewhere that flickr2piwigo checks to see if the flickr image matches up with the piwigo image, and if they don't match, then flickr2piwigo will replace the incomplete piwigo version with the full flickr version. Is that what we should expect?
Thank you!
The text was updated successfully, but these errors were encountered: