Hello! I’ve try to use those blocks to store values in form of lists on TinyDB, but I get the error: The operation add items to list cannot accept the arguments: , [empty-string], [(Name11 Javier Peter 0 0)]
Why it say empty-string? How can I fix it?
Thanks!
That means there isn’t such this tag.So tiny db returned empty string.You must check, that you’ve stored any value to your tiny db tag.
P.S: it’s better when you work with lists and tiny db set value if tag not there to empty list.
BTW, it’s always better to set a variable to the tiny db value and use this variable in your blocks.
I finally use the block:
If “Lenght of List Get Tag List” is not 0, do this
And it works
Thanks!
I have added this, but I get the same error when trying to add a new list to the existing list
Yes. that doesn’t matter but it will be easy for you to use
this problem is because your tag is still empty so you can’t get any thing from it.
you need to try this.New users there tiny db will be empty so they will get empty string.
yes you need to replace it with the is empty block.
Sorry , but it looks like i posted before you post the blocks?
So those aren’t working??The same error occur?
No, I have changed the blocks adding the empty list when it’s the first time
Great so it’s working
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.