OpenBBTerminal: [Bug] slash issue

Describe the bug A “bad” load from the econometrics menu will crash the terminal. “Bad” loads have included so far: not giving an alias along with the filename, and setting the filename directly without using the auto-complete feature (which is dope, ty.)

To Reproduce from the terminal, enter the econometrics menu and try to explicitly load a filepath (i used one i just stored from FRED data) - load -f /home/<user>/code/OpenBBTerminal/exports/icsa-test.csv with or without an alias it fails, load: error: argument -f/--file: expected at least one argument which it not accurate, as it was given an argument.

Screenshots Screen Shot 2022-04-03 at 12 06 07 AM

Desktop (please complete the following information):

  • OS: (Host) Mac OS X 12.2.1 running Parallels running (Guest) Ubuntu 20.04.2 ARM64
  • Python version = 3.8.13

Additional context Should be easy to reproduce, hmu in Discord otherwise, happy to help troubleshoot.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19 (9 by maintainers)

Most upvoted comments

@colin99d I could do.

@DidierRLopes sorry, I meant using ; for separating commands - not paths.

@DidierRLopes you could instead use a different character, I suggested ; because it’s commonly used in things like bash already.