mixxxdj / mixxx

Mixxx is Free DJ software that gives you everything you need to perform live mixes.
http://mixxx.org
Other
4.53k stars 1.28k forks source link

Rekordbox USB not working at all #13624

Open mrcqla opened 2 months ago

mrcqla commented 2 months ago

Bug Description

I plug my Rekordbox USB in, I click on it, nothing shows up but a completely blank interface. It used to crash when I tried this but now it's just completely blank. When I quit out of Mixxx after doing this, it shows me a message saying that Mixxx quit unexpectedly (it didn't, I did it myself). Please help me.

Version

2.4.1

OS

macOS High Sierra

Swiftb0y commented 2 months ago

Hey there, thank you for filling your issue. In order to get to the bottom of this. We would like to inspect your log file. Please use our guide to find it and then upload it here and we'll see if we can spot anything in the log. Thank you.

GsnailG commented 2 months ago

Hey @Swiftb0y , I don't know whether to make a new Issues note, or to comment here, so I'll do this instead

Bug Description

Creating a rekordbox usb within rekordbox via their export tool, followed by inserting the usb into my Mixxx laptop, will cause the USB to be seen. This is great! My playlists are seen and so I go to open them, but my playlists are empty? image

However, upon the first time I plugged a rekordbox usb into Mixxx, it worked fine. In fact, I have my past songs available via history, and they are able to be read and played. image

I have tested this on both the beta and the mainstream versions, and it has the same problem. When I delete my Mixxx userdata folder and reinstall, I am able to use a rekordbox usb only once. I'm assuming its not my rekordbox usb being weird, because my rekordbox usb is being detected and usable by multiple standalone DJ decks (unsure which ones as they were friends/clubs). My rekordbox usb has playlists and tracks in the collection/usb.

I think I have attached my .log file? I am happy to make a new log file with a fresh install of mixxx to replicate the first time, but I'm really busy at the moment, will do another day.

More than happy to help with more logs or helping or anything. Cheers!

Version

Mixxx 2.4.1 & Then tried on beta 2.5

OS

Windows 10 22H2

mixxx.log

Swiftb0y commented 2 months ago

Thank you for the logfile, there is indeed an issue

Warning [Main] D:\a\mixxx\mixxx\src\library\basetrackcache.cpp 500 FAILED QUERY [ "SELECT id FROM rekordbox_library WHERE id in (69,134,68,71,70,121,120,123,122,125,124,127,60,113,63,112,115,114,117,116,119,105,107,106,109,108,111,110,97,96,99,46,98,101,100,103,102,89,88,91,93,92,95,94,81,80,83,82,85,84,87,86,73,72,75,74,77,76,129,79,78,65,64,133,67,132,66) ORDER BY CASE key_id WHEN NULL THEN 0 WHEN 0 THEN 0 WHEN 1 THEN 16 WHEN 2 THEN 6 WHEN 3 THEN 20 WHEN 4 THEN 10 WHEN 5 THEN 24 WHEN 6 THEN 14 WHEN 7 THEN 4 WHEN 8 THEN 18 WHEN 9 THEN 8 WHEN 10 THEN 22 WHEN 11 THEN 12 WHEN 12 THEN 2 WHEN 13 THEN 9 WHEN 14 THEN 23 WHEN 15 THEN 13 WHEN 16 THEN 3 WHEN 17 THEN 17 WHEN 18 THEN 7 WHEN 19 THEN 21 WHEN 20 THEN 11 WHEN 21 THEN 1 WHEN 22 THEN 15 WHEN 23 THEN 5 WHEN 24 THEN 19 END DESC" ] QSqlError("", "Unable to fetch row", "No query")

I can't promise when someone is able to take a look though.

GsnailG commented 2 months ago

I'll reset/reinstall my Mixxx and see what happens on a successful detection.

GsnailG commented 2 months ago

After reseting user data and reinstalling.

This was interesting. My whole library showed up and I could load a few songs from a crate, but upon changing crates (I think?), it went and crashed

Debug [Thread (pooled)] Found: 258 audio files in Rekordbox device "E:" Debug [Thread (pooled)] Committing transaction successfully on "MIXXX-7" Debug [Main] onTracksFound Debug [Main] Show Rekordbox Device Playlist: "E:/" Debug [Main] WTrackTableView::loadTrackModel() RekordboxPlaylistModel(0x2425fc79e30) Debug [Main] BaseTrackCache(0x242706fac60) updateIndexWithQuery took 1 ms Debug [Main] RekordboxPlaylistModel(0x2425fc79e30) select() returned 258 results in 2 ms Debug [Main] RekordboxTrackModel::getTrack Debug [Main] TrackDAO::getTrackId(): Track location not found in library: "E:/Contents/Empire Of The Sun/Walking On A Dream/Walking On A Dream-(p).mp3" Debug [Main] SeratoMarkers2 - Reading bpmlock state from 'Serato Markers2' tag data... Debug [Main] Reading cues from 'Serato Markers2' tag data... Debug [Main] Reading cues from 'Serato Markers_' tag data... Debug [Main] SeratoTags::getCueInfos() Debug [Main] SeratoMarkers2 - Reading track color from 'Serato Markers2' tag data... Debug [Main] TrackDAO: Adding track "E:/Contents/Empire Of The Sun/Walking On A Dream/Walking On A Dream-(p).mp3" Debug [Main] BaseTrackCache(0x2426d3d6550) updateIndexWithQuery took 0 ms Debug [Main] Timing shift case: 2 for MP3 file: "E:\\Contents\Empire Of The Sun\Walking On A Dream\Walking On A Dream-(p).mp3" Debug [Main] Rekordbox ANLZ path: "E://PIONEER/USBANLZ/P01C/000216F0/ANLZ0000.DAT" for: "Walking On A Dream" Debug [Main] Rekordbox ANLZ path: "E://PIONEER/USBANLZ/P01C/000216F0/ANLZ0000.EXT" for: "Walking On A Dream"

This was a successful song.

Debug [Main] RekordboxTrackModel::getTrack Debug [Main] TrackDAO::getTrackId(): Track location not found in library: "E:/Contents/Unknown T/UnknownAlbum/Goodums (Sammy Virji Remix)-vocals.mp3" Debug [Main] SeratoMarkers2 - Reading bpmlock state from 'Serato Markers2' tag data... Debug [Main] Reading cues from 'Serato Markers2' tag data... Debug [Main] Reading cues from 'Serato Markers_' tag data... Debug [Main] SeratoTags::getCueInfos() Debug [Main] SeratoMarkers2 - Reading track color from 'Serato Markers2' tag data... Debug [Main] TrackDAO: Adding track "E:/Contents/Unknown T/UnknownAlbum/Goodums (Sammy Virji Remix)-vocals.mp3" Debug [Main] BaseTrackCache(0x2426d3d6550) updateIndexWithQuery took 0 ms

This, not so much

mixxx.log

Swiftb0y commented 2 months ago

If you can reproduce the crash, having a backtrace would be very helpful. Have a look at the wiki for finding out how to create one: https://github.com/mixxxdj/mixxx/wiki/Creating%20Backtraces

GsnailG commented 2 months ago

If you can reproduce the crash, having a backtrace would be very helpful. Have a look at the wiki for finding out how to create one: https://github.com/mixxxdj/mixxx/wiki/Creating%20Backtraces

@Swiftb0y Would it be wise/beneficial for me to do this too, despite not having a crash, but just a bug?

Swiftb0y commented 2 months ago

well you said that upon changing crates it crashed in which case a backtrace helps immensely. If you don't get a crash there is no point in trying to collect a backtrace.

pi43r commented 1 month ago

I had the same issue with my rekordbox sticks being blank on MacOS 14.3.1 (23D60) ARM. Didn't get the crash at first but then wiped and reinstalled version 4.2.1. When clicking on the rekordbox icon in mixxx it crashed with one stick but not another. Heres the lldb log: backtrace-oct-8-1-10.txt

However if I load a track through the file browser from the stick and then click on rekordbox it finds the stick and all its playlists pretty reliably.

Hope this helps