Importing OPML fails

Bug #827423 reported by David Baucum
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
readfeeder
Fix Released
Undecided
Michael Hall

Bug Description

I exported my Google Reader feeds to an OPML file and tried to upload it to Read Feeder and received the following:

Environment:

Request Method: POST
Request URL: http://readfeeder.net/feed/import/
Django Version: 1.2.5
Python Version: 2.7.1
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.messages',
 'django.contrib.admin',
 'south',
 'accounts',
 'annotations',
 'articles',
 'main',
 'tour',
 'beta']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware')

Traceback:
File "/usr/lib/pymodules/python2.7/django/core/handlers/base.py" in get_response
  100. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/pymodules/python2.7/django/contrib/auth/decorators.py" in _wrapped_view
  25. return view_func(request, *args, **kwargs)
File "/var/www/readfeeder/articles/views.py" in import_from_opml
  32. create_from_opml(request.user, data)
File "/var/www/readfeeder/accounts/models.py" in create_from_opml
  100. user_feed = create_feed(user=user, url=item.getAttribute('xmlUrl'))
File "/var/www/readfeeder/accounts/models.py" in create_feed
  69. title = title or data.feed.title
File "/usr/lib/pymodules/python2.7/feedparser.py" in __getattr__
  236. raise AttributeError, "object has no attribute '%s'" % key

Exception Type: AttributeError at /feed/import/
Exception Value: object has no attribute 'title'

Related branches

Michael Hall (mhall119)
Changed in readfeeder:
status: New → Fix Released
assignee: nobody → Michael Hall (mhall119)
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.