when run realtimemonitorschedule.py will throw error:
Traceback (most recent call last):
File "E:\Dropbox\Workspace\stocktrace\src\cron\realtimemonitorschedule.py", line 23, in
start();
File "E:\Dropbox\Workspace\stocktrace\src\cron\realtimemonitorschedule.py", line 14, in start
from parse.sinaparser import getMyStock
File "E:\Dropbox\Workspace\stocktrace\src\parse\sinaparser.py", line 84, in
def downloadLatestData(quotes = findAllExistentTickers(),engine='sina'):
File "E:\Dropbox\Workspace\stocktrace\src\dao\stockdao.py", line 273, in findAllExistentTickers
connection = Connection()
File "D:\Program Files\Python27\lib\site-packages\pymongo\connection.py", line 303, in init
self.__find_node(seeds)
File "D:\Program Files\Python27\lib\site-packages\pymongo\connection.py", line 666, in __find_node
raise AutoReconnect(', '.join(errors))
pymongo.errors.AutoReconnect: could not connect to localhost:27017: [Errno 10061]
when run realtimemonitorschedule.py will throw error: Traceback (most recent call last): File "E:\Dropbox\Workspace\stocktrace\src\cron\realtimemonitorschedule.py", line 23, in
start();
File "E:\Dropbox\Workspace\stocktrace\src\cron\realtimemonitorschedule.py", line 14, in start
from parse.sinaparser import getMyStock
File "E:\Dropbox\Workspace\stocktrace\src\parse\sinaparser.py", line 84, in
def downloadLatestData(quotes = findAllExistentTickers(),engine='sina'):
File "E:\Dropbox\Workspace\stocktrace\src\dao\stockdao.py", line 273, in findAllExistentTickers
connection = Connection()
File "D:\Program Files\Python27\lib\site-packages\pymongo\connection.py", line 303, in init
self.__find_node(seeds)
File "D:\Program Files\Python27\lib\site-packages\pymongo\connection.py", line 666, in __find_node
raise AutoReconnect(', '.join(errors))
pymongo.errors.AutoReconnect: could not connect to localhost:27017: [Errno 10061]