Mixxx won't start when changing Mixxx app name on OSX 10.6.5

Bug #685845 reported by Vittorio Colao
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Low
jus

Bug Description

If app name is changed and on MacOS X 10.6.5, both Mixxx 1.8.2 and 1.9.0beta1 fail to load with a

"Unable to establish a database connection. Mixxx requires QT with SQLite support. Please read the Qt SQL driver documentation for information on how to build it."

I am submitting it as a bug since it is a regression from earlier releases.
Step to reproduce:

1) Install Mixxx under "Application folder"
2) Change app name from "Mixxx" to "Mixxx-1.9.0beta1" ( or to "Mixxx-1.8.2" )

From Mixxx log:

Warning: [Main]: QSqlDatabase: QSQLITE driver not loaded
Warning: [Main]: QSqlDatabase: available drivers:
Debug: [Main]: ()
Debug: [Main]: src/library/trackcollection.cpp DB status: false
Debug: [Main]: QSqlError(-1, "Driver not loaded", "Driver not loaded")

Revision history for this message
jus (jus) wrote :

Hello Vittorio,
same here (with original name "Mixxx.app").

Create a blank file "qt.conf" in your "Mixxx.app/Contents/Resources/" directory.
Insert the following 2 lines into "qt.conf" and save.

[Paths]
Plugins = plugins

More:
https://answers.launchpad.net/mixxx/+question/92851
http://mixxx.org/forums/viewtopic.php?f=3&t=1790&p=6632

Revision history for this message
Vittorio Colao (l0rdt) wrote :

Thanks jus,
it worked

jus (jus)
Changed in mixxx:
status: New → Confirmed
Revision history for this message
jus (jus) wrote :

Patch adds qt.conf to MacOS app bundle by default.
Renaming Mixxx.app now working with latest trunk & MacOS 10.6.7

Changed in mixxx:
assignee: nobody → jus (jus)
milestone: none → 1.10.0
Revision history for this message
jus (jus) wrote :

While the patch works there is certainly a more elegant solution.
Just noticed the "Mixxx.app" path was hardcoded for some reasons here http://bazaar.launchpad.net/~mixxxdevelopers/mixxx/trunk/revision/2376.

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

I just added a patch to lp:mixxx to fix the hard-coding of Mixxx.app.

Changed in mixxx:
importance: Undecided → Low
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Confirmed it fixes the issue. Renaming to "Foo.app" works.

Changed in mixxx:
status: Confirmed → Fix Committed
RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/5698

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.