This last workaround didn’t work for me.
When I start insync-headless
the application throws the following errors to console:
$ insync-headles start
[Errno 13] Permission denied: '.'INFO 2023-05-09 21:54:42,557 [mainlogs:_log_run:139] Core(app_version=3.2.6.10745, platform=Linux-x86_64-fedora/38) initialized
$ WARNING 2023-05-09 21:54:42,757 [base_events:_run_once:1767] Executing <Task finished coro=<SettingsMain._load_settings() done, defined at ideskcore/mainsettings.py:186> result=None created at ideskcore/mainsettings.py:160> took 0.188 seconds
INFO 2023-05-09 21:54:42,782 [app:start_core:49] core started
INFO 2023-05-09 21:54:42,783 [unix_socket_server:start:106] unix socket server thread start
INFO 2023-05-09 21:54:43,417 [httpclient:request:192] Curl error CurlError(65, "necessary data rewind wasn't possible") while requesting to 'www.insynchq.com'.
INFO 2023-05-09 21:54:43,418 [httpclient:request:195] Retrying later...
$
Last two lines appear in the terminal every minute.
When I add the account then it throws the following error (I remove the token for security purposes):
$ insync-headless account add -a X/XXXXXXXXXXXXXXXXX -c gd -p '/home/user/Documents/Google Drive' -e MS_OFFICE
ERROR 2023-05-09 21:55:41,600 [workbase:__run:257] While running AlternativeLogin(cloud='gd', auth_code='X/XXXXXXXXXXXXXXXXX')
Traceback (most recent call last):
File "idesksync/workbase.py", line 246, in __run
File "ideskcore/loginwork.py", line 127, in _do
File "idesksync/oauth2client.py", line 103, in get_api_key
File "idesknet/httpclient.py", line 187, in request
idesknet.httpclient.HTTPResponseError: (<HTTPStatus.BAD_REQUEST: 400>, b'{\n "error": "redirect_uri_mismatch",\n "error_description": "Bad Request"\n}')
ERROR 2023-05-09 21:55:41,602 [workbase:_log_task_exception:449] While running AlternativeLogin(cloud='gd', auth_code='X/XXXXXXXXXXXXXXXXX')
Traceback (most recent call last):
File "idesksync/workbase.py", line 246, in __run
File "ideskcore/loginwork.py", line 127, in _do
File "idesksync/oauth2client.py", line 103, in get_api_key
File "idesknet/httpclient.py", line 187, in request
idesknet.httpclient.HTTPResponseError: (<HTTPStatus.BAD_REQUEST: 400>, b'{\n "error": "redirect_uri_mismatch",\n "error_description": "Bad Request"\n}')
Sorry, an error occurred: (<HTTPStatus.BAD_REQUEST: 400>, b'{\n "error": "redirect_uri_mismatch",\n "error_description": "Bad Request"\n}')
$
This is the output of version command:
$ insync-headless version
3.2.6.10745
$
As I said in my previous post, if I go to https://myaccount.google.com/u/0/permissions I don’t see insync as an allowed application.
M.