"Open with insync helper" doesn't work

@Michal_L: Thanks for the clue. I will investigate this.

Hi. For me it doesn’t work either (Ubuntu 15.10), regardless of whether there are any Czech characters or just plain ASCII.
Nothing showed up in the terminal.

@Jiri_Richter: What is the output when you run insync open_gd_url /path/to/gdlink/file? Does open_in_gdrive work for you?

insync open_gd_url ./my_file.gddoc
shows:
open_gd_url not a valid command

insync open_in_gdrive ./my_file.gddoc
shows nothing and doesn’t open the file in browser

@Jiri_Richter: Apologies for that, the correct command should be open_gdurl (no _ between gd and url).

Hello, many thanks for the correction. Unfortunately even insync open_gdurl ./file.gddoc doesn’t output anything and also doesn’t open the file in browser.
Can I get any logs on my side?
I’m using chrome by the way.

@Jiri_Richter: Please check this to locate the logs: How to find the log files.

Could you try passing the full path as well, like /full/path/to/my_file.gddoc instead of ./myfile_doc.

Many thanks, I have located the error. I have a non-ascii character in the path (“á”).

Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "__main__.py", line 128, in <module>
  File "__main__insync__.py", line 145, in <module>
  File "isyncd/linux/insync_cli_parser.py", line 275, in parse
  File "isyncd/linux/insync_cli_parser.py", line 322, in parse_command
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 47: ordinal not in range(128)

Would this be supported in the future?

Very good question, I would also really need this… Is this a Linux only issue?

@Jiri_Richter: Thanks. This is a bug that was introduced in the last version. A fix will be included in the next release, apologies for the trouble. @helgeklemm

I have the same problem with my laptop (Fedora 27). I am able to open the Drive in Firefox or Chrome (both) only from the command line. The strange thing is that on my desktop (Centos 7) the double click works. This is somewhat irritating for a test user,

Ubuntu 19.04 - Insync v3.0.22.40446 - unable to double click to open gddoc & gdsheet files after latest update.

Using Insync v3.0.22.40446 on a Ubuntu 19.04 fresh install, in nautilus can’t open any gd docs with double clic.
clic “open with insync helper” doesn’t work.
only can open gd docs in nautilus, by right clic menu and then insync option > view on the web, then firefox launches and open gdsheet normally.

1 Like

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)