haltakov / simple-photo-gallery

Beautiful and simple photo galleries that help you tell your story. Free and open-source.
https://haltakov.net/simple-photo-gallery
MIT License
194 stars 51 forks source link

Error Generating images_data.json #114

Closed DiverXer0 closed 4 months ago

DiverXer0 commented 2 years ago

Getting the following error when gallery-build

Something went wrong while generating the images_data.json file: 'utf-8' codec can't decode byte 0xfa in position 62: invalid start byte

Windows 10 / Python 3.9.1

Tried on the Mac as well with the same issue

haltakov commented 2 years ago

This seems to be an issue with the photo captions. You can try working around this by adding the following line in your gallery.json file:

"disable_captions": true

Does it work then?

DiverXer0 commented 2 years ago

Still getting the same error unfortunately

haltakov commented 2 years ago

Hey, there was a bug in the captions config. It is solved with 1.5.4, so maybe you can give it a try now again. Otherwise, could you please send me the photo that causes the problem and I can investigate.

DiverXer0 commented 2 years ago

Sorry for the late reply - I've updated and unfortunately no change and getting the same error - happy to send you the photos. How do you want me to send them?

kroesche commented 5 months ago

I know this is a really old issue OP, but if you are still interested in this bug and getting this message, I can look at it. Can you put the images in a read-only link somewhere (like on google drive) and post the link here. As soon as I pick up the images you can delete the share.

You might be able to put the files here in the issue, I see there is a way to add images, you can try that too.

kroesche commented 4 months ago

I am going to close this due to age. If you want to pursue this issue, please re-open or create a new issue.