--> --> -->
 
 
<type 'exceptions.AttributeError'>
Python 2.7.12: C:\Program Files (x86)\Python27\python.exe
Tue Nov 30 19:18:31 2021

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 C:\inetpub\biocase363\www\querytool\main.cgi in ()
     57         schema = schemaObj.NS
     58         for conObj in schemaObj.concepts:
=>   59             conDict = {'label_display':conObj.label.replace('_',' '), 'label':conObj.label}
     60             if not conObj.cops == u'~':
     61                 optionHtml = getDropDownHtml('cop%s'%conObj.label, [c for c in conObj.cops] )
conDict = {'copOptions': '', 'label': u'Country', 'label_display': u'Country'}, conObj = QTConcept: label=None, NS=http://www.tdwg.o...t/Gathering/NamedAreas/NamedArea/AreaName, cops=~, conObj.label = None, conObj.label.replace undefined

<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'replace'
      args = ("'NoneType' object has no attribute 'replace'",)
      message = "'NoneType' object has no attribute 'replace'"