Make sure your mysql collation is set to utf-8.

-Chris

On Fri, Feb 6, 2009 at 9:09 AM, kefiiir <[email protected]>wrote:

>
> svn-trunk revision 1938
> $cat docs/new_installation.txt
> ----cut-----
> 14. Load the country data stored in the l10n application::
>        python manage.py satchmo_load_l10n
> ----cut-----
>
>
> $ python manage.py satchmo_load_l10n
> Fri, 06 Feb 2009 17:09:00 root         INFO     Satchmo Started
> Fri, 06 Feb 2009 17:09:00 root         INFO     Satchmo Started
> Fri, 06 Feb 2009 17:09:00 tiered.config DEBUG    loaded
> Fri, 06 Feb 2009 17:09:01 purchaseorder.config DEBUG    added purchase
> order payments
> Installing xml fixture 'l10n_data' from '/home/kefiiir/sites/art-
> online.org.ua/dj/satchmo/apps/l10n/fixtures'.
> Problem installing fixture '/home/kefiiir/sites/art-online.org.ua/dj/
> satchmo/apps/l10n/fixtures/l10n_data.xml<http://art-online.org.ua/dj/%0Asatchmo/apps/l10n/fixtures/l10n_data.xml>':
> Traceback (most recent call
> last):
>  File "/home/kefiiir/sites/art-online.org.ua/dj/django/core/
> management/commands/loaddata.py<http://art-online.org.ua/dj/django/core/%0Amanagement/commands/loaddata.py>",
> line 153, in handle
>    obj.save()
>  File "/home/kefiiir/sites/art-online.org.ua/dj/django/core/
> serializers/base.py<http://art-online.org.ua/dj/django/core/%0Aserializers/base.py>",
> line 163, in save
>    models.Model.save_base(self.object, raw=True)
>  File "/home/kefiiir/sites/art-online.org.ua/dj/django/db/models/
> base.py <http://art-online.org.ua/dj/django/db/models/%0Abase.py>", line
> 400, in save_base
>    result = manager._insert(values, return_id=update_pk)
>  File "/home/kefiiir/sites/art-online.org.ua/dj/django/db/models/
> manager.py <http://art-online.org.ua/dj/django/db/models/%0Amanager.py>",
> line 144, in _insert
>    return insert_query(self.model, values, **kwargs)
>  File "/home/kefiiir/sites/art-online.org.ua/dj/django/db/models/
> query.py <http://art-online.org.ua/dj/django/db/models/%0Aquery.py>", line
> 1006, in insert_query
>    return query.execute_sql(return_id)
>  File "/home/kefiiir/sites/art-online.org.ua/dj/django/db/models/sql/
> subqueries.py<http://art-online.org.ua/dj/django/db/models/sql/%0Asubqueries.py>",
> line 317, in execute_sql
>    cursor = super(InsertQuery, self).execute_sql(None)
>  File "/home/kefiiir/sites/art-online.org.ua/dj/django/db/models/sql/
> query.py <http://art-online.org.ua/dj/django/db/models/sql/%0Aquery.py>",
> line 1974, in execute_sql
>    cursor.execute(sql, params)
>  File "/home/kefiiir/sites/art-online.org.ua/dj/django/db/backends/
> util.py <http://art-online.org.ua/dj/django/db/backends/%0Autil.py>", line
> 19, in execute
>    return self.cursor.execute(sql, params)
>  File "/home/kefiiir/sites/art-online.org.ua/dj/django/db/backends/
> mysql/base.py<http://art-online.org.ua/dj/django/db/backends/%0Amysql/base.py>",
> line 83, in execute
>    return self.cursor.execute(query, args)
>  File "/usr/lib/python2.5/site-packages/MySQLdb/cursors.py", line
> 168, in execute
>    if not self._defer_warnings: self._warning_check()
>  File "/usr/lib/python2.5/site-packages/MySQLdb/cursors.py", line 82,
> in _warning_check
>    warn(w[-1], self.Warning, 3)
>  File "/usr/lib/python2.5/warnings.py", line 62, in warn
>    globals)
>  File "/usr/lib/python2.5/warnings.py", line 102, in warn_explicit
>    raise message
> Warning: Incorrect string value: '\x98\xC4\xABl\xC4\xAB...' for column
> 'name' at row 1
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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