This is probably a zyons problem, but maybe someone here can help this nifty 
project.

[EMAIL PROTECTED]:~/django/zyons/zilbo$ ./manage.py syncdb
Error: Couldn't install apps, because there were errors in one or more models:
zilbo.common.comment: 'module' object has no attribute 'GenericForeignKey'
zilbo.common.event: 'module' object has no attribute 'GenericForeignKey'
zilbo.common.counter: 'module' object has no attribute 'GenericForeignKey'
zilbo.common.forum: 'module' object has no attribute 'GenericForeignKey'
zilbo.common.tag: 'module' object has no attribute 'GenericForeignKey'


[EMAIL PROTECTED]:~/django/zyons/zilbo$ grep -r --include "*.py" GenericF *
common/comment/models.py:    content_object = models.GenericForeignKey()

The server was running, so I hit it with a browser, below is the dump.

Carl K

Traceback (most recent call last):

   File "/usr/lib/python2.5/site-packages/django/core/servers/basehttp.py", 
line 
272, in run
     self.result = application(self.environ, self.start_response)

   File "/usr/lib/python2.5/site-packages/django/core/servers/basehttp.py", 
line 
614, in __call__
     return self.application(environ, start_response)

   File "/usr/lib/python2.5/site-packages/django/core/handlers/wsgi.py", line 
193, in __call__
     response = middleware_method(request, response)

   File 
"/usr/lib/python2.5/site-packages/django/contrib/sessions/middleware.py", line 
92, in process_response
     obj = Session.objects.get_new_session_object()

   File "/usr/lib/python2.5/site-packages/django/contrib/sessions/models.py", 
line 37, in get_new_session_object
     obj, created = self.get_or_create(session_key=self.get_new_session_key(),

   File "/usr/lib/python2.5/site-packages/django/contrib/sessions/models.py", 
line 21, in get_new_session_key
     self.get(session_key=session_key)

   File "/usr/lib/python2.5/site-packages/django/db/models/manager.py", line 
73, 
in get
     return self.get_query_set().get(*args, **kwargs)

   File "/usr/lib/python2.5/site-packages/django/db/models/query.py", line 257, 
in get
     obj_list = list(clone)

   File "/usr/lib/python2.5/site-packages/django/db/models/query.py", line 110, 
in __iter__
     return iter(self._get_data())

   File "/usr/lib/python2.5/site-packages/django/db/models/query.py", line 477, 
in _get_data
     self._result_cache = list(self.iterator())

   File "/usr/lib/python2.5/site-packages/django/db/models/query.py", line 185, 
in iterator
     cursor.execute("SELECT " + (self._distinct and "DISTINCT " or "") + 
",".join(select) + sql, params)

   File "/usr/lib/python2.5/site-packages/django/db/backends/util.py", line 18, 
in execute
     return self.cursor.execute(sql, params)

   File "/usr/lib/python2.5/site-packages/MySQLdb/cursors.py", line 164, in 
execute
     self.errorhandler(self, exc, value)

   File "/usr/lib/python2.5/site-packages/MySQLdb/connections.py", line 35, in 
defaulterrorhandler
     raise errorclass, errorvalue

ProgrammingError: (1146, "Table 'dj.django_session' doesn't exist")

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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