RSS feeds break with old django (lucid)

Bug #775438 reported by Daniel Holbach
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
harvest
Fix Released
High
Dylan McCall

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

Related branches

Changed in harvest:
importance: Undecided → High
milestone: none → 0.2.8
status: New → Triaged
Revision history for this message
Dylan McCall (dylanmccall) wrote :

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.

Changed in harvest:
assignee: nobody → Dylan McCall (dylanmccall)
status: Triaged → Fix Committed
Changed in harvest:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.