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

asked 11 Jan '11, 14:11

s7stem's gravatar image

s7stem
6135
accept rate: 0%

edited 11 Jan '11, 14:19

1

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.

(11 Jan '11, 17:12) Hernani Cerq... ♦♦

Halleluja!! Thanks, Hernani.

(11 Jan '11, 17:40) s7stem

If possible please answer your own question sharing what the problem was and what you did to solve it. Thanks.

(11 Jan '11, 17:44) Hernani Cerq... ♦♦

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:

metanet@ssh:~/osqa$ PYTHONPATH=~/modules python manage.py syncdb --all
metanet@ssh:~/osqa$ PYTHONPATH=~/modules python manage.py migrate forum --fake

Now it works!

link

answered 11 Jan '11, 17:45

s7stem's gravatar image

s7stem
6135
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×113
×38
×10
×9
×7

Asked: 11 Jan '11, 14:11

Seen: 476 times

Last updated: 11 Jan '11, 17:45

powered by OSQA