derrix060 / onedriveClient

A Microsoft OneDrive and OneDrive for Business client for Linux, written in Python3.
MIT License
65 stars 10 forks source link

Starting onedrived ... FAILED ERROR: Child exited immediately with exit code 127 #27

Open rbrueckner82 opened 5 years ago

rbrueckner82 commented 5 years ago

Hello,

can´t start ondrived Deamon with "onedrived start" failure

Starting onedrived ... FAILED ERROR: Child exited immediately with exit code 127

when i start the debug mode "onedrived start --debug" it runs without failure and will sync with the OneDrive.

Only one Warning at the screen

2018-10-12 14:57:37,792] WARNING: MainThread: Executing <Handle gen_start_repo_tasks({'8032ebea25c15a1e': [<onedrived.od...x7f6cd73c1550>]}) at /usr/local/lib/python3.5/dist-packages/onedriveClient-2.0.1-py3.5.egg/onedrived/od_main.py:129 created at /usr/local/lib/python3.5/dist-packages/onedriveClient-2.0.1-py3.5.egg/onedrived/od_main.py:207> took 0.540 seconds

anyone a idea

derrix060 commented 5 years ago

Can you send me what commit are you using? Navigate to the onedriveClient directory and run this command:

git rev-parse HEAD

rbrueckner82 commented 5 years ago

there is the output

e1a330cfb4e2aee154504c4239abdb3dec495f0a

derrix060 commented 5 years ago

Ok, so you are using the latest commit. Please change your onedrived_config_v2.json (or the file that you save the configurations) and set the logfile_path (example "~/onedrived_debug.txt"), run again without debug flag and post here the content of the logfile.

rbrueckner82 commented 5 years ago

here the content of the logfile when i try onedrived start

[2018-10-15 08:10:47,433] INFO: MainThread: Shutting down. Code: Dying due to unhandled EOFError: . [2018-10-15 08:10:47,437] INFO: MainThread: Shut down complete.

starlinq commented 4 years ago

Hello,

I got the same problem:

$ onedrive-client start Starting onedrive-client ... FAILED ERROR: Child exited immediately with exit code 127

My OS is Ubuntu 18.04 LTS 64bit. With --debug parameter key it works.

Finally I got the error in debug mode too:

onedrive-client start --debug Starting onedrive-client ... OK Traceback (most recent call last): File "/usr/local/bin/onedrive-client", line 11, in <module> load_entry_point('onedriveClient==2.0.1', 'console_scripts', 'onedrive-client')() File "/usr/local/lib/python3.6/dist-packages/click-6.7-py3.6.egg/click/core.py", line 722, in __call__ return self.main(*args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/click-6.7-py3.6.egg/click/core.py", line 697, in main rv = self.invoke(ctx) File "/usr/local/lib/python3.6/dist-packages/click-6.7-py3.6.egg/click/core.py", line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/local/lib/python3.6/dist-packages/click-6.7-py3.6.egg/click/core.py", line 895, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/local/lib/python3.6/dist-packages/click-6.7-py3.6.egg/click/core.py", line 535, in invoke return callback(*args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/daemonocle-1.0.1-py3.6.egg/daemonocle/cli.py", line 57, in subcommand File "/usr/local/lib/python3.6/dist-packages/daemonocle-1.0.1-py3.6.egg/daemonocle/core.py", line 608, in do_action File "/usr/local/lib/python3.6/dist-packages/daemonocle-1.0.1-py3.6.egg/daemonocle/core.py", line 477, in start File "/usr/local/lib/python3.6/dist-packages/daemonocle-1.0.1-py3.6.egg/daemonocle/core.py", line 399, in _run File "/usr/local/lib/python3.6/dist-packages/onedriveClient-2.0.1-py3.6.egg/onedrive_client/od_main.py", line 195, in main all_accounts = get_repo_table(context) File "/usr/local/lib/python3.6/dist-packages/onedriveClient-2.0.1-py3.6.egg/onedrive_client/od_main.py", line 101, in get_repo_table authenticator, drives = get_authenticator_and_drives(ctx, account_id) File "/usr/local/lib/python3.6/dist-packages/onedriveClient-2.0.1-py3.6.egg/onedrive_client/od_auth.py", line 43, in get_authenticator_and_drives key=od_api_session.get_keyring_key(account_id)) File "/usr/local/lib/python3.6/dist-packages/onedriveClient-2.0.1-py3.6.egg/onedrive_client/od_auth.py", line 278, in load_session self.client.auth_provider.load_session(**args) File "/usr/local/lib/python3.6/dist-packages/onedrivesdk-1.1.8-py3.6.egg/onedrivesdk/auth_provider.py", line 323, in load_session self._session = self._session_type.load_session(**load_session_kwargs) File "/usr/local/lib/python3.6/dist-packages/onedriveClient-2.0.1-py3.6.egg/onedrive_client/od_api_session.py", line 43, in load_session raise ValueError("Don't find anything") ValueError: Don't find anything All children are gone. Parent is exiting...