Hello, I am using Stdimage instead of the native models.ImageField to have scaling and thumbnail support. With the former 0.97 release Stdimage just worked perfect. Now I tried to use it with Django 1.0, and of course I also updated Stdimage to the newest svn-release.
But when uploading an Image I run into trubble: I get an TypeError unsubscriptable object. Traceback: File "C:\Programme\Python24\lib\site-packages\django\core\handlers \base.py" in get_response 86. response = callback(request, *callback_args, **callback_kwargs) File "D:\projects\openContext\src\pictures\views.py" in add_picture 46. picture = Picture(gallery = gallery, image = request.FILES['image']) File "C:\Programme\Python24\lib\site-packages\django\db\models \base.py" in __init__ 266. signals.post_init.send(sender=self.__class__, instance=self) File "C:\Programme\Python24\lib\site-packages\django\dispatch \dispatcher.py" in send 148. response = receiver(signal=self, sender=sender, **named) File "C:\Programme\Python24\lib\site-packages\stdimage\fields.py" in _set_thumbnail 110. filename = self.generate_filename(instance, os.path.basename(getattr(instance, self.name).path)) File "C:\Programme\Python24\lib\site-packages\django\db\models\fields \files.py" in _get_path 49. return self.storage.path(self.name) File "C:\Programme\Python24\lib\site-packages\django\core\files \storage.py" in path 202. path = safe_join(self.location, name) File "C:\Programme\Python24\lib\site-packages\django\utils\_os.py" in safe_join 13. final_path = normcase(abspath(join(base, *paths))) File "C:\Programme\Python24\lib\ntpath.py" in join 67. elif isabs(b): File "C:\Programme\Python24\lib\ntpath.py" in isabs 53. s = splitdrive(s)[1] File "C:\Programme\Python24\lib\ntpath.py" in splitdrive 119. if p[1:2] == ':': Any ideas how to fix this bug, or better - what am I doing wrong? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---