Drag and Drop Tracks not working

Bug #618983 reported by djomegarush on 2010-08-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Medium
RJ Skerry-Ryan
1.8
Medium
RJ Skerry-Ryan

Bug Description

Mixxx 1.8.0-beta2 for Ubuntu 9.10+ (i386 deb)
Ubuntu 10.4 (xi386)

I was trying to drap files from my Eternal USB drive to the playlist area. Moving a file from my desktop to Mixxx is o.k. Dragging from usb drive to track view will work.

Error message is attached.

Related branches

djomegarush (djomegarush) wrote :
djomegarush (djomegarush) wrote :

Just restarted Mixxx after the crash. The files from the external drive are now listed in Mixxx, but it had to crash first for the files to show up. Removed the tracks. Tried again. Same thing. Drag, crash, restart, files listed.

//Failure of this assert indicates that we were unable to insert the track
//location into the table AND we could not retrieve the id of that track
//location from the same table. "It shouldn't happen"... unless I screwed up
//- Albert :)

Seems like inserting the external media's location into the track location
table failed for some reason and didn't already exist in that table -- i.e.
'shouldnt happen'. Albert, any ideas?

Though since the tracks showed up after a reboot, that implies they
successfully inserted into the location table AND the library table, which
doesn't jibe with that assert. Maybe QSqlQuery::lastInsertId is somehwo
broken? That screenshot looks like Ubuntu 10.04 desktop so that should not
be an issue.

On Mon, Aug 16, 2010 at 8:23 PM, djomegarush <email address hidden>wrote:

> Just restarted Mixxx after the crash. The files from the external drive
> are now listed in Mixxx, but it had to crash first for the files to show
> up. Removed the tracks. Tried again. Same thing. Drag, crash,
> restart, files listed.
>
> --
> Drag and Drop Tracks not working
> https://bugs.launchpad.net/bugs/618983
> You received this bug notification because you are subscribed to Mixxx.
>

RJ Skerry-Ryan (rryan) on 2010-09-11
Changed in mixxx:
status: New → Triaged
importance: Undecided → Medium
RJ Skerry-Ryan (rryan) wrote :

Ok, switching back to QUrl::toLocalFile() instead of QUrl::toString().

Thanks a ton djomegarush, I'm glad this bug didn't slip into 1.8.0.

RJ Skerry-Ryan (rryan) on 2010-09-11
Changed in mixxx:
status: Triaged → Fix Committed
assignee: nobody → RJ Ryan (rryan)
RJ Skerry-Ryan (rryan) on 2010-10-05
Changed in mixxx:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers