Skip to content
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

Pop-up Window Example "ERROR: Non Boolean in test." #41

Open
mmmstream opened this issue Jun 18, 2021 · 1 comment
Open

Pop-up Window Example "ERROR: Non Boolean in test." #41

mmmstream opened this issue Jun 18, 2021 · 1 comment

Comments

@mmmstream
Copy link

mmmstream commented Jun 18, 2021

When running the "Pop-up Window" example code here https://tidalcycles.org/docs/reference/cycles, for me all that happens is these warnings spam the post window and only the clockText shows up as the GUI.

ERROR: Non Boolean in test.
RECEIVER:
nil
PROTECTED CALL STACK:
Meta_MethodError:new 0x55e81db3a640
arg this = MustBeBooleanError
arg what = nil
arg receiver = nil
Object:mustBeBoolean 0x55e81d5dd9c0
arg this = nil
DirtSoundLibrary:getEvent 0x55e81e5cefc0
arg this = a DirtSoundLibrary
arg name = tick
arg index = none
var allEvents = nil
var event = ( 'instrument': tick, 'hash': 1325211871 )
DirtEvent:mergeSoundEvent 0x55e81daef800
arg this = a DirtEvent
var soundEvent = nil
a FunctionDef 0x55e81daeed00
sourceCode = ""
a FunctionDef 0x55e81e9e5000
sourceCode = ""
Function:prTry 0x55e81ddc5440
arg this = a Function
var result = nil
var thread = a Thread
var next = nil
var wasInProtectedFunc = false

CALL STACK:
MethodError:reportError
arg this =
Nil:handleError
arg this = nil
arg error =
Thread:handleError
arg this =
arg error =
Object:throw
arg this =
Function:protect
arg this =
arg handler =
var result =
Environment:use
arg this =
arg function =
var result = nil
var saveEnvir =
DirtEvent:play
arg this =
OSCFuncRecvPortMessageMatcher:value
arg this =
arg msg = [*9]
arg time = 2174.32897954
arg addr =
arg testRecvPort = 57120
OSCMessageDispatcher:value
arg this =
arg msg = [*9]
arg time = 2174.32897954
arg addr =
arg recvPort = 57120
Main:recvOSCmessage
arg this =
arg time = 2174.32897954
arg replyAddr =
arg recvPort = 57120
arg msg = [*9]
^^ The preceding error dump is for ERROR: Non Boolean in test.
RECEIVER: nil

@mmmstream mmmstream reopened this Jun 18, 2021
@mmmstream mmmstream changed the title Popup Window Example not working. Pop-up Window Example "ERROR: Non Boolean in test." Jun 18, 2021
@jqueraltmo
Copy link
Collaborator

jqueraltmo commented Jan 6, 2023

I've just tested this example and it worked well.

It's been a long time since @mmmstream reported this, and it doesn't seem to be a problem with the documentation itself, but I'll leave this open for a while in case someone can reproduce this error or give some more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants