I'm migrating from SQLite to Oracle, and I'm getting an error thrown on the
line disn_requisition.save() claiming that it has a null ID. I have not
attempted to manually set or fiddle with id fields on any model, although I
do read them.
Any insight on what I need to do to address this?
IntegrityError at /upload/storage

ORA-01400: cannot insert NULL into ("INVDB"."INVDB_DISK_REQUISITION"."ID")

  Request Method: POST Request URL:
http://cmlnxbld01:8000/upload/storage Django
Version: 1.2.3 Exception Type: IntegrityError Exception Value:

ORA-01400: cannot insert NULL into ("INVDB"."INVDB_DISK_REQUISITION"."ID")

 Exception Location:
/tools/python/2.7/Linux_x86_64/lib/python2.7/site-packages/django/db/backends/oracle/base.py
in execute, line 507 Python Executable:
/tools/python/2.7/Linux_x86_64/bin/python Python Version: 2.7.0 Python
Path: ['/home/jhayward/invdb',
'/tools/python/2.7/Linux_x86_64/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg',
'/tools/python/2.7/Linux_x86_64/lib/python2.7/site-packages/django_filter-0.5.3-py2.7.egg',
'/tools/python/2.7/Linux_x86_64/lib/python2.7/site-packages/ez_setup-0.9-py2.7.egg',
'/tools/python/2.7/Linux_x86_64/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg',
'/tools/python/2.7/Linux_x86_64/lib/python2.7/site-packages/hgsvn-0.1.8-py2.7.egg',
'/tools/python/2.7/Linux_x86_64/lib/python2.7/site-packages/paramiko-1.7.6-py2.7.egg',
'/tools/python/2.7/Linux_x86_64/lib/python2.7/site-packages/pycrypto-2.3-py2.7-linux-x86_64.egg',
'/tools/python/cx_Oracle/10g/2.6/Linux_x86_64/lib/python2.6/site-packages',
'/home/jhayward', '/home/jhayward/invdb/HOME_DIRECTORY',
'/home/jhayward/invdb/HOME_DIRECTORY/invdb',
'/tools/python/2.7/Linux_x86_64/lib/python27.zip',
'/tools/python/2.7/Linux_x86_64/lib/python2.7',
'/tools/python/2.7/Linux_x86_64/lib/python2.7/plat-linux2',
'/tools/python/2.7/Linux_x86_64/lib/python2.7/lib-tk',
'/tools/python/2.7/Linux_x86_64/lib/python2.7/lib-old',
'/tools/python/2.7/Linux_x86_64/lib/python2.7/lib-dynload',
'/tools/python/2.7/Linux_x86_64/lib/python2.7/site-packages',
'/tools/python/2.7/Linux_x86_64/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info']
Server
time: Thu, 30 Dec 2010 10:04:24 -0600
-- 
[image: Christos Jonathan Hayward] <http://jonathanscorner.com/>
Christos Jonathan Hayward, an Orthodox Christian author.

Author Bio <http://jonathanscorner.com/author/> • Books<http://cjshayward.com/>
 • *Email <christos.jonathan.hayw...@gmail.com>* •
Facebook<http://www.facebook.com/christos.jonathan.hayward>
 • LinkedIn <http://www.linkedin.com/in/jonathanhayward> •
Twitter<http://twitter.com/JonathansCorner>
 • *Web <http://jonathanscorner.com/>* • What's
New?<http://jonathanscorner.com/>
I invite you to visit my "theology, literature, and other creative works"
site.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to