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

Menu option #6 does not work #9

Open
chrisidso opened this issue Mar 7, 2022 · 1 comment
Open

Menu option #6 does not work #9

chrisidso opened this issue Mar 7, 2022 · 1 comment

Comments

@chrisidso
Copy link

Saw this on linux (Ubuntu). To repro:
Type 2 to add then enter a small number.
When the menu reappears type 6 to create a back up file. I typed 'lion7' ...

Expected: Should allow you to type a file name and then create the desired back up file.
Actual: Error message:

Please wait while the database file is backed-up ...

Traceback (most recent call last):
File "main.py", line 161, in
main(db_file)
File "main.py", line 121, in main
msg = backup_db(db_file)
File "main.py", line 22, in backup_db
copyfile(db_file['path'], new_file)
File "/home/newton/anaconda3/lib/python3.7/shutil.py", line 121, in copyfile
with open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: 'db/backup/lion7.sqlite'

@datatalking
Copy link
Contributor

Please review issue#10 with the investpy potential new data source.

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