Displaying windows broken from revision 181

Bug #518846 reported by Łukasz Jernaś on 2010-02-08
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ground Control

Bug Description

When clicking the buttons in Projects nothing happends, then I tried a manual run:

deejay1@sulaco:~$ LC_ALL=C lp-groundcontrol
02-08 15:42 root WARNING Can't find icon for default in /usr/lib/pymodules/python2.6/pixmaps/animation
02-08 15:42 root WARNING Can't find icon for default in /usr/lib/pymodules/python2.6/pixmaps/status
02-08 15:42 root WARNING Can't find icon for default in /usr/lib/pymodules/python2.6/pixmaps/person
Traceback (most recent call last):
  File "/usr/share/groundcontrol/configure.py", line 30, in <module>
    res = ConfigGui(callback=finish)
  File "/usr/lib/pymodules/python2.6/GroundControl/gtkviews.py", line 89, in __init__
  File "/usr/lib/pymodules/python2.6/GroundControl/gtkviews.py", line 106, in gapp_xml
    raise Exception("Gtk Builder file is missing: %s" % path)
Exception: Gtk Builder file is missing: /usr/lib/pymodules/python2.6/glade/configure.glade

Martin Owens (doctormo) wrote :

Looks like a packaging problem, because development environment still works. I know we've updated the system to dh7 so I wonder if that's it.

Changed in groundcontrol:
importance: Undecided → Critical
Luke Faraone (lfaraone) wrote :

Works for me. What exact package version of lp-groundcontrol are you using, and on which version of Ubuntu?

Martin Owens (doctormo) on 2010-02-08
Changed in groundcontrol:
status: New → Incomplete

I'm using current GC trunk + current debianfiles tree

Łukasz Jernaś (deejay1) wrote :

Current GC trunk and debianfiles branch

The glade file is installed to /usr/share/groundcontrol/glade/. Using version GC rev193 from daily-ppa.

Łukasz Jernaś (deejay1) wrote :

It looks like the updated build system installs the GroundControl directory in /usr/lib/pymodules/python2.6/ (on Ubuntu Lucid) so the check in GroundControl/__init__.py :

BASE_DIR = os.path.abspath( os.path.join(
    os.path.dirname(os.path.realpath(__file__)), '..') )

returns that directory instead of /usr/share/groundcontrol

Łukasz Jernaś (deejay1) wrote :

mayeb BASE_DIR should be more like sys.prefix + /share/groundcontrol?

Łukasz Jernaś (deejay1) wrote :

Windows now show up fine

Changed in groundcontrol:
status: Incomplete → Fix Committed
Martin Owens (doctormo) on 2010-02-16
Changed in groundcontrol:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers