<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    <br>
    -----BEGIN PGP SIGNED MESSAGE-----<br>
    Hash: SHA1<br>
    <br>
    Hi,<br>
    <br>
    Ok,I see. Thanks for the quick reply.<br>
    <br>
    I tried it interactively and the error looks the same:<br>
    <br>
    ~$ sclang<br>
    init_OSC<br>
    compiling class library..<br>
        NumPrimitives = 548<br>
        compiling dir: '/usr/share/SuperCollider/SCClassLibrary'<br>
        compiling dir: '/usr/share/SuperCollider/Extensions'<br>
        pass 1 done<br>
    numentries = 866038 / 10707624 = 0.081<br>
        4572 method selectors, 2342 classes<br>
        method table size 12713944 bytes, big table size 85660992<br>
        Number of Symbols 11134<br>
        Byte Code Size 349335<br>
        compiled 362 files in 0.51 seconds<br>
    compile done<br>
    Help tree read from cache in 0.0089280605316162 seconds<br>
    LID: event loop started<br>
    Class tree inited in 0.03 seconds<br>
    WARNING:<br>
    GUI.fromID : The GUI scheme 'swing' is not installed<br>
    The current scheme is still 'nil'!<br>
    Welcome to SuperCollider, for help type ctrl-c ctrl-h (Emacs) or<br>
    :SChelp (vim) or ctrl-U (sced/gedit)<br>
    sc3> s = Server.local;<br>
    <br>
    localhost<br>
    sc3> s.boot;<br>
    <br>
    booting 57110<br>
    localhost<br>
    sc3> Cannot connect to server socket err = Connection refused<br>
    Cannot connect to server socket<br>
    no message buffer overruns<br>
    no message buffer overruns<br>
    jackdmp 1.9.7<br>
    Copyright 2001-2005 Paul Davis and others.<br>
    Copyright 2004-2011 Grame.<br>
    jackdmp comes with ABSOLUTELY NO WARRANTY<br>
    This is free software, and you are welcome to redistribute it<br>
    under certain conditions; see the file COPYING for details<br>
    JACK server starting in realtime mode with priority 10<br>
    control device hw:0<br>
    control device hw:0<br>
    audio_reservation_init<br>
    Acquire audio card Audio0<br>
    creating alsa driver ...
    hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit<br>
    control device hw:0<br>
    configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer =
    2<br>
    periods<br>
    ALSA: final selected sample format for capture: 32bit integer<br>
    little-endian<br>
    ALSA: use 2 periods for capture<br>
    ALSA: final selected sample format for playback: 32bit integer<br>
    little-endian<br>
    ALSA: use 2 periods for playback<br>
    JackProcessSync::LockedTimedWait error usec = 5000000 err =
    Connection<br>
    timed out<br>
    Driver is not running<br>
    Cannot create new client<br>
    JackSocketClientChannel read fail<br>
    Cannot open SuperCollider client<br>
    could not initialize audio.<br>
    jackd: ../common/JackGraphManager.cpp:45: void<br>
    Jack::JackGraphManager::AssertPort(jack_port_id_t): Assertion<br>
    `port_index < fPortMax' failed.<br>
    RESULT = 1<br>
    ERROR:<br>
    server failed to start<br>
    <br>
    <br>
    Using:<br>
    s = Server.internal;<br>
    Fails too.<br>
    <br>
    Cheers<br>
    Simon<br>
    <br>
    <br>
    Am 11.10.2011 13:14, schrieb Dan S:<br>
    <span style="white-space: pre;">> Hi -<br>
      > <br>
      > Firstly, it is better to start jackd manually - that's what
      sc<br>
      > users normally do, and in particular for bug reports it
      would be<br>
      > clearer because jackd's startup procedure doesn't have to
      be<br>
      > included in the output. (It should work, though.)<br>
      > <br>
      > But the more fundamental issue is that booting the server
      is <br>
      > asynchronous, so if you run a script which contains
      "s.boot;<br>
      > s.quit;" the language doesn't wait for it to boot before it
      sends a<br>
      > quit message. The tutorial you're reading is probably
      assuming<br>
      > interactive use rather than a batch script. So I'd be
      grateful if<br>
      > you could either test interactively, running something
      like:<br>
      > <br>
      > s.boot; // then wait for a happy boot message, then: s.quit<br>
      > <br>
      > or by using a script consisting of this:<br>
      > <br>
      > s.waitForBoot{s.quit}<br>
      > <br>
      > (The waitForBoot message is a convenience method that
      starts the<br>
      > boot and then creates a Task which waits until booted
      before<br>
      > executing the function.)<br>
      > <br>
      > Dan<br>
      > <br>
      > <br>
      > <br>
      > 2011/10/11 Simon Wenner <a class="moz-txt-link-rfc2396E" href="mailto:simon.wenner@gmail.com"><simon.wenner@gmail.com></a>:<br>
      >> <br>
      > Package: supercollider Version: 1:3.4.4-1 Severity:
      important<br>
      > <br>
      > I'm unable to get any supercollider example file running.
      The<br>
      > server always fails to start. I tested different ports,
      started<br>
      > sclang as root and started jackd manually.<br>
      > <br>
      > My example sc input file (from the SC tutorial):<br>
      > <br>
      > s = Server(\myServer, NetAddr("127.0.0.1", 58009)); s.boot;
      <br>
      > s.quit;<br>
      > <br>
      > Error Output:<br>
      > <br>
      > ~$ sclang sclang.test init_OSC compiling class library.. <br>
      > NumPrimitives = 548 compiling dir:<br>
      > '/usr/share/SuperCollider/SCClassLibrary' compiling dir:<br>
      > '/usr/share/SuperCollider/Extensions' pass 1 done
      numentries =<br>
      > 866038 / 10707624 = 0.081 4572 method selectors, 2342
      classes <br>
      > method table size 12713944 bytes, big table size 85660992
      Number of<br>
      > Symbols 11134 Byte Code Size 349335 compiled 362 files in
      0.53<br>
      > seconds compile done Help tree read from cache in<br>
      > 0.0093131065368652 seconds LID: event loop started Class
      tree<br>
      > inited in 0.03 seconds WARNING: GUI.fromID : The GUI scheme
      'swing'<br>
      > is not installed The current scheme is still 'nil'! Welcome
      to<br>
      > SuperCollider, for help type ctrl-c ctrl-h (Emacs) or
      :SChelp (vim)<br>
      > or ctrl-U (sced/gedit) booting 58009 /quit sent<br>
      > <br>
      > Cannot connect to server socket err = Connection refused
      Cannot<br>
      > connect to server socket no message buffer overruns no
      message<br>
      > buffer overruns jackdmp 1.9.7 Copyright 2001-2005 Paul
      Davis and<br>
      > others. Copyright 2004-2011 Grame. jackdmp comes with
      ABSOLUTELY NO<br>
      > WARRANTY This is free software, and you are welcome to
      redistribute<br>
      > it under certain conditions; see the file COPYING for
      details JACK<br>
      > server starting in realtime mode with priority 10 control
      device<br>
      > hw:0 control device hw:0 audio_reservation_init Acquire
      audio card<br>
      > Audio0 creating alsa driver ... <br>
      > hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit control
      device<br>
      > hw:0 configuring for 48000Hz, period = 1024 frames (21.3
      ms),<br>
      > buffer = 2 periods ALSA: final selected sample format for
      capture:<br>
      > 32bit integer little-endian ALSA: use 2 periods for capture
      ALSA:<br>
      > final selected sample format for playback: 32bit integer <br>
      > little-endian ALSA: use 2 periods for playback <br>
      > JackProcessSync::LockedTimedWait error usec = 5000000 err =<br>
      > Connection timed out Driver is not running Cannot create
      new<br>
      > client JackSocketClientChannel read fail Cannot open
      SuperCollider<br>
      > client could not initialize audio. jackd:<br>
      > ../common/JackGraphManager.cpp:45: void <br>
      > Jack::JackGraphManager::AssertPort(jack_port_id_t):
      Assertion <br>
      > `port_index < fPortMax' failed. RESULT = 1 ERROR: server
      failed to<br>
      > start<br>
      > <br>
      > <br>
      > --- System information. --- Architecture: amd64 Kernel:
      Linux<br>
      > 3.0.0-1-amd64<br>
      > <br>
      > Debian Release: wheezy/sid 990 testing security.debian.org
      990<br>
      > testing mirror.switch.ch 800 unstable mirror.switch.ch 150<br>
      > experimental mirror.switch.ch<br>
      > <br>
      > --- Package information. --- Depends (Version) | Installed
      <br>
      > ======================================-+-==============
      libc6 (>=<br>
      > 2.2.5) | 2.13-21 libgcc1 (>= 1:4.1.1) | 1:4.6.1-4
      libreadline6 (>=<br>
      > 6.0) | 6.2-4 libsclang1 | 1:3.4.4-1 libstdc++6 (>=
      4.1.1) |<br>
      > 4.6.1-4 supercollider-common (= 1:3.4.4-1) | 1:3.4.4-1 <br>
      > supercollider-server | 1:3.4.4-1<br>
      > <br>
      > <br>
      > Package's Recommends field is empty.<br>
      > <br>
      > Suggests (Version) | Installed <br>
      > ================================-+-=========== subversion |<br>
      > 1.6.17dfsg-1 supercollider-doc | 1:3.4.4-1<br>
      > <br>
      > <br>
      > <br>
      > <br>
      >> <br>
      >> <br>
      >> <br>
      >> </span><br>
    _______________________________________________<br>
    pkg-multimedia-maintainers mailing list<br>
    <a class="moz-txt-link-abbreviated" href="mailto:pkg-multimedia-maintainers@lists.alioth.debian.org">pkg-multimedia-maintainers@lists.alioth.debian.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers</a><br>
    <span style="white-space: pre;">>> </span><br>
    <br>
    -----BEGIN PGP SIGNATURE-----<br>
    Version: GnuPG v1.4.11 (GNU/Linux)<br>
    Comment: Using GnuPG with Mozilla - <a class="moz-txt-link-freetext" href="http://enigmail.mozdev.org/">http://enigmail.mozdev.org/</a><br>
    <br>
    iQIcBAEBAgAGBQJOlC/SAAoJEMMF4eNtCPQVRaoP/1b9X840nx4SxbEGlEop9QrX<br>
    7NQmjijpeP+wuCoteLcQl4JsRh7qNXL6oDRIsm9FZpwI9IK++DHfltKNcKtVLWQL<br>
    B0qmmfgD308sJ0OdUyt18cSBfA5WOB38mo+DFq0UwrEOG8SsfiL6sx5HRyxKfPXG<br>
    3W6OpHLYbjJarIy9PvIHOnJ7atXV0EfkY3a64HETFa6K4aJOuTELc4oIDLQY3AZe<br>
    ihihcEoGBbkV4SnAyY5VvS9w/8ZSa0nX+Q4XnvkRDPNGWMUcbIOohfZP/GOoImGe<br>
    7bf6NviRwphlziJNKL50tQmg/qrNigU58b1viYSUs4Nl1kAJ5k1q7Zdu4Q99ECqE<br>
    jYvRe4mS1k53/GQZbUjWlwaQtAJtL7WmhOk9lAV1FzTX7M23GGGRzjZj+aZTJRiG<br>
    idBFJOqJpbgDFd2lm+37hsxjMTJunAryFjiDgFOwZYOrSwUv6Yl1OlehzzGXo/Dm<br>
    H5yYpvCps7h6xMrs8TsayHqUF7ZtY4kZZvkSFYIw9PCcvJXiGqS/0EDTQZzi8Ppp<br>
    Q/SBn6bQV5iRoUhogu0BwYh2FmKivNfAsHbsIlYAhnvLxaEW1ReGOCfJ1Sxrw0sd<br>
    XEG/NAu/YHhesLYjIYPs1IEx+CK6IzUP8gYSwfqZbtLx6kk2NbQTmXQpBbWqzsqg<br>
    2fZ8che7nzH4TiLooV6e<br>
    =hU+b<br>
    -----END PGP SIGNATURE-----<br>
    <br>
  </body>
</html>