First time here? Check out the FAQ!

Revision history  [back]

FieldError: Cannot resolve keyword 'answer' into field.

Hello, all!

Next is error I've got after selecting any of the previous versions of my edits. How can I fix it?

Traceback (most recent call last):

 File "/var/src/askbot-devel/askbot_env/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/core/handlers/base.py", line 111, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File "/var/src/askbot-devel/askbot_env/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/contrib/auth/decorators.py", line 23, in _wrapped_view
   return view_func(request, *args, **kwargs)

 File "/var/src/askbot-devel/askbot_env/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/utils/decorators.py", line 93, in _wrapped_view
   response = view_func(request, *args, **kwargs)

 File "/var/src/askbot-devel/askbot/utils/decorators.py", line 217, in wrapper
   return view_func(request, *args, **kwargs)

 File "/var/src/askbot-devel/askbot/views/writers.py", line 427, in edit_answer
   revision = rev

 File "/var/src/askbot-devel/askbot_env/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/query.py", line 341, in get
   clone = self.filter(*args, **kwargs)

 File "/var/src/askbot-devel/askbot_env/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/query.py", line 550, in filter
   return self._filter_or_exclude(False, *args, **kwargs)

 File "/var/src/askbot-devel/askbot_env/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/query.py", line 568, in _filter_or_exclude
   clone.query.add_q(Q(*args, **kwargs))

 File "/var/src/askbot-devel/askbot_env/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/sql/query.py", line 1194, in add_q
   can_reuse=used_aliases, force_having=force_having)

 File "/var/src/askbot-devel/askbot_env/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/sql/query.py", line 1069, in add_filter
   negate=negate, process_extras=process_extras)

 File "/var/src/askbot-devel/askbot_env/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/sql/query.py", line 1260, in setup_joins
   "Choices are: %s" % (name, ", ".join(names)))

**FieldError: Cannot resolve keyword 'answer' into field. Choices are: author, id, is_anonymous, post, revised_at, revision, revision_type, summary, tagnames, text, title**

Python: 2.5, Askbot: git-6e44222a68bc9edb506ab6598621532cbe6f5ced, Mysql-python: 1.2.3, MySQL: Ver 14.12 Distrib 5.0.51a

FieldError: Cannot resolve keyword 'answer' into field.

Hello, all!

Next is error I've got after selecting any of the previous versions of my edits. How can I fix it?

Traceback (most recent call last):

 File "/var/src/askbot-devel/askbot_env/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/core/handlers/base.py", line 111, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File "/var/src/askbot-devel/askbot_env/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/contrib/auth/decorators.py", line 23, in _wrapped_view
   return view_func(request, *args, **kwargs)

 File "/var/src/askbot-devel/askbot_env/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/utils/decorators.py", line 93, in _wrapped_view
   response = view_func(request, *args, **kwargs)

 File "/var/src/askbot-devel/askbot/utils/decorators.py", line 217, in wrapper
   return view_func(request, *args, **kwargs)

 File "/var/src/askbot-devel/askbot/views/writers.py", line 427, in edit_answer
   revision = rev

 File "/var/src/askbot-devel/askbot_env/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/query.py", line 341, in get
   clone = self.filter(*args, **kwargs)

 File "/var/src/askbot-devel/askbot_env/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/query.py", line 550, in filter
   return self._filter_or_exclude(False, *args, **kwargs)

 File "/var/src/askbot-devel/askbot_env/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/query.py", line 568, in _filter_or_exclude
   clone.query.add_q(Q(*args, **kwargs))

 File "/var/src/askbot-devel/askbot_env/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/sql/query.py", line 1194, in add_q
   can_reuse=used_aliases, force_having=force_having)

 File "/var/src/askbot-devel/askbot_env/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/sql/query.py", line 1069, in add_filter
   negate=negate, process_extras=process_extras)

 File "/var/src/askbot-devel/askbot_env/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/db/models/sql/query.py", line 1260, in setup_joins
   "Choices are: %s" % (name, ", ".join(names)))

**FieldError: Cannot resolve keyword 'answer' into field. Choices are: author, id, is_anonymous, post, revised_at, revision, revision_type, summary, tagnames, text, title**

Python: 2.5, Askbot: git-6e44222a68bc9edb506ab6598621532cbe6f5ced, Mysql-python: 1.2.3, MySQL: Ver 14.12 Distrib 5.0.51a