vaterlaus/django_cassandra_backend — Issue #1: running syncb against myproject produces error
Author: reduxdj
Created: 2011-11-12 23:08:25+00:00
State: open

[18:06] root@my: (~/django_projects/myproject)$ python manage.py syncdb
Traceback (most recent call last):
File "manage.py", line 11, in
execute_manager(settings)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/management/base.py", line 220, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/management/base.py", line 351, in handle
return self.handle_noargs(**options)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/management/commands/syncdb.py", line 59, in handle_noargs
tables = connection.introspection.table_names()
File "/root/django_projects/myproject/django_cassandra/db/introspection.py", line 32, in table_names
return BaseDatabaseIntrospection.table_names(self)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/db/backends/__init__.py", line 792, in table_names
return self.get_table_list(cursor)
File "/root/django_projects/myproject/django_cassandra/db/introspection.py", line 21, in get_table_list
db_connection = self.connection.db_connection
File "/root/django_projects/myproject/django_cassandra/db/base.py", line 241, in db_connection
return self.get_db_connection(True, True)
File "/root/django_projects/myproject/django_cassandra/db/base.py", line 233, in get_db_connection
keyspace_def = KsDef(**keyspace_def_args)
NameError: global name 'KsDef' is not defined

running latest cassandra and thrift .074