DjangoBB

Django based forum engine

  • You are not logged in.
  • Root
  • » Bugs
  • » IndexVersionError at /forum/1/topic/add/ [RSS Feed]

#1 Feb. 17, 2011 20:20:03

scrapper
Registered: 2010-12-20
Posts: 44
Reputation: +  1  -
Profile   Send e-mail  

IndexVersionError at /forum/1/topic/add/

hello djangobb-friends,

again i am stuck, appreciate your help.

I cannot add a topic. i get error:
IndexVersionError at /forum/1/topic/add/

Can't read format -109

Request Method: POST
Request URL: http://scerver/forum/1/topic/add/
Django Version: 1.2.5
Exception Type: IndexVersionError
Exception Value:

Can't read format -109

Exception Location: /usr/local/lib/python2.6/dist-packages/whoosh/filedb/fileindex.py in _read_toc, line 135
Python Executable: /usr/bin/python
Python Version: 2.6.5

Traceback is in the attachment.

Hope you can help me. What could cause the problem?
Thanks a lot for your help
greetings
scrapper

Attachments:
attachment traceback.txt (4.6 KB)

Offline

#2 Feb. 18, 2011 09:13:05

scrapper
Registered: 2010-12-20
Posts: 44
Reputation: +  1  -
Profile   Send e-mail  

IndexVersionError at /forum/1/topic/add/

SOLVED:
----------

hello djangobb-friends.

The reason why i got the IndexVersionError at /forum/1/topic/add/ was...
I played around in django admin and deleted some posts in the admin interface.
But i think thats not the way it should be done. I think one should delete posts
directly in the forum (logged in as admin).

so the posts where not present in the database, but the indexes where still
present in /projectfolder/djangobb_index. So i had to "synchronise" the database
and djangobb_index. I knew the database was empty so the easiest way was to
delete alle files in djangobb_index.

Now everything works fine again. And i am able to post!
Hope this could help you guys with similar problems.
greetings
scrapper

Offline

#3 Dec. 22, 2011 00:05:18

waaktar
Registered: 2011-12-21
Posts: 1
Reputation: +  0  -
Profile   Send e-mail  

IndexVersionError at /forum/1/topic/add/

Hello Support I need your support…

I am having smiliar error as the above… pls help..
IndexVersionError at /forum/1/topic/add/
Can't read format -110
Request Method: POST
Request URL: http://forum.myproject.com/forum/1/topic/add/ [forum.myproject.com]
Django Version: 1.3
Exception Type: IndexVersionError
Exception Value: Can't read format -110
Exception Location: /usr/lib/python2.5/site-packages/Whoosh-1.2.0-py2.5.egg/whoosh/filedb/fileindex.py in _read_toc, line 134
Python Executableusr/bin/python
Python Version:2.5.2
Python Path:['/home/admin/public_html/project.com/my_forum/..',
‘/home/admin/public_html/project.com/my_forum’,
‘/usr/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg’,
‘/usr/lib/python2.5/site-packages/Whoosh-1.2.0-py2.5.egg’,
‘/usr/lib/python2.5/site-packages/django_authopenid-1.0.1-py2.5.egg’,
‘/usr/lib/python2.5/site-packages/django_registration-0.7-py2.5.egg’,
‘/usr/lib/python2.5/site-packages/python_openid-2.2.5-py2.5.egg’,
‘/usr/lib/python2.5/site-packages/Geraldo-0.4.14-py2.5.egg’,
‘/usr/lib/python2.5/site-packages/recaptcha_client-1.0.6-py2.5.egg’,
‘/usr/lib/python25.zip’,
‘/usr/lib/python2.5’,
‘/usr/lib/python2.5/plat-linux2’,
‘/usr/lib/python2.5/lib-tk’,
‘/usr/lib/python2.5/lib-dynload’,
‘/usr/local/lib/python2.5/site-packages’,
‘/usr/lib/python2.5/site-packages’,
‘/usr/lib/python2.5/site-packages/PIL’,
‘/var/lib/python-support/python2.5’]

Offline

#4 Dec. 22, 2011 11:14:14

slav0nic
DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 382
Reputation: +  5  -
Profile   Send e-mail  

IndexVersionError at /forum/1/topic/add/

rebuild haystack index + check permissions

Offline

  • Root
  • » Bugs
  • » IndexVersionError at /forum/1/topic/add/[RSS Feed]

Board footer

Moderator control

Powered by DjangoBB

Lo-Fi Version