tomduncalf / ubermap

No longer maintained, please see forks (linked). Ubermap is a script for Ableton Live to allow Push users to create custom parameter mappings for VST and AU plugins on the Push display.
94 stars 27 forks source link

Forked for live 9.7/10.0.1 #12

Closed Beennnn closed 6 years ago

Beennnn commented 7 years ago

I created a forked project to push changes I made to fix it for live 9.7.1 with ClyphX. See: https://github.com/Beennnn/ubermap

tomduncalf commented 6 years ago

Hey, sorry I only just saw this, I didn't realise Github wasn't emailing me about issues and I haven't looked at this project for a long time due to other commitments. I'm glad you've been able to keep the script working, that was my hope with making it open source!

I'd be happy to signpost your fork from the main README if you are still maintaining it? I'd love to come back and work more on Ubermap one day, I had loads of ideas for stuff to add to it but time is unfortunately quite limited at the minute. I'll be sure to try out your fork when I have some time to play with Push again :)

Thanks! Please feel free to contact me if you have any questions and I'll do what I can to help, and let me know if you are happy for me to mention your fork in the README.

Tom

Beennnn commented 6 years ago

Hi Tom!

Thanks for your work !

I decided to make it change because I couldn’t find a better approach. Feel free to include my changes back to yours and make it work in the original project if you want ! By now if you want to create a link to my fork in the readme I think it is a good idea to help those who are inserested to use it with a recent version of live.

Some changes I made were necessary to make it work with clyphX with a change in imports management. We may discuss about it if you want.

Thanks,

Ben.

Le jeu. 28 déc. 2017 à 13:05, Tom Duncalf notifications@github.com a écrit :

Hey, sorry I only just saw this, I didn't realise Github wasn't emailing me about issues and I haven't looked at this project for a long time due to other commitments. I'm glad you've been able to keep the script working, that was my hope with making it open source!

I'd be happy to signpost your fork from the main README if you are still maintaining it? I'd love to come back and work more on Ubermap one day, I had loads of ideas for stuff to add to it but time is unfortunately quite limited at the minute. I'll be sure to try out your fork when I have some time to play with Push again :)

Thanks! Please feel free to contact me if you have any questions and I'll do what I can to help, and let me know if you are happy for me to mention your fork in the README.

Tom

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tomduncalf/ubermap/issues/12#issuecomment-354278444, or mute the thread https://github.com/notifications/unsubscribe-auth/ARM38QIF6CzQy-8j-bm1buzG93fsLFsMks5tE4QZgaJpZM4OVcV8 .

Beennnn commented 6 years ago

Hi Tom,

Ableton 10 is out. Init scripts for push and push2 have slightly changed. I made these changes, compiled, and I am testing it by now.

I think ubermap is a great improvement, and It could be useful for other users.

How would it possible to pusblish it as an update of your original work to make it more visible for the community ?

I don’t really understand what you mean by signpost but I let you decide what you think would be the best approach.

Thanks,

Ben.

Le jeu. 28 déc. 2017 à 13:13, Benoît Besson benoit.besson@gmail.com a écrit :

Hi Tom!

Thanks for your work !

I decided to make it change because I couldn’t find a better approach. Feel free to include my changes back to yours and make it work in the original project if you want ! By now if you want to create a link to my fork in the readme I think it is a good idea to help those who are inserested to use it with a recent version of live.

Some changes I made were necessary to make it work with clyphX with a change in imports management. We may discuss about it if you want.

Thanks,

Ben.

Le jeu. 28 déc. 2017 à 13:05, Tom Duncalf notifications@github.com a écrit :

Hey, sorry I only just saw this, I didn't realise Github wasn't emailing me about issues and I haven't looked at this project for a long time due to other commitments. I'm glad you've been able to keep the script working, that was my hope with making it open source!

I'd be happy to signpost your fork from the main README if you are still maintaining it? I'd love to come back and work more on Ubermap one day, I had loads of ideas for stuff to add to it but time is unfortunately quite limited at the minute. I'll be sure to try out your fork when I have some time to play with Push again :)

Thanks! Please feel free to contact me if you have any questions and I'll do what I can to help, and let me know if you are happy for me to mention your fork in the README.

Tom

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tomduncalf/ubermap/issues/12#issuecomment-354278444, or mute the thread https://github.com/notifications/unsubscribe-auth/ARM38QIF6CzQy-8j-bm1buzG93fsLFsMks5tE4QZgaJpZM4OVcV8 .

tomduncalf commented 6 years ago

Sorry Ben, I totally forgot about this.

Thanks for your work updating the script! I’ve got Live 10 and Push 2 and a bit more time now so I’d be happy to test out your changes and merge them back in?

If you submit a pull request with all your changes to date I’ll take a look as soon as I can.

Thanks, Tom

On 11 Feb 2018, at 09:36, Beennnn notifications@github.com wrote:

Hi Tom,

Ableton 10 is out. Init scripts for push and push2 have slightly changed. I made these changes, compiled, and I am testing it by now.

I think ubermap is a great improvement, and It could be useful for other users.

How would it possible to pusblish it as an update of your original work to make it more visible for the community ?

I don’t really understand what you mean by signpost but I let you decide what you think would be the best approach.

Thanks,

Ben.

Le jeu. 28 déc. 2017 à 13:13, Benoît Besson benoit.besson@gmail.com a écrit :

Hi Tom!

Thanks for your work !

I decided to make it change because I couldn’t find a better approach. Feel free to include my changes back to yours and make it work in the original project if you want ! By now if you want to create a link to my fork in the readme I think it is a good idea to help those who are inserested to use it with a recent version of live.

Some changes I made were necessary to make it work with clyphX with a change in imports management. We may discuss about it if you want.

Thanks,

Ben.

Le jeu. 28 déc. 2017 à 13:05, Tom Duncalf notifications@github.com a écrit :

Hey, sorry I only just saw this, I didn't realise Github wasn't emailing me about issues and I haven't looked at this project for a long time due to other commitments. I'm glad you've been able to keep the script working, that was my hope with making it open source!

I'd be happy to signpost your fork from the main README if you are still maintaining it? I'd love to come back and work more on Ubermap one day, I had loads of ideas for stuff to add to it but time is unfortunately quite limited at the minute. I'll be sure to try out your fork when I have some time to play with Push again :)

Thanks! Please feel free to contact me if you have any questions and I'll do what I can to help, and let me know if you are happy for me to mention your fork in the README.

Tom

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tomduncalf/ubermap/issues/12#issuecomment-354278444, or mute the thread https://github.com/notifications/unsubscribe-auth/ARM38QIF6CzQy-8j-bm1buzG93fsLFsMks5tE4QZgaJpZM4OVcV8 .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Beennnn commented 6 years ago

Great !

This morning I created a new branch I created for Live 10 is here : https://github.com/Beennnn/ubermap/tree/10.0

I you could merge it back to your original GitHub project it would be great :) !

Please, notice I made a few change I would like them to be merged back :

The few tests I have made for live 10 show that :

I understand, there is a new mechanism is live for push2 managing image names associated to bank names. With this, the use of custom names make live fail. I decompiled the file MIDI Remote Scripts\Push2\model\generation.pyc. I think the correction is to be done in the function _get_image_filenames and it must be :

def _get_image_filenames(self, small_images = False):
    device = self.canonical_parent
    if not hasattr(device, u'class_name'):
        return []
    else:
        custom_images = None
        if liveobj_valid(device):
            try:
                custom_images =

device.get_value_item_icons(getattr(self._adaptee, u'original_parameter', self._adaptee))

except (AttributeError, RuntimeError):

fix for ubermap

            except (AttributeError, RuntimeError, ArgumentError):
                pass

        if custom_images is not None:
            return get_image_filenames_from_ids(custom_images,

small_images) return get_image_filenames(self.original_name, device.class_name, small_images) return

I think the approach could be to add a new patch in apply_ubermap_patches() to overwrite this push2 file.

What do you think about that ? Could you help me I think it is not very far from working...

If you plan to work on it, it would be great ! If you can't or if you want me to contribute, please tell me and I would try to make it work.

Thanks,

Ben

The full trace below :

info: RemoteScriptError: 'NotifyingList' object has no attribute 'data' Traceback (most recent call last): File "C:\ProgramData\Ableton\Live 10 Suite\Resources\Python\site-packages\raven-5.8.1-py2.7.egg\raven\utils\serializer\manager.py", line 76, in transform return repr(value) File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\model\generation.py", line 272, in repr AttributeError: 'NotifyingList' object has no attribute 'data'

2018-02-11T11:02:59.189317: info: RemoteScriptError: Traceback (most recent call last):

2018-02-11T11:02:59.189386: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\control_surface\control_surface.py", line 382, in receive_midi_chunk

2018-02-11T11:02:59.189898: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\control_surface\control_surface.py", line 429, in _do_receive_midi_chunk

2018-02-11T11:02:59.190346: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\control_surface\elements\button.py", line 151, in receive_value

2018-02-11T11:02:59.190727: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\control_surface\input_control_element.py", line 524, in receive_value

2018-02-11T11:02:59.191130: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\event.py", line 112, in notify_method

2018-02-11T11:02:59.191461: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 99, in call

2018-02-11T11:02:59.191798: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 9, in default_combiner

2018-02-11T11:02:59.192161: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 104, in _slot_notification_generator

2018-02-11T11:02:59.192473: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 20, in call

2018-02-11T11:02:59.192787: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\control_surface\control\button.py", line 201, in _on_value

2018-02-11T11:02:59.193154: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\control_surface\control\button.py", line 212, in _press_button

2018-02-11T11:02:59.193471: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\control_surface\control\button.py", line 218, in _on_pressed

2018-02-11T11:02:59.193791: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\control_surface\control\control.py", line 207, in _call_listener

2018-02-11T11:02:59.194148: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\item_lister_component.py", line 325, in select_buttons

2018-02-11T11:02:59.194492: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\bank_selection_component.py", line 217, in _on_select_button_pressed

2018-02-11T11:02:59.194858: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\bank_selection_component.py", line 73, in select_item

2018-02-11T11:02:59.195237: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\control_surface\device_bank_registry.py", line 35, in set_device_bank

2018-02-11T11:02:59.195591: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\event.py", line 112, in notify_method

2018-02-11T11:02:59.195912: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 99, in call

2018-02-11T11:02:59.196228: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 9, in default_combiner

2018-02-11T11:02:59.196664: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 104, in _slot_notification_generator

2018-02-11T11:02:59.197028: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 20, in call

2018-02-11T11:02:59.197579: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\pushbase\device_component.py", line 64, in __on_bank_changed

2018-02-11T11:02:59.198004: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\pushbase\device_component.py", line 68, in _set_bank_index

2018-02-11T11:02:59.198405: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\pushbase\device_parameter_bank.py", line 48, in _set_index

2018-02-11T11:02:59.198859: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\pushbase\device_parameter_bank.py", line 83, in _update_parameters

2018-02-11T11:02:59.199505: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\event.py", line 112, in notify_method

2018-02-11T11:02:59.200091: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 99, in call

2018-02-11T11:02:59.200464: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 9, in default_combiner

2018-02-11T11:02:59.200847: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 104, in _slot_notification_generator

2018-02-11T11:02:59.201250: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 20, in call

2018-02-11T11:02:59.201629: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\pushbase\device_component.py", line 132, in _on_bank_parameters_changed

2018-02-11T11:02:59.201973: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\pushbase\device_component.py", line 72, in _update_parameters

2018-02-11T11:02:59.202302: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\event.py", line 112, in notify_method

2018-02-11T11:02:59.202717: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 99, in call

2018-02-11T11:02:59.203067: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 9, in default_combiner

2018-02-11T11:02:59.203391: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 104, in _slot_notification_generator

2018-02-11T11:02:59.203745: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 20, in call

2018-02-11T11:02:59.204093: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\device_component_provider.py", line 149, in __on_parameters_changed

2018-02-11T11:02:59.204444: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\event.py", line 112, in notify_method

2018-02-11T11:02:59.204819: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 99, in call

2018-02-11T11:02:59.205176: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 9, in default_combiner

2018-02-11T11:02:59.205483: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 104, in _slot_notification_generator

2018-02-11T11:02:59.205869: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 20, in call

2018-02-11T11:02:59.206231: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\device_view_component.py", line 87, in _on_parameters_changed

2018-02-11T11:02:59.206722: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\device_view_component.py", line 76, in update

2018-02-11T11:02:59.207104: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\model\generation.py", line 301, in fset

2018-02-11T11:02:59.207474: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\model\generation.py", line 250, in init

2018-02-11T11:02:59.207842: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\model\generation.py", line 175, in init

2018-02-11T11:02:59.208165: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\model\generation.py", line 194, in _update_wrapper

2018-02-11T11:02:59.208624: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\model\generation.py", line 120, in init

2018-02-11T11:02:59.208977: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\model\generation.py", line 131, in _update_list

2018-02-11T11:02:59.209487: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\model\repr.py", line 225, in valueItemImages

2018-02-11T11:02:59.210019: info: RemoteScriptError: 2018-02-11T11:02:59.210095: info: RemoteScriptError: 2018-02-11T11:02:59.210159: info: RemoteScriptError:

2018-02-11T11:02:59.210231: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\model\repr.py", line 211, in _get_image_filenames

2018-02-11T11:02:59.210692: info: RemoteScriptError: 2018-02-11T11:02:59.210744: info: RemoteScriptError: 2018-02-11T11:02:59.210792: info: RemoteScriptError:

2018-02-11T11:02:59.210864: info: RemoteScriptError: Boost.Python 2018-02-11T11:02:59.210913: info: RemoteScriptError: . 2018-02-11T11:02:59.210962: info: RemoteScriptError: ArgumentError 2018-02-11T11:02:59.211010: info: RemoteScriptError: : 2018-02-11T11:02:59.211063: info: RemoteScriptError: Python argument types in MaxDevice.get_value_item_icons(MaxDevice, ProxyParameter) did not match C++ signature: get_value_item_icons(class TMaxDevicePyHandle, class TPyHandle<class ATimeable>) 2018-02-11T11:02:59.211145: info: RemoteScriptError:

2018-02-11 9:45 GMT+01:00 Tom Duncalf notifications@github.com:

Sorry Ben, I totally forgot about this.

Thanks for your work updating the script! I’ve got Live 10 and Push 2 and a bit more time now so I’d be happy to test out your changes and merge them back in?

If you submit a pull request with all your changes to date I’ll take a look as soon as I can.

Thanks, Tom

On 11 Feb 2018, at 09:36, Beennnn notifications@github.com wrote:

Hi Tom,

Ableton 10 is out. Init scripts for push and push2 have slightly changed. I made these changes, compiled, and I am testing it by now.

I think ubermap is a great improvement, and It could be useful for other users.

How would it possible to pusblish it as an update of your original work to make it more visible for the community ?

I don’t really understand what you mean by signpost but I let you decide what you think would be the best approach.

Thanks,

Ben.

Le jeu. 28 déc. 2017 à 13:13, Benoît Besson benoit.besson@gmail.com a écrit :

Hi Tom!

Thanks for your work !

I decided to make it change because I couldn’t find a better approach. Feel free to include my changes back to yours and make it work in the original project if you want ! By now if you want to create a link to my fork in the readme I think it is a good idea to help those who are inserested to use it with a recent version of live.

Some changes I made were necessary to make it work with clyphX with a change in imports management. We may discuss about it if you want.

Thanks,

Ben.

Le jeu. 28 déc. 2017 à 13:05, Tom Duncalf notifications@github.com a écrit :

Hey, sorry I only just saw this, I didn't realise Github wasn't emailing me about issues and I haven't looked at this project for a long time due to other commitments. I'm glad you've been able to keep the script working, that was my hope with making it open source!

I'd be happy to signpost your fork from the main README if you are still maintaining it? I'd love to come back and work more on Ubermap one day, I had loads of ideas for stuff to add to it but time is unfortunately quite limited at the minute. I'll be sure to try out your fork when I have some time to play with Push again :)

Thanks! Please feel free to contact me if you have any questions and I'll do what I can to help, and let me know if you are happy for me to mention your fork in the README.

Tom

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tomduncalf/ubermap/issues/12# issuecomment-354278444, or mute the thread https://github.com/notifications/unsubscribe-auth/ARM38QIF6CzQy-8j- bm1buzG93fsLFsMks5tE4QZgaJpZM4OVcV8 .

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tomduncalf/ubermap/issues/12#issuecomment-364734407, or mute the thread https://github.com/notifications/unsubscribe-auth/ARM38b5etuI8FJ2FkyS_7Vcd1ksNxlecks5tTqiggaJpZM4OVcV8 .

Beennnn commented 6 years ago

fix : the target file is not generation.pyc but repr.pyc

2018-02-11 12:08 GMT+01:00 Benoît Besson benoit.besson@gmail.com:

Great !

This morning I created a new branch I created for Live 10 is here : https://github.com/Beennnn/ubermap/tree/10.0

I you could merge it back to your original GitHub project it would be great :) !

Please, notice I made a few change I would like them to be merged back :

  • in init scripts :
    • imports " from Ubermap import UbermapDevicesPatches" should be put just before calling apply_ubermap_patches
    • apply_ubermap_patches should put push/push2 flag directly depending on the directory where it is located. So there is no need for a push/push2 parameter. With this, I use it at the same time with one push1 and one push2.
  • in UbermapDevicesPatches : the constructor for ParameterInfo requires a new argument : default_encoder_sensitivity

The few tests I have made for live 10 show that :

  • ableton starts and the script loads
  • with no device config list, the device config file is correctly genrerated (the method dump_device works correctly) - push1 works fine !
  • push 2 fails loading a bank when I click on the push button and displays an error (see the tck trace below).

I understand, there is a new mechanism is live for push2 managing image names associated to bank names. With this, the use of custom names make live fail. I decompiled the file MIDI Remote Scripts\Push2\model\generation.pyc. I think the correction is to be done in the function _get_image_filenames and it must be :

def _get_image_filenames(self, small_images = False):
    device = self.canonical_parent
    if not hasattr(device, u'class_name'):
        return []
    else:
        custom_images = None
        if liveobj_valid(device):
            try:
                custom_images = device.get_value_item_icons(getattr(self._adaptee,

u'original_parameter', self._adaptee))

except (AttributeError, RuntimeError):

fix for ubermap

            except (AttributeError, RuntimeError, ArgumentError):
                pass

        if custom_images is not None:
            return get_image_filenames_from_ids(custom_images,

small_images) return get_image_filenames(self.original_name, device.class_name, small_images) return

I think the approach could be to add a new patch in apply_ubermap_patches() to overwrite this push2 file.

What do you think about that ? Could you help me I think it is not very far from working...

If you plan to work on it, it would be great ! If you can't or if you want me to contribute, please tell me and I would try to make it work.

Thanks,

Ben

The full trace below :

info: RemoteScriptError: 'NotifyingList' object has no attribute 'data' Traceback (most recent call last): File "C:\ProgramData\Ableton\Live 10 Suite\Resources\Python\site- packages\raven-5.8.1-py2.7.egg\raven\utils\serializer\manager.py", line 76, in transform return repr(value) File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\model\generation.py", line 272, in repr AttributeError: 'NotifyingList' object has no attribute 'data'

2018-02-11T11:02:59.189317: info: RemoteScriptError: Traceback (most recent call last):

2018-02-11T11:02:59.189386: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\control_surface\control_surface.py", line 382, in receive_midi_chunk

2018-02-11T11:02:59.189898: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\control_surface\control_surface.py", line 429, in _do_receive_midi_chunk

2018-02-11T11:02:59.190346: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\control_surface\elements\button.py", line 151, in receive_value

2018-02-11T11:02:59.190727: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\control_surface\input_control_element.py", line 524, in receive_value

2018-02-11T11:02:59.191130: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\event.py", line 112, in notify_method

2018-02-11T11:02:59.191461: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 99, in call

2018-02-11T11:02:59.191798: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 9, in default_combiner

2018-02-11T11:02:59.192161: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 104, in _slot_notification_generator

2018-02-11T11:02:59.192473: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 20, in call

2018-02-11T11:02:59.192787: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\control_surface\control\button.py", line 201, in _on_value

2018-02-11T11:02:59.193154: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\control_surface\control\button.py", line 212, in _press_button

2018-02-11T11:02:59.193471: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\control_surface\control\button.py", line 218, in _on_pressed

2018-02-11T11:02:59.193791: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\control_surface\control\control.py", line 207, in _call_listener

2018-02-11T11:02:59.194148: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\item_lister_component.py", line 325, in select_buttons

2018-02-11T11:02:59.194492: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\bank_selection_component.py", line 217, in _on_select_button_pressed

2018-02-11T11:02:59.194858: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\bank_selection_component.py", line 73, in select_item

2018-02-11T11:02:59.195237: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\control_surface\device_bank_registry.py", line 35, in set_device_bank

2018-02-11T11:02:59.195591: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\event.py", line 112, in notify_method

2018-02-11T11:02:59.195912: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 99, in call

2018-02-11T11:02:59.196228: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 9, in default_combiner

2018-02-11T11:02:59.196664: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 104, in _slot_notification_generator

2018-02-11T11:02:59.197028: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 20, in call

2018-02-11T11:02:59.197579: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\pushbase\device_component.py", line 64, in __on_bank_changed

2018-02-11T11:02:59.198004: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\pushbase\device_component.py", line 68, in _set_bank_index

2018-02-11T11:02:59.198405: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\pushbase\device_parameter_bank.py", line 48, in _set_index

2018-02-11T11:02:59.198859: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\pushbase\device_parameter_bank.py", line 83, in _update_parameters

2018-02-11T11:02:59.199505: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\event.py", line 112, in notify_method

2018-02-11T11:02:59.200091: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 99, in call

2018-02-11T11:02:59.200464: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 9, in default_combiner

2018-02-11T11:02:59.200847: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 104, in _slot_notification_generator

2018-02-11T11:02:59.201250: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 20, in call

2018-02-11T11:02:59.201629: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\pushbase\device_component.py", line 132, in _on_bank_parameters_changed

2018-02-11T11:02:59.201973: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\pushbase\device_component.py", line 72, in _update_parameters

2018-02-11T11:02:59.202302: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\event.py", line 112, in notify_method

2018-02-11T11:02:59.202717: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 99, in call

2018-02-11T11:02:59.203067: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 9, in default_combiner

2018-02-11T11:02:59.203391: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 104, in _slot_notification_generator

2018-02-11T11:02:59.203745: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 20, in call

2018-02-11T11:02:59.204093: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\device_component_provider.py", line 149, in __on_parameters_changed

2018-02-11T11:02:59.204444: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\event.py", line 112, in notify_method

2018-02-11T11:02:59.204819: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 99, in call

2018-02-11T11:02:59.205176: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 9, in default_combiner

2018-02-11T11:02:59.205483: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 104, in _slot_notification_generator

2018-02-11T11:02:59.205869: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\ableton\v2\base\signal.py", line 20, in call

2018-02-11T11:02:59.206231: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\device_view_component.py", line 87, in _on_parameters_changed

2018-02-11T11:02:59.206722: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\device_view_component.py", line 76, in update

2018-02-11T11:02:59.207104: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\model\generation.py", line 301, in fset

2018-02-11T11:02:59.207474: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\model\generation.py", line 250, in init

2018-02-11T11:02:59.207842: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\model\generation.py", line 175, in init

2018-02-11T11:02:59.208165: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\model\generation.py", line 194, in _update_wrapper

2018-02-11T11:02:59.208624: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\model\generation.py", line 120, in init

2018-02-11T11:02:59.208977: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\model\generation.py", line 131, in _update_list

2018-02-11T11:02:59.209487: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\model\repr.py", line 225, in valueItemImages

2018-02-11T11:02:59.210019: info: RemoteScriptError: 2018-02-11T11:02:59.210095: info: RemoteScriptError: 2018-02-11T11:02:59.210159: info: RemoteScriptError:

2018-02-11T11:02:59.210231: info: RemoteScriptError: File "c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\model\repr.py", line 211, in _get_image_filenames

2018-02-11T11:02:59.210692: info: RemoteScriptError: 2018-02-11T11:02:59.210744: info: RemoteScriptError: 2018-02-11T11:02:59.210792: info: RemoteScriptError:

2018-02-11T11:02:59.210864: info: RemoteScriptError: Boost.Python 2018-02-11T11:02:59.210913: info: RemoteScriptError: . 2018-02-11T11:02:59.210962: info: RemoteScriptError: ArgumentError 2018-02-11T11:02:59.211010: info: RemoteScriptError: : 2018-02-11T11:02:59.211063: info: RemoteScriptError: Python argument types in MaxDevice.get_value_item_icons(MaxDevice, ProxyParameter) did not match C++ signature: get_value_item_icons(class TMaxDevicePyHandle, class TPyHandle<class ATimeable>) 2018-02-11T11:02:59.211145: info: RemoteScriptError:

2018-02-11 9:45 GMT+01:00 Tom Duncalf notifications@github.com:

Sorry Ben, I totally forgot about this.

Thanks for your work updating the script! I’ve got Live 10 and Push 2 and a bit more time now so I’d be happy to test out your changes and merge them back in?

If you submit a pull request with all your changes to date I’ll take a look as soon as I can.

Thanks, Tom

On 11 Feb 2018, at 09:36, Beennnn notifications@github.com wrote:

Hi Tom,

Ableton 10 is out. Init scripts for push and push2 have slightly changed. I made these changes, compiled, and I am testing it by now.

I think ubermap is a great improvement, and It could be useful for other users.

How would it possible to pusblish it as an update of your original work to make it more visible for the community ?

I don’t really understand what you mean by signpost but I let you decide what you think would be the best approach.

Thanks,

Ben.

Le jeu. 28 déc. 2017 à 13:13, Benoît Besson benoit.besson@gmail.com a écrit :

Hi Tom!

Thanks for your work !

I decided to make it change because I couldn’t find a better approach. Feel free to include my changes back to yours and make it work in the original project if you want ! By now if you want to create a link to my fork in the readme I think it is a good idea to help those who are inserested to use it with a recent version of live.

Some changes I made were necessary to make it work with clyphX with a change in imports management. We may discuss about it if you want.

Thanks,

Ben.

Le jeu. 28 déc. 2017 à 13:05, Tom Duncalf notifications@github.com a écrit :

Hey, sorry I only just saw this, I didn't realise Github wasn't emailing me about issues and I haven't looked at this project for a long time due to other commitments. I'm glad you've been able to keep the script working, that was my hope with making it open source!

I'd be happy to signpost your fork from the main README if you are still maintaining it? I'd love to come back and work more on Ubermap one day, I had loads of ideas for stuff to add to it but time is unfortunately quite limited at the minute. I'll be sure to try out your fork when I have some time to play with Push again :)

Thanks! Please feel free to contact me if you have any questions and I'll do what I can to help, and let me know if you are happy for me to mention your fork in the README.

Tom

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tomduncalf/ubermap/issues/12#issuecommen t-354278444, or mute the thread https://github.com/notifications/unsubscribe-auth/ ARM38QIF6CzQy-8j-bm1buzG93fsLFsMks5tE4QZgaJpZM4OVcV8 .

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tomduncalf/ubermap/issues/12#issuecomment-364734407, or mute the thread https://github.com/notifications/unsubscribe-auth/ARM38b5etuI8FJ2FkyS_7Vcd1ksNxlecks5tTqiggaJpZM4OVcV8 .

BranCorel commented 6 years ago

Hello together, i try the scripts, but after installing everything, my Push didn´t start. When i change the init.pyc and the repr.pyc back to the orginal, every work fine. Where can i find a log for controlling the startup of the Push, to find the fault?

Beennnn commented 6 years ago

Hi BranCorel,

For windows, you can file the log file here : "C:\Users\${me}\AppData\Roaming\Ableton\Live 10.0.1\Preferences\Log.txt"

BranCorel commented 6 years ago

Hi Beennnn, thanks for your answer. I work on a mac, but i already found the log file. Now i localised the problem. Here is the Trace for Python from the log file.

"python_traceback": "Traceback (most recent call last):\n\n

File \"/Applications/Ableton Live 10 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Push2/init.py\", line 27, in create_instance\n\n

File \"/Applications/Ableton Live 10 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Ubermap/UbermapDevicesPatches.py\", line 26, in \n\n

File \"/Applications/Ableton Live 10 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Ubermap/UbermapDevices.py\", line 15, in init\n\n

File \"/Applications/Ableton Live 10 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Ubermap/UbermapLibs.py\", line 60, in load\n\n

File \"/Applications/Ableton Live 10 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Ubermap/UbermapLibs.py\", line 32, in debug\n\n

AttributeError: 'bool' object has no attribute 'get'\n"}

Can you help me to fix the problem?

Beennnn commented 6 years ago

Sorry, I have not faced this error. You may try to debug it reading the python file code, or ask if another use faces this problem. I hope Tom could provide a validated upgrade qualified for Ableton 10. Ben.

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Garanti sans virus. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

2018-02-15 7:57 GMT+01:00 BranCorel notifications@github.com:

Hi Beennnn, thanks for your answer. I work on a mac, but i already found the log file. Now i localised the problem. Here is the Trace for Python from the log file.

"python_traceback": "Traceback (most recent call last):\n\n

File "/Applications/Ableton Live 10 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Push2/init.py", line 27, in create_instance\n\n

File "/Applications/Ableton Live 10 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Ubermap/UbermapDevicesPatches.py", line 26, in \n\n

File "/Applications/Ableton Live 10 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Ubermap/UbermapDevices.py", line 15, in init\n\n

File "/Applications/Ableton Live 10 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Ubermap/UbermapLibs.py", line 60, in load\n\n

File "/Applications/Ableton Live 10 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Ubermap/UbermapLibs.py", line 32, in debug\n\n

AttributeError: 'bool' object has no attribute 'get'\n"}

Can you help me to fix the problem?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tomduncalf/ubermap/issues/12#issuecomment-365840925, or mute the thread https://github.com/notifications/unsubscribe-auth/ARM38ayNJ3c5XBJSTnO3NPhlaQhpIEalks5tU9VGgaJpZM4OVcV8 .

Beennnn commented 6 years ago

I finally fixed the bug and sent the correction as a new Pull Request

Beennnn commented 6 years ago

Hi, I have updated files in my branch for live 10. Now it works for me with windows and live 10. I hope Tom could make the update for everybody.

Ben.

Le mar. 13 févr. 2018 à 07:36, BranCorel notifications@github.com a écrit :

Hello together, i try the scripts, but after installing everything, my Push didn´t start. When i change the init.pyc and the repr.pyc back to the orginal, every work fine. Where can i find a log for controlling the startup of the Push, to find the fault?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tomduncalf/ubermap/issues/12#issuecomment-365165293, or mute the thread https://github.com/notifications/unsubscribe-auth/ARM38TaJTmCg4J3BkwUMrYAfemDNK0veks5tUS1fgaJpZM4OVcV8 .