Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

caja integration #151

Open
brokoli-mate opened this issue Dec 3, 2018 · 5 comments
Open

caja integration #151

brokoli-mate opened this issue Dec 3, 2018 · 5 comments

Comments

@brokoli-mate
Copy link

Ubuntu mate 18.04. Caja does not have entry to send files. Adding script to scripts folders creates entry , but it does nothing.
Also browse device does not work.

@b4j4
Copy link
Owner

b4j4 commented Dec 4, 2018

Have you try this one?

@brokoli-mate
Copy link
Author

It is already present in the /usr/share/caja-python/extensions
kde-connect-folder

but not visible in the caja preferences->extensions
kde-connect-list

When i add it to scripts folder - action appears, and i get the "cross" , but nothing happens when i select file(s).

@FrancescoCappio
Copy link

Same problem in Arch Linux, I also have a stack Trace visible when starting Caja from Terminal:

Traceback (most recent call last):
  File "/usr/share/caja-python/extensions/kdeconnect-send-caja.py", line 9, in <module>
    gi.require_version('Caja', '3.0')
  File "/usr/lib/python2.7/site-packages/gi/__init__.py", line 121, in require_version
    (namespace, loaded_version))
ValueError: Namespace Caja is already loaded with version 2.0

@kescherCode
Copy link

kescherCode commented Nov 6, 2019

I have found this while investigating this issue on Manjaro:

Using python version sys.version_info(major=2, minor=7, micro=17, releaselevel='final', serial=0)
File "/usr/share/caja-python/extensions/kdeconnect-send.py", line 28
    self.dbus = Gio.DBusProxy.new_for_bus_sync(
                                              ^
IndentationError: unindent does not match any outer indentation level

Fixing this indeed kinda wrongly indented element reveals:

Traceback (most recent call last):
  File "kdeconnect-send.py", line 9, in <module>
    gi.require_version('Caja', '3.0')
  File "/usr/lib/python2.7/site-packages/gi/__init__.py", line 133, in require_version
    (namespace, version))
ValueError: Namespace Caja not available for version 3.0

@kescherCode
Copy link

kescherCode commented Nov 6, 2019

Changing the line mentioned in the second error to say "2.0" resolves the issue for me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants