-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gshell code - throwing error message #23
Comments
Probably it is due to a broken |
Tried to delete the file, but doesn't seem to be the reason yet. cleitols@os:~$ sudo gshell init Enter verification code: **** |
Potentially this is because you don't have anything under your gdrive folder. You can try to print the |
Hello.
Every time I try to execute the init command switch for gshell, I get the following error:
cleitols@os:~$ gshell init
Traceback (most recent call last):
File "/usr/local/bin/gshell", line 8, in
sys.exit(main())
File "/home/cleitols/.local/lib/python3.9/site-packages/gshell/init.py", line 443, in main
cli()
File "/usr/lib/python3/dist-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/cleitols/.local/lib/python3.9/site-packages/gshell/init.py", line 125, in cmd_init
config_dir = init(name)
File "/home/cleitols/.local/lib/python3.9/site-packages/gshell/init.py", line 54, in init
init_config()
File "/home/cleitols/.local/lib/python3.9/site-packages/gshell/init.py", line 92, in init_config
home_id = _get_home_id()
File "/home/cleitols/.local/lib/python3.9/site-packages/gshell/init.py", line 84, in _get_home_id
parent_id = lines[1][start:end].strip()
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: