The method referenced in template.py below (_template.upload_templatexml) does not exist in hydra base. It looks as if it has been renamed there (_import_templatexml), so either it needs to be renamed to match in hydra server or the one in hydra base (_import_templatexml) should be renamed back to _upload_templatexml.
@rpc(Unicode, _returns=Template)
def upload_template_xml(ctx, template_xml):
"""
Add the template, type and typeattrs described
in an XML file.
Delete type, typeattr entries in the DB that are not in the XML file
The assumption is that they have been deleted and are no longer required.
"""
tmpl_i = template.upload_template_xml(template_xml,
**ctx.in_header.__dict__)
The method referenced in template.py below (_template.upload_templatexml) does not exist in hydra base. It looks as if it has been renamed there (_import_templatexml), so either it needs to be renamed to match in hydra server or the one in hydra base (_import_templatexml) should be renamed back to _upload_templatexml.