Benny-/Yahoo-ticker-symbol-downloader

Downloading list of stocks failed

hatala91 opened this issue · 4 comments

Downloading a list of stocks using the package in Python 3.3 under Windows 7 failed with the following stack trace (same result with secure and insecure connection):

Traceback (most recent call last):
File "C:\Python33\lib\site-packages\requests-2.10.0-py3.3.egg\requests\packages\urllib3\connection.py", line 142, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "C:\Python33\lib\site-packages\requests-2.10.0-py3.3.egg\requests\packages\urllib3\util\connection.py", line 91, in create_connection
raise err
File "C:\Python33\lib\site-packages\requests-2.10.0-py3.3.egg\requests\packages\urllib3\util\connection.py", line 81, in create_connection
sock.connect(sa)
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Pinging finance.yahoo.com does not raise any issues though!

Thank you for your report. This will be investigated but it might take a while; there is no ETA yet.

@hatala91 can you tell me how you installed the software on Windows

Sure, I downloaded your package extracted it somewhere opened a command line and wrote

python setup.py install

It was not possible to reproduce this bug in windows 10 using requests-2.11.0.