Ask Your Question
1

Login/Signup to Post Button Give ERROR

asked 2015-02-18 16:07:29 -0600

Sindbad gravatar image

Hello all , i use : [windows 7 - python 2.7.9 - virtualenv - askbot 0.7.49 - django cms - PostgreSQL]

I merged askbot with django cms as reusable application so i configure one database PostgreSQL ، my site is run will when i have user logged in , and give error for anonymous users when they try to ask question they must click on Login/Signup to Post Button to submit the post, and they will be redirected to the login/signup page but it gives that error on runtime

ValueError at /en/forum/account/signin/
dictionary update sequence element #0 has length 13; 2 is required
Request Method: GET
Request URL:    http: // 127.0.0.1 : 8000/en/forum/account/signin/
Django Version: 1.5.12
Exception Type: ValueError
Exception Value:    
dictionary update sequence element #0 has length 13; 2 is required
Exception Location: C:\newenv\lib\site-packages\coffin-0.4.0-py2.7.egg\coffin\template\__init__.py in dict_from_django_context, line 80
Python Executable:  C:\newenv\Scripts\python.exe
Python Version: 2.7.9

any help i will appreciated

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

answered 2015-02-18 16:50:51 -0600

Evgeny gravatar image

I found that this error "goes away" if package "Coffin" is downgraded. Maximum supported version of Coffin is listed in the askbot/__init__.py file.

edit flag offensive delete link more
0

answered 2015-02-20 13:29:23 -0600

Sindbad gravatar image

updated 2015-02-20 13:31:37 -0600

Thank You ,
it solved,
i used : "pip install coffin==0.3.8".
not version coffin 0.3 and not coffin 0.4.0 >> both gives error.

edit flag offensive delete link more

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-02-18 16:07:29 -0600

Seen: 214 times

Last updated: Feb 20 '15