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

Doesn't want to co-exist with Toga #3

Open
xmacex opened this issue Nov 29, 2023 · 3 comments
Open

Doesn't want to co-exist with Toga #3

xmacex opened this issue Nov 29, 2023 · 3 comments

Comments

@xmacex
Copy link
Contributor

xmacex commented Nov 29, 2023

Hi. Repl mod does not want to co-exist with toga, the TouchOSC grid emulator thing which monkey-patches the grid interface on norns.

It's a bit funny because some scripts work, other don't get any traffic between norns and TouchOSC, and some crash norns. Disabling repl makes toga work. I think it has to do with repl intercepting OSC messages, and maybe not passing on the ones it isn't concerned with.

Please let me know if I can help triage and debug somehow e.g. by running a development branch etc. or placing print statements in the code or something.

Cheers :)

p3r7 added a commit that referenced this issue Nov 29, 2023
@p3r7
Copy link
Owner

p3r7 commented Nov 29, 2023

the commit i just did might be a fix.

@xmacex
Copy link
Contributor Author

xmacex commented Aug 16, 2024

Sorry I didn't come back to this. I am using toga occasionally nowadays, and I'll try to see if it's ok now. Super mod!

@xmacex
Copy link
Contributor Author

xmacex commented Aug 18, 2024

Yes I think that does it. At least now n.Kria, MLRE, Buoys, Awake-Passersby and Dreamsequence seem to run fine while REPL mod is enabled.

I still see

togagrid connect!
togagrid: add new toga client   192.168.1.54:8002
/home/we/dust/code/toga/lib/togagrid.lua:108: attempt to call a nil value (field 'old_osc_in')
stack traceback:
        /home/we/dust/code/toga/lib/togagrid.lua:108: in upvalue 'script_osc_in'
        /home/we/dust/code/repl/lib/repl_osc_gw.lua:77: in function 'core/osc.event'
        /home/we/norns/lua/core/osc.lua:109: in function </home/we/norns/lua/core/osc.lua:107>

when togagrid and repl are both enabled and I start connect togagrid, but seems to work ok. And: I can see there error in the REPL mod so that's cool.

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