Public bug reported:

Binary package hint: hamster-applet

# Description

hamster-applet hangs both when added to the panel or run as a standalone
window app. Looking at the output from an attempted standalone run shows
that it hangs whilst trying to load the evolution calendar information.
I do not use evolution and ~/.evolution is empty before running hamster.

# Version Information

Running a relatively fresh install of Jaunty with all updates applied.

$ lsb_release -rd
Description:    Ubuntu jaunty (development branch)
Release:        9.04

$ for app in `apt-cache depends hamster-applet | sed -e 's/\s*Depends: //'` ; 
do apt-cache policy $app | grep -B 1 Installed;done
hamster-applet:
  Installed: 2.25.3-0ubuntu1
libatk1.0-0:
  Installed: 1.25.2-0ubuntu1
libc6:
  Installed: 2.9-0ubuntu9
libcairo2:
  Installed: 1.8.6-1ubuntu1
libfontconfig1:
  Installed: 2.6.0-1ubuntu4
libfreetype6:
  Installed: 2.3.7-2ubuntu1
libglib2.0-0:
  Installed: 2.19.6-0ubuntu3
libgtk2.0-0:
  Installed: 2.15.3-0ubuntu2
libpango1.0-0:
  Installed: 1.22.4-1
zlib1g:
  Installed: 1:1.2.3.3.dfsg-12ubuntu1
gconf2:
  Installed: 2.25.0-0ubuntu1
python:
  Installed: 2.5.2-3ubuntu1
python:
  Installed: 2.5.2-3ubuntu1
python-central:
  Installed: 0.6.7ubuntu1
python-gtk2:
  Installed: 2.13.0-2ubuntu4
python-glade2:
  Installed: 2.13.0-2ubuntu4
python-gnome2-desktop:
  Installed: 2.25.90-0ubuntu1
python-gobject:
  Installed: 2.15.4-1

# Output

$ python /usr/lib/hamster-applet/hamster-applet -t -w
Running installed hamster, using [/usr/lib/python2.5/site-packages:$PYTHONPATH]
Data Dir: /usr/share/hamster-applet
SELECT version FROM version None
select count(*) from categories None
Binding shortcut <Super>H to popup hamster
Running with options: {'do_trace': True, 'standalone': True}

                   SELECT a.id AS id,
                          a.start_time AS start_time,
                          a.end_time AS end_time,
                          a.description as description,
                          b.name AS name, b.id as activity_id,
                          coalesce(c.name, ?) as category, c.id as category_id
                     FROM facts a
                LEFT JOIN activities b ON a.activity_id = b.id
                LEFT JOIN categories c on b.category_id = c.id
                    WHERE date(a.start_time) >= ? and date(a.start_time) <= ?
                 ORDER BY a.start_time
         ('Unsorted', datetime.date(2009, 2, 12), datetime.date(2009, 2, 12))

                   SELECT lower(a.name) as name, b.name as category
                     FROM activities a
                LEFT JOIN categories b on coalesce(b.id, -1) = a.category_id
                    WHERE deleted is null
                 ORDER BY lower(a.name)
         None

                   SELECT a.*, b.name as category, b.category_order
                     FROM activities a
                LEFT JOIN categories b on coalesce(b.id, -1) = a.category_id
                    WHERE a.category_id > -1
                      AND a.deleted is null
                 ORDER BY category_order, activity_order
         None
** (hamster-applet:5826): DEBUG: Opening calendar source uri: 
file:///home/dnwe/.evolution/tasks/local/system

^ hangs at this point

# Workaround

If I comment out the 'import evolution' lines in /usr/lib/python2.5
/site-packages/hamster/eds.py then hamster starts and operates as
expected.

i.e.,

#try:
#    import evolution
#    from evolution import ecal
#    EDS_AVAILABLE = True
#except:
#    pass

** Affects: hamster-applet (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bug evolution hamster-applet jaunty

-- 
hamster hangs whilst trying to load evolution calendar
https://bugs.launchpad.net/bugs/328619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to