There was an issue with Country which I had fixed but now I am getting
the following exception. Any thoughts?
Creating site...
Creating Customers...
Creating Suppliers...
Creating Categories...
Traceback (most recent call last):
File "load_data.py", line 350, in <module>
load_data()
File "load_data.py", line 169, in load_data
cat1.save()
File "/home/syndrom/webapps/tuttobelo/lib/python2.5/satchmo/product/
models.py", line 187, in save
super(Category, self).save(force_insert=force_insert,
force_update=force_update)
File "/home/syndrom/webapps/tuttobelo/lib/python2.5/django/db/models/
base.py", line 307, in save
self.save_base(force_insert=force_insert,
force_update=force_update)
File "/home/syndrom/webapps/tuttobelo/lib/python2.5/django/db/models/
base.py", line 379, in save_base
result = manager._insert(values, return_id=update_pk)
File "/home/syndrom/webapps/tuttobelo/lib/python2.5/django/db/models/
manager.py", line 138, in _insert
return insert_query(self.model, values, **kwargs)
File "/home/syndrom/webapps/tuttobelo/lib/python2.5/django/db/models/
query.py", line 888, in insert_query
return query.execute_sql(return_id)
File "/home/syndrom/webapps/tuttobelo/lib/python2.5/django/db/models/
sql/subqueries.py", line 308, in execute_sql
cursor = super(InsertQuery, self).execute_sql(None)
File "/home/syndrom/webapps/tuttobelo/lib/python2.5/django/db/models/
sql/query.py", line 1700, in execute_sql
cursor.execute(sql, params)
File "/home/syndrom/webapps/tuttobelo/lib/python2.5/django/db/
backends/util.py", line 19, in execute
return self.cursor.execute(sql, params)
File "/home/syndrom/webapps/tuttobelo/lib/python2.5/django/db/
backends/mysql/base.py", line 88, in execute
raise Database.IntegrityError(tuple(e))
_mysql_exceptions.IntegrityError: (1048, "Column 'site_id' cannot be
null")
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---