I'm not sure what the problem here is. syncdb gets pretty far. My
tables are mostly created for Django but it stops here. Does anyone
have any insight?


D:\acme>python manage.py syncdb
Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_manager(settings)
  File "C:\Python26\lib\site-packages\django\core\management
\__init__.py", line
340, in execute_manager
    utility.execute()
  File "C:\Python26\lib\site-packages\django\core\management
\__init__.py", line
295, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "C:\Python26\lib\site-packages\django\core\management\base.py",
line 192,
 in run_from_argv
    self.execute(*args, **options.__dict__)
  File "C:\Python26\lib\site-packages\django\core\management\base.py",
line 219,
 in execute
    output = self.handle(*args, **options)
  File "C:\Python26\lib\site-packages\django\core\management\base.py",
line 348,
 in handle
    return self.handle_noargs(**options)
  File "C:\Python26\lib\site-packages\django\core\management\commands
\syncdb.py"
, line 101, in handle_noargs
    emit_post_sync_signal(created_models, verbosity, interactive)
  File "C:\Python26\lib\site-packages\django\core\management\sql.py",
line 205,
in emit_post_sync_signal
    interactive=interactive)
  File "C:\Python26\lib\site-packages\django\dispatch\dispatcher.py",
line 148,
in send
    response = receiver(signal=self, sender=sender, **named)
  File "C:\Python26\lib\site-packages\django\contrib\auth\management
\__init__.py
", line 28, in create_permissions
    defaults={'name': name, 'content_type': ctype})
  File "C:\Python26\lib\site-packages\django\db\models\manager.py",
line 96, in
get_or_create
    return self.get_query_set().get_or_create(**kwargs)
  File "C:\Python26\lib\site-packages\django\db\models\query.py", line
347, in g
et_or_create
    raise e
cx_Oracle.IntegrityError: ORA-01400: cannot insert NULL into
("ACME"."A
UTH_PERMISSION"."ID")

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

Reply via email to