Error when running : $ ./manage.py bootstrap <project-name> <email> <password>

Hi,

I am trying to install commcare-hq from github. I’ve made it quite far, but
am stucked on this command: (https://github.com/dimagi/commcare-hq)

$ ./manage.py bootstrap

I am getting the following error:

corehq.util.log.HqAdminEmailHandler logger is being changed to
logging.StreamHandler
corehq.util.log.NotifyExceptionEmailer logger is being changed to
logging.StreamHandler
2016-05-26 11:40:20,348 INFO Starting new HTTP connection (1):
trk.kissmetrics.com
2016-05-26 11:40:21,972 INFO Starting new HTTP connection (1): localhost
2016-05-26 11:40:21,973 INFO Starting new HTTP connection (2): localhost
2016-05-26 11:40:21,973 INFO Starting new HTTP connection (3): localhost
2016-05-26 11:40:21,974 INFO Starting new HTTP connection (4): localhost
Notify Exception: Error occured while syncing user
rohan.katkar@webaccesglobal.com: HTTPError(u’401 Client Error: Unauthorized
for url:
https://api.hubapi.com/contacts/v1/contact/email/rohan.katkar%40webaccesglobal.com/profile?hapikey=*****’,)
None
2016-05-26 11:40:21,976 ERROR Notify Exception: Error occured while syncing
user rohan.katkar@webaccesglobal.com: HTTPError(u’401 Client Error:
Unauthorized for url:
https://api.hubapi.com/contacts/v1/contact/email/rohan.katkar%40webaccesglobal.com/profile?hapikey=*****’,)
None
Notify Exception: Error occured while syncing user
rohan.katkar@webaccesglobal.com: ConnectionError(‘N/A’,
’<urllib3.connection.HTTPConnection object at 0x7f8a7facb450>: Failed to
establish a new connection: [Errno 111] Connection refused’,
NewConnectionError(’<urllib3.connection.HTTPConnection object at
0x7f8a7facb450>: Failed to establish a new connection: [Errno 111]
Connection refused’,))
None
2016-05-26 11:40:22,096 ERROR Notify Exception: Error occured while syncing
user rohan.katkar@webaccesglobal.com: ConnectionError(‘N/A’,
’<urllib3.connection.HTTPConnection object at 0x7f8a7facb450>: Failed to
establish a new connection: [Errno 111] Connection refused’,
NewConnectionError(’<urllib3.connection.HTTPConnection object at
0x7f8a7facb450>: Failed to establish a new connection: [Errno 111]
Connection refused’,))
None
user rohan.katkar@webaccesglobal.com created and added to domain
demo_project

I am using ubuntu 14.04 and psql 9.4.8

any help would be great…

Thanks

HI Rohan

You probably have incorrect values in your settings. Try setting all the
keys in “ANALYTICS_IDS” to an empty string.

··· On 26 May 2016 at 13:51, Rohan Katkar wrote:

Hi,

I am trying to install commcare-hq from github. I’ve made it quite far,
but am stucked on this command: (https://github.com/dimagi/commcare-hq)

$ ./manage.py bootstrap

I am getting the following error:

corehq.util.log.HqAdminEmailHandler logger is being changed to
logging.StreamHandler
corehq.util.log.NotifyExceptionEmailer logger is being changed to
logging.StreamHandler
2016-05-26 11:40:20,348 INFO Starting new HTTP connection (1):
trk.kissmetrics.com
2016-05-26 11:40:21,972 INFO Starting new HTTP connection (1): localhost
2016-05-26 11:40:21,973 INFO Starting new HTTP connection (2): localhost
2016-05-26 11:40:21,973 INFO Starting new HTTP connection (3): localhost
2016-05-26 11:40:21,974 INFO Starting new HTTP connection (4): localhost
Notify Exception: Error occured while syncing user
rohan.katkar@webaccesglobal.com: HTTPError(u’401 Client Error:
Unauthorized for url:
https://api.hubapi.com/contacts/v1/contact/email/rohan.katkar%40webaccesglobal.com/profile?hapikey=*****
’,)
None
2016-05-26 11:40:21,976 ERROR Notify Exception: Error occured while
syncing user rohan.katkar@webaccesglobal.com: HTTPError(u’401 Client
Error: Unauthorized for url:
https://api.hubapi.com/contacts/v1/contact/email/rohan.katkar%40webaccesglobal.com/profile?hapikey=*****
’,)
None
Notify Exception: Error occured while syncing user
rohan.katkar@webaccesglobal.com: ConnectionError(‘N/A’,
’<urllib3.connection.HTTPConnection object at 0x7f8a7facb450>: Failed to
establish a new connection: [Errno 111] Connection refused’,
NewConnectionError(’<urllib3.connection.HTTPConnection object at
0x7f8a7facb450>: Failed to establish a new connection: [Errno 111]
Connection refused’,))
None
2016-05-26 11:40:22,096 ERROR Notify Exception: Error occured while
syncing user rohan.katkar@webaccesglobal.com: ConnectionError(‘N/A’,
’<urllib3.connection.HTTPConnection object at 0x7f8a7facb450>: Failed to
establish a new connection: [Errno 111] Connection refused’,
NewConnectionError(’<urllib3.connection.HTTPConnection object at
0x7f8a7facb450>: Failed to establish a new connection: [Errno 111]
Connection refused’,))
None
user rohan.katkar@webaccesglobal.com created and added to domain
demo_project

I am using ubuntu 14.04 and psql 9.4.8

any help would be great…

Thanks


You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Simon Kelly
Senior Engineer | Dimagi South Africa

Rohan,

have you gotten any farther on this? I have been unsuccessful in doing a
{local} install for development and testing…I want to be sure
everything works before I get to far into a project to pull out…

any info would be very appreciated…

··· On Thursday, May 26, 2016 at 4:51:40 AM UTC-7, Rohan Katkar wrote: > > Hi, > > I am trying to install commcare-hq from github. I've made it quite far, > but am stucked on this command: (https://github.com/dimagi/commcare-hq) > > $ ./manage.py bootstrap > > I am getting the following error: > > corehq.util.log.HqAdminEmailHandler logger is being changed to > logging.StreamHandler > corehq.util.log.NotifyExceptionEmailer logger is being changed to > logging.StreamHandler > 2016-05-26 11:40:20,348 INFO Starting new HTTP connection (1): > trk.kissmetrics.com > 2016-05-26 11:40:21,972 INFO Starting new HTTP connection (1): localhost > 2016-05-26 11:40:21,973 INFO Starting new HTTP connection (2): localhost > 2016-05-26 11:40:21,973 INFO Starting new HTTP connection (3): localhost > 2016-05-26 11:40:21,974 INFO Starting new HTTP connection (4): localhost > Notify Exception: Error occured while syncing user > rohan....@webaccesglobal.com : HTTPError(u'401 Client Error: > Unauthorized for url: > https://api.hubapi.com/contacts/v1/contact/email/rohan.katkar%40webaccesglobal.com/profile?hapikey=%2A%2A%2A%2A%2A > ',) > None > 2016-05-26 11:40:21,976 ERROR Notify Exception: Error occured while > syncing user rohan....@webaccesglobal.com : HTTPError(u'401 > Client Error: Unauthorized for url: > https://api.hubapi.com/contacts/v1/contact/email/rohan.katkar%40webaccesglobal.com/profile?hapikey=%2A%2A%2A%2A%2A > ',) > None > Notify Exception: Error occured while syncing user > rohan....@webaccesglobal.com : ConnectionError('N/A', > ': Failed to > establish a new connection: [Errno 111] Connection refused', > NewConnectionError(' 0x7f8a7facb450>: Failed to establish a new connection: [Errno 111] > Connection refused',)) > None > 2016-05-26 11:40:22,096 ERROR Notify Exception: Error occured while > syncing user rohan....@webaccesglobal.com : > ConnectionError('N/A', ' 0x7f8a7facb450>: Failed to establish a new connection: [Errno 111] > Connection refused', NewConnectionError(' object at 0x7f8a7facb450>: Failed to establish a new connection: [Errno > 111] Connection refused',)) > None > user rohan....@webaccesglobal.com created and added to > domain demo_project > > I am using ubuntu 14.04 and psql 9.4.8 > > any help would be great.... > > Thanks >