-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After update to 0.3.2 server seems not to boot anymore #23
Comments
|
Thanks for the report ! We can see that it boots up okay and compiles. So its something on the atom side. run these in shift-cmd-P
That might post some errors.
This means that it thinks its still not compiled. It will post "library not compiled" to the console. I will make it post that to the post-window instead. are you running it in classic-repl mode ? |
Ah, its the *** *** Welcome to SuperCollider 3.7alpha0. *** For help type cmd-d. and my regex failed because of that. my sc is not up to date. the *** were added in april. I did a fix for this and published it. I have to rework the compile detection stuff. sc is very unstructured when it posts errors. I'm trying to read it and convert it into usable info without being too brittle and dependent on little things like a formatting change that can break it. |
Okay, it's almost there now, looks very promising! I'll describe what I get now and follow your debug tips then.
If then I recompile sc-classes using cmd-shift the server eventually boots (not the first time), but the postwindow-message contains a "[H�[2J". But hey, I got a tone :):
The second time I tried unsucessfully to boot (after successfully starting the interpreter) the developer console opened and produced this message:
PS: if it's somehow possible / unproblematic to use your github repo directly rather than going through the atom-package update process, I am happy to do that so that you don't have to push a release each time you add a little fix. And as closing word: this project is very-very cool - can't wait to use sc in the Emacs of the future :) |
Not to mention the cool concept of assembling everything you work within a single folder. Btw., I was wondering if it wouldn't be nice to offer the option of using the new sclang parameter -a (it's in master). It prevents sc from looking into any paths except the ones specified in the sclang_config.yaml (or, as it were, your "on the fly"-data). |
Actually I get the "Library is not compiled" and "[H�[2J" each time I evaluate something (but it plays):
|
those are terminal commands. seufz. sclang should not be emitting terminal commands unless it has determined that its talking to a terminal. that screws up all clients (emacs, supercoliderjs, sublime) ESC[2J clears the whole screen ESC[H means move the cursor to home I'm filtering them out now. I should file an sclang bug on it too. |
I believe I've fixed this now. It was posting not compiled because I left a debug statement in (before morning coffee). Various cases where I needed a newline before the SUPERCOLLIDERJS commands because sclang was posting sc3> prompts Filtered out any prompts and terminal escape codes. Stopped the ugly color commands intended for the terminal from ending up in the Atom console. (these things: [90m debug - [39m Fixed SyntaxError display Try it out when you get a chance, thanks ! |
Didn't know about that one. I'll just forward any flags you set in the conf Dan says to try setting -i to ''
or it could just be a raw string to pass on. I don't want to overengineer or complicate it.
|
Very cool! I'll try it asap. At the moment npm is still giving an error, probably too early. |
try now, I forgot to publish On Thu, Oct 2, 2014 at 5:39 PM, Rainer Schütz notifications@github.com
|
Yess, it's there and looks clean now! Will start playing now. Thanks a lot! |
This syntax seems not to work though:
I tried a few variants but none seemed to have any influence... Did you mean to say you had implemented passing on arguments? I thought so but not sure now... |
oh sorry ! I was proposing that, but I didn't do it yet. I want to avoid having too many custom features that diverge from sc-ide. but specifying sclang args seems appropriate. adding includePaths: quarks to a project is be really nice. people can install quarks with git, by downloading the source or by using a command in atom could take a quark name or git url and it would just its important to go slow with these decisions though. On Thu, Oct 2, 2014 at 7:01 PM, Rainer Schütz notifications@github.com
|
|
re: the help files. there might be a fix someday for that. but not too many devs have time I want to make a function that dumps the whole class tree, methods, help file paths to a json file. there are many uses for a data set like that.
which would solve the helpfile problem. |
Hi,
I was just trying to work out how to use sc-atom and sc-ide togeter when you pushed the 0.3.2 update that allows for an independent use. That's very cool.
Unfortunately things don't work anymore. I can eval s.boot, or do postwindow-open and the classes will compile as expected - no life sign of the server, and after the end of this process key combinations like shift-enter or cmd-shift-k are dead. Cmd-shift-p still works, calling the help-system never works.
The startup-process posts this:
init_OSC
empty
compiling class library...
NumPrimitives = 704
compiling dir: '/Users/rainer/Library/Application Support/SuperCollider/Extensions'
excluding dir: '/Users/rainer/Library/Application Support/SuperCollider/Extensions/classes'
excluding dir: '/Users/rainer/Library/Application Support/SuperCollider/Extensions/quarks'
compiling dir: '/Users/rainer/Projects/supercollider/atom'
excluding dir: '/Users/rainer/Projects/supercollider/atom/ExtClasses/sc3-plugins/LadspaUGen'
compiling dir: '/Users/rainer/.atom/packages/supercollider/node_modules/supercolliderjs/lib/sc-classes'
pass 1 done
numentries = 1565340 / 26488640 = 0.059
7015 method selectors, 3776 classes
method table size 26189856 bytes, big table size 211909120
Number of Symbols 17608
Byte Code Size 591296
compiled 659 files in 1.79 seconds
Info: 15 methods are currently overwritten by extensions. To see which, execute:
MethodOverride.printAll
compile done
Class tree inited in 0.03 seconds
Cleaning up temp synthdefs...
*** Welcome to SuperCollider 3.7alpha0. *** For help type cmd-d.
My .supercollider.yaml looks like this:
sclang: /Users/rainer/Applications/SuperCollider/SuperCollider.app/Contents/Resources/sclang
scsynth: /Users/rainer/Applications/SuperCollider/SuperCollider.app/Contents/Resources/scsynth
debug: true
echo: true
stdin: true
langPort: 57120
serverPort: 57110
host: 127.0.0.1
protocol: udp
websocketPort: 4040
includePaths:
- ~/Projects/supercollider/atom
- ~/Library/Application Support/SuperCollider/Extensions/plugins
excludePaths:
- ~/Library/Application Support/SuperCollider/Extensions/classes
- ~/Library/Application Support/SuperCollider/Extensions/quarks
- ~/Library/Application Support/SuperCollider/Extensions/scide_scel
- ~/Applications/SuperCollider/SuperCollider.app/Contents/Resources/SCClassLibrary
- ~/Projects/supercollider/atom/ExtClasses/sc3-plugins/DEINDUGens/faust_src
- ~/Projects/supercollider/atom/ExtClasses/sc3-plugins/LadspaUGen
postInlineWarnings: false
Its on OSX 10.9.5
Best
.r.
The text was updated successfully, but these errors were encountered: