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

Program ends with exception #56

Open
rwmasood opened this issue Apr 12, 2020 · 0 comments
Open

Program ends with exception #56

rwmasood opened this issue Apr 12, 2020 · 0 comments

Comments

@rwmasood
Copy link

Hi,

I typed YahooTickerDownloader.py without any options, it ran for some time and then logged with the following exception:

Got 0 downloaded generic symbols:
Progress: Query 2719/41750.
16124 unique generic entries collected so far.

req https://finance.yahoo.com/_finance_doubledown/api/resource/searchassist;searchTerm=ek7?device=console&returnMeta=true
Got 8 downloaded generic symbols:
Got 8 downloaded generic symbols:
A exception occurred while downloading. Suspending downloader to disk
Successfully saved download state
Try removing {type}.pickle file if this error persists
Issues can be reported on https://github.com/Benny-/Yahoo-ticker-symbol-downloader/issues

Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\envs\ml_finance\Scripts\YahooTickerDownloader.py", line 170, in
main()
File "C:\ProgramData\Anaconda3\envs\ml_finance\Scripts\YahooTickerDownloader.py", line 111, in main
downloadEverything(downloader, tickerType, args.insecure, args.sleep, args.pandantic)
File "C:\ProgramData\Anaconda3\envs\ml_finance\Scripts\YahooTickerDownloader.py", line 41, in downloadEverything
print("Got " + str(len(symbols)) + " downloaded " + downloader.type + " symbols:")
OSError: raw write() returned invalid length 70 (should have been between 0 and 35)

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

1 participant