I cleared .xsession_errors file and got the error with 1.8.1-1: (caja:2284): Caja-Python-WARNING **: g_module_open libpython failed: /usr/lib/libpython2.7.so.1.0: cannot open shared object file: No such file or directory ImportError: could not import gobject (error was: '/usr/lib/python2.7/dist-packages/gi/_gi.so: undefined symbol: _Py_ZeroStruct') (caja:2284): Caja-Python-WARNING **: pygobject initialization failed (caja:2284): Caja-Python-WARNING **: caja_python_init_python failed
It seems that LP: #1170017 returned. Then I created symlink ln -s /usr/lib/i386-linux-gnu/libpython2.7.so.1.0 /usr/lib/libpython2.7.so.1.0 after creating symlink I got my extension working again. On Sun, Oct 26, 2014 at 5:46 PM, Mike Gabriel < [email protected]> wrote: > Hi Norbert, > > On So 26 Okt 2014 14:53:15 CET, Nrbrtx wrote: > > Package: python-caja >> Severity: grave >> Version: 1.8.1-1 >> >> Dear Debian developers! >> >> As you may know from GitHub (mate-desktop / caja / 322 >> <https://github.com/mate-desktop/caja/issues/322>) and from LP: #1170017 >> <https://bugs.launchpad.net/bugs/1170017> I'm trying to port TortoiseHG >> extension from Nautilus to Caja (see comment 18 >> < >> https://bugs.launchpad.net/ubuntu/+source/nautilus- >> python/+bug/1170017/comments/18 >> >>> >>> from the bug). >> I placed my python extension script in my BitBucket repository >> <https://bitbucket.org/nrbrtx/caja-thg>. >> >> For integration with Caja my script should be copied to >> ~/.local/share/caja-python/extensions/caja-thg.py >> after that Caja should be relaunched with caja -q. >> >> I tested it in Debian 8 (jessie/sid) with python-caja 1.8.0-1 - it works >> as >> expected (there are green star icon on a folder and TortoiseHG drop-down >> menus - see screenshot). >> >> But if install new python-caja 1.8.1-1 from unstable my extension does not >> work. >> >> My caja-thg.py is the same (unchanged), there are no errors in >> ~/.xsession-errors and manual launch of the script (with python >> ~/.local/share/caja-python/extensions/caja-thg.py) does not produce any >> errors. So I'm stuck. >> >> Could you please help me to determine the problem? >> > > Does it work to put the extension into > > /usr/share/caja-python/extensions > > ??? > > Mike > > > > -- > > DAS-NETZWERKTEAM > mike gabriel, herweg 7, 24357 fleckeby > fon: +49 (1520) 1976 148 > > GnuPG Key ID 0x25771B31 > mail: [email protected], http://das-netzwerkteam.de > > freeBusy: > https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das- > netzwerkteam.de.xfb >

