Skip to content
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

could not load client settings #1853

Open
CodeGetters opened this issue Mar 11, 2024 · 4 comments
Open

could not load client settings #1853

CodeGetters opened this issue Mar 11, 2024 · 4 comments

Comments

@CodeGetters
Copy link

CodeGetters commented Mar 11, 2024

  • atuin 18.0.2
  • bash homebrew
  • os mac m2
  • problem:When I finished downloading, I used the up key and Atuin reported the following error
    Error: could not load client settings

Caused by:
0: could not create dir "/Users/simon/.local/share/atuin"
1: failed to create directory /Users/simon/.local/share/atuin
2: Permission denied (os error 13)

Location:
atuin-client/src/settings.rs:608:35

  • or

atuin login

Error: could not load client settings

Caused by:
0: could not create dir "/Users/simon/.local/share/atuin"
1: failed to create directory /Users/simon/.local/share/atuin
2: Permission denied (os error 13)

Location:
atuin-client/src/settings.rs:608:35
Error: could not load client settings

Caused by:
0: could not create dir "/Users/simon/.local/share/atuin"
1: failed to create directory /Users/simon/.local/share/atuin
2: Permission denied (os error 13)

Location:
atuin-client/src/settings.rs:608:35

I have looked through the issues and discuss related to my problem, but I can't find any solutions to my problem.

Thank your looking!

@CodeGetters CodeGetters changed the title bug:could not load client settings could not load client settings😫 Mar 11, 2024
@ellie
Copy link
Member

ellie commented Mar 11, 2024

What's the output of

ls -ld ~/.local/share/

It sounds like that directory has some weird permissions setup

@CodeGetters
Copy link
Author

CodeGetters commented Mar 11, 2024

What's the output of

`` ls -ld ~/.local/share/


It sounds like that directory has some weird permissions setup

I don't have this folder

@ellie
Copy link
Member

ellie commented Mar 11, 2024

mkdir -p ~/.local/share

Should sort you out

@ellie ellie changed the title could not load client settings😫 could not load client settings Mar 11, 2024
@CodeGetters
Copy link
Author

CodeGetters commented Mar 11, 2024

mkdir -p ~/.local/share

Should sort you out

When I finished creating this folder, this error still did not occur, so I created another atuin folder and then used the up key to get the following error

Error: error returned from database: (code: 14) unable to open database file

Caused by:
    (code: 14) unable to open database file

Location:
    atuin/src/command/client.rs:85:18

At the same time, I note that the process is not over

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants