Cannot find valid magic files.
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
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!