What steps will reproduce the problem? 1. install django-tinymce 1.5.1a1 2. set TINYMCE_COMPRESSOR = True 3. load a page in the admin with a TinyMCE widget.
What is the expected output? What do you see instead? The compressor script fails with error 500: runserver console output: /tinymce/compressor/?js=true&diskcache=true&core=true&suffix=&themes=advanced&plugins=safari%2Cpaste%2Cinlinepopups&languages=de HTTP/1.1" 500
In compressor.py on line 136, request['ETag'] raises a KeyError.
What version of Django are you using? On what operating system? Django trunk (1.3+) running on mac osx 10.6
What version of django-tinymce are you using? 1.5.1a1
I don't know why the request in compressor.py does not have an ETag key, but I guess it should be handled more defensively (request.get('ETag', '')).
Regards, Fabian
Comment #1
Posted on Mar 25, 2011 by Happy CatSame issue here. Patch attached, use: patch -p0 -i patch.diff
- patch.diff 416
Comment #2
Posted on Feb 15, 2012 by Happy Kangaroodjango-tinymce development (code and issues) moved to github. please reopen this issue on github if it still exists. https://github.com/aljosa/django-tinymce
Status: WontFix
Labels:
Type-Defect
Priority-Medium