![]() |
|
Error when using xmpMetadata on 1.5.8RC - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: Error when using xmpMetadata on 1.5.8RC (/thread-13540.html) Pages:
1
2
|
Error when using xmpMetadata on 1.5.8RC - jwaltrip4 - 11-03-2021 I am enabled XMP metadata, and then started Refresh Metadata. It runs for a few seconds, then I get
No errors in debug log IN apache log:
Error when using xmpMetadata on 1.5.8RC - acrylian - 11-03-2021 The error means a script took longer and timed out. Could mean to many images and albums to refresh or the already noted "wrong" or "corrupted" meta data issue. To rule out if is the XMP metadata disable it and try again. Since it involves extra operations that might be just too much for your server. There is nothing in the debuglog because the issue was earlier than that. Btw, that's the PHP error log actually and actually not the apache log. That would be about requests and such. Error when using xmpMetadata on 1.5.8RC - jwaltrip4 - 11-03-2021 Without xmpmetatdata I get about 4 of these:
Error when using xmpMetadata on 1.5.8RC - acrylian - 11-03-2021 Again your wrong geocoordinates apparently. Error when using xmpMetadata on 1.5.8RC - jwaltrip4 - 11-03-2021 is there a way I can tied this back to the photo that cause this? Also... not seeing PHP errors.. Just turned on logging in PHP Error when using xmpMetadata on 1.5.8RC - acrylian - 11-03-2021
You can enable debug modes but I don't think that will help here. Unless you want to code try refreshing by album to at least find the album causing this.
Yes, that's fine that way. Error when using xmpMetadata on 1.5.8RC - acrylian - 11-03-2021 However I will take a look at the line to perhaps catch that undefined array index/offset. But the base issue is that the image metadata apparently tells to have data it doesn't. Error when using xmpMetadata on 1.5.8RC - jwaltrip4 - 11-03-2021 thanks on the coding... I write in powershell, and at the end of the day have to anticipate when bad data happens and put in checks for it. It is almost imposable to anticipate when you will get bad information sometimes. As to refreshing comment... If I refresh album by album (go to album, click on "refresh album data", that will only refresh the album and not the whole gallery? Error when using xmpMetadata on 1.5.8RC - acrylian - 11-03-2021 Yes, we user "gallery" as term for all albums respectively the whole site. Error when using xmpMetadata on 1.5.8RC - jwaltrip4 - 11-03-2021 OK... if I scan albums with my fuji and nikon photos..., Neither of which have GPS data, it scans them If I scan an album with photos from my Samsung Galaxy Note 10+, it times out. I don't know if this related to Samsung pictures, or GPS. if I disable XMPMetadata plugin, then refresh works everywhere. I can send you sample pics if need be, Error when using xmpMetadata on 1.5.8RC - acrylian - 11-03-2021 It might very well be the image size. Are these larger than the others perhaps? After all the files are loaded to be read. Also for now do you need XMP at all? Most certainly the EXIF data has the same info. Error when using xmpMetadata on 1.5.8RC - jwaltrip4 - 11-03-2021 Do I need XMPINFO to read sidecar files? Error when using xmpMetadata on 1.5.8RC - acrylian - 11-03-2021
What sidecar files? Xmp sidecar files? Yes, of course. But your images have these metadata most likely embeded. Metadata of ZP sidecar files (video thumbs etc.) is not read anyway. Error when using xmpMetadata on 1.5.8RC - jwaltrip4 - 11-03-2021 I was looking at the ability for albums to store text in such a way that it could be put back in case I delete and recreate the album - not critical do sidecar files work with JPEG and videos? I was looking fo rthe same there... being able to take text such as detailed description and store it with the JPG or M4V and have it read. will xmpmetadata not do that? Error when using xmpMetadata on 1.5.8RC - jwaltrip4 - 12-03-2021 does xmpmetadata support sidecar files for jpeg? Error when using xmpMetadata on 1.5.8RC - acrylian - 12-03-2021 If you mean XMP sidecar files, yes, as that is the purpose of this plugin if you read its description. Error when using xmpMetadata on 1.5.8RC - jwaltrip4 - 12-03-2021 OK. I did... I understand. just making sure I did not miss anything. Still trying to figure out why things go haywire when I enable xmpmetadata. Error when using xmpMetadata on 1.5.8RC - acrylian - 12-03-2021 Well, it does extra processing. So again the question do you need it actually? If the metadata is embeded in the images it is not as it is read and stored in the database anyway. Error when using xmpMetadata on 1.5.8RC - jwaltrip4 - 12-03-2021 I assume it only does extra processing when refreshing metadata, correct? if that is the case, it would be fine... I don't run that but periodically. then issue is it is timing out. Error when using xmpMetadata on 1.5.8RC - acrylian - 12-03-2021
And on initial discovery of an image of course. Again, you don't really need the XMP plugin if meta data is embedded tto the image. XMP is an extra set most likely standard EXIF and/or IPTC data is also there. |