jdriscoll/django-imagekit — Issue #82: django-imagekit installation issue
Author: kodbank
Created: 2011-12-13 14:01:39+00:00
State: open

i try to use and get imagekit running but get some errors any help would be appreciated.

django.VERSION (1, 3, 0, 'final', 0)
OS = debian lenny 2.6.26-2-amd64
Python 2.5.2

Downloading/unpacking django-imagekit
Downloading django-imagekit-1.0.3.tar.gz
Running setup.py egg_info for package django-imagekit

Installed /tmp/build/django-imagekit/versiontools-1.8.2-py2.5.egg
Installing collected packages: django-imagekit
Running setup.py install for django-imagekit
/usr/lib/python2.5/site-packages/tests/core/tests.py:63: Warning: 'with' will become a reserved keyword in Python 2.6
File "/usr/lib/python2.5/site-packages/tests/core/tests.py", line 63
with self.assertRaises(utils.UnknownExtensionError):
^
SyntaxError: invalid syntax

Successfully installed django-imagekit
Cleaning up...

after adding imagekit to settings and try to do anything i always get this error

Traceback (most recent call last):
File "manage.py", line 14, in
execute_manager(settings)
File "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.5/site-packages/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/lib/python2.5/site-packages/django/core/management/base.py", line 219, in execute
self.validate()
File "/usr/lib/python2.5/site-packages/django/core/management/base.py", line 249, in validate
num_errors = get_validation_errors(s, app)
File "/usr/lib/python2.5/site-packages/django/core/management/validation.py", line 36, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/usr/lib/python2.5/site-packages/django/db/models/loading.py", line 146, in get_app_errors
self._populate()
File "/usr/lib/python2.5/site-packages/django/db/models/loading.py", line 61, in _populate
self.load_app(app_name, True)
File "/usr/lib/python2.5/site-packages/django/db/models/loading.py", line 78, in load_app
models = import_module('.models', app_name)
File "/usr/lib/python2.5/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/usr/lib/python2.5/site-packages/imagekit/models.py", line 159, in
class ImageSpecFile(_ImageSpecFileMixin, ImageFieldFile):
File "/usr/lib/python2.5/site-packages/imagekit/models.py", line 280, in ImageSpecFile
@name.setter
AttributeError: 'property' object has no attribute 'setter'