Page 1 of 1

Tip on OSC(Global)-1

Posted: Mon Feb 11, 2013 12:05 am
by jnevin
With the OSC(Global)-1 module -- the most recent version available) -- and with earlier versions, the module was throwing the error:

Code: Select all

socket.gaierror: (8, 'nodename nor servname provided, or not known')


As a result, the module was not outputting, or receiving, OSC messages.

The solution was to edit the module's script: Modules --> Editor --> 'OSC (global)-1'

I commented out the following line as so:

#ip = socket.gethostbyname(socket.gethostname())

and added the revised line, for working on my local computer only:

p = socket.gethostbyname('localhost')

This correction then allowed the script to run and to communicate properly with external OSC tools.