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

[Bug] OpenBBUserData folder in $HOME despite the settings #6944

Open
janemba opened this issue Nov 9, 2024 · 1 comment
Open

[Bug] OpenBBUserData folder in $HOME despite the settings #6944

janemba opened this issue Nov 9, 2024 · 1 comment

Comments

@janemba
Copy link

janemba commented Nov 9, 2024

Describe the bug
Hello,

I set data_directory and export_directory in .openbb_platform/user_settings.json but each time I'm starting OpenBB the folder OpenBBUserData is created in my $HOME directory.

To Reproduce

  1. In user_settings.json set the following values for data_directory and export_directory:
{
    "credentials": {
        "fmp_api_key": "xxx"
    },
    "preferences": {
        "data_directory": "/home/my_user/.local/share/openbb/OpenBBUserData",
        "export_directory": "/home/my_user/.local/share/openbb/OpenBBUserData/export"
    },
    "defaults": {
        "commands": {}
    }
}
  1. Start openBB
  2. OpenBBUserData is created in $HOME

Desktop (please complete the following information):

  • OS: GNU/Linux Slackware
  • Python version 3.11.9
@deeleeramone
Copy link
Contributor

Hello,

The folder will be created if it does not exist, this is part of the application initialization. however, the target folder will be the one used.

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