GTG

GTG can't find gtk.Spinner() when opening the backend config

Bug #624204 reported by Florian Zeitz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Fix Released
Medium
Luca Invernizzi

Bug Description

I get the following traceback when trying to open the backend configuration dialog:
Traceback (most recent call last):
  File "/home/florian/devel/gtg_backends/GTG/gtk/browser/browser.py", line 449, in open_edit_backends
    self.vmanager.open_edit_backends()
  File "/home/florian/devel/gtg_backends/GTG/gtk/manager.py", line 210, in open_edit_backends
    self.edit_backends_dialog = BackendsDialog(self.req)
  File "/home/florian/devel/gtg_backends/GTG/gtk/backends_dialog/__init__.py", line 62, in __init__
    self._create_widgets_for_configure_panel()
  File "/home/florian/devel/gtg_backends/GTG/gtk/backends_dialog/__init__.py", line 212, in _create_widgets_for_configure_panel
    self.config_panel = ConfigurePanel(self)
  File "/home/florian/devel/gtg_backends/GTG/gtk/backends_dialog/configurepanel.py", line 48, in __init__
    self._create_widgets()
  File "/home/florian/devel/gtg_backends/GTG/gtk/backends_dialog/configurepanel.py", line 68, in _create_widgets
    self._fill_top_hbox(top)
  File "/home/florian/devel/gtg_backends/GTG/gtk/backends_dialog/configurepanel.py", line 92, in _fill_top_hbox
    self.spinner = gtk.Spinner()
AttributeError: 'module' object has no attribute 'Spinner'

This is running on an up to date Archlinux using the process described in http://allievi.sssup.it/techblog/?p=569

Related branches

Revision history for this message
Luca Invernizzi (invernizzi) wrote :

Eheh, that's why I ask for testers: who knew that gtk has no spinner in archlinux (and why..).
Anyway, it should be fixed now. Could you confirm that?

To update the version of gtg you downloaded, go in the gtg_backends directory and execute "bzr pull"
restart gtg with ./script/debug.sh -d (I don't know your skill level, so I go step by step :) ).

Thanks for testing!

Changed in gtg:
importance: Undecided → Medium
assignee: nobody → Luca Invernizzi (invernizzi)
milestone: none → 0.3
status: New → In Progress
Revision history for this message
Florian Zeitz (florian-zeitz) wrote :

Fixed.
As a side note. It's not that supprising at all:
gtk.Spinner has been added to PyGtk git 2010-07-09
It's only been in the 2.21 release that occured 17 days ago AFAICT (which doesn't even have an announcement on the project homepage (yet?) :/).
So this is very likely to affect most if not all distributions.

Changed in gtg:
status: In Progress → Fix Committed
Revision history for this message
Luca Invernizzi (invernizzi) wrote :

Thanks. Mh, probably I've installed from source then :) nevermind.

Changed in gtg:
milestone: 0.3 → 0.2.9
Izidor Matušov (izidor)
Changed in gtg:
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.