First time here? Check out the FAQ!
1

FieldError at /

Hello.

After installing (following the docs), and running ther server I've got the following error

FieldError at /
Unknown field(s) (a, l, _) specified for Rule

Can you help me with it ?

Sshuichi's avatar
13
Sshuichi
asked 2015-05-17 09:18:54 -0500
edit flag offensive 0 remove flag close merge delete

Comments

i am experiencing the same issue, here. maybe a problem with the required Django version?

xupit3r's avatar xupit3r (2015-05-17 13:12:02 -0500) edit

Then please upvote :P

Sshuichi's avatar Sshuichi (2015-05-17 14:32:20 -0500) edit
1

Where did the Askbot code come from, what Django version do you have?

Evgeny's avatar Evgeny (2015-05-17 18:51:32 -0500) edit

Github master , I think Django is the one in requirements. 1.5.4

Sshuichi's avatar Sshuichi (2015-05-17 18:53:00 -0500) edit

I have the same problem on OpenShift. I thought it was related to the environment.

gabriel_cervantes's avatar gabriel_cervantes (2015-05-26 13:55:16 -0500) edit
add a comment see more comments

4 Answers

1

This is because django-robots app was updated and Askbot did not have fixed version requirement. Added that in the repository. A release will follow shortly.

Evgeny's avatar
13.2k
Evgeny
answered 2015-05-17 22:30:08 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

I have met the same problem, It takes me all day long to reinstall and uninstall them. I think I make some mistakes when I install askbot, after I analysis the traceback infomation, I found it is beacuse the Django form part has a query using get method, but django 1.5 didn't support it. Hope someone can fix it.

Now, you can download the newest source code from git, they have fix the problem. :) have a good day!

luckystar1992's avatar
71
luckystar1992
answered 2015-05-18 20:18:05 -0500, updated 2015-05-18 20:26:03 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

I have the same problem.

Try with:

pip install django-robot==1.0

and after restart your server.

smele's avatar
1
smele
answered 2015-05-20 16:25:43 -0500, updated 2015-05-20 16:26:55 -0500
edit flag offensive 0 remove flag delete link

Comments

This doesn't work, I get an error: Could not find any downloads that satisfy the requirement django-robot==1.0

tflidd's avatar tflidd (2015-09-12 02:52:05 -0500) edit

It should say pip install django-robots==1.0 i.e. django-robots not django-robot. Works for us. Restart wasn't required.

Rupreck's avatar Rupreck (2015-09-20 16:06:23 -0500) edit
add a comment see more comments
1

The Django version is the problem. This post:

stackoverflow.com/questions/17990704/django-forms-field-error-unknown-fields-a-l-specified-for-tablenam

For fix it, You can edit the file:

askbot/lib/python2.7/site-packages/robots/forms.py

class RuleAdminForm(forms.ModelForm):
class Meta:
    model = Rule
    #fields = "__all__"  ---> Comment this line.

Btw, Why should I need more Karma to post a Link? That doesn't have any sense!!!

Cristian Maluenda's avatar
11
Cristian Maluenda
answered 2015-09-16 10:36:46 -0500, updated 2015-09-16 10:45:30 -0500
edit flag offensive 0 remove flag delete link

Comments

Karma limit to post links is there because of the spammers.

Evgeny's avatar Evgeny (2015-09-16 19:18:01 -0500) edit
add a comment see more comments