Search - User list
Full Version: Pickling error when adding or replying to topics
Root » Bugs » Pickling error when adding or replying to topics
1
qgriffith
I just upgraded to the latest code in the repository. I am running on Django 1.2.4 using Apache with modwsgi. Every once in a while when someone adds a new topic or adds a reply to a current topic I get this error

PicklingError at /forum/topic/1/post/add/
Can't pickle <type ‘function’>: attribute lookup __builtin__.function failed
Request Method: POST
Request URL: http://oe2.openeats.org/forum/topic/1/post/add/ [oe2.openeats.org]
Django Version: 1.2.4
Exception Type: PicklingError
Exception Value:
Can't pickle <type ‘function’>: attribute lookup __builtin__.function failed
Exception Location: /opt/local/virtenvs/oecms/lib/python2.6/site-packages/whoosh/filedb/fileindex.py in _write_toc, line 110
Python Executable: /usr/bin/python
Python Version: 2.6.5
Python Path:
slav0nic
check permission to HAYSTACK_WHOOSH_PATH (djangobb_index by default)
what version of HAYSTACK u used? i does't tested forum with latest version (released in this mionth)
qgriffith
Thank you for replying so quickly! I checked the Haystack index folder and index are getting created. The folder is owned by the apache user and group (the same user who runs apache) and that user has write permissions. I am using Whoosh version 1.8.2 and haystack 1.2.0.
qgriffith
I just looked it appears djangobb only supports Haystack 1.1.0, so that may be the issue.
slav0nic
i u can - test pls with 1.1.0 if it will be ok - create ticket at http://djangobb.org/newticket [djangobb.org]

hakan
This is also occurring for me. Strangely enough, it stops occurring when I re-install django-haystack==1.1.0, but then returns a few days later.

Is there a way to use DjangoBB without Haystack?
slav0nic
disable it from urls.py + remove it from menu via template
altter we planning added option for this
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB