I have a nice test fixture that loads my local database without
incident. I'm using postgresql 8.3 at home on ubuntu. I use the
fixture at home all the time. Trying to run it on webfaction, I get
the following error:
[key...@web58 schoolicity]$ python2.5 manage.py loaddata
full_load.json
Installing json fixture 'full_load' from absolute path.
Problem installing fixture 'full_load.json': Traceback (most recent
call last):
File "/home/keyton/webapps/django_test/lib/python2.5/django/core/
management/commands/loaddata.py", line 119, in handle
obj.save()
File "/home/keyton/webapps/django_test/lib/python2.5/django/core/
serializers/base.py", line 163, in save
models.Model.save_base(self.object, raw=True)
File "/home/keyton/webapps/django_test/lib/python2.5/django/db/
models/base.py", line 383, in save_base
result = manager._insert(values, return_id=update_pk)
File "/home/keyton/webapps/django_test/lib/python2.5/django/db/
models/manager.py", line 138, in _insert
return insert_query(self.model, values, **kwargs)
File "/home/keyton/webapps/django_test/lib/python2.5/django/db/
models/query.py", line 894, in insert_query
return query.execute_sql(return_id)
File "/home/keyton/webapps/django_test/lib/python2.5/django/db/
models/sql/subqueries.py", line 309, in execute_sql
cursor = super(InsertQuery, self).execute_sql(None)
File "/home/keyton/webapps/django_test/lib/python2.5/django/db/
models/sql/query.py", line 1734, in execute_sql
cursor.execute(sql, params)
File "/home/keyton/webapps/django_test/lib/python2.5/django/db/
backends/util.py", line 19, in execute
return self.cursor.execute(sql, params)
DataError: value too long for type character varying(4)
Any ideas?
Thank you!
Keyton
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---