Open barracuda156 opened 3 months ago
Ok, this was due to sqlite plugin missing: the build does not ask for it, but it is required for the app to start.
After installing qt4-mac-sqlite3-plugin
, I got the app running. Output in the terminal has a lot of these:
01:52:59 [0]: QCocoaView handleTabletEvent: This tablet device is unknown (received no proximity event for it). Discarding event.
But at least it does not crash anymore.
However on Catalina it remains broken regardless:
svacchanda@Sergeys-Mini ~ % /Applications/MacPorts/Tomahawk.app/Contents/MacOS/Tomahawk
Translation: Tomahawk: Using system locale: "en_TW"
Translation: Qt: Using default locale, system locale one not found: "en_TW"
TomahawkApp thread: QThread(0x7ff0a6d04920)
03:54:08 [0]: Starting Tomahawk...
03:54:09 [1]: Default font: -1 12 "Roboto" 14
03:54:09 [0]: void TomahawkUtils::setHeadless(bool) headless is false
03:54:09 [1]: Setting NAM: QNetworkAccessManager(0x7ff0a6e99200)
03:54:09 [1]: Init AudioEngine
03:54:09 [1]: void AudioEngine::setVolume(int) 75
03:54:09 [1]: Tomahawk::Pipeline::Pipeline(QObject *) Using 8 threads
03:54:09 [1]: Init Database.
03:54:09 [5]: Using database: "/Users/svacchanda/Library/Application Support/Tomahawk/tomahawk.db"
03:54:09 [0]: QSqlDatabase: QSQLITE driver not loaded
03:54:09 [0]: QSqlDatabase: available drivers:
03:54:09 [0]: Failed to open database "/Users/svacchanda/Library/Application Support/Tomahawk/tomahawk.db" with driver "QSQLITE"
03:54:09 [0]: Uncaught non std::exception
libc++abi.dylib: terminating with uncaught exception of type char const*
zsh: abort /Applications/MacPorts/Tomahawk.app/Contents/MacOS/Tomahawk
svacchanda@Sergeys-Mini ~ % port -v installed qt4-mac-sqlite3-plugin
The following ports are currently installed:
qt4-mac-sqlite3-plugin @4.8.7_2 (active) requested_variants='' platform='darwin 19' archs='x86_64' date='2024-07-25T02:37:20+0800'
Having encountered a failure on PowerPC https://github.com/tomahawk-player/tomahawk/issues/683 (where I had to add a number of patches to fix the build), I tried now on x86_64. No patches used aside from a trivial fix to version checks in CMakeLists. And well, looks like it is credibly broken. The app crashes on launch:
Nothing useful from GDB: