Package: straw Version: 0.26-1 Severity: normal Tags: patch I also experienced #359105 but decided to go on with 0.26, so I downgraded to 0.25.1-4, exported my subscriptions, went back to 0.26, removed my ~/.straw/ and tried to import my subscriptions. It failed and displayed this traceback:
Traceback (most recent call last): File "/usr/lib/straw/straw/Application.py", line 678, in _on_menu_import_subscriptions_activate dialogs.import_subscriptions(self._widget) File "/usr/lib/straw/straw/dialogs.py", line 112, in import_subscriptions OPMLImport.import_opml(filename, cat) File "/usr/lib/straw/straw/OPMLImport.py", line 92, in import_opml opml = read(fstream) File "/usr/lib/straw/straw/OPMLImport.py", line 78, in read entries = find_entries(o.outlines) File "/usr/lib/straw/straw/OPMLImport.py", line 70, in find_entries entries += _find_entries(o) File "/usr/lib/straw/straw/OPMLImport.py", line 48, in _find_entries e.text = title AttributeError: 'NoneType' object has no attribute 'text' I fixed OPMLImport.py so it works; please find the unified diff attached to this bug report. Regards, Frederic -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16 Locale: LANG=fr_BE, LC_CTYPE=fr_BE (charmap=UTF-8) (ignored: LC_ALL set to fr_BE.UTF-8) Versions of packages straw depends on: ii gconf2 2.14.0-1 GNOME configuration database syste ii python2.4 2.4.2-2 An interactive high-level object-o ii python2.4-egenix-mxdatetime 2.0.6-2 date and time handling routines fo ii python2.4-glade2 2.8.2-3 GTK+ bindings: Glade support ii python2.4-gnome2 2.12.3-2 Python bindings for the GNOME desk ii python2.4-gnome2-extras 2.12.1-2.1 Python bindings for the GNOME desk ii python2.4-gtk2 2.8.2-3 Python bindings for the GTK+ widge Versions of packages straw recommends: pn python2.4-adns <none> (no description available) -- no debconf information
--- /tmp/OPMLImport.py.orig 2006-03-27 13:12:50.000000000 +0200 +++ /usr/lib/straw/straw/OPMLImport.py 2006-03-27 13:12:52.000000000 +0200 @@ -43,9 +43,8 @@ e.text = text if text == '': title = outline.get('title', '') - if title == '': - e = None - e.text = title + if title: + e.text = title if e != None: if xmlurl != '': # there's something in xmlurl. There's a good chance that's