paper-downloader.py is not stand-alone
zxytim opened this issue · 2 comments
$ ./paper-downloader.py
Traceback (most recent call last):
File "./paper-downloader.py", line 21, in
import fetcher
File "/home/zxytim/software/SoPaper/common/fetcher/init.py", line 16, in
from dbsearch import search_exact
File "/home/zxytim/software/SoPaper/common/dbsearch.py", line 89, in
init_title_for_similar_search()
File "/home/zxytim/software/SoPaper/common/dbsearch.py", line 84, in init_title_for_similar_search
db = get_mongo('paper')
File "/home/zxytim/software/SoPaper/common/ukdbconn.py", line 25, in get_mongo
_db = MongoClient(*ukconfig.mongo_conn)[ukconfig.mongo_db]
File "/home/zxytim/.local/lib/python2.7/site-packages/pymongo/mongo_client.py", line 352, in init
raise ConnectionFailure(str(e))
pymongo.errors.ConnectionFailure: could not connect to 127.0.0.1:27018: [Errno 111] Connection refused
Fixed. Please try again.
It works