Cannot get Insync start in Linux command line

Hi, I’m trying to run Insync from command line under Debian 8.4 Jessie inside a Fileserver Turnkey appliance

Here it’s what I’m doing
root@fileserver ~# insync-headless start
To add accounts in headless mode, use the “insync-headless add_account” command. Run “insync-headless help add_account” for more details.
root@fileserver ~# insync-headless add_account -a [CODE] -p /srv/storage/drive -e link
Insync doesn’t seem to be running. Start it first.

So I cannot get Insync to start or to add an account

I cannot work around what I’m doing wrong

Any help will be appreciated

Thanks in advance

@santiago.gonzalez: What is the output of insync-headless start --no-daemon?

@lpugoy here it is

root@fileserver ~# insync-headless start --no-daemon
To add accounts in headless mode, use the “insync-headless add_account” command. Run “insync-headless help add_account” for more details. Traceback (most recent call last):
File “”, line 6, in
File “main.py”, line 128, in
File “main__insync.py”, line 166, in
File “main__insync.py”, line 26, in main
File “PySide/QtCore.py”, line 26, in
File “PySide/QtCore.py”, line 17, in _bbfreeze_import_dynamic_module
ImportError: libglib-2.0.so.0: cannot open shared object file: No such file or directory

I cannot figure out what is wrong or what I’m doing wrong

Thanks in advance

@santiago.gonzalez: Did you install the insync-headless package? If not please try that instead.

@lpugoy thanks so much, I installed insync-headless and now its working, the problem that I’ve got now is that I’ve got Spanish characters in the filenames and directories and files and the first sync doesn’t create the directories/files in my filesystem

The output is like this one for every directory/file with Spanish characters
ERROR 2016-05-18 11:31:51,381 [init:error:1584] Unhandled error while doing GDAdder(user_id=u’117496082905433636247’, work_id=3353, fs_id=544,
gd_id=u’0B7dA8ZZzVtnQVi1tRVlSME9lMXc’, gd_coid=u’prime’, changestamp=-0.9996236481062523, state={u’file’: {u’md5_sum’: None, u’name’: u’07 - Curapal
ig\xfce 173’, u’altered_at’: 1420826474.622, u’target_id’: None, u’access’: 30, u’parent_id’: u’0B7dA8ZZzVtnQUXRMZ2dYRkVCNW8’, u’mtime’: None, u’shar
ed’: 1, u’type’: u’F’, u’mime_type’: None, u’size’: None}}).
Traceback (most recent call last):
File “idesksyncer/syncworks.py”, line 1020, in __run
File “idesksyncer/gdworks.py”, line 935, in _do
File “idesksyncer/gdworks.py”, line 960, in __add_folder
File “idesksyncer/fsstate.py”, line 587, in create_dir
File “ideskfs/fs.py”, line 372, in new_name
File “ideskfs/fs.py”, line 52, in get_file_info
UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xfc’ in position 41: ordinal not in range(128)

my LOCALE is
LANG=es_AR.UTF-8
LANGUAGE=en_US.UTF-8
LC_CTYPE=“C”
LC_NUMERIC=“C”
LC_TIME=“C”
LC_COLLATE=“C”
LC_MONETARY=“C”
LC_MESSAGES=“C”
LC_PAPER=“C”
LC_NAME=“C”
LC_ADDRESS=“C”
LC_TELEPHONE=“C”
LC_MEASUREMENT=“C”
LC_IDENTIFICATION=“C”
LC_ALL=C

and I’m using the package insync-headless_1.3.8.36087-wheezy_amd64.deb

Hope this information helps

Regards

@santiago.gonzalez: Please try setting your other locale settings to a UTF-8 one before running Insync to resolve this issue.