Package: gnat-gps
Version: 4.3-5
Severity: normal

(Initially reported by Martyn Pike; thanks for that.)

To reproduce: After starting gnat-gps, go to Project | Edit Project
Properties.  In the Project Properties dialog, go to the Switches tab.
In the Switches tab, go to the Ada sub-tab.

Symptom 1: This tab contains only a one-line text entry box for typing
compiler switches.  It should instead contain lots of check boxes and
other widgets representing individual switches.

Symptom 2: The Messages pane contains error messages:

[2010-09-10 23:26:00] Error while parsing /usr/share/gps/plug-ins/changelog.xml
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/share/gps/plug-ins/ada_support.py", line 15, in <module>
    import os_utils, gnat_switches
ImportError: No module named gnat_switches
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/share/gps/plug-ins/gnatcheck.py", line 11, in <module>
    import GPS, os, os.path, re, string, pygtk, traceback
ImportError: No module named pygtk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/share/gps/plug-ins/zoom.py", line 17, in <module>
    import pango
ImportError: No module named pango
Welcome to GPS 4.3-5+b1 (Debian) hosted on x86_64-linux-gnu
the GNAT Programming Studio
(c) 2001-2008 AdaCore



The package does not contain a file named gnat_switches.py.

I suspect this file must be generated during compilation, from the
output of "gnatmake" and the file distrib/gnat_switches.awk in the
sources.

The other missing files (pygtk and pango) suggest that gnat-gps should
depend on additional Python binding packages.

-- 
Ludovic Brenta.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to