OpenBB-finance / OpenBB

Investment Research for Everyone, Everywhere.
https://openbb.co
Other
34.01k stars 3.11k forks source link

[Bug] Econometrics Export FileNotFound #1667

Closed colin99d closed 2 years ago

colin99d commented 2 years ago

Describe the bug Export in Econometrics causes FileNotFoundError.

To Reproduce load cancer dataset export dataset

Screenshots

Screen Shot 2022-04-10 at 1 47 13 PM

Desktop (please complete the following information):

JerBouma commented 2 years ago

Does the folder exist at all? Or is this perhaps via the installer application?

I don't understand why this suddenly breaks while it worked when I first designed the menu.

colin99d commented 2 years ago

I did not use install using the installer. It looks like an econometrics folder does not exist. I will add one with a .gitkeep.

JerBouma commented 2 years ago

This is via installer version: Screenshot 2022-04-11 at 10 18 22

But via the Anaconda version it does indeed crash. Seems like someone removed this folder, will re-add.

JerBouma commented 2 years ago

@colin99d

Oh you already fixed this yourself, lol. Just noticed this. I want to include this small remark though:load in custom data sets to load in custom data sets (use -ex for examples). I noticed that it wasn't clear there were example datasets available (got the question a couple of times). This should make the menu more accessible for basic testing because these datasets are already cleaned as well.

Could you add this?

piiq commented 2 years ago

I see the same issue on the latest main. Looks like the exports path (OPENBB-exports) is not being set for me and @colin99d. I clearly remember @DidierRLopes adding it so maybe this change was overwritten by some uncontrolled merge

colin99d commented 2 years ago

@piiq once my tests work on windows fix will be merged.