ValueError: invalid literal for int() with base 10: 'cocunut_tree'
I am not familiar with the function you are using but I am familiar with the error. You are using a string literal where it is expecting an integer. It is attempting to cast 'cocunut_tree' to an integer and failing.
~ learn.finaldraftmapping.com