Cannot add a timezone using the awn cairo clock applet

Bug #401560 reported by mabawsa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Awn Extras
Fix Released
Medium
onox

Bug Description

Here are my details:

tomato:~$ uname -a
Linux tomato 2.6.28-14-generic #46netbook02-Ubuntu SMP Thu Jul 16 20:26:08 UTC 2009 x86_64 GNU/Linux

tomato:~$ dpkg -s compiz
Package: compiz
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 72
Maintainer: Ubuntu Core Developers <email address hidden>
Architecture: all
Version: 1:0.8.2-0ubuntu8.1
Depends: compiz-core (>= 1:0.8.2), compiz-plugins, compiz-gnome, compiz-fusion-plugins-main (>= 0.8.2-0), compiz-fusion-plugins-extra (>= 0.8.2), libcompizconfig0 (>= 0.8.2)

tomato:~$ dpkg -s awn-manager
Package: awn-manager
Status: install ok installed
Priority: optional
Section: gnome
Installed-Size: 524
Maintainer: Ubuntu MOTU Developers <email address hidden>
Architecture: all
Source: avant-window-navigator
Version: 0.3.2-0ubuntu2
Depends: python (>= 2.4), python-central (>= 0.6.11), avant-window-navigator (>= 0.2), python-gnome2, python-gnome2-desktop, gnome-menus, librsvg2-common, python-awn, python-xdg

01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS (rev a1)

tomato:~$ dpkg -s awn-applets-python-core
Package: awn-applets-python-core
Status: install ok installed
Priority: optional
Section: gnome
Installed-Size: 8144
Maintainer: Ubuntu MOTU Developers <email address hidden>
Architecture: all
Source: awn-extras-applets
Version: 0.3.2.1-0ubuntu3
Depends: gconf2 (>= 2.10.1-2), python (>= 2.4), python-central (>= 0.6.11), avant-window-navigator, python-awn, python-awnlib (>= 0.3.2)

Related branches

Revision history for this message
mabawsa (mabawsa) wrote :
Download full text (4.0 KiB)

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/share/avant-window-navigator/applets/cairo-clock/locations.py", line 309, in init_search_window
    self.__search_window = LocationSearchWindow(self.__prefs, add_row, self.contains_city_timezone)
  File "/usr/share/avant-window-navigator/applets/cairo-clock/locations.py", line 381, in __init__
    self.parse_locations()
  File "/usr/share/avant-window-navigator/applets/cairo-clock/locations.py", line 489, in parse_locations
    parser.parse(locations_file)
  File "/usr/lib/python2.6/dist-packages/_xmlplus/sax/expatreader.py", line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.6/dist-packages/_xmlplus/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.6/dist-packages/_xmlplus/sax/expatreader.py", line 216, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.6/dist-packages/_xmlplus/sax/expatreader.py", line 396, in external_entity_ref
    "")
  File "/usr/lib/python2.6/dist-packages/_xmlplus/sax/saxutils.py", line 523, in prepare_input_source
    f = urllib2.urlopen(source.getSystemId())
  File "/usr/lib/python2.6/urllib2.py", line 124, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.6/urllib2.py", line 375, in open
    protocol = req.get_type()
  File "/usr/lib/python2.6/urllib2.py", line 241, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: /usr/share/libgweather/locations.dtd

/usr/bin/awn-manager:72: GtkWarning: Theme directory of theme Polar-Icons-2 has no size field

  self.wTree = gtk.glade.XML(self.GLADE_PATH, domain=defs.I18N_DOMAIN)

(awn-manager:10668): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `AwnConfigClient'
/usr/lib/python2.6/dist-packages/awn/extras/awnlib.py:1589: GtkWarning: Theme directory of theme Polar-Icons-2 has no size field

  gtk.main()
spawn=gksu --description /usr/share/applications/synaptic.desktop /usr/sbin/synaptic

(gksu:11368): Gtk-WARNING **: Theme directory of theme Polar-Icons-2 has no size field

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/share/avant-window-navigator/applets/cairo-clock/locations.py", line 309, in init_search_window
    self.__search_window = LocationSearchWindow(self.__prefs, add_row, self.contains_city_timezone)
  File "/usr/share/avant-window-navigator/applets/cairo-clock/locations.py", line 381, in __init__
    self.parse_locations()
  File "/usr/share/avant-window-navigator/applets/cairo-clock/locations.py", line 489, in parse_locations
    parser.parse(locations_file)
  File "/usr/lib/python2.6/dist-packages/_xmlplus/sax/expatreader.py", line 109, in parse
    xmlreader....

Read more...

Revision history for this message
Mark Lee (malept) wrote :

Do you have the libgweather-common package installed?

tags: added: applet cairo-clock traceback
Changed in awn-extras:
assignee: nobody → onox (onox)
importance: Undecided → Medium
milestone: none → 0.4.0
status: New → Incomplete
Revision history for this message
mabawsa (mabawsa) wrote :

yes

tomato:~$ dpkg -s libgweather-common
Package: libgweather-common
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 18716
Maintainer: Ubuntu Desktop Team <email address hidden>
Architecture: all
Source: libgweather
Version: 2.26.1-0ubuntu2

Revision history for this message
onox (onox) wrote :

In rewrite branch, cairo-clock no longer uses its own parser, but libgweather's. After the rewrite branch has been merged with trunk, testing PPAs will appear.

Changed in awn-extras:
status: Incomplete → In Progress
onox (onox)
Changed in awn-extras:
status: In Progress → Fix Committed
Mark Lee (malept)
Changed in awn-extras:
status: Fix Committed → Fix Released
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.