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

[coll] gives tcl/tk errors with read message in threaded (default) mode #606

Open
ErickEM9 opened this issue Jan 16, 2023 · 4 comments
Open

Comments

@ErickEM9
Copy link

In this Patch if I move the number box for sometime in the main patch which controls cyclone's objects in abstractions, the patch crashes

In Pd if I create a symbol/message by using cyclone's library, in Pd window it removes the "symbol" format, I dont know if it's an issue or a feature
Crash test.zip

@porres
Copy link
Owner

porres commented Jan 16, 2023

the symbol issue, I told you, is by design and a feature, check help file of [sprintf] carefully. I also need a minimal patch to test, it's best, no need for several abstractions, try to narrow things down please. Anyway, I see a tcl/tk error I need to see where that comes from and might be causeing the issue

@porres porres changed the title Pd crash with abstraction and cyclone's library objects fo message/symbol edit [coll] gives tcl/tk errors with read message Jan 16, 2023
@porres
Copy link
Owner

porres commented Jan 16, 2023

Here's my new and minimal test patch. It's giving me several different tcl/tk errors

coll_bug.zip

@porres porres changed the title [coll] gives tcl/tk errors with read message [coll] gives tcl/tk errors with read message in threaded (default) mode Jan 16, 2023
@porres
Copy link
Owner

porres commented Jan 16, 2023

@ErickEM9, if you use the object not in threaded mode you don't get this issue, use "@threaded 0", check the help file

@porres
Copy link
Owner

porres commented Jan 17, 2023

@derekxkwan and @brbrofsvl I can't fix this :) I have no idea where the tcl/tk errors may be coming from. Of course this doesn't happen in Purr Data because.... no tcl/tk :)

Here are some of the random errors I get, I hope you can help me fix this. BTW, Cyclone 0.7 coming next month in out 7th year annyversary

(Tcl) UNHANDLED ERROR: wrong # args: should be "::pdwindow::logpost object_id level message" while executing "::pdwindow::logpost 0x0 4 pdtk_text_set .x7f9b8a42b5c0.cres/Downloads/Crash test/Ionico_Chord.txt and succeeded" ("uplevel" body line 2) invoked from within;
"uplevel #0 $docmds";
;
(Tcl) UNHANDLED ERROR: wrong # args: should be "pdtk_text_set tkcanvas tag text" while executing "pdtk_text_set .x7f9 0x0 4 tried /Users/porres/Downloads/Crash test/Frigio_Chord.txt and succeeded " ("uplevel" body line 2) invoked from within;
"uplevel #0 $docmds";
;
(Tcl) UNHANDLED ERROR: extra characters after close-brace while executing "::pdwindow::logpost 0x0 4 tried /Users/porres/Downloads/Crash test/Locrio_Chord.txt and succeeded :" ("uplevel" body line 1) invoked from within;
"uplevel #0 $docmds";
;
(Tcl) INVALID COMMAND NAME: invalid command name "::pdwindow::logpost:0x0" while executing "::pdwindow::logpost:0x0 4 tried /Users/porres/Downloads/Crash test/Misolidio_Chord.txt and succeeded " ("uplevel" body line 1) invoked from within "uplevel #0 $docmds"

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