@Kassen: I know that every once in a while I come across a linux system where localhost isn't set up in /etc/hosts. I don't know the circumstances when you don't want it there, but it could be that packages set up the hosts file as needed, and Romain just hasn't installed a package that needed the localhost name.

Unix hackers probably think it's just an unnecessary hassle: "why write localhost when I can write 127.0.0.1" ;)

/Stefan


On Tue, Nov 20, 2012 at 8:50 PM, Stefan Blixt <stefan.blixt@gmail.com> wrote:
Hehe I half didn't expect that to be the problem actually, glad it helped! :) 
It's possible that other applications suffer from this, so you might want to check the file /etc/hosts, and see if you can add localhost on a line of its own in there, like this:

127.0.0.1       localhost

This will solve this problem generally, and the chuck examples will work out of the box.

/Stefan


On Tue, Nov 20, 2012 at 7:38 PM, Romain Michon <rmichon@ccrma.stanford.edu> wrote:
Thanks guys for your fast answers! I replaced localhost with 127.0.0.1 and it now works like a charm!

Cheers,

Romain


On 11/20/2012 03:59 AM, Stefan Blixt wrote:
This is just a wild shot, and since you're using Ubuntu you're probably familiar with this stuff, but sometimes "localhost" doesn't work. To eliminate this, replace "localhost" with "127.0.0.1" in your source files and try again.

Probably not the solution, but you never know.

BTW, OSC_send.ck and OSC_receive.ck worked here on my Mac.

/Stefan


On Tue, Nov 20, 2012 at 7:56 AM, Romain Michon <rmichon@ccrma.stanford.edu> wrote:
Hi List,

I'm totally new in the Chuck world!
I'm trying to use the OSC examples provided at http://chuck.cs.princeton.edu/doc/examples/osc/ and both

chuck OSC_send.ck OSC_receive.ck

and

chuck s.ck r.ck

don't work on machine. In the first case, OSC_send.ck seems to send correctly the OSC messages (it returns sent (via OSC): 0.895094 ...) but OSC_receive.ck never get them. r.ck runs the sine wave oscillator fine but never receive the messages sent by s.ck. I didn't make any change to the files (except for the path to the audio file in OSC_receive.ck, of course ;) ).

I tried to send OSC messages to both OSC_receive.ck and r.ck with SuperCollider and PureData without any success. OSC works fine to communicate inside and between these two programs though.

Am I missing some flags/options?

I'm running chuck on Ubuntu 12.04 64bits.

Thanks a lot for your help!

Cheers,

Romain
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users



--
Release me, insect, or I will destroy the Cosmos!


_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users


_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users




--
Release me, insect, or I will destroy the Cosmos!



--
Release me, insect, or I will destroy the Cosmos!