Bug#388007: missing dependencies in gedit which are required for external tools functionality: python-gnome2 and zenity

Ian MacKinnell ianm at judcom.nsw.gov.au
Mon Sep 18 02:39:21 UTC 2006


Package: gedit
Version: 2.14.4-2

On upgrading to the latest version of GEDIT, I tried to use the new "external tools" preference dialog.
The external tools checkbox would not work: I clicked on it, but it would not "check".

I examined .xsession-errors and found the following error message:

** (gedit:10068): WARNING **: Could not load python module externaltools


** (gedit:10068): WARNING **: Error, impossible to activate plugin 'External Tools'
Traceback (most recent call last):
  File "/usr/lib/gedit-2/plugins/externaltools/__init__.py", line 24, in ?
    from manager import Manager
  File "/usr/lib/gedit-2/plugins/externaltools/manager.py", line 27, in ?
    from functions import *
  File "/usr/lib/gedit-2/plugins/externaltools/functions.py", line 23, in ?
    import gnomevfs
ImportError: No module named gnomevfs

** (gedit:10068): WARNING **: Could not load python module externaltools


** (gedit:10068): WARNING **: Error, impossible to activate plugin 'External Tools'
Traceback (most recent call last):
  File "/usr/lib/gedit-2/plugins/externaltools/__init__.py", line 24, in ?
    from manager import Manager
  File "/usr/lib/gedit-2/plugins/externaltools/manager.py", line 27, in ?
    from functions import *
  File "/usr/lib/gedit-2/plugins/externaltools/functions.py", line 23, in ?
    import gnomevfs
ImportError: No module named gnomevfs

** (gedit:10068): WARNING **: Could not load python module externaltools


** (gedit:10068): WARNING **: Error, impossible to activate plugin 'External Tools'
Traceback (most recent call last):
  File "/usr/lib/gedit-2/plugins/externaltools/__init__.py", line 24, in ?
    from manager import Manager
  File "/usr/lib/gedit-2/plugins/externaltools/manager.py", line 27, in ?
    from functions import *
  File "/usr/lib/gedit-2/plugins/externaltools/functions.py", line 23, in ?
    import gnomevfs
ImportError: No module named gnomevfs


** (gedit:10068): WARNING **: Error, impossible to activate plugin 'External Tools'
Unmatched element: citerefentry
Unmatched element: refentrytitle
Unmatched element: citerefentry
Unmatched element: refentrytitle
glibtop: This machine has 2 CPUs, 2 are being monitored.
Traceback (most recent call last):
  File "/usr/lib/gedit-2/plugins/externaltools/__init__.py", line 24, in ?
    from manager import Manager
  File "/usr/lib/gedit-2/plugins/externaltools/manager.py", line 27, in ?
    from functions import *
  File "/usr/lib/gedit-2/plugins/externaltools/functions.py", line 23, in ?
    import gnomevfs
ImportError: No module named gnomevfs

I tried quitting and restarting gedit several times, but it behaved exactly the same way each time, with the same error messages in .xsession-errors.

I checked that python-gnome2-desktop was installed: it was.
I checked that libgnomevfs2-0 was installed: it was.

I then tried installing python-gnome2, which had been uninstalled (I use XFCE, not Gnome, as my desktop).
As soon as I installed python-gnome2, I started gedit again, and the external tools check box worked (it checked).

I then noticed that the external tools use zenity to prompt the user for parameters when running external tools. I did not have zebity installed, and there was no dependency or recommendation for it in the gedit package.

I believe that these two packages ought to be dependencies of gedit to support the new external tools functionality in that package.




__________________________________________________

This Message is intended for the addressee named and may contain confidential information.
If you are not the intended recipient, please delete it and notify the sender.
Views expressed in this message are those of the individual sender and not necessarily the views of the Judicial Commission of NSW.





More information about the Pkg-gnome-maintainers mailing list