Comments (9)
Here are snapshots of the error.
By default, zinnia uploads to a directory named 'uploads' concatenated with the year, month and day the image was saved hence in this particular case - 'uploads\zinnia\2017\01\11'.
Let me know if you need any more information.
from django-cloudinary-storage.
I will check it on my windows system soon, it should work right now as I intended this package to work on Windows as well, thanks for letting me know, I will try to fix this in the following days.
from django-cloudinary-storage.
By the way, I would like to make sure, by path\to\some\image\image.jpg you mean that this is not actual path to image.jpg, but it is the file name, right?
from django-cloudinary-storage.
Yes. This is just the file name.
from django-cloudinary-storage.
Thank you for your commits' references.
I am just wondering about one thing, which I am missing. Why a file with a filename like path\to\some\image\image.jpg is created in the first place? Could you please provide me a sample of your Django model/view code, when this situation could arise, so I could understand this issue better? Unless path\to\some\image\image.jpg is just the hardcoded file name?
from django-cloudinary-storage.
I'm using django-zinnia for the project. With all default settings, uploading a picture from the zinnia app fails when I'm working on a windows machine. After investigating, I discovered that the name of the image django-cloudinary-storage was receiving is in the 'file path form'. I'm presently on ubuntu but I'll reproduce the issue on my windows machine shortly and show the full stack trace
from django-cloudinary-storage.
Thank you for the explanation, now everything is clear, I will test it myself in the evening on Windows machine, accept the merge request and upload new version to pypi.
from django-cloudinary-storage.
That will be nice. Thanks.
from django-cloudinary-storage.
Thank you for your pull request. I added 1 comment to it, please review it, thanks in advance.
from django-cloudinary-storage.
Related Issues (20)
- Setting for prefix HOT 3
- Implement upload options HOT 1
- File size too large -- but it isn't HOT 7
- How to get the full path HOT 5
- How can I delete an image each time I delete the instance asociated with it? HOT 4
- Add ability to manipualate option upload in settings.py HOT 1
- Django-utils.six dropped in Django 3.x HOT 9
- Unable to load large videos HOT 3
- Cannot find valid magic files. HOT 8
- Switch to Poetry with better dependency pinning
- issue with exists for raw files HOT 3
- Issue with uploading Django CKEditor images to cloudinary HOT 7
- This backend doesn't support absolute paths HOT 3
- This backend doesn't support absolute paths. HOT 2
- Unsupported video format or file HOT 3
- Can I set uppload option to private? HOT 5
- Static files don't work HOT 4
- How to apply cloudinary transformations outside of templates
- expected str, bytes or os.PathLike object, not NoneType HOT 1
- Error during management command: deleteredundantstatic
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-cloudinary-storage.