Ok, I've figured it out.
The database value for the product.productimage.picture is limited to
100 chars.
But since my install dir is quite deep, the full path to the image
value is longer than that.
I suggest extending the field length, in case others are also
installing satchmo deeper in the filesystem.

Cheers
K

On Oct 5, 2:35 pm, kenneth kufluk <[EMAIL PROTECTED]>
wrote:
> Thanks Chris.  I'll check that.
> I just switched to Postgres, and seem to get an error in the same
> (similar place):
> Postgres is def set for UTF-8.
>
> Installing yaml fixture 'initial_data' from 'C:\dev\lib\Python25\lib
> \site-packag
> es\satchmo\shop\fixtures'.
> Problem installing fixture 'C:\dev\lib\Python25\lib\site-packages
> \satchmo\shop\f
> ixtures\initial_data.yaml': Traceback (most recent call last):
>   File "C:\dev\lib\django\django\core\management\commands
> \loaddata.py", line 116
> , in handle
>     obj.save()
>   File "C:\dev\lib\django\django\core\serializers\base.py", line 163,
> in save
>     models.Model.save_base(self.object, raw=True)
>   File "C:\dev\lib\django\django\db\models\base.py", line 390, in
> save_base
>     created=(not record_exists), raw=raw)
>   File "C:\dev\lib\django\django\dispatch\dispatcher.py", line 148, in
> send
>     response = receiver(signal=self, sender=sender, **named)
>   File "C:\dev\lib\Python25\Lib\site-packages\satchmo\thumbnail
> \field.py", line
> 86, in _save_rename
>     instance.save()
>   File "C:\dev\lib\django\django\db\models\base.py", line 307, in save
>     self.save_base(force_insert=force_insert,
> force_update=force_update)
>   File "C:\dev\lib\django\django\db\models\base.py", line 358, in
> save_base
>     rows = manager.filter(pk=pk_val)._update(values)
>   File "C:\dev\lib\django\django\db\models\query.py", line 429, in
> _update
>     return query.execute_sql(None)
>   File "C:\dev\lib\django\django\db\models\sql\subqueries.py", line
> 117, in exec
> ute_sql
>     cursor = super(UpdateQuery, self).execute_sql(result_type)
>   File "C:\dev\lib\django\django\db\models\sql\query.py", line 1724,
> in execute_
> sql
>     cursor.execute(sql, params)
>   File "C:\dev\lib\django\django\db\backends\util.py", line 19, in
> execute
>     return self.cursor.execute(sql, params)
> DataError: value too long for type character varying(100)
>
> On Oct 5, 2:25 pm, "Chris Moffitt" <[EMAIL PROTECTED]> wrote:
>
> > Make sure you have the database set for utf-8. Here's one previous thread
> > about the issue 
> > -http://groups.google.com/group/satchmo-users/browse_thread/thread/28e...
>
> > -Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to