Ask Your Question
0

No ElementTree library found on import askbot.deps.django_authopenid.views

asked 2012-03-21 03:32:47 -0500

Olloff gravatar image

updated 2012-03-21 04:23:24 -0500

Hello, all!

After I upgraded Python 2.5.2 -> 2.6.6 (by build from sources) + mod_wsgi -> 3.3 and clean install from git-6d5f9b2dd775918e1170827c80d8b4fff3b1166a I've got next error on page open.

  • ElementTree 1.2.7_20070827_preview-py2.6 is installed in virtualenv manually;
  • "django.core.context_processors.request" is present in TEMPLATE_CONTEXT_PROCESSORS directive;
  • neither on "old" nor on clean DB syncdb and migrate don't show any results;

Under runserver even project with my "old" DB launches fine.

Will appreciate any help!

ViewDoesNotExist at /questions/

Could not import askbot.deps.django_authopenid.views. Error was: No ElementTree library found. You may need to install one. Tried importing ['lxml.etree', 'xml.etree.cElementTree', 'xml.etree.ElementTree', 'cElementTree', 'elementtree.ElementTree']

Request Method: GET Request URL: http://EDIT/questions/ Django Version: 1.3.1 Exception Type: ViewDoesNotExist Exception Value:

Could not import askbot.deps.django_authopenid.views. Error was: No ElementTree library found. You may need to install one. Tried importing ['lxml.etree', 'xml.etree.cElementTree', 'xml.etree.ElementTree', 'cElementTree', 'elementtree.ElementTree']

Exception Location: /var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/urlresolvers.py in _get_callback, line 167 Python Executable: /usr/local/bin/python Python Version: 2.6.6 Python Path:

['/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/pip-1.1-py2.6.egg', '/var/src/askbot-devel/askbot_env/src/django-avatar', '/var/src/askbot-devel', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/django_threaded_multihost-1.4_1-py2.6.egg', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/South-0.7.3-py2.6.egg', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/Coffin-0.3.6-py2.6.egg', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/django_recaptcha_works-0.3.4-py2.6.egg', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/markdown2-1.1.1-py2.6.egg', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/lamson-1.1-py2.6.egg', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/akismet-0.2.0-py2.6.egg', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/Jinja2-2.6-py2.6.egg', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/django_countries-1.0.5-py2.6.egg', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/django_kombu-0.9.2-py2.6.egg', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/html5lib-0.90-py2.6.egg', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/django_keyedcache-1.4_6-py2.6.egg', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/django_robots-0.8.1-py2.6.egg', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/django_celery-2.2.7-py2.6.egg', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/pystache-0.3.1-py2.6.egg', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/python_openid-2.2.5-py2.6.egg', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/oauth2-1.5.211-py2.6.egg', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/Unidecode-0.04.9-py2.6.egg', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/django_followit-0.0.3-py2.6.egg', '/var/src/askbot-devel/askbot_env/lib/python2.6/site-packages/python_daemon-1.6-py2.6 ...

(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-03-23 06:49:43 -0500

Olloff gravatar image

Fixed by upgrade Python -> 2.7.2 + mod_wsgi -> 3.3.4

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-03-21 03:32:47 -0500

Seen: 124 times

Last updated: Mar 23 '12