I recently tried to access the admin page and got an 500 error that sounds like this ...

Caught NoReverseMatch while rendering: Reverse for 'admin_tools' with arguments '(u'creare user',)' and keyword arguments '{}' not found.

The error is found in : In template forum/skins/default/templates/osqaadmin/base.html, error at line 42

Line 42 is : {% for name,tool in tools.items %}

Anyone has any thoughts on this ? Fix or something ? Help is much appreciated.

Thanks.

asked 09 Jun '11, 19:21

Teodoru%20Adrian%20Bogdan's gravatar image

Teodoru Adri...
1145813
accept rate: 0%


There seems to be a typo in there - did it come when you copied & pasted the 500 error, or was it there on screen: creare instead of create. Have you made any modifications to the code? Does creare=create in the language you are using OSQA in (if you're using something other than the default English locale)

link

answered 10 Jun '11, 03:59

Andrew_S's gravatar image

Andrew_S ♦
5.6k45674
accept rate: 21%

1
  • I was a copy paste
  • Yes, creare means create in my language.
  • I didn't do any modifications on that file.

Anyways, i removed the line 42 and seemed to work ok ...

(10 Jun '11, 04:02) Teodoru Adri...

Ah, now that's interesteing - it may be pulling in something from the language file when it shouldn't: at a guess, something maps to "create user", and a translation operation is giving it internally as "creare user", which is then breaking. For someone who knows the innards of OSQA better than I, that might be enough of a lead to work out why this bit is broken. (looks round for Jordan & Hernani)

(10 Jun '11, 08:45) Andrew_S ♦
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
×61
×38

Asked: 09 Jun '11, 19:21

Seen: 743 times

Last updated: 10 Jun '11, 08:45

powered by OSQA