-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Numark MixTrack Pro 3 errors on startup #12369
Comments
Fedora 39 has just been released, Fedora 40 is still alpha. Both timer calls seem to use the correct syntax (after #11953) mixxx/res/controllers/Numark-Mixtrack-3-scripts.js Lines 315 to 317 in 8e41e53
mixxx/res/controllers/Numark-Mixtrack-3-scripts.js Lines 374 to 376 in 8e41e53
I don't see who is throwing that error Maybe this is caused by a newer QScriptEngine (either buggy or more strict checks?), idk. |
I'm pretty sure this is unrelated to the fedora version. there may be an issue with the rebinding of var led = this;
this.flashTimer = engine.beginTimer(num_ms_on + num_ms_off, function() {
led.flashOnceOn(false);
}); Do you get any errors when you enable the mapping? Something could go wrong while its initializes itself and the error you experience is just a symptom of that. |
I experienced the same issue on Fedora 39.
The info page didn't tell me anything extra, the git version was unkown. However, based on the package version, it appears to be built from 3223a75.
Your suggested change seems to avoid the line 316 error, but the line 375 error still occurs as I would expect.
This is how the errors present. The snippets in the issue are copy-pasted from the "Show Details..." section. If I click "Retry", the error just re-appears. This is the same for both errors. If I click "Ignore", it dismisses the dialog as expected. |
Okay, great! |
This is a viable workaround for this mapping, but a symptom of a bigger issue. I'm afraid there is a regression from QJSEngine switch that the function passed to |
Yup, it just straight up calls the function without rebinding. This probably only worked in the first place because of some QScriptEngine quirk, or it got lost in the transition. mixxx/src/controllers/scripting/legacy/controllerscriptinterfacelegacy.cpp Lines 554 to 556 in 8e41e53
|
Umm, so I don't think this is properly fixable. In the docs, we say |
@eiglow Just to be sure, can you also test the mapping with the changes I made here: |
While testing, I encountered this error when long-pressing the sync button:
I was still able to reproduce this without the above changes though, so I don't think it's caused by those changes, I just didn't spot it before. Should I create a separate issue for this error? |
No need, we can try to fix this here too. I prepared another commit with some debug logging. Can you please try that and then post the log messages from when you long-press the sync button? Swiftb0y@00157b5 |
Is this a blocker? |
depending on the mapping, possibly. Can't say for sure. First step would probably be to update the wiki. I'll take care of that. |
The changes LGTM, but I'm no js wizard. |
@eiglow we fixed this issue for all mappings including this one. Can you do us a favor and try the newest 2.4 version and see if the error still occurs? Also, since this essentially fixed, I'd like to close it. If you need any further assistance in fixing the Syncbutton you mentioned previously (#12369 (comment)) please open a new issue. Thank you. |
Bug Description
Every time I start Mixxx, I get 2 errors:
It seems to mostly work fine if I just ignore these errors however.
Version
2.4.0-beta
OS
Fedora 40 (rawhide)
The text was updated successfully, but these errors were encountered: