You are not logged in.
It just doesn't work. It will Install fine but won't work.
I submitted a bug ( https://bugzilla.gnome.org/show_bug.cgi?id=633171 ) but maybe it's something we can figure out ourselves?
Offline
surprise! is not an upstream problem, is a packaging problem
_you_ have to rebuild python-nautilus because of new patch that we are using in pygtk
try this packages:
http://pkgbuild.com/~ioni/python-nautil … pkg.tar.xz
http://pkgbuild.com/~ioni/python-nautil … pkg.tar.xz
it was built in clean chroots, against pygtk 2.22.0-3, using the version from aur, without having python installed. same thing can be accomplished by exporting PYTHON=python2
Last edited by wonder (2010-10-26 14:40:51)
Give what you have. To someone, it may be better than you dare to think.
Offline
wonder,
the packages you're linking are not working on my system.
I had actually tried to rebuild python-nautilus (with or without export PYTHON=python2) but without success.
I also tried to rebuild pygtk, tried installing python-nautilus 0.6.1 instead of 0.7.0 and even tried everything removing python and leaving only python2.
All above combinations still give same result.
Offline
can you give me your exact steps to replicate the problem? what have i done:
1) install python-nautilus
2) run nautilus -q and then checked ~/.xsession-errors
Give what you have. To someone, it may be better than you dare to think.
Offline
gg@bio-gg:~$ sudo pacman -U http://pkgbuild.com/~ioni/python-nautil … pkg.tar.xz
gg@bio-gg:~$ sudo cp /usr/share/doc/nautilus-python/examples/background-image.py .local/share/nautilus-python/extensions/
gg@bio-gg:~$ gconftool-2 --type boolean --set /apps/nautilus/preferences/show_desktop false
gg@bio-gg:~$ nautilus -q
gg@bio-gg:~$ nautilus
Initializing nautilus-dropbox 0.6.3
Initializing nautilus-image-converter extension
Initializing nautilus-open-terminal extension
Initializing nautilus-share extension
RuntimeError: could not find _PyGtk_API object
Traceback (most recent call last):
File "/home/gg/.local/share/nautilus-python/extensions/background-image.py", line 4, in <module>
import nautilus
ImportError: No module named nautilus
gg@bio-gg~$ export PYTHONPATH=/usr/lib/nautilus-python:$PYTHONPATH
gg@bio-gg:~$ nautilus
Initializing nautilus-dropbox 0.6.3
Initializing nautilus-image-converter extension
Initializing nautilus-open-terminal extension
Initializing nautilus-share extension
RuntimeError: could not find _PyGtk_API object
Fatal Python error: This module can only be used from nautilus
any help is appreciated.
Last edited by crocowhile (2010-10-26 15:48:17)
Offline
Thanks for trying to provide binaries but what is the root cause of:
RuntimeError: could not find _PyGtk_API object
?
I need to know for another package I am working on. It builds a module "moo" and before python2.7, "import moo" would always work for me. Now it gives the exact same error.
EDIT: Solved... the moo module reimplements a part of pygtk.h in its own code so I simply applied the same changes to this file that Arch applied to pygtk.h
Last edited by ConnorBehan (2010-12-09 10:05:08)
6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.
Offline