Ask Your Question
1

FieldError at /

asked 2015-05-17 09:18:54 -0600

Sshuichi gravatar image

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 ?

edit retag flag offensive close merge delete

Comments

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

xupit3r gravatar imagexupit3r ( 2015-05-17 13:12:02 -0600 )edit

Then please upvote :P

Sshuichi gravatar imageSshuichi ( 2015-05-17 14:32:20 -0600 )edit
1

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

Evgeny gravatar imageEvgeny ( 2015-05-17 18:51:32 -0600 )edit

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

Sshuichi gravatar imageSshuichi ( 2015-05-17 18:53:00 -0600 )edit

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

gabriel_cervantes gravatar imagegabriel_cervantes ( 2015-05-26 13:55:16 -0600 )edit

4 Answers

Sort by ยป oldest newest most voted
1

answered 2015-05-17 22:30:08 -0600

Evgeny gravatar image

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.

edit flag offensive delete link more
1

answered 2015-09-16 10:36:46 -0600

Cristian Maluenda gravatar image

updated 2015-09-16 10:45:30 -0600

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!!!

edit flag offensive delete link more

Comments

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

Evgeny gravatar imageEvgeny ( 2015-09-16 19:18:01 -0600 )edit
0

answered 2015-05-18 20:18:05 -0600

luckystar1992 gravatar image

updated 2015-05-18 20:26:03 -0600

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!

edit flag offensive delete link more
0

answered 2015-05-20 16:25:43 -0600

smele gravatar image

updated 2015-05-20 16:26:55 -0600

I have the same problem.

Try with:

pip install django-robot==1.0

and after restart your server.

edit flag offensive delete link more

Comments

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

tflidd gravatar imagetflidd ( 2015-09-12 02:52:05 -0600 )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 gravatar imageRupreck ( 2015-09-20 16:06:23 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-05-17 09:18:54 -0600

Seen: 6,295 times

Last updated: Sep 16 '15