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

Pianoteq User Presets not as tuple #63

Closed
mheidt opened this issue Feb 3, 2019 · 2 comments
Closed

Pianoteq User Presets not as tuple #63

mheidt opened this issue Feb 3, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@mheidt
Copy link
Contributor

mheidt commented Feb 3, 2019

in get_user_presets there is

user_presets.append((preset_path,None,preset_title,None))

means, it is a tupel

but the preset list itself contains mainly arrays, which means that in
generate_presets_midimapping you get this

INFO:root:('My Presets/Steinway D Prelude (444)', None, 'MY/Prelude (444)', None)
DEBUG:root:None
ERROR:root:'tuple' object does not support item assignment
INFO:root:['Steinway D Prelude', None, 'Prelude', None]

We should fix this, when we have the new pianoteq api

@jofemodo jofemodo changed the title Pianoteq User Presets not as tupel Pianoteq User Presets not as tuple Feb 12, 2019
@jofemodo
Copy link
Member

jofemodo commented Feb 12, 2019

@mheidt , could you test if it works now? ;-)

Thanks!

@jofemodo jofemodo reopened this Feb 12, 2019
@jofemodo jofemodo self-assigned this Feb 13, 2019
@jofemodo jofemodo added the bug Something isn't working label Feb 13, 2019
@mheidt
Copy link
Contributor Author

mheidt commented Feb 15, 2019

I don't see the error anymore...thumbs up

@mheidt mheidt closed this as completed Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants