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

Question about namespaces #3

Open
ErnestoAzuero opened this issue Jul 22, 2017 · 5 comments
Open

Question about namespaces #3

ErnestoAzuero opened this issue Jul 22, 2017 · 5 comments

Comments

@ErnestoAzuero
Copy link

Hello, I am newbie in coding and I have been working Gibber with Max/Msp and I love to live coding with it.
Although, problems emerge when you begin to go experiment and try to go deeper.

I want to know how can I repeat or change numbers and messages inside namespaces. My patch is very simple and is made just for testing routing and coding with it:
[gibber] --->[route A B C]--A-->[Live.toggle]
the idea is to be able to make the transport object to go on and of with this configuration.
Code:
timetog = namespace ('A')
timetog (1)
timetog ('1')
timetog ('0')
timetog ('1')

When I do all the code this message pops out on the console "error with user submitted code: TypeError: Cannot read property 'textMarkers' of undefined"

This is a problem if I want to make variations on things attached to the namespaces, because you can not go further if you make two or three changes. If someone could teach me how can I avoid this or if someone can explain to me in more detail how to manage this kind of variations.

Thanx

:)
E.

@charlieroberts
Copy link
Collaborator

Somebody else brought up a similar problem in an email to me... I'm going to take a look at it now and see if I can fix it. - Charlie

@charlieroberts
Copy link
Collaborator

Actually, your example works fine for me; strange. Are you sure that this code, by itself, throws an error for you? It works fine for me if I execute it both line by line or all at once.

@grrrwaaa
Copy link
Collaborator

grrrwaaa commented Jul 22, 2017 via email

@ErnestoAzuero
Copy link
Author

Actually, your example works fine for me; strange. Are you sure that this code, by itself, throws an error for you? It works fine for me if I execute it both line by line or all at once.

Hi Charlie.
Well, Now it does not send me the pop up error on the console, but it does not trigger the toggle the second time.

@ErnestoAzuero
Copy link
Author

On phone so cant check right now, but maybe one thing to watch for is that gibberwocky depends on Max’s main transport for timing, so if you’re starting & stopping a transport it needs to not be the main one

Graham
I see your point but, this message appears very often when I do "refresh" a part of the code.
One thing I would like to precise, I always use private mode on my browser... Could it be an issue?

Thanx for the help guys! I want to master this!
:)

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

3 participants