LibraryScanner have problems on load: QSqlError(-1, "Parameter count mismatch", "")

Bug #638087 reported by raskolnikov on 2010-09-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Critical
Albert Santoni

Bug Description

When I start Mixxx (1.8 bzr rev 2573) I get hundreds of messages like this on the command line:
Debug: [LibraryScanner 1]: Updating directory status failed: QSqlError(-1, "Parameter count mismatch", "")

When the UI eventually shows up, I always get some folders re-scanned even though there are no changes in those folders.

Related branches

description: updated
RJ Skerry-Ryan (rryan) wrote :

Hey raskolnikov,

I saw this a couple days ago but I figured I had messed up my library. Albert made some changes in the library scanner recently that must have caused problems for pre-existing libraries. This is definitely a 1.8.0 blocker.

Thanks!
RJ

Changed in mixxx:
status: New → Confirmed
milestone: none → 1.8.0
importance: Undecided → Critical
assignee: nobody → Albert Santoni (gamegod)
RJ Skerry-Ryan (rryan) wrote :

This is actually a super-easy fix. Albert added a new column to a database table but didn't flag the minimum required schema version as 5 so our databases aren't updating.

I just pushed a fix to the 1.8 branch.

Changed in mixxx:
status: Confirmed → Fix Committed
raskolnikov (raskolnikov) wrote :

The error messages stop appearing when removing the old library library (which had been generated by 1.8 beta 2) but files keep being rescanned unneccesarily.

RJ Skerry-Ryan (rryan) wrote :

Hi raskolnikov,

Removing the old library is not necessary with my latest commits to the 1.8 branch.

How do you know which files are being scanned by Mixxx? Are you referring to the debug output?

You will likely see the scanner dialog going over every directory in your Library directory. This does not mean Mixxx is scanning new files, it is merely checking that nothing has changed in every directory of your Library. This is necessary on every startup of Mixxx to check for new files.

Regards,
RJ Ryan

raskolnikov (raskolnikov) wrote :

You are right, just checked and everything is working ok. Thanks for the fast fix.

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