I’m having trouble installing the Mobile Travel-Sample Web Backend app. I’ve followed all the steps listed here:
http://docs.couchbase.com/tutorials/travel-sample/develop/swift/#/0/4/0
and I’m getting an error after running: python travel.py
here is the output:
python travel.py
Connecting to: couchbase://cb-server/travel-sample?username=Administrator
Traceback (most recent call last):
File “travel.py”, line 299, in
db = connect_db()
File “travel.py”, line 296, in connect_db
return Bucket(CONNSTR, password=PASSWORD)
File “/Users/anilgupta/Documents/Developer/Couchbase_Travel_Sample_App/try-cb-python/lib/python2.7/site-packages/couchbase/bucket.py”, line 245, in init
self._do_ctor_connect()
File “/Users/anilgupta/Documents/Developer/Couchbase_Travel_Sample_App/try-cb-python/lib/python2.7/site-packages/couchbase/bucket.py”, line 254, in _do_ctor_connect
self._connect()
couchbase.exceptions._UnknownHostError_0x15 (generated, catch UnknownHostError): <RC=0x15[DNS/Hostname lookup failed], There was a problem while trying to send/receive your request over the network. This may be a result of a bad network or a misconfigured client or server, C Source=(src/bucket.c,785)>
(try-cb-python) Anils-MacBook-Pro:try-cb-python anilgupta$