First time here? Check out the FAQ!
1

Login/Signup to Post Button Give ERROR

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

Sindbad's avatar
23
Sindbad
asked 2015-02-18 16:07:29 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

1

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.

Evgeny's avatar
13.2k
Evgeny
answered 2015-02-18 16:50:51 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

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.

Sindbad's avatar
23
Sindbad
answered 2015-02-20 13:29:23 -0500, updated 2015-02-20 13:31:37 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments