# System.tag.writeall?

**URL:** <https://forum.inductiveautomation.com/t/system-tag-writeall/6449>\
**Category:** Ignition\
**Created:** [May 11, 2013, 11:44pm UTC](https://forum.inductiveautomation.com/t/system-tag-writeall/6449 "2013-05-11T23:44:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![WKetcham](https://avatars.discourse-cdn.com/v4/letter/w/c57346/32.png) [@WKetcham](https://forum.inductiveautomation.com/u/WKetcham)\
**Post date:** [May 11, 2013, 11:44pm UTC](https://forum.inductiveautomation.com/t/system-tag-writeall/6449/1 "2013-05-11T23:44:06Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 12, 2013, 12:09am UTC](https://forum.inductiveautomation.com/t/system-tag-writeall/6449/2 "2013-05-12T00:09:12Z")

</div>

_sigh_

I tracked down the commit that broke it - it worked until 7.5.7 and now doesn’t work in 7.5.8. I guess we’ll need a 7.5.9-beta1 going up on Monday along with the 7.6.1-beta1.

---

<div class="post-metadata">

**Author:** ![WKetcham](https://avatars.discourse-cdn.com/v4/letter/w/c57346/32.png) [@WKetcham](https://forum.inductiveautomation.com/u/WKetcham)\
**Post date:** [May 12, 2013, 12:21am UTC](https://forum.inductiveautomation.com/t/system-tag-writeall/6449/3 "2013-05-12T00:21:14Z")

</div>

Kevin,

Thanks for the reply. Does this issue exist for the system.tag.write as well?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 12, 2013, 12:34am UTC](https://forum.inductiveautomation.com/t/system-tag-writeall/6449/4 "2013-05-12T00:34:13Z")

</div>

It looks like system.tag.write() can be used as a workaround for now, good idea.

---

<div class="post-metadata">

**Author:** ![pphillips](https://avatars.discourse-cdn.com/v4/letter/p/da6949/32.png) [@pphillips](https://forum.inductiveautomation.com/u/pphillips)\
**Post date:** [May 23, 2013, 2:10pm UTC](https://forum.inductiveautomation.com/t/system-tag-writeall/6449/5 "2013-05-23T14:10:11Z")

</div>

I know things have been hectic there lately, but are we going to see a 7.5.9? I had to roll back to 7.5.6 from 7.5.7 and 7.5.8, both of which have fatal bugs for me.

Got a mature project that I would like to land on a good stable version…

Thanks.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 23, 2013, 2:22pm UTC](https://forum.inductiveautomation.com/t/system-tag-writeall/6449/6 "2013-05-23T14:22:59Z")

</div>

A 7.5.9 beta/release candidate is coming soon (today, I think…). Release will follow that.

Sorry for the hassle lately.
