I upgraded to v7.5.8 this morning and coincidentaly the following script appears to have stopped functioning.
[code]tableName = event.source.parent.parent.RecipeTable
LoadedRecipe = event.source.parent.parent.Selected_Recipe
subPath = event.source.parent.parent.subPath +"/"
numTagList = [x.strip() for x in event.source.parent.numTagList.split(’,’)]
boolTagList = [x.strip() for x in event.source.parent.boolTagList.split(’,’)]
tagString = tableName+’_ndx’
tagList=[subPath+“LoadedRecipe”]
for tag in numTagList:
tagString += ‘,’ + tag
tagList.append(subPath+tag)
for tag in boolTagList:
tagString += ‘,’ + tag
tagList.append(subPath+tag)
qrySp = system.db.runPrepQuery(‘Select %s from %s Where %s_ndx = ?’ % (tagString,tableName,tableName),[LoadedRecipe])
LoadSp = list(qrySp[0])
success = system.tag.writeAll(tagList,LoadSp)
print success
[/code]
the success print is returning an array of 1’s and it is not throwing an error but the tags are not updating. It worked yesterday in v 7.5.5.
Any thoughts?
Thanks.