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

Fix for live 9.7.1 : RemoteScriptError: 'DeviceComponent' object has no attribute 'default_sensitivity' #9

Open
Beennnn opened this issue Jul 8, 2017 · 1 comment

Comments

@Beennnn
Copy link

Beennnn commented Jul 8, 2017

Due to the error # RemoteScriptError: 'DeviceComponent' object has no attribute 'default_sensitivity', the file UbermapDevicesPatches.py needs to be changed for live version 9.7.1 at line 108:

REPLACE:

            return ParameterInfo(parameter=parameter, name=parameter.custom_name, default_encoder_sensitivity=self.default_sensitivity(parameter), fine_grain_encoder_sensitivity=self.fine_sensitivity(parameter))

WITH:

           from Push2.parameter_mapping_sensitivities import parameter_mapping_sensitivity, fine_grain_parameter_mapping_sensitivity
            return ParameterInfo(parameter=parameter, name=parameter.custom_name, default_encoder_sensitivity=parameter_mapping_sensitivity(parameter), fine_grain_encoder_sensitivity=fine_grain_parameter_mapping_sensitivity(parameter))
@Beennnn
Copy link
Author

Beennnn commented Jul 8, 2017

also and better fixed as described here : #11

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

1 participant