Skip to content
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

*.meta.yaml does not exist, but file is present #1275

Closed
MacGyer opened this issue Nov 25, 2017 · 8 comments
Closed

*.meta.yaml does not exist, but file is present #1275

MacGyer opened this issue Nov 25, 2017 · 8 comments
Labels

Comments

@MacGyer
Copy link

MacGyer commented Nov 25, 2017

Hey guys,

got an issue with media meta files here.

I added an image via "Page Media" on some site. The image shows up, but when clicking the "meta data" button, the Modal states "meta.yaml doesn't exist".

But the meta file is present and readable. I debugged the Media.php (https://github.com/getgrav/grav/blob/cb4147a4bd3572945608d01abb93dfc8f836b6d5/system/src/Grav/Common/Page/Media.php#L146) and the meta file existing check is ok.

image

image

Thanks for help.
Cheers

@MacGyer
Copy link
Author

MacGyer commented Nov 25, 2017

Additional information:

Things I tried:

  • actually put in some content (foo: bar)
  • changed the permissions to 0777 for both the image and meta file
  • changed the permission to 0777 for the meta file only

The result stays the same: meta file does not exist

@MacGyer
Copy link
Author

MacGyer commented Nov 25, 2017

When setting Auto metadata from Exif to Enabled in the Site config the meta file is being written and all meta information is display correctly.

@rhukster
Copy link
Member

According to your directory listing the filesize is 0

@MacGyer
Copy link
Author

MacGyer commented Nov 28, 2017

@rhukster that's right. The directory listing was from the initial manual file creation.
But even when I put some content into this file, the result did not change (see second comment).

The only time I actually saw the meta data was, when auto exif extraction was enabled in admin plugin.
Every manually created meta file did not get recognised.

@MacGyer
Copy link
Author

MacGyer commented Dec 8, 2017

@rhukster thanks for fixing. works like a charm

@MacGyer MacGyer closed this as completed Dec 8, 2017
@zigojacko
Copy link

I'm getting this problem now. Just says that the filename.jpg.meta.yaml doesn't exist when it does...

@rhukster
Copy link
Member

Can you provide a screenshot of the folder in explorer/finder?

@zigojacko
Copy link

Can you provide a screenshot of the folder in explorer/finder?

I've actually gone down a different route after speaking with @ricardo118 via your Discord server but the folder contained like:

seo.jpg
seo.jpg.meta.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants