-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Better error messages for schema upgrade #6328
Comments
Commented by: daschuer |
Commented by: esbrandt Agree, the current error message is not helpful. But is the new one really better? We should provide a solution to the user if possible. Is there is a helpful wiki/manual page we can link to? If not how would a solution to this error look like? |
Commented by: daschuer Hi jus, the patch is better because it distinguishes the two cases: Unable to upgrade your database schema to version x. and Unable to upgrade your database schema to version x I agree, it would be even better to add a wiki link for both cases. |
Commented by: daschuer Updated patch with a third case, missing or invalid schema file. |
Commented by: rryan The patch looks good but I'm wary of updating the strings this late on such an important error message. I'd almost rather have a properly translated bad error message than English good error messages. What do you think? |
Commented by: daschuer Hi RJ, I understand your concerns.
|
Commented by: esbrandt The goal is to provide assistance to the user in case the error occurs which the current message certainly does not - translated or not. Imo it is better to have a correct error message in english than to have a nicely translated but incorrect error message in the local language. +1 for inclusion in 1.11. |
Commented by: rryan Sounds good to me -- patch committed. Thanks! |
Issue closed with status Fix Released. |
hallo I am getting this message installing Mixxx 2.4 on Mac OS 10.14.6 Mojave, Intel 2,7 GHz Intel Core i5. I certainly do not understand how to fix it from what is in this thread above. Unable to upgrade your database schema to version 39 |
Please post your mixxx.log |
Did that work? Apologies, I’m not often on this list. Still having trouble installing…not sure what to do about it. |
That is strange:
It looks like that the very first attempt of creating a mixxx.dbsqlite fails. Can you please file a new GitHub issue. I am not a macOS developer hopefully someone else is jumping in. Mixxx should check and report this if the case. |
Yes this is correct. It fails on the very first attempt. It happened when I was trying to upgrade to the current stable version (2.4.0). Also, I can also no longer re-install an earlier version without getting the same error. Sure I will file a new issue. |
Reported by: daschuer
Date: 2012-03-23T19:48:17Z
Status: Fix Released
Importance: Low
Launchpad Issue: lp963408
Attachments: schema_update_error_msg.patch, schema_update_error_msg2.patch
If the schema.xml is outdated, the following error messages appears:
"
Unable to upgrade your database schema to version x.
Your mixxx.db file may be corrupt.
Try renaming it and restarting Mixxx.
"
This is confusing because the mixxx.db is actual in a fine state.
The attached patch against lp:mixxx #2994 gives following message in this case:
The text was updated successfully, but these errors were encountered: