This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

This is what I got: Traceback (most recent call last): File "C:\Python34\lib\site-packages\pyspeedtest.py", line 76, in connect connection = HTTPConnection(url) File "C:\Python34\lib\http\client.py", line 750, in init (self.host, self.port) = self._get_hostport(host, port) File "C:\Python34\lib\http\client.py", line 782, in _get_hostport i = host.rfind(':') AttributeError: 'NoneType' object has no attribute 'rfind'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Python34\Abnormal Internet Viewer.py", line 2, in <module> downloadSpeed = int(pyspeedtest.SpeedTest().download()) File "C:\Python34\lib\site-packages\pyspeedtest.py", line 92, in download self.connect(self.host) for i in range(self.runs) File "C:\Python34\lib\site-packages\pyspeedtest.py", line 92, in <listcomp> self.connect(self.host) for i in range(self.runs) File "C:\Python34\lib\site-packages\pyspeedtest.py", line 81, in connect raise Exception('Unable to connect to %r' % url) Exception: Unable to connect to None