Displaying windows broken from revision 181

Bug #518846 reported by Łukasz Jernaś
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ground Control
Fix Released
Critical
Unassigned

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__
    self.w_tree.add_from_file(self.gapp_xml)
  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

Revision history for this message
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
Revision history for this message
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)
Changed in groundcontrol:
status: New → Incomplete
Revision history for this message
Łukasz Jernaś (deejay1) wrote : Re: [Bug 518846] Re: Displaying windows broken from revision 181

I'm using current GC trunk + current debianfiles tree

Revision history for this message
Łukasz Jernaś (deejay1) wrote :

Current GC trunk and debianfiles branch

Revision history for this message
Francesco Marella (francesco-marella) wrote :

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

Revision history for this message
Ł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

Revision history for this message
Łukasz Jernaś (deejay1) wrote :

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

Revision history for this message
Łukasz Jernaś (deejay1) wrote :

Windows now show up fine

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.