-
Notifications
You must be signed in to change notification settings - Fork 26
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
Cannot find valid magic files. #23
Comments
Did you install python-magic? See https://github.com/klis87/django-cloudinary-storage#installation |
yeah i did |
works fine for images but not for videos @klis87 |
@jf-cucalon it could be probably due either a different package version, or I don't know, maybe different file type? Sadly I cannot debug it myself, if you have time and will, I will appreciate PR fixing this, unfortunately I cannot afford to do this myself at the moment. |
Btw, we have test for that, and the video which passes the test is here - https://github.com/klis87/django-cloudinary-storage/blob/master/tests/dummy-files/dummy-video.mp4 , so I know this worked before, but packages versions arent pinned, one person is going to create a PR which will pin all packages with Poetry, but we need to wait for that. So please try with the file I gave you, then we will know this is the problem wich package version or with your video |
I will try thanks @klis87 |
Opened issue #24 for any version pinning discussion. Hopefully I'll find some time for this. |
@bufke thx! |
When uploading videos I get the cannot find valid magic files error if i use Filefield and if I use imagefield i get upload a valid image error
The text was updated successfully, but these errors were encountered: