Data Forwarding as JSON or XML Error: AttributeError: 'NoneType' object has no attribute 'startswith'

Hi CommCare community,
I’m trying to set up and test a data forwarding from my local CommCare
installation. After establishing a connection with the Test Link feature, I
wasn’t able to forward cases neither forms in JSON or XML format. The
form/case record is blocked in the pending status once I try to manually
resend it I get that error below.
I’m not sure if the “record_id” in the method "get_record_or_404(…) is the
error source…
Thanks
-Speedy

def get_record_or_404(request, domain):

    try:

        record = RepeatRecord.get(request.GET.get('record_id'))

    except ResourceNotFound:

        raise Http404()


    if record.domain != domain:

        raise Http404()


    return record

AttributeError: ‘NoneType’ object has no attribute ‘startswith’
2017-05-12 17:02:24,817 ERROR Internal Server Error:
/a/commcare/settings/project/repeat_record/
Traceback (most recent call last):
File
"/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/core/handlers/exception.py",
line 42, in inner
response = get_response(request)
File
"/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/core/handlers/base.py",
line 249, in _legacy_get_response
response = self._get_response(request)
File
"/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/core/handlers/base.py",
line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File
"/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/core/handlers/base.py",
line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File
"/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/views/generic/base.py",
line 68, in view
return self.dispatch(request, *args, **kwargs)
File
"/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/utils/decorators.py",
line 67, in _wrapper
return bound_func(*args, **kwargs)
File “/home/ubuntu/commcare-hq/corehq/apps/domain/decorators.py”, line
103, in _inner
return view_func(req, domain_name, *args, **kwargs)
File
"/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/utils/decorators.py",
line 63, in bound_func
return func.get(self, type(self))(*args2, **kwargs2)
File “/home/ubuntu/commcare-hq/corehq/apps/domain/decorators.py”, line
149, in dispatch
return super(LoginAndDomainMixin, self).dispatch(*args, **kwargs)
File
"/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/views/generic/base.py",
line 88, in dispatch
return handler(request, *args, **kwargs)
File “/home/ubuntu/commcare-hq/corehq/apps/repeaters/views.py”, line 80,
in post
record = self.get_record_or_404(request, domain)
File “/home/ubuntu/commcare-hq/corehq/apps/repeaters/views.py”, line 47,
in get_record_or_404
record = RepeatRecord.get(request.GET.get(‘record_id’))
File
"/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/couchdbkit/schema/base.py",
line 189, in get
return db.get(docid, rev=rev, wrapper=cls.wrap)
File
"/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/couchdbkit/client.py",
line 385, in open_doc
docid = resource.escape_docid(docid)
File
"/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/couchdbkit/resource.py",
line 184, in escape_docid
if docid.startswith(’/’):
AttributeError: ‘NoneType’ object has no attribute ‘startswith’
“POST /a/commcare/settings/project/repeat_record/ HTTP/1.0” 500 77084
2017-05-12 17:02:24,856 ERROR “POST
/a/commcare/settings/project/repeat_record/ HTTP/1.0” 500 77084

Hi,

This is a bug that we recently introduced into our repeaters code. This
should be fixed with this commit:

It should be merged into our master branch by Monday.

Apologies for the inconvenience. Thanks for pointing it out to us!

Best,

Farid

··· On Fri, May 12, 2017 at 1:30 PM, Speedy wrote:

Hi CommCare community,
I’m trying to set up and test a data forwarding from my local CommCare
installation. After establishing a connection with the Test Link feature, I
wasn’t able to forward cases neither forms in JSON or XML format. The
form/case record is blocked in the pending status once I try to manually
resend it I get that error below.
I’m not sure if the “record_id” in the method "get_record_or_404(…) is
the error source…
Thanks
-Speedy

def get_record_or_404(request, domain):

    try:

        record = RepeatRecord.get(request.GET.get('record_id'))

    except ResourceNotFound:

        raise Http404()


    if record.domain != domain:

        raise Http404()


    return record

AttributeError: ‘NoneType’ object has no attribute ‘startswith’
2017-05-12 17:02:24,817 ERROR Internal Server Error:
/a/commcare/settings/project/repeat_record/
Traceback (most recent call last):
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.
7/site-packages/django/core/handlers/exception.py”, line 42, in inner
response = get_response(request)
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.
7/site-packages/django/core/handlers/base.py”, line 249, in
_legacy_get_response
response = self._get_response(request)
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.
7/site-packages/django/core/handlers/base.py”, line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.
7/site-packages/django/core/handlers/base.py”, line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.
7/site-packages/django/views/generic/base.py”, line 68, in view
return self.dispatch(request, *args, **kwargs)
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.
7/site-packages/django/utils/decorators.py”, line 67, in _wrapper
return bound_func(*args, **kwargs)
File “/home/ubuntu/commcare-hq/corehq/apps/domain/decorators.py”, line
103, in _inner
return view_func(req, domain_name, *args, **kwargs)
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.
7/site-packages/django/utils/decorators.py”, line 63, in bound_func
return func.get(self, type(self))(*args2, **kwargs2)
File “/home/ubuntu/commcare-hq/corehq/apps/domain/decorators.py”, line
149, in dispatch
return super(LoginAndDomainMixin, self).dispatch(*args, **kwargs)
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.
7/site-packages/django/views/generic/base.py”, line 88, in dispatch
return handler(request, *args, **kwargs)
File “/home/ubuntu/commcare-hq/corehq/apps/repeaters/views.py”, line
80, in post
record = self.get_record_or_404(request, domain)
File “/home/ubuntu/commcare-hq/corehq/apps/repeaters/views.py”, line
47, in get_record_or_404
record = RepeatRecord.get(request.GET.get(‘record_id’))
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.
7/site-packages/couchdbkit/schema/base.py”, line 189, in get
return db.get(docid, rev=rev, wrapper=cls.wrap)
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.
7/site-packages/couchdbkit/client.py”, line 385, in open_doc
docid = resource.escape_docid(docid)
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.
7/site-packages/couchdbkit/resource.py”, line 184, in escape_docid
if docid.startswith(’/’):
AttributeError: ‘NoneType’ object has no attribute ‘startswith’
“POST /a/commcare/settings/project/repeat_record/ HTTP/1.0” 500 77084
2017-05-12 17:02:24,856 ERROR “POST /a/commcare/settings/project/repeat_record/
HTTP/1.0” 500 77084


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.

Hi Farid,
thanks for the fast response and for the fix!
Force sending is working perfectly now.
I’m just wondering why a case/form is never sent automatically after
pending?
Best,
-Speedy

··· Am Samstag, 13. Mai 2017 00:21:10 UTC+2 schrieb Farid Rener: > > Hi, > > This is a bug that we recently introduced into our repeaters code. This > should be fixed with this commit: > https://github.com/dimagi/commcare-hq/pull/16145/commits/37edcfa87f4137c811515790607fe6f13d483cd6 > > It should be merged into our master branch by Monday. > > Apologies for the inconvenience. Thanks for pointing it out to us! > > Best, > > Farid > > On Fri, May 12, 2017 at 1:30 PM, Speedy <hamza...@gmx.com > wrote: > >> Hi CommCare community, >> I'm trying to set up and test a data forwarding from my local CommCare >> installation. After establishing a connection with the Test Link feature, I >> wasn't able to forward cases neither forms in JSON or XML format. The >> form/case record is blocked in the pending status once I try to manually >> resend it I get that error below. >> I'm not sure if the "record_id" in the method "get_record_or_404(..) is >> the error source... >> Thanks >> -Speedy >> >> def get_record_or_404(request, domain): >> >> try: >> >> record = RepeatRecord.get(request.GET.get('record_id')) >> >> except ResourceNotFound: >> >> raise Http404() >> >> >> if record.domain != domain: >> >> raise Http404() >> >> >> return record >> >> AttributeError: 'NoneType' object has no attribute 'startswith' >> 2017-05-12 17:02:24,817 ERROR Internal Server Error: >> /a/commcare/settings/project/repeat_record/ >> Traceback (most recent call last): >> File >> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/core/handlers/exception.py", >> line 42, in inner >> response = get_response(request) >> File >> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/core/handlers/base.py", >> line 249, in _legacy_get_response >> response = self._get_response(request) >> File >> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/core/handlers/base.py", >> line 187, in _get_response >> response = self.process_exception_by_middleware(e, request) >> File >> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/core/handlers/base.py", >> line 185, in _get_response >> response = wrapped_callback(request, *callback_args, >> **callback_kwargs) >> File >> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/views/generic/base.py", >> line 68, in view >> return self.dispatch(request, *args, **kwargs) >> File >> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/utils/decorators.py", >> line 67, in _wrapper >> return bound_func(*args, **kwargs) >> File "/home/ubuntu/commcare-hq/corehq/apps/domain/decorators.py", line >> 103, in _inner >> return view_func(req, domain_name, *args, **kwargs) >> File >> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/utils/decorators.py", >> line 63, in bound_func >> return func.__get__(self, type(self))(*args2, **kwargs2) >> File "/home/ubuntu/commcare-hq/corehq/apps/domain/decorators.py", line >> 149, in dispatch >> return super(LoginAndDomainMixin, self).dispatch(*args, **kwargs) >> File >> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/views/generic/base.py", >> line 88, in dispatch >> return handler(request, *args, **kwargs) >> File "/home/ubuntu/commcare-hq/corehq/apps/repeaters/views.py", line >> 80, in post >> record = self.get_record_or_404(request, domain) >> File "/home/ubuntu/commcare-hq/corehq/apps/repeaters/views.py", line >> 47, in get_record_or_404 >> record = RepeatRecord.get(request.GET.get('record_id')) >> File >> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/couchdbkit/schema/base.py", >> line 189, in get >> return db.get(docid, rev=rev, wrapper=cls.wrap) >> File >> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/couchdbkit/client.py", >> line 385, in open_doc >> docid = resource.escape_docid(docid) >> File >> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/couchdbkit/resource.py", >> line 184, in escape_docid >> if docid.startswith('/'): >> AttributeError: 'NoneType' object has no attribute 'startswith' >> "POST /a/commcare/settings/project/repeat_record/ HTTP/1.0" 500 77084 >> 2017-05-12 17:02:24,856 ERROR "POST >> /a/commcare/settings/project/repeat_record/ HTTP/1.0" 500 77084 >> >> -- >> >> --- >> 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. >> > >

Hi,

You need to have celery heartbeat running in order for the celery task to
automatically send repeat records.

Ben

··· On Sat, May 13, 2017 at 10:34 AM, Speedy wrote:

Hi Farid,
thanks for the fast response and for the fix!
Force sending is working perfectly now.
I’m just wondering why a case/form is never sent automatically after
pending?
Best,
-Speedy

Am Samstag, 13. Mai 2017 00:21:10 UTC+2 schrieb Farid Rener:

Hi,

This is a bug that we recently introduced into our repeaters code. This
should be fixed with this commit: https://github.com/dimagi/comm
care-hq/pull/16145/commits/37edcfa87f4137c811515790607fe6f13d483cd6

It should be merged into our master branch by Monday.

Apologies for the inconvenience. Thanks for pointing it out to us!

Best,

Farid

On Fri, May 12, 2017 at 1:30 PM, Speedy hamza...@gmx.com wrote:

Hi CommCare community,
I’m trying to set up and test a data forwarding from my local CommCare
installation. After establishing a connection with the Test Link feature, I
wasn’t able to forward cases neither forms in JSON or XML format. The
form/case record is blocked in the pending status once I try to manually
resend it I get that error below.
I’m not sure if the “record_id” in the method "get_record_or_404(…) is
the error source…
Thanks
-Speedy

def get_record_or_404(request, domain):

    try:

        record = RepeatRecord.get(request.GET.get('record_id'))

    except ResourceNotFound:

        raise Http404()


    if record.domain != domain:

        raise Http404()


    return record

AttributeError: ‘NoneType’ object has no attribute ‘startswith’
2017-05-12 17:02:24,817 ERROR Internal Server Error:
/a/commcare/settings/project/repeat_record/
Traceback (most recent call last):
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/
site-packages/django/core/handlers/exception.py”, line 42, in inner
response = get_response(request)
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/
site-packages/django/core/handlers/base.py”, line 249, in
_legacy_get_response
response = self._get_response(request)
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/
site-packages/django/core/handlers/base.py”, line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/
site-packages/django/core/handlers/base.py”, line 185, in _get_response
response = wrapped_callback(request, *callback_args,
**callback_kwargs)
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/
site-packages/django/views/generic/base.py”, line 68, in view
return self.dispatch(request, *args, **kwargs)
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/
site-packages/django/utils/decorators.py”, line 67, in _wrapper
return bound_func(*args, **kwargs)
File “/home/ubuntu/commcare-hq/corehq/apps/domain/decorators.py”,
line 103, in _inner
return view_func(req, domain_name, *args, **kwargs)
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/
site-packages/django/utils/decorators.py”, line 63, in bound_func
return func.get(self, type(self))(*args2, **kwargs2)
File “/home/ubuntu/commcare-hq/corehq/apps/domain/decorators.py”,
line 149, in dispatch
return super(LoginAndDomainMixin, self).dispatch(*args, **kwargs)
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/
site-packages/django/views/generic/base.py”, line 88, in dispatch
return handler(request, *args, **kwargs)
File “/home/ubuntu/commcare-hq/corehq/apps/repeaters/views.py”, line
80, in post
record = self.get_record_or_404(request, domain)
File “/home/ubuntu/commcare-hq/corehq/apps/repeaters/views.py”, line
47, in get_record_or_404
record = RepeatRecord.get(request.GET.get(‘record_id’))
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/
site-packages/couchdbkit/schema/base.py”, line 189, in get
return db.get(docid, rev=rev, wrapper=cls.wrap)
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/
site-packages/couchdbkit/client.py”, line 385, in open_doc
docid = resource.escape_docid(docid)
File “/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/
site-packages/couchdbkit/resource.py”, line 184, in escape_docid
if docid.startswith(’/’):
AttributeError: ‘NoneType’ object has no attribute ‘startswith’
“POST /a/commcare/settings/project/repeat_record/ HTTP/1.0” 500 77084
2017-05-12 17:02:24,856 ERROR “POST /a/commcare/settings/project/repeat_record/
HTTP/1.0” 500 77084


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.


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.

Ben, Speedy…

I am also on a local machine and have the same issue. The form or case
forwarding goes to a pending status but if i restart the box everything
goes without a hitch…hmm.

but if i add a new form it goes to pending and will not budge an inch after
that. I have looked for any reference for the heartbeat but no
luck…any documentation you hand point us to to set this up on a
"production" instace…

··· On Monday, May 15, 2017 at 12:31:34 AM UTC-7, Ben Rudolph wrote: > > Hi, > > You need to have celery heartbeat running in order for the celery task to > automatically send repeat records. > > Ben > > On Sat, May 13, 2017 at 10:34 AM, Speedy <hamza...@gmx.com > wrote: > >> Hi Farid, >> thanks for the fast response and for the fix! >> Force sending is working perfectly now. >> I'm just wondering why a case/form is never sent automatically after >> pending? >> Best, >> -Speedy >> >> Am Samstag, 13. Mai 2017 00:21:10 UTC+2 schrieb Farid Rener: >>> >>> Hi, >>> >>> This is a bug that we recently introduced into our repeaters code. This >>> should be fixed with this commit: >>> https://github.com/dimagi/commcare-hq/pull/16145/commits/37edcfa87f4137c811515790607fe6f13d483cd6 >>> >>> It should be merged into our master branch by Monday. >>> >>> Apologies for the inconvenience. Thanks for pointing it out to us! >>> >>> Best, >>> >>> Farid >>> >>> On Fri, May 12, 2017 at 1:30 PM, Speedy wrote: >>> >>>> Hi CommCare community, >>>> I'm trying to set up and test a data forwarding from my local CommCare >>>> installation. After establishing a connection with the Test Link feature, I >>>> wasn't able to forward cases neither forms in JSON or XML format. The >>>> form/case record is blocked in the pending status once I try to manually >>>> resend it I get that error below. >>>> I'm not sure if the "record_id" in the method "get_record_or_404(..) is >>>> the error source... >>>> Thanks >>>> -Speedy >>>> >>>> def get_record_or_404(request, domain): >>>> >>>> try: >>>> >>>> record = RepeatRecord.get(request.GET.get('record_id')) >>>> >>>> except ResourceNotFound: >>>> >>>> raise Http404() >>>> >>>> >>>> if record.domain != domain: >>>> >>>> raise Http404() >>>> >>>> >>>> return record >>>> >>>> AttributeError: 'NoneType' object has no attribute 'startswith' >>>> 2017-05-12 17:02:24,817 ERROR Internal Server Error: >>>> /a/commcare/settings/project/repeat_record/ >>>> Traceback (most recent call last): >>>> File >>>> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/core/handlers/exception.py", >>>> line 42, in inner >>>> response = get_response(request) >>>> File >>>> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/core/handlers/base.py", >>>> line 249, in _legacy_get_response >>>> response = self._get_response(request) >>>> File >>>> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/core/handlers/base.py", >>>> line 187, in _get_response >>>> response = self.process_exception_by_middleware(e, request) >>>> File >>>> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/core/handlers/base.py", >>>> line 185, in _get_response >>>> response = wrapped_callback(request, *callback_args, >>>> **callback_kwargs) >>>> File >>>> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/views/generic/base.py", >>>> line 68, in view >>>> return self.dispatch(request, *args, **kwargs) >>>> File >>>> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/utils/decorators.py", >>>> line 67, in _wrapper >>>> return bound_func(*args, **kwargs) >>>> File "/home/ubuntu/commcare-hq/corehq/apps/domain/decorators.py", >>>> line 103, in _inner >>>> return view_func(req, domain_name, *args, **kwargs) >>>> File >>>> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/utils/decorators.py", >>>> line 63, in bound_func >>>> return func.__get__(self, type(self))(*args2, **kwargs2) >>>> File "/home/ubuntu/commcare-hq/corehq/apps/domain/decorators.py", >>>> line 149, in dispatch >>>> return super(LoginAndDomainMixin, self).dispatch(*args, **kwargs) >>>> File >>>> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/django/views/generic/base.py", >>>> line 88, in dispatch >>>> return handler(request, *args, **kwargs) >>>> File "/home/ubuntu/commcare-hq/corehq/apps/repeaters/views.py", line >>>> 80, in post >>>> record = self.get_record_or_404(request, domain) >>>> File "/home/ubuntu/commcare-hq/corehq/apps/repeaters/views.py", line >>>> 47, in get_record_or_404 >>>> record = RepeatRecord.get(request.GET.get('record_id')) >>>> File >>>> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/couchdbkit/schema/base.py", >>>> line 189, in get >>>> return db.get(docid, rev=rev, wrapper=cls.wrap) >>>> File >>>> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/couchdbkit/client.py", >>>> line 385, in open_doc >>>> docid = resource.escape_docid(docid) >>>> File >>>> "/home/ubuntu/.virtualenvs/commcarehq/local/lib/python2.7/site-packages/couchdbkit/resource.py", >>>> line 184, in escape_docid >>>> if docid.startswith('/'): >>>> AttributeError: 'NoneType' object has no attribute 'startswith' >>>> "POST /a/commcare/settings/project/repeat_record/ HTTP/1.0" 500 77084 >>>> 2017-05-12 17:02:24,856 ERROR "POST >>>> /a/commcare/settings/project/repeat_record/ HTTP/1.0" 500 77084 >>>> >>>> -- >>>> >>>> --- >>>> 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. >>>> >>> >>> -- >> >> --- >> 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. >> > >