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

Keep getting unable to open database #11

Open
glukkon24 opened this issue Aug 26, 2021 · 1 comment
Open

Keep getting unable to open database #11

glukkon24 opened this issue Aug 26, 2021 · 1 comment

Comments

@glukkon24
Copy link

If someone could please help me, I know I must be doing something wrong but not sure what. Will be more than happy to donate from recovered coins but not very skilled at code and this is what I am getting:

Traceback (most recent call last):
File "/home/glukkon/fd-cli/venv/bin/fd-cli", line 33, in
sys.exit(load_entry_point('fd-cli', 'console_scripts', 'fd-cli')())
File "/home/glukkon/fd-cli/fd_cli/fd_cli.py", line 220, in main
fd_cli()
File "/home/glukkon/fd-cli/venv/lib/python3.8/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/home/glukkon/fd-cli/venv/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/glukkon/fd-cli/venv/lib/python3.8/site-packages/click/core.py", line 1256, in invoke
Command.invoke(self, ctx)
File "/home/glukkon/fd-cli/venv/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/glukkon/fd-cli/venv/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/glukkon/fd-cli/venv/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/glukkon/fd-cli/fd_cli/fd_cli.py", line 40, in fd_cli
ctx.obj['bc_db'] = fd_cli_db_get_connection(os.environ[FD_CLI_ENV_BC_DB_PATH])
File "/home/glukkon/fd-cli/fd_cli/fd_cli_db.py", line 7, in fd_cli_db_get_connection
return sqlite3.connect(
sqlite3.OperationalError: unable to open database file

@PrEzi3
Copy link

PrEzi3 commented Aug 26, 2021

wrong path in the variable. or no permissions... or whatever.

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