After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 544645 - crash in Deskbar: desklicious: list index out of range
crash in Deskbar: desklicious: list index out of range
Status: RESOLVED FIXED
Product: deskbar-applet
Classification: Deprecated
Component: Modules
2.22.x
Other All
: Normal normal
: ---
Assigned To: Deskbar Applet Maintainer(s)
Deskbar Applet Maintainer(s)
: 545047 545048 545392 545740 545809 545810 545819 545848 545857 546025 546051 546054 546055 546078 546084 546205 546208 546245 546268 546302 546360 547051 562199 569872 573538 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-07-25 04:41 UTC by vyazovoi
Modified: 2009-02-28 18:06 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description vyazovoi 2008-07-25 04:41:47 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):
  • File "/usr/lib/python2.5/site-packages/deskbar/gtkexcepthook.py", line 73 in run
    run_old(*args, **kwargs)
  • File "/usr/lib/python2.5/threading.py", line 446 in run
    self.__target(*self.__args, **self.__kwargs)
  • File "/usr/lib/python2.5/site-packages/deskbar/core/ThreadPool.py", line 67 in _worker
    function(*args, **kwargs)
  • File "/usr/lib/deskbar-applet/modules-2.20-compatible/desklicious.py", line 70 in query
    posts = self._delicious.get_posts_by_tag(tag)
  • File "/usr/lib/deskbar-applet/modules-2.20-compatible/desklicious.py", line 162 in get_posts_by_tag
    subject_node = item.getElementsByTagName("dc:subject")[0]
IndexError: list index out of range

Comment 1 Sebastian Pölsterl 2008-07-29 18:29:45 UTC
*** Bug 545047 has been marked as a duplicate of this bug. ***
Comment 2 Sebastian Pölsterl 2008-07-29 18:30:13 UTC
*** Bug 545048 has been marked as a duplicate of this bug. ***
Comment 3 Sebastian Pölsterl 2008-07-29 18:41:45 UTC
Could you please provide the name of a del.ico.us account and a search term that causes this error?
Comment 4 Sebastian Pölsterl 2008-08-01 08:20:55 UTC
*** Bug 545392 has been marked as a duplicate of this bug. ***
Comment 5 Sebastian Pölsterl 2008-08-01 08:21:38 UTC
*** Bug 545740 has been marked as a duplicate of this bug. ***
Comment 6 Sebastian Pölsterl 2008-08-01 08:24:59 UTC
*** Bug 545809 has been marked as a duplicate of this bug. ***
Comment 7 Sebastian Pölsterl 2008-08-01 08:25:07 UTC
*** Bug 545810 has been marked as a duplicate of this bug. ***
Comment 8 cecco 2008-08-01 09:31:49 UTC
del.icio.us account is "cecconet" and the search term is "nas"
Comment 9 Gianluca Borello 2008-08-02 11:01:49 UTC
*** Bug 545857 has been marked as a duplicate of this bug. ***
Comment 10 Gianluca Borello 2008-08-02 11:02:38 UTC
*** Bug 545848 has been marked as a duplicate of this bug. ***
Comment 11 Gianluca Borello 2008-08-02 11:02:48 UTC
*** Bug 545819 has been marked as a duplicate of this bug. ***
Comment 12 Gianluca Borello 2008-08-02 11:03:27 UTC
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.
Comment 13 Sebastian Pölsterl 2008-08-03 13:08:40 UTC
Thanks for the help. The bug is now fixed in svn trunk and will be part of the next release.
Comment 14 Sebastian Pölsterl 2008-08-03 13:11:09 UTC
*** Bug 546025 has been marked as a duplicate of this bug. ***
Comment 15 Sebastian Pölsterl 2008-08-03 13:11:23 UTC
*** Bug 546051 has been marked as a duplicate of this bug. ***
Comment 16 Sebastian Pölsterl 2008-08-03 13:11:32 UTC
*** Bug 546054 has been marked as a duplicate of this bug. ***
Comment 17 Sebastian Pölsterl 2008-08-03 13:11:50 UTC
*** Bug 546055 has been marked as a duplicate of this bug. ***
Comment 18 Sebastian Pölsterl 2008-08-03 13:11:58 UTC
*** Bug 546078 has been marked as a duplicate of this bug. ***
Comment 19 Sebastian Pölsterl 2008-08-03 13:12:05 UTC
*** Bug 546084 has been marked as a duplicate of this bug. ***
Comment 20 cecco 2008-08-04 10:17:52 UTC
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!
Comment 21 cecco 2008-08-04 10:23:19 UTC
sorry i messed it a bit... I have edited the file as gianluca borello says but the bug keeps coming out. 
Comment 22 Sebastian Pölsterl 2008-08-04 10:38:25 UTC
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.
Comment 23 Sebastian Pölsterl 2008-08-04 10:39:26 UTC
*** Bug 546208 has been marked as a duplicate of this bug. ***
Comment 24 Sebastian Pölsterl 2008-08-04 10:40:06 UTC
*** Bug 546205 has been marked as a duplicate of this bug. ***
Comment 25 Sebastian Pölsterl 2008-08-06 16:28:55 UTC
*** Bug 546245 has been marked as a duplicate of this bug. ***
Comment 26 Sebastian Pölsterl 2008-08-06 16:29:17 UTC
*** Bug 546268 has been marked as a duplicate of this bug. ***
Comment 27 Sebastian Pölsterl 2008-08-06 16:29:54 UTC
*** Bug 546302 has been marked as a duplicate of this bug. ***
Comment 28 Sebastian Pölsterl 2008-08-06 16:37:26 UTC
*** Bug 546360 has been marked as a duplicate of this bug. ***
Comment 29 Susana 2008-08-09 10:19:19 UTC
*** Bug 547051 has been marked as a duplicate of this bug. ***
Comment 30 palfrey 2008-11-25 14:45:06 UTC
*** Bug 562199 has been marked as a duplicate of this bug. ***
Comment 31 Sebastian Pölsterl 2009-01-30 20:18:02 UTC
*** Bug 569872 has been marked as a duplicate of this bug. ***
Comment 32 Fabio Durán Verdugo 2009-02-28 18:06:36 UTC
*** Bug 573538 has been marked as a duplicate of this bug. ***