← Back to team overview

harvest-dev team mailing list archive

[Bug 775438] Re: RSS feeds break with old django (lucid)

 

Ah, looks like they changed their syndication API with 1.2. The old API
is deprecated and will be removed in Django 1.4, so I'll file a bug
report with a patch to upgrade when that time comes along.

-- 
You received this bug notification because you are a member of harvest-
dev, which is the registrant for harvest.
https://bugs.launchpad.net/bugs/775438

Title:
  RSS feeds break with old django (lucid)

Status in Harvest Service:
  Triaged

Bug description:
  With django in lucid (1.1.1-2ubuntu1.3), I get the following
  stacktrace:

  Original Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/django/template/debug.py", line 71, in render_node
      result = node.render(context)
    File "/usr/lib/pymodules/python2.6/django/template/defaulttags.py", line 370, in render
      url = reverse(self.view_name, args=args, kwargs=kwargs, current_app=context.current_app)
    File "/usr/lib/pymodules/python2.6/django/core/urlresolvers.py", line 350, in reverse
      *args, **kwargs)))
    File "/usr/lib/pymodules/python2.6/django/core/urlresolvers.py", line 275, in reverse
      possibilities = self.reverse_dict.getlist(lookup_view)
    File "/usr/lib/pymodules/python2.6/django/core/urlresolvers.py", line 195, in _get_reverse_dict
      self._populate()
    File "/usr/lib/pymodules/python2.6/django/core/urlresolvers.py", line 175, in _populate
      for name in pattern.reverse_dict:
    File "/usr/lib/pymodules/python2.6/django/core/urlresolvers.py", line 195, in _get_reverse_dict
      self._populate()
    File "/usr/lib/pymodules/python2.6/django/core/urlresolvers.py", line 164, in _populate
      for pattern in reversed(self.url_patterns):
    File "/usr/lib/pymodules/python2.6/django/core/urlresolvers.py", line 245, in _get_url_patterns
      patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
    File "/usr/lib/pymodules/python2.6/django/core/urlresolvers.py", line 240, in _get_urlconf_module
      self._urlconf_module = import_module(self.urlconf_name)
    File "/usr/lib/pymodules/python2.6/django/utils/importlib.py", line 35, in import_module
      __import__(name)
    File "/home/daniel/harvest/harvest/opportunities/urls.py", line 3, in <module>
      import feeds
    File "/home/daniel/harvest/harvest/opportunities/feeds.py", line 1, in <module>
      from django.contrib.syndication.views import Feed
  ImportError: cannot import name Feed


References