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

Problem with image upload #197

Closed
efeniks opened this issue Jun 8, 2015 · 10 comments
Closed

Problem with image upload #197

efeniks opened this issue Jun 8, 2015 · 10 comments

Comments

@efeniks
Copy link

efeniks commented Jun 8, 2015

Hello!
I have problem with image upload in Django-CKEditor. When i want upload image I see this:

Are You have any idea what is wrong?
problem

I use:
Linux Ubuntu (but in Windows is the same)
Django 1.8.2 (but in 1.7 is the same)
In CKEditor-Demo is the same

Thank You!
eFeniks

@riklaunim
Copy link
Contributor

Exception have been thrown. Check what it is.

@efeniks
Copy link
Author

efeniks commented Jun 8, 2015

I have this error in my terminal:

"POST /ckeditor/upload/?CKEditor=id_content&CKEditorFuncNum=1&langCode=en HTTP/1.1" 500 127763

/python2.7/site-packages/ckeditor/widgets.py:10: RemovedInDjango19Warning: The django.forms.util module has been renamed. Use django.forms.utils instead.
from django.forms.util import flatatt

@riklaunim
Copy link
Contributor

Warning isn't an exception. Check in that mini iframe what is the exception message.

@efeniks
Copy link
Author

efeniks commented Jun 8, 2015

When I push F12 in Firefox I see only: Method getAttributeNode () is deprecated. Use the getAttribute ().

@riklaunim
Copy link
Contributor

That's javascript. If you have firebug select the "yellow" iframe and edit it styles to be larget - there you will see a standard django exception page. The iframe is very small and that's why you can't see anything there by default.

@efeniks
Copy link
Author

efeniks commented Jun 8, 2015

Thank You very much riklaunim. You are the best! That was "decoder jpeg not available".

@riklaunim
Copy link
Contributor

pillow not compile with jpeg support?

@efeniks
Copy link
Author

efeniks commented Jun 9, 2015

I use "sudo apt-get install libjpeg-dev" and reinstall Pillow. I don't know why Pillow no compile earlier.

@riklaunim
Copy link
Contributor

Problem solved?

@efeniks
Copy link
Author

efeniks commented Jun 9, 2015

Yes. Thank You

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

No branches or pull requests

2 participants