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
config: Auto metadata from Exif: throwing error when switched on #2248
Comments
I will look into this. |
Also works for me if i append |
Will do, just firing up my testbed so I can check exactly what was throwing the error. |
this image has 'landscape' in the keyword IPTC core metadata |
There problem occurs when I hit 'save', then the red error screen persists. I am able to see that the file has been ingested looking at the .md file, but the 'normal' admin view > page media field shows no image content at all. And no metadata.yaml feel is added to the relevant folder. |
Andy
- -selection of photos all of which throw errors when uploading, but ONLY if the exif feature is toggled ‘ON’… each one has a keyword plus usual basic metatdata.
… On 3 Nov 2018, at 20:48, Andy Miller ***@***.***> wrote:
Can you please upload an image (or email me one) that is causing the issue. I just tested a sample image and it worked.
NOTE: You have to 'save' the page first before the metadata file is created.
<https://user-images.githubusercontent.com/1084697/47957225-8af1ba00-df77-11e8-8686-19c8590ebb07.png>
original:
<https://user-images.githubusercontent.com/1084697/47957227-904f0480-df77-11e8-9133-f043a766e1ea.jpg>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#2248 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AGAQniHe4rHMhr1VZ9n_BBOPFIW7vC3tks5urgE7gaJpZM4YI9N2>.
|
I tried your image above, and uploaded and saved just fine: Created a yaml file with:
|
Strange
I am running 1.6 beta Grav with Quark theme as testbed1, just trying to add image into page with default template...? Will check php version, on MAMP it is definitely 7.2...
Sent from Matt's mobile
… On 4 Nov 2018, at 00:27, Andy Miller ***@***.***> wrote:
I'm not sure what you are doing differently from me. I'm running on PHP 7.2 with exif enabled in PHP config:
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
OK, so trying to unpick this further... On a Linode / Serverpilot box running I get the aforementioned errors when operating via the Admin plugin interface (ie adding images via admin interface) - - this is ONE exampel of the error message panels thrown, the other wont let me copy/paste on an older install install 1 (exif problems, seem to bit intermittent after a break though, ie if I come back later I can 'see' the image in the admin): install #2 (no problems |
Had a moment to check in on this again. If I revisit the site admin on install #1 (https://private.modernactivity.com/GRAV/) on a different machine ./ new session, I do NOT get an error in admin view, I can see the image in the relevant post/.page. BUT if I try adding a new image to a new page I get the same issue, red error opens and an 'invisible' image that has beed added to the site, but not been recognized by the admin, with no meta.yaml generated... |
ok that's useful information that should help me diagnose the issue... thanks. |
thanks for looking at this... just ran latest Quark update on install #1, issue still live tho' |
Hi there — perhaps this is something being looked at with GRAV 2, but just wanted to say that the latest stable GRAV / Admin plugin / Quark still gives us the issue (red panel, disappearing images in admin) when eddying images with IPTC metadata. And trying the same procedure with Grav v1.6.0-beta.6 - Admin v1.9.0-beta.6 - latest beta Quark - - same issue when adding images with embedded metadata... |
Hullo I am still getting the same 'red panel on upload' errors when trying to add an image with keyword metadata: https://private.modernactivity.com/GRAV/test-pic_tues_02 As before, clearing cache and refreshing seems to help. But the issue is driving clients mad, as they want to keep using caption functions that express caption info held on the image file itself! untouched plain install of Grav v1.6.0-rc.3 - Admin v1.9.0-rc.3 |
the 'stable' install does NOT encounter the issue still BUT when going to Image error panel appears when uploading keyword-tagged image. |
Ok, try this, around line 174 in
|
@rhukster — Amazing work Andy, thus far it has solved exif-related media upload issues on my testbed install, will try it on a few other instances... |
just to say - -my recent testing checks out well, I think this issue solved, great work with current v1.6! |
Phew, saw this come in and thought it was a new issue! |
Hi, It finally works both on localhost and on a shared hosting... But I don't know it it's the change of the if statement mentioned below or anything else...
I'm using the latest stable Grav + Admin plugin package, on a local Debian Buster ; all requirements are "green" in the Tools > Reports page. By the way, it seems that the conversion from coordinates in degrees to decimal values are quite buggy... |
This error has been tested on a completely vanilla / untouched install of Grav v1.5.3 - Admin v1.8.12
If we add an image WITH a metadata description / creator / keyword using the admin in 'normal' mode it throws an error like this, and the image doesn't appear to view...
Opening file for writing failed on error fopen(user://...@2x.jpg.meta.yaml): failed to open stream: "\RocketTheme\Toolbox\StreamWrapper\ReadOnlyStream::stream_open" call failed
adding a keyword-less file is fine and doesn’t prompt errors if added to a page…! Seems like a bug or am I being daft?!
if we click out of the page and back in in 'expert' mode (not 'normal' mode) the page does seem to behave OK though...
The text was updated successfully, but these errors were encountered: