Ask Your Question

No module named feeds

asked 2013-03-28 23:10:42 -0600

gorge's avatar

updated 2013-03-28 23:14:27 -0600

I have finished configuring djangobb, djangowiki and askbot on my new site. The problem is that everything works before adding askbot to my main After I add askbot url to the error ImportError at / No module named feeds Request Method: GET Request URL: http://www.** Django Version: 1.4.5 Exception Type: ImportError Exception Value:
No module named feeds Exception Location: /home/magicflight/lib/python2.7/askbot-0.7.43-py2.7.egg/askbot/ in <module>, line 17 Python Executable: /usr/local/bin/python Python Version: 2.7.3 Python Path:
['/home/magicflight/webapps/django', '/home/magicflight/webapps/django/magic_project', '/home/magicflight/webapps/django/lib/python2.7', '/home/magicflight/lib/python2.7/pip-1.3.1-py2.7.egg', '/home/magicflight/lib/python2.7/askbot-0.7.43-py2.7.egg', '/home/magicflight/lib/python2.7/Django-1.4.5-py2.7.egg', '/home/magicflight/lib/python2.7', '/home/magicflight/PYTHONPATH', '/usr/local/lib/', '/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/PIL', '/home/magicflight/lib/python2.7/askbot-0.7.43-py2.7.egg/askbot/deps'] Server time: Thu, 28 Mar 2013 22:39:19 -0500 Traceback Switch to copy-and-paste view

/home/magicflight/webapps/django/lib/python2.7/django/core/handlers/ in get_response request.path_info) ... ▶ Local vars /home/magicflight/webapps/django/lib/python2.7/django/core/ in resolve for pattern in self.url_patterns: ... ▶ Local vars /home/magicflight/webapps/django/lib/python2.7/django/core/ in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) ... ▶ Local vars /home/magicflight/webapps/django/lib/python2.7/django/core/ in urlconf_module self._urlconf_module = import_module(self.urlconf_name) ... ▶ Local vars /home/magicflight/webapps/django/lib/python2.7/django/utils/ in import_module __import__(name) ... ▶ Local vars /home/magicflight/webapps/django/magic_project/magic_project/ in <module> (r'%s' % settings.ASKBOT_URL, include('askbot.urls')) ... ▶ Local vars /home/magicflight/webapps/django/lib/python2.7/django/conf/urls/ in include urlconf_module = import_module(urlconf_module) ... ▶ Local vars /home/magicflight/webapps/django/lib/python2.7/django/utils/ in import_module __import__(name) ... ▶ Local vars /home/magicflight/lib/python2.7/askbot-0.7.43-py2.7.egg/askbot/ in <module> from askbot.feed import RssLastestQuestionsFeed, RssIndividualQuestionFeed ... ▶ Local vars /home/magicflight/lib/python2.7/askbot-0.7.43-py2.7.egg/askbot/ in <module> from django.contrib.syndication.feeds import Feed ... ▶ Local vars Request information

GET No GET data POST No POST data FILES No FILES data COOKIES No cookie data META Variable Value mod_wsgi.listener_port
'en-US,en;q=0.8' SERVER_PROTOCOL 'HTTP/1.0' SERVER_SOFTWARE 'Apache/2.2.17 (Unix) mod_wsgi/3.4 Python/2.7.3' SCRIPT_NAME u'' mod_wsgi.enable_sendfile
'0' mod_wsgi.handler_script '' SERVER_SIGNATURE
'' HTTP_ACCEPT_CHARSET 'ISO-8859-1,utf-8;q=0.7 ...

edit retag flag offensive close merge delete


I think you've tagged this question incorrectly with the version 0.7.48 you seem to have 43.

Evgeny's avatar Evgeny  ( 2013-03-28 23:16:15 -0600 )edit

1 Answer

Sort by » oldest newest most voted

answered 2013-03-28 23:15:42 -0600

Evgeny's avatar

There should be:

from django.contrib.syndication.views import Feed

I think version 0.7.43 does not support Django 1.4 due to the changes in the feeds module.

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


Asked: 2013-03-28 23:10:42 -0600

Seen: 1,784 times

Last updated: Mar 28 '13