On Dec 25, 2013 4:12 AM, "Phil Thomson" <supercollider@xxxxxxxxxxxxxx> wrote:
> compile done
> resolve: Host not found (authoritative)
> ERROR: Non Boolean in test.
> RECEIVER:
> class NetAddr (0x39fe700) {
I don't know the solution, but I think this is what's happening.
The test that's failing is here, in Server:
newScopeBufferAllocators {
if (isLocal)
The isLocal variable gets set in Server's init method: "isLocal = inProcess || { addr.isLocal };" which leads to NetAddr:
isLocal { ^this.class.matchLangIP(this.ip) }
*matchLangIP {|ipstring|
_MatchLangIP
}
This primitive should return a boolean or throw a descriptive error, but instead, under this rare case, it simply returns the class itself, which is how NetAddr got into the "if" test.
If the SC code were fixed, though, you'd still have the "Host not found" problem, which depends on something in the OS. I'm afraid I haven't much time to look into that today, but I'm quite sure you'll have other problems with SC (maybe with networking in general) without dealing with this issue (and I don't believe it's an SC configuration problem).
hjh