Bug#767821: gir1.2-caja is someway broken - unable to import Caja from gi.repository

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Wed Nov 26 10:30:24 UTC 2014

Control: close -1

Hi Norbert,

this issue is fixed in unstable (never was broken, actually). More  
info: see below.

On  So 02 Nov 2014 21:17:52 CET, Nrbrtx wrote:

> Package: gir1.2-caja
> Severity: grave
> Version: 1.8.1-2~bpo70+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) - it works as
> expected (there are green star icon on a folder and TortoiseHG drop-down
> menus).
> But if I install gir1.2-caja in Debian 7 I can't use my extension because
> of python error:
> $python -c "from gi.repository import Caja"
> ERROR:root:Could not find any typelib for Caja
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ImportError: cannot import name Caja
> This is caused by wrong file-structure of gir1.2-caja package. It has
> /usr/lib/i386-linux-gnu/girepository-1.0/Caja-2.0.typelib but not in
> /usr/lib/girepository-1.0/Caja-2.0.typelib.
> If I move typelib manually to correct location, I can use it, but get
> another bug - 766879 <
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766879>.
> The bug about Caja-2.0.typelib exists in Ubuntu too - it is bug 1380313 <
> https://bugs.launchpad.net/bugs/1380313>. Please fix this bug in Debian.

This is a wheezy-backports only bug. I Cc: the debian-backports ML  
with this mail.

After I have uploaded all necessary bugfixes to Debian unstable (+  
received unblock conformations) I will go through all MATE packages in  
wheezy-backports and bring them up-to-date. However, this may take a  
little while, because getting MATE fixed in Debian testing currently  
has my priority.



mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.alioth.debian.org/pipermail/pkg-mate-team/attachments/20141126/97a6ad87/attachment.sig>

More information about the pkg-mate-team mailing list