"Open with insync helper" doesn't work

Confirm have the same problem in 19.04+

I have the same issue in 19.10 on insync/now 3.0.22.40446-bionic amd64

1 Like

We’ll try to have a fix for this in 3.0.24. Thank you for your reports :slight_smile:

Seeing this also on 19.10… have to open the file on Google Drive

+1

Unable to launch google docs from Nautilus.

Arch linux, kernel 5.3.7.arch1-1, Gnome 1:3.34.1-1.

Relevant journalctl output:

Oct 25 12:12:02 PCNAME org.gnome.Nautilus[1123]: Usage: insync start [OPTIONS]
Oct 25 12:12:02 PCNAME org.gnome.Nautilus[1123]: Try “insync start --help” for help.
Oct 25 12:12:02 PCNAME org.gnome.Nautilus[1123]: Error: Got unexpected extra arguments (open-gdlink-file /home/USERNAME/STARTOFPATH>

This will be resolved in 3.0.24 so please do watch out for the build. Thanks!

I have this same issue in Xubuntu 19.10 with Thunar. Hopefully fixed with next release.

Traceback (most recent call last):
File “”, line 1, in
File “/usr/lib/python2.7/dist-packages/gi/init.py”, line 129, in require_version
raise ValueError(‘Namespace %s not available’ % namespace)
ValueError: Namespace Thunarx not available
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/gi/importer.py”, line 133, in load_module
‘introspection typelib not found’ % namespace)
ImportError: cannot import name Thunarx, introspection typelib not found

(thunar:624): thunarx-python-WARNING **: 20:25:44.357: thunarx_python_init_python failed
/usr/share/thunarx-python/extensions/insync-menu-plugin.py:28: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version(‘Gtk’, ‘3.0’) before import to ensure that the right version gets loaded.
from gi.repository import GObject, Gtk, Thunarx # noqa isort:skip
Traceback (most recent call last):
File “/usr/share/thunarx-python/extensions/insync-menu-plugin.py”, line 28, in
from gi.repository import GObject, Gtk, Thunarx # noqa isort:skip
File “/usr/lib/python2.7/dist-packages/gi/importer.py”, line 133, in load_module
‘introspection typelib not found’ % namespace)
ImportError: cannot import name Thunarx, introspection typelib not found
Traceback (most recent call last):
File “/usr/share/thunarx-python/extensions/insync-menu-plugin.py”, line 28, in
from gi.repository import GObject, Gtk, Thunarx # noqa isort:skip
File “/usr/lib/python2.7/dist-packages/gi/importer.py”, line 133, in load_module
‘introspection typelib not found’ % namespace)
ImportError: cannot import name Thunarx, introspection typelib not found
Traceback (most recent call last):
File “/usr/share/thunarx-python/extensions/insync-menu-plugin.py”, line 28, in
from gi.repository import GObject, Gtk, Thunarx # noqa isort:skip
File “/usr/lib/python2.7/dist-packages/gi/importer.py”, line 133, in load_module
‘introspection typelib not found’ % namespace)

I have this self same problem today. I have a .gdsheet file I double click it and nothing happens.

Insync is running:

$ insync version
3.9.6.60027
$ insync status
Insync headless is not included in your "Personal Sync/Personal Sync" license. Visit https://www.insynchq.com/pricing for more info.

I’m on Linux Mint 22.2:

System:
  Kernel: 6.8.0-79-generic arch: x86_64 bits: 64
  Desktop: Cinnamon v: 6.4.8 Distro: Linux Mint 22.2 Zara

I can try for the command line:

$ insync open-cloud HBK\ Other\ Sites.gdsheet 
$ 

Nothing happens. No error.

I opened the log dir, and the file logs.db in it. I can watch the logs table. On a double click I see nothing appear. When running from the command line I see one line added:

unix_socket_server: b'{"method": "open_cloud", "full_path": "/data/Cloud/Google Drive/HBK/HBK Other Sites.gdsheet"}'

My guess is this is just the command line program sending the command to a socket the daemon is listening on. But the daemon seems to roundly ignore it or not add any log in any case.

I know once upon a time this worked. It hasn’t for a long time though I’ve just lived with it. Today I thought to check for a cause and found this thread. And tried some of the diagnostics recommended here.

So I’m stuck now for diagnostics. Be nice if this worked. I mean my workaround is to visit the drive in my browser. But still. Insync is so nice.

Puzzles me that I can no most things for CLI but the status command needs a special license. Odd. IMHO.

My apologies for the trouble, @bernd-wechner!

Please send your logs.db and out.txt files to support@insynchq.com. Do quit Insync first, then collect the logs from ~/config/Insync and send it my way. When you do, please also include the link to this forums post.

Thank you!

Hi @bernd-wechner

Can you send us the output of xdg-mime query filetype "/data/Cloud/Google Drive/HBK/HBK Other Sites.gdsheet"?

Also send your logs.db and data dirs to our support?

Thanks!

1 Like

Hi @Kurt_Ko ! Looping you in my email correspondence with @bernd-wechner since that contains the logs as well :slight_smile:

Bernd-- feel free to post the output here, on our email chat, or both-- whichever works for you! :slight_smile:

$ xdg-mime query filetype "/data/Cloud/Google Drive/HBK/HBK Other Sites.gdsheet"
application/vnd.insync.link.drive.sheet

As mia notes I sent her logs already. I can collect anew if desired, but to be useful what I think I did was clear the logs, then double click the .gdsheet file then capture the logs. But my memory is not perfect, it was a couple of weeks ago.

Let me know if any more logs are helpful.

1 Like

Thank you for sending this! I’ve already forwarded it to @Kurt_Ko and will let you know if new logs are needed :slight_smile:

Hi @bernd-wechner ! Could you please run this command and let us know if any error or log shows up?

insync open-cloud "/data/Cloud/Google Drive/HBK/HBK Other Sites.gdsheet"

Thank you!

Literally nothing happens:

bernd@bigfoot:~$ insync open-cloud "/data/Cloud/Google Drive/HBK/HBK Other Sites.gdsheet"
bernd@bigfoot:~$ 

On the app window, under Errors nothing shows up, under Feed nothing show sup, nothing is opened in my default browser.

I can watch out.txt in ~/.config/Insync and run the above command and nothing new is added. That is the folder that the app shows me under Support Centre > Open Logs.

If I watch the logs table in log.db with:

sqlite3 logs.db "SELECT * FROM logs;" | tail

there is one tuple added when I tun the above command:

20197674|20184664|Thread-7|1760079326.42531|10|unix_socket_server|__handler|178|b'{"method": "open_cloud", "full_path": "/data/Cloud/Google Drive/HBK/HBK Other Sites.gdsheet"}'||||||{}

Not much of a diagnostic really, to my eyes anyhow.

Hey @bernd-wechner I’ve sent this to Kurt so we can assess the next steps for you. Thank you for your patience!