nautilus-python shuts down immediately after initializing

Bug #141139 reported by Jonathan Rogers
2
Affects Status Importance Assigned to Milestone
nautilus-python (Ubuntu)
New
Undecided
Unassigned

Bug Description

I am running Gutsy with nautilus 1:2.20.0-0ubuntu1 and binary package python-nautilus 0.4.3-2 and python-dev 2.5.1-1ubuntu2. Python nautilus extensions have no effect even though they clearly are being loaded by the extension module. I get this when I start nautilus:
----------------------------------------------------------------------------------------
jrogers@zaphod:~/trunk$ NAUTILUS_PYTHON_DEBUG=misc nautilus --no-desktop
nautilus_module_initialize: entered
nautilus-python:init_pygobject
nautilus-python:init_pygtk
nautilus-python:init_gnomevfs
nautilus-python:pyg_enable_threads
nautilus-python:sys.path.insert(0, ...)
nautilus-python:import nautilus
nautilus_python_load_dir: entered dirname=/usr/lib/nautilus/extensions-1.0/python
nautilus_python_load_dir: entered dirname=/home/jrogers/.nautilus/python-extensions/
nautilus_python_load_file: entered filename=exif_date
nautilus-python:Loaded python modules
nautilus_python_load_file: entered filename=thingy
Hello, Nautilus!
nautilus-python:Loaded python modules
nautilus_module_list_types: entered
nautilus_module_shutdown: entered
Initializing gnome-mount extension
seahorse nautilus module initialized
seahorse nautilus module shutdown
-----------------------------------------------------------------------------------------

I have two extensions in /home/jrogers/.nautilus/python-extensions/: exif_date.py and thingy.py, which uses a python print command to print "Hello, Nautilus!". Inexplicably, the nautilus python module loads itself first of the extension modules, then shuts itself down before any other extensions load.

I also have this problem on a different Feisty system. However, the exact same extensions work in an Edgy chroot installed on my Gutsy system. I had thought that this was an incompatibility between nautilus-python and major PyGTK API changes in version 2.8, since building nautilus-python from source complains about this. However, Edgy has python-gtk2 2.10.3-0ubuntu3 and nautilus-python works there.

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.