Skip to content

Invalid JSON response from POCO

We have a POCO with an odd name that is breaking the structures list. If we remove the POCO, it starts working again. But, the next structure update will restore it.

Error is: DataTables warning: table id=tab_pocos - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1

Name of POCO is: <localized hint="Customs Office">Customs Office*</localized> (FSW-3C X)

The code to clean up the poco name doesn't work in this case:

        match = re.search(r"Planet ((\S+))", poco.eve_planet.eve_type.name)
        if match:
            planet_type_name = match.group(1)
        else:
            planet_type_name = poco.name

All of our other POCOs have the word "Planet" in them. Not sure why this one is different.

Edited by mjc666