Comment #1 on issue 905 by akaihola: can't load siteconfig data from  

I suspected that the problem might be that Python unicode representations  
instead of
double-quoted strings are present in the value of the "settings" field. I  
dumped in
XML and fixed them, resulting in this fixture file:

<?xml version="1.0" encoding="utf-8"?>
<django-objects version="1.0">
   <object pk="1" model="siteconfig.siteconfiguration">
     <field to="" name="site" rel="ManyToOneRel">1</field>
     <field type="CharField" name="version"></field>
     <field type="TextField" name="settings">{"mykey": "myvalue"}</field>

Now the traceback is different:

Installing xml fixture '/tmp/siteconfig' from '/tmp/siteconfig'.
Problem installing fixture '/tmp/siteconfig.xml': Traceback (most recent  
call last):
   File "django/core/management/commands/", line 153, in handle
   File "django/core/serializers/", line 163, in save
     models.Model.save_base(self.object, raw=True)
   File "django/db/models/", line 379, in save_base
     rows = manager.filter(pk=pk_val)._update(values)
   File "django/db/models/", line 468, in _update
     return query.execute_sql(None)
   File "django/db/models/sql/", line 119, in execute_sql
     cursor = super(UpdateQuery, self).execute_sql(result_type)
   File "django/db/models/sql/", line 1974, in execute_sql
     cursor.execute(sql, params)
   File "django/db/backends/", line 19, in execute
     return self.cursor.execute(sql, params)
   File "django/db/backends/sqlite3/", line 190, in execute
     return Database.Cursor.execute(self, query, params)
InterfaceError: Error binding parameter 2 - probably unsupported type.

You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to