Hello David,
this is a short example:
list1 = ['a', 'b', 'c', 'd']
list2 = ['e', 'f', 'g', 'h']
string1 = 'str123'
string2 = 'str456'
# right
print string1 + string2 # concatenate string with string
print list1 + list2 # concatenate list with list
print list1[0] + string1 # concatenate string with string
# wrong
print string1 + list1 # try to concatenate string with list
You can concatenate string with string, not string with list. In a list can be more strings. There is a string on 0 position at list1.
In your case, the type of one of these values is a list (objName, selType, v).
To check that, use this:
print type(objName)
print type(selType)
print type(v)
Hope you understand :).
Best,
Remus