-
Notifications
You must be signed in to change notification settings - Fork 219
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
Error to build PDF file #19
Labels
bug
Something isn't working
Comments
I can't build pdf as well. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Traceback (most recent call last):
File "/aml/FinRobot/finrobot/functional/reportlab.py", line 185, in build_annual_report
name = YFinanceUtils.get_stock_info(ticker_symbol)["shortName"]
File "/aml/FinRobot/finrobot/data_source/yfinance_utils.py", line 15, in wrapper
return func(ticker, *args, **kwargs)
File "/aml/FinRobot/finrobot/data_source/yfinance_utils.py", line 44, in get_stock_info
stock_info = ticker.info
File "/root/miniconda3/lib/python3.10/site-packages/yfinance/ticker.py", line 153, in info
return self.get_info()
File "/root/miniconda3/lib/python3.10/site-packages/yfinance/base.py", line 223, in get_info
data = self._quote.info
File "/root/miniconda3/lib/python3.10/site-packages/yfinance/scrapers/quote.py", line 561, in info
self._fetch_complementary(self.proxy)
File "/root/miniconda3/lib/python3.10/site-packages/yfinance/scrapers/quote.py", line 721, in _fetch_complementary
json_data = json.loads(json_str)
File "/root/miniconda3/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/root/miniconda3/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/root/miniconda3/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered: