GNOME Bugzilla – Bug 544645
crash in Deskbar: desklicious: list index out of range
Last modified: 2009-02-28 18:06:36 UTC
What were you doing when the application crashed? deskbar module "calculator" Distribution: Ubuntu 8.04 (hardy) Gnome Release: 2.22.3 2008-07-09 (Ubuntu) BugBuddy Version: 2.22.0 System: Linux 2.6.24-20-generic #1 SMP Thu Jul 17 16:29:46 UTC 2008 i686 X Vendor: The X.Org Foundation X Vendor Release: 10400090 Selinux: No Accessibility: Disabled GTK+ Theme: Human Icon Theme: Human Memory status: size: 0 vsize: 0 resident: 0 share: 0 rss: 0 rss_rlim: 0 CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 0 ----------- .xsession-errors (41 sec old) --------------------- ignoring next script... shouldload: http://userscripts.org/scripts/source/1167.user.js ignorescript: false ignoring next script... Could not read Epiphany Bookmarks file /home/vyazovoi/.gnome2/epiphany/bookmarks.rdf: Could not find a part of the path "/home/vyazovoi/.gnome2/epiphany/bookmarks.rdf". Cannot index Thunderbird contacts because a System.ArgumentNullException was thrown: Argument cannot be null. Parameter name: path Could not read Epiphany Bookmarks file /home/vyazovoi/.gnome2/epiphany/bookmarks.rdf: Could not find a part of the path "/home/vyazovoi/.gnome2/epiphany/bookmarks.rdf". Cannot index Thunderbird contacts because a System.ArgumentNullException was thrown: Argument cannot be null. Parameter name: path Kpx: No Translation found for 'Russian (RussianFederation)'using 'English (UnitedStates)' Предупреждение менеджера окон: Неверный параметр WM_TRANSIENT_FOR окна 0x4800095 указан для 0x48000c6 (/home/vyaz). Could not read Epiphany Bookmarks file /home/vyazovoi/.gnome2/epiphany/bookmarks.rdf: Could not find a part of the path "/home/vyazovoi/.gnome2/epiphany/bookmarks.rdf". Cannot index Thunderbird contacts because a System.ArgumentNullException was thrown: Argument cannot be null. Parameter name: path -------------------------------------------------- Traceback (most recent call last):
+ Trace 203737
run_old(*args, **kwargs)
self.__target(*self.__args, **self.__kwargs)
function(*args, **kwargs)
posts = self._delicious.get_posts_by_tag(tag)
subject_node = item.getElementsByTagName("dc:subject")[0]
*** Bug 545047 has been marked as a duplicate of this bug. ***
*** Bug 545048 has been marked as a duplicate of this bug. ***
Could you please provide the name of a del.ico.us account and a search term that causes this error?
*** Bug 545392 has been marked as a duplicate of this bug. ***
*** Bug 545740 has been marked as a duplicate of this bug. ***
*** Bug 545809 has been marked as a duplicate of this bug. ***
*** Bug 545810 has been marked as a duplicate of this bug. ***
del.icio.us account is "cecconet" and the search term is "nas"
*** Bug 545857 has been marked as a duplicate of this bug. ***
*** Bug 545848 has been marked as a duplicate of this bug. ***
*** Bug 545819 has been marked as a duplicate of this bug. ***
from bug 545819: There is a simple way to fix it. The line 22 with: DEFAULT_QUERY_TAG = 'http://del.icio.us/rss/%s/%s' in the file: /usr/lib/deskbar-applet/modules-2.20-compatible/desklicious.py must be modified like this: DEFAULT_QUERY_TAG = 'http://feeds.delicious.com/rss/%s/%s' Using the old URL, the server redirects to http://feeds.delicious.com/v2/rss/%s/%s. In this version (RSS 2.0) there isn't a tag called "dc:subject". Thus accessing the first one cause the "IndexError: list index out of range". The code is missing a test, whether there is an element, which can be accessed.
Thanks for the help. The bug is now fixed in svn trunk and will be part of the next release.
*** Bug 546025 has been marked as a duplicate of this bug. ***
*** Bug 546051 has been marked as a duplicate of this bug. ***
*** Bug 546054 has been marked as a duplicate of this bug. ***
*** Bug 546055 has been marked as a duplicate of this bug. ***
*** Bug 546078 has been marked as a duplicate of this bug. ***
*** Bug 546084 has been marked as a duplicate of this bug. ***
Ok i confirm the bug is resolved as Comment #12 said. Now i got a new bug. it's number is 546208 (http://bugzilla.gnome.org/show_bug.cgi?id=546208) Thank you for you good work!
sorry i messed it a bit... I have edited the file as gianluca borello says but the bug keeps coming out.
I released 2.22.3.1 that contains that fix yesterday. You can download it at http://www.gnome.org/projects/deskbar-applet/download.html or ask your distribution to update their package to the new version.
*** Bug 546208 has been marked as a duplicate of this bug. ***
*** Bug 546205 has been marked as a duplicate of this bug. ***
*** Bug 546245 has been marked as a duplicate of this bug. ***
*** Bug 546268 has been marked as a duplicate of this bug. ***
*** Bug 546302 has been marked as a duplicate of this bug. ***
*** Bug 546360 has been marked as a duplicate of this bug. ***
*** Bug 547051 has been marked as a duplicate of this bug. ***
*** Bug 562199 has been marked as a duplicate of this bug. ***
*** Bug 569872 has been marked as a duplicate of this bug. ***
*** Bug 573538 has been marked as a duplicate of this bug. ***