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