def CheckRefineDialog shouldn't be attached to the "def AppendMaterialToRefineDialog".
@Leafxc or any other person who's having issues with this error,
support below concerns errors within the file interfacemodule.py at Definitions "AppendMaterialToRefineDialog" & "CheckRefineDialog" Wrong Scenario (the one you probably have):
def AppendMaterialToRefineDialog(self, vnum, count):
self.dlgRefineNew.AppendMaterial(vnum, count)
if app.ENABLE_REFINE_RENEWAL:
def CheckRefineDialog(self, isFail):
self.dlgRefineNew.CheckRefine(isFail)
Correct Scenario below:
def AppendMaterialToRefineDialog(self, vnum, count):
self.dlgRefineNew.AppendMaterial(vnum, count)
if app.ENABLE_REFINE_RENEWAL:
def CheckRefineDialog(self, isFail):
self.dlgRefineNew.CheckRefine(isFail)
Also please, double check the tab identation. Python has strict rules and you need to follow them.