Quantcast
Channel: Grasshopper - McNeel Forum
Viewing all articles
Browse latest Browse all 39529

TypeErrorException shows up on GhPython but not python shell

$
0
0

@nkal wrote:

I am using a library called py_openshowvar to communicate with a Kuka robot arm from grasshopper. Everything works fine if I run the program from a command line python shell. However, when I run the same thing from GhPython, I get the following TypeErrorException. Not sure why I get the exceptions with GhPython but not when I run it outside the GH environment. The program still connects to the server and retrieves/sends the info I need, but i want to make sure and address this exception. Below is a screenshot, let me know if anyone needs to see more of the code to help me out.

Thanks!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 39529

Trending Articles