Cannot pass credentials in RSS URL

Bug #377622 reported by Sam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gnome Wallchanger
Confirmed
Medium
Martin Owens

Bug Description

Using URL of the format http://username:<email address hidden>/feed causes script to crash:

 @ Downloading: http://username:<email address hidden>/feed
 ! Unable to download: http://username:<email address hidden>/feed
Traceback (most recent call last):
  File "/usr/share/wallpaper-changer/random-wallpaper.py", line 47, in <module>
    filename, wp = lister.getRandom()
  File "/usr/share/wallpaper-changer/lister.py", line 51, in getRandom
    list = self.getItems()
  File "/usr/share/wallpaper-changer/lister.py", line 81, in getItems
    self._list = self.getList()
  File "/usr/share/wallpaper-changer/lister.py", line 242, in getList
    xmldoc = minidom.parseString(feedxml)
  File "/usr/lib/python2.5/xml/dom/minidom.py", line 1925, in parseString
    return expatbuilder.parseString(string)
  File "/usr/lib/python2.5/xml/dom/expatbuilder.py", line 940, in parseString
    return builder.parseString(string)
  File "/usr/lib/python2.5/xml/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
TypeError: Parse() argument 1 must be string or read-only buffer, not None

Martin Owens (doctormo)
Changed in gnome-wallchanger:
assignee: nobody → Martin Owens (doctormo)
importance: Undecided → Medium
status: New → Confirmed
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.