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] /stocks/options/ $ oi Error: 'NoneType' object is not subscriptable #1626

Closed
deeleeramone opened this issue Apr 3, 2022 · 6 comments · Fixed by #1613
Closed

[Bug] /stocks/options/ $ oi Error: 'NoneType' object is not subscriptable #1626

deeleeramone opened this issue Apr 3, 2022 · 6 comments · Fixed by #1613
Labels
bug Fix bug

Comments

@deeleeramone
Copy link
Contributor

deeleeramone commented Apr 3, 2022

/stocks/options/load ^RUT --source yf//exp 1/oi
2022 Apr 03, 19:09 (🦋) /stocks/options/ $ oi
Error: 'NoneType' object is not subscriptable

I edited this issues to keep relevant bug. The other will be solved when #1613 is merged.

@deeleeramone
Copy link
Contributor Author

Entering a wrong command can also lead to printing the logging error message. Can we silence this?

@DidierRLopes
Copy link
Collaborator

Entering a wrong command can also lead to printing the logging error message. Can we silence this?

I had the same issue. This is because your top folder is using still "GamestonkTerminal" and logging was expecting OpenBBTerminal.

This has already been fixed. Pull the latest changes and let me know if it works

@deeleeramone
Copy link
Contributor Author

deeleeramone commented Apr 3, 2022 via email

@DidierRLopes
Copy link
Collaborator

That makes no difference. The error message is because of Tradier returning no results, and it also occurs when you enter a command wrong.

Rename GamestonkTerminal to OpenBBTerminal and let me know if it didn't work.

There's an issue with Tradier, but the big log of data is not due to that, it's due to the name of the folder

@DidierRLopes DidierRLopes changed the title [Bug] Logging - Extreme verbosity when Tradier default returns no result in the options menu: /stocks/options/ $ oi Error: 'NoneType' object is not subscriptable [Bug] /stocks/options/ $ oi Error: 'NoneType' object is not subscriptable Apr 3, 2022
@DidierRLopes DidierRLopes added the bug Fix bug label Apr 3, 2022
@deeleeramone
Copy link
Contributor Author

deeleeramone commented Apr 4, 2022 via email

@Chavithra
Copy link
Contributor

@deeleeramone the current main should handle any folder name now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fix bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants