First time here? Check out the FAQ!
2

"auth.models.User is not saved, cant make cache key" error

  • retag add tags

When asking a question without registration following error occured:

ValueError at /questions/ask/

auth.models.User is not saved, cant make cache key

Request Method:     POST
Request URL:    [host:port]/questions/ask/
Django Version:     1.8.19
Exception Type:     ValueError
Exception Value:    

auth.models.User is not saved, cant make cache key

Exception Location:     /usr/local/lib/python2.7/site-packages/askbot-0.10.2-py2.7.egg/askbot/models/user_profile.py in get_profile_cache_key, line 15
Python Executable:  /usr/local/bin/python
Python Version:     2.7.15
Python Path:    

['/site',
 '/usr/local/lib/python27.zip',
 '/usr/local/lib/python2.7',
 '/usr/local/lib/python2.7/plat-linux2',
 '/usr/local/lib/python2.7/lib-tk',
 '/usr/local/lib/python2.7/lib-old',
 '/usr/local/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/site-packages',
 '/usr/local/lib/python2.7/site-packages/askbot-0.10.2-py2.7.egg',
 '/',
 '/usr/local/lib/python2.7/site-packages/askbot-0.10.2-py2.7.egg/askbot/deps']

How to fix it? As a registered user asking a question was succesfull. I'm using Askbot version 0.10.2

eko's avatar
21
eko
asked 2019-02-23 06:07:26 -0600
Evgeny's avatar
13.2k
Evgeny
updated 2019-08-11 12:59:27 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Fixed in the master branch.

Evgeny's avatar
13.2k
Evgeny
answered 2019-08-11 12:59:13 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments