Ticket #21589: fail.log

File fail.log, 4.2 KB (added by Shlomo Anglister, 11 years ago)

stack

Line 
1Creating tables ...
2Creating table django_admin_log
3Creating table auth_permission
4Creating table auth_group_permissions
5Creating table auth_group
6Creating table auth_user_groups
7Creating table auth_user_user_permissions
8Creating table auth_user
9Creating table django_content_type
10Creating table django_session
11Traceback (most recent call last):
12 File "manage.py", line 10, in <module>
13 execute_from_command_line(sys.argv)
14 File "/python_directory/lib/python2.6/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
15 utility.execute()
16 File "/python_directory/lib/python2.6/site-packages/django/core/management/__init__.py", line 392, in execute
17 self.fetch_command(subcommand).run_from_argv(self.argv)
18 File "/python_directory/lib/python2.6/site-packages/django/core/management/base.py", line 242, in run_from_argv
19 self.execute(*args, **options.__dict__)
20 File "/python_directory/lib/python2.6/site-packages/django/core/management/base.py", line 285, in execute
21 output = self.handle(*args, **options)
22 File "/python_directory/lib/python2.6/site-packages/django/core/management/base.py", line 415, in handle
23 return self.handle_noargs(**options)
24 File "/python_directory/lib/python2.6/site-packages/django/core/management/commands/syncdb.py", line 112, in handle_noargs
25 emit_post_sync_signal(created_models, verbosity, interactive, db)
26 File "/python_directory/lib/python2.6/site-packages/django/core/management/sql.py", line 216, in emit_post_sync_signal
27 interactive=interactive, db=db)
28 File "/python_directory/lib/python2.6/site-packages/django/dispatch/dispatcher.py", line 185, in send
29 response = receiver(signal=self, sender=sender, **named)
30 File "/python_directory/lib/python2.6/site-packages/django/contrib/auth/management/__init__.py", line 82, in create_permissions
31 ctype = ContentType.objects.db_manager(db).get_for_model(klass)
32 File "/python_directory/lib/python2.6/site-packages/django/contrib/contenttypes/models.py", line 47, in get_for_model
33 defaults = {'name': smart_text(opts.verbose_name_raw)},
34 File "/python_directory/lib/python2.6/site-packages/django/db/models/manager.py", line 154, in get_or_create
35 return self.get_queryset().get_or_create(**kwargs)
36 File "/python_directory/lib/python2.6/site-packages/django/db/models/query.py", line 373, in get_or_create
37 return self.get(**lookup), False
38 File "/python_directory/lib/python2.6/site-packages/django/db/models/query.py", line 301, in get
39 num = len(clone)
40 File "/python_directory/lib/python2.6/site-packages/django/db/models/query.py", line 77, in __len__
41 self._fetch_all()
42 File "/python_directory/lib/python2.6/site-packages/django/db/models/query.py", line 854, in _fetch_all
43 self._result_cache = list(self.iterator())
44 File "/python_directory/lib/python2.6/site-packages/django/db/models/query.py", line 220, in iterator
45 for row in compiler.results_iter():
46 File "/python_directory/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 710, in results_iter
47 for rows in self.execute_sql(MULTI):
48 File "/python_directory/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 771, in execute_sql
49 sql, params = self.as_sql()
50 File "/python_directory/lib/python2.6/site-packages/django_pyodbc-0.2.1-py2.6.egg/django_pyodbc/compiler.py", line 211, in as_sql
51 with_col_aliases=with_col_aliases)
52 File "/python_directory/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 93, in as_sql
53 where, w_params = self.query.where.as_sql(qn=qn, connection=self.connection)
54 File "/python_directory/lib/python2.6/site-packages/django/db/models/sql/where.py", line 106, in as_sql
55 sql, params = self.make_atom(child, qn, connection)
56 File "/python_directory/lib/python2.6/site-packages/django/db/models/sql/where.py", line 192, in make_atom
57 field_sql, field_params = self.sql_for_columns(lvalue, qn, connection, field_internal_type), []
58 File "/python_directory/lib/python2.6/site-packages/django/db/models/sql/where.py", line 273, in sql_for_columns
59 return connection.ops.field_cast_sql(db_type, internal_type) % lhs
60TypeError: field_cast_sql() takes exactly 2 arguments (3 given)
Back to Top