print('WARNING: You set the attribute',name,'to',f'{val}, but there does not exist a property with the name '+name+'. Check whether its a typo!',file=sys.stderr)
warnings.warn(f'WARNING: You set the attribute {name} to {val}, but there does not exist a property with the name {name}. Check whether its a typo!')