|
This is a fresh install on alwaysdata.net. Tabs 'questions' and 'unanswered' show 'Error 500'. Other tabs work well. The logs without the DEBUG mode show the following: /home/metanet/osqa/forum/templatetags/ui_registry.py TIME: 2011-01-11 14:20:20,868 MSG: ui_registry.py:render:26 Exception 'request' rendering ui objects <forum.modules.ui_objects.link object="" at="" 0x1d649d0="">:
Traceback (most recent call last):
File "/home/metanet/osqa/forum/templatetags/ui_registry.py", line 22, in render
result += ui_object.render(context)
File "/home/metanet/osqa/forum/modules/ui_objects.py", line 107, in render
html.hyperlink(self.url(context), self.text(context), **self.attrs(context)),
File "/home/metanet/osqa/forum/modules/ui_objects.py", line 67, in __call__
return self.argument(user, context)
File "/home/metanet/osqa/forum/registry.py", line 42, in <lambda>
url=lambda u, c: settings.CONTACT_URL and settings.CONTACT_URL or "%s?next=%s" % (reverse('feedback'), cleanup_urls( c['request'].path)),
File "/usr/local/alwaysdata/python/django/1.2.4/django/template/context.py", line 46, in __getitem__
raise KeyError(key)
KeyError: 'request'
I turned on the DEBUG and produced the following traceback: http://dpaste.com/307281/ Thanks in advance, A. 95 |
|
It looks like it was indeed created using the wrong commands. The problem was that I was initially confused about how to run commands while leveraging local modules dir. I've deleted the postgres database using alwaysdata.net's web interface and re-synced:
Now it works! |
Please verify that the column actually exists in the database. You probably didn't install the database using the correct set of commands, and now you have an outdated database. Post what commands have you used to install the database, and if that column actually exists.
Halleluja!! Thanks, Hernani.
If possible please answer your own question sharing what the problem was and what you did to solve it. Thanks.