I'm trying to run OSQA on my local machine to test it if it's a good enough platform for my two SE sites that I need to migrate.

I've got OSQA running on localhost:8000 (I've installed all needed packages and went with manage.py runserver). The problem is that I'm not able to login to my instance (with OpenID). If I choose i.e. Google OpenID then I've got 500 Server Error and a following log message:

c:\\dev\\osqa\\forum\\templatetags\\ui_registry.py TIME: 2010-12-26 07:27:16,486 MSG: ui_registry.py:render:26 Exception 'request' rendering ui objects <forum.modules.ui_objects.Link object at 0x0000000004331D68>: 
Traceback (most recent call last):
  File "C:\\dev\\osqa\\forum\\templatetags\\ui_registry.py", line 22, in render
    result += ui_object.render(context)
  File "C:\\dev\\osqa\\forum\\modules\\ui_objects.py", line 107, in render
    html.hyperlink(self.url(context), self.text(context), **self.attrs(context)),
  File "C:\\dev\\osqa\\forum\\modules\\ui_objects.py", line 67, in __call__
    return self.argument(user, context)
  File "C:\\dev\\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 "C:\\Python26\\lib\\site-packages\\django\\template\\context.py", line 44, in __getitem__
    raise KeyError(key)
KeyError: 'request'

asked 26 Dec '10, 01:32

rafek's gravatar image

rafek
1813613
accept rate: 0%


If you just want to test openid authentication locally, you could try installing http://siege.org/phpmyid.php on your local computer.

link

answered 27 Dec '10, 04:51

adaptives's gravatar image

adaptives
101115
accept rate: 100%

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:

×298
×10

Asked: 26 Dec '10, 01:32

Seen: 281 times

Last updated: 27 Dec '10, 04:51

powered by OSQA