Dec-05-2018, 06:17 AM
aaannndd some coffee and backing away from my problem solved it.
The error I got was "expecting 'view' but got List[object]", now 'view' is a program-specific name but I was using a list. 100% sure.
Now:
I did use a list, my coding above did work.
HOWEVER I used a function which also has another variable. No problem, however I used a listobject there.
So I was looking at the wrong 'list'-issue.
Solution: for v, fp in zip(lista, listc) etc.etc.
pfff.
The error I got was "expecting 'view' but got List[object]", now 'view' is a program-specific name but I was using a list. 100% sure.
Now:
I did use a list, my coding above did work.
HOWEVER I used a function which also has another variable. No problem, however I used a listobject there.
So I was looking at the wrong 'list'-issue.
Solution: for v, fp in zip(lista, listc) etc.etc.
pfff.