|
Hi, For some reason I kept getting 500 error while uploading site logo through the admin interface in OSQA, here the error after I enabled the debug option: /opt/osqa/forum/templatetags/ui_registry.py TIME: 2011-02-16 19:35:11,867 MSG: ui_registry.py:render:26 Exception 'request' rendering ui objects <forum.modules.ui_objects.link object="" at="" 0xa951c8c="">: Traceback (most recent call last): File "/opt/osqa/forum/templatetags/ui_registry.py", line 22, in render result += ui_object.render(context) File "/opt/osqa/forum/modules/ui_objects.py", line 107, in render html.hyperlink(self.url(context), self.text(context), **self.attrs(context)), File "/opt/osqa/forum/modules/ui_objects.py", line 67, in call return self.argument(user, context) File "/opt/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/lib/python2.6/dist-packages/django/template/context.py", line 46, in getitem raise KeyError(key) KeyError: 'request' /opt/osqa/forum/templatetags/ui_registry.py TIME: 2011-02-16 19:35:20,137 MSG: ui_registry.py:render:26 Exception 'request' rendering ui objects <forum.modules.ui_objects.link object="" at="" 0xa94cccc="">: Traceback (most recent call last): File "/opt/osqa/forum/templatetags/ui_registry.py", line 22, in render result += ui_object.render(context) File "/opt/osqa/forum/modules/ui_objects.py", line 107, in render html.hyperlink(self.url(context), self.text(context), **self.attrs(context)), File "/opt/osqa/forum/modules/ui_objects.py", line 67, in call return self.argument(user, context) File "/opt/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/lib/python2.6/dist-packages/django/template/context.py", line 46, in getitem raise KeyError(key) KeyError: 'request' /opt/osqa/forum/templatetags/ui_registry.py TIME: 2011-02-16 19:35:38,712 MSG: ui_registry.py:render:26 Exception 'request' rendering ui objects <forum.modules.ui_objects.link object="" at="" 0xa953cec="">: Traceback (most recent call last): File "/opt/osqa/forum/templatetags/ui_registry.py", line 22, in render result += ui_object.render(context) File "/opt/osqa/forum/modules/ui_objects.py", line 107, in render html.hyperlink(self.url(context), self.text(context), **self.attrs(context)), File "/opt/osqa/forum/modules/ui_objects.py", line 67, in call return self.argument(user, context) File "/opt/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/lib/python2.6/dist-packages/django/template/context.py", line 46, in getitem raise KeyError(key) I am using the latest version available. |
|
My bad, those were from the log, i think it was basically my DB gets corrupted, so I just torn it apart and start from scratch, again... Make sure you have permissions in the upload folder, I'm guessing that was your problem in the first place.
(17 Feb '11, 10:49)
Hernani Cerq... ♦♦
|
By the way, I am using Ubuntu + nginx + mysql to run this application.
Are you sure that is the error you see when enabling debug, or you're taking that from the log?