@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.<div>
<br></div><div>Unix hackers probably think it's just an unnecessary hassle: "why write localhost when I can write 127.0.0.1" ;)</div><div><br></div><div>/Stefan</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Nov 20, 2012 at 8:50 PM, Stefan Blixt <span dir="ltr"><<a href="mailto:stefan.blixt@gmail.com" target="_blank">stefan.blixt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>Hehe I half didn't expect that to be the problem actually, glad it helped! :) </div><div>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:<br>

</div></div><div><br></div><div><div>127.0.0.1       localhost</div></div><div><br></div><div>This will solve this problem generally, and the chuck examples will work out of the box.</div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>/Stefan</div></font></span><div class="HOEnZb"><div class="h5">
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 20, 2012 at 7:38 PM, Romain Michon <span dir="ltr"><<a href="mailto:rmichon@ccrma.stanford.edu" target="_blank">rmichon@ccrma.stanford.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Thanks guys for your fast answers! I replaced localhost with
    127.0.0.1 and it now works like a charm!<br>
    <br>
    Cheers,<br>
    <br>
    Romain<div><div><br>
    <br>
    <div>On 11/20/2012 03:59 AM, Stefan Blixt
      wrote:<br>
    </div>
    <blockquote type="cite">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.
      <div>
        <br>
      </div>
      <div>Probably not the solution, but you never know.<br>
        <div><br>
        </div>
      </div>
      <div>BTW, OSC_send.ck and OSC_receive.ck worked here on my Mac.</div>
      <div><br>
      </div>
      <div>/Stefan</div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Tue, Nov 20, 2012 at 7:56 AM, Romain
          Michon <span dir="ltr"><<a href="mailto:rmichon@ccrma.stanford.edu" target="_blank">rmichon@ccrma.stanford.edu</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            Hi List,<br>
            <br>
            I'm totally new in the Chuck world!<br>
            I'm trying to use the OSC examples provided at <a href="http://chuck.cs.princeton.edu/doc/examples/osc/" target="_blank">http://chuck.cs.princeton.edu/doc/examples/osc/</a>
            and both<br>
            <br>
            chuck OSC_send.ck OSC_receive.ck<br>
            <br>
            and<br>
            <br>
            chuck <a href="http://s.ck" target="_blank">s.ck</a> <a href="http://r.ck" target="_blank">r.ck</a><br>
            <br>
            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. <a href="http://r.ck" target="_blank">r.ck</a>
            runs the sine wave oscillator fine but never receive the
            messages sent by <a href="http://s.ck" target="_blank">s.ck</a>. I didn't make
            any change to the files (except for the path to the audio
            file in OSC_receive.ck, of course ;) ).<br>
            <br>
            I tried to send OSC messages to both OSC_receive.ck and <a href="http://r.ck" target="_blank">r.ck</a>
            with SuperCollider and PureData without any success. OSC
            works fine to communicate inside and between these two
            programs though.<br>
            <br>
            Am I missing some flags/options?<br>
            <br>
            I'm running chuck on Ubuntu 12.04 64bits.<br>
            <br>
            Thanks a lot for your help!<br>
            <br>
            Cheers,<br>
            <br>
            Romain<br>
            _______________________________________________<br>
            chuck-users mailing list<br>
            <a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton.edu</a><br>
            <a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        Release me, insect, or I will destroy the Cosmos!<br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
chuck-users mailing list
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton.edu</a>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Release me, insect, or I will destroy the Cosmos!<br>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Release me, insect, or I will destroy the Cosmos!<br>
</div>