Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 12th, 2012  |  syntax: Bash  |  size: 3.12 KB  |  views: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. (myvirtualenv)user@host ~/dir/root/myvirtualenv/project $ ./manage.py syncdb
  2. Running with settings.production
  3. Syncing...
  4. Creating tables ...
  5. Traceback (most recent call last):
  6.   File "./manage.py", line 17, in <module>
  7.     execute_from_command_line(sys.argv)
  8.   File "/usr/lib64/python2.6/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
  9.     utility.execute()
  10.   File "/usr/lib64/python2.6/site-packages/django/core/management/__init__.py", line 382, in execute
  11.     self.fetch_command(subcommand).run_from_argv(self.argv)
  12.   File "/usr/lib64/python2.6/site-packages/django/core/management/base.py", line 196, in run_from_argv
  13.     self.execute(*args, **options.__dict__)
  14.   File "/usr/lib64/python2.6/site-packages/django/core/management/base.py", line 232, in execute
  15.     output = self.handle(*args, **options)
  16.   File "/usr/lib64/python2.6/site-packages/django/core/management/base.py", line 371, in handle
  17.     return self.handle_noargs(**options)
  18.   File "/www/dysphonic.eu/imotko/root/imotko.env/lib/python2.6/site-packages/south/management/commands/syncdb.py", line 90, in handle_noargs
  19.     syncdb.Command().execute(**options)
  20.   File "/usr/lib64/python2.6/site-packages/django/core/management/base.py", line 232, in execute
  21.     output = self.handle(*args, **options)
  22.   File "/usr/lib64/python2.6/site-packages/django/core/management/base.py", line 371, in handle
  23.     return self.handle_noargs(**options)
  24.   File "/usr/lib64/python2.6/site-packages/django/core/management/commands/syncdb.py", line 110, in handle_noargs
  25.     emit_post_sync_signal(created_models, verbosity, interactive, db)
  26.   File "/usr/lib64/python2.6/site-packages/django/core/management/sql.py", line 189, in emit_post_sync_signal
  27.     interactive=interactive, db=db)
  28.   File "/usr/lib64/python2.6/site-packages/django/dispatch/dispatcher.py", line 172, in send
  29.     response = receiver(signal=self, sender=sender, **named)
  30.   File "/usr/lib64/python2.6/site-packages/django/contrib/auth/management/__init__.py", line 35, in create_permissions
  31.     ctype = ContentType.objects.get_for_model(klass)
  32.   File "/usr/lib64/python2.6/site-packages/django/contrib/contenttypes/models.py", line 42, in get_for_model
  33.     defaults = {'name': smart_unicode(opts.verbose_name_raw)},
  34.   File "/usr/lib64/python2.6/site-packages/django/db/models/manager.py", line 134, in get_or_create
  35.     return self.get_query_set().get_or_create(**kwargs)
  36.   File "/usr/lib64/python2.6/site-packages/django/db/models/query.py", line 449, in get_or_create
  37.     obj.save(force_insert=True, using=self.db)
  38.   File "/usr/lib64/python2.6/site-packages/django/db/models/base.py", line 463, in save
  39.     self.save_base(using=using, force_insert=force_insert, force_update=force_update)
  40.   File "/usr/lib64/python2.6/site-packages/django/db/models/base.py", line 486, in save_base
  41.     signals.pre_save.send(sender=origin, instance=self, raw=raw, using=using)
  42.   File "/usr/lib64/python2.6/site-packages/django/dispatch/dispatcher.py", line 172, in send
  43.     response = receiver(signal=self, sender=sender, **named)
  44. TypeError: to_stored_data() takes exactly 3 non-keyword arguments (2 given)