'Thread' object has no attribute 'question_denorm'
 

Hello all.

Seems to be I have an html5lib issue too. I can't add question with any title in foreign language and receive a message "Title too long" on each try.

I tried to downgrade my html5lib to 0.90, but it has been not very effective. What can I do to fix that error?


Following error received after my try to add question with title on English

AttributeError at /vopros/4/ochen-dlinnaya-stroka-na-angliyskom

'Thread' object has no attribute 'question_denorm'

Request Method:     GET
Request URL:    http://help.sunline.ua/vopros/4/ochen-dlinnaya-stroka-na-angliyskom
Django Version:     1.3.1
Exception Type:     AttributeError
Exception Value:    

'Thread' object has no attribute 'question_denorm'

Exception Location:     /var/www/askbot/askbot/models/question.py in get_data, line 467

python: 2.5.2 over mod_wsgi askbot: git-dd7373e74f2097868eb2125e1a19a04f5bfb9002 html5lib: html5lib-0.90-py2.5.egg

//Будет ли удобным продолжать на русском?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Olloff's avatar
97
Olloff
asked 13 years ago
Evgeny's avatar
13.2k
Evgeny
updated 13 years ago

Comments

I don't think this is related to the html5lib issue... looks like a separate bug. Sorry here we'll have to stick to English for now as only minority understands Russian.

Evgeny's avatar Evgeny (13 years ago)

Looks like some threads do not have a question posts associated with them, a data anomaly, we'll post some fix to this soon.

Evgeny's avatar Evgeny (13 years ago)

Thanks for your help. If you need any information, feel free to ask.

Olloff's avatar Olloff (13 years ago)

Problem with "question_denorm" solved by another (prob. 3-rd) clean install from git. But I still have an "Title too long" issue and there is no log entries or errors which can explain that.

Olloff's avatar Olloff (13 years ago)
see more comments