collection count increases after each scan

Bug #203002 reported by noahsark1126
6
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Undecided
Unassigned

Bug Description

The count of the number of songs in the collection increases by 18 after every rescan, automatic or user-called. For example, it will start up and report the correct number, 3872. After one rescan, the output is

Library rescan called
Running is False
File count: 3872
Created db for thread Thread-9
{'Thread-9': <sqlite3.Connection object at 0x9ff1368>}
Committing 1500 scanned tracks...
Closed db for thread Thread-9
Committing 1500 scanned tracks...
Count is now: 3872

but in the Exaile window it now reports 3890. Another rescan:

Library rescan called
Running is False
File count: 3872
Created db for thread Thread-12
{'Thread-12': <sqlite3.Connection object at 0xa007368>}
Committing 1500 scanned tracks...
Committing 1500 scanned tracks...
Closed db for thread Thread-12
Count is now: 3872

the count is now 3908.

Revision history for this message
Old_Soldier (charles.davis) wrote :

could not get this bug to duplicate with v 0.2.11 under Hardy Beta.

Revision history for this message
noahsark1126 (noahsark1126) wrote :

forgot to mention, running version 0.2.12b on gutsy

Revision history for this message
noahsark1126 (noahsark1126) wrote :

duplicated under hardy beta, version 0.2.12b. note that i have also noticed this bug on previous versions of exaile.

Revision history for this message
noahsark1126 (noahsark1126) wrote :

same bug on update to 0.2.12

Revision history for this message
madmonk (madmonk80) wrote :

Slightly different bug here on Ubuntu Hardy 64bit with Exaile 0.2.13.

The number of tracks does not increase at each rescan but it just gives segmentation fault when it rescans:

madmonk@madmonk-ubuntu64:~$ exaile
location: /usr/lib/xulrunner-1.9/libxpcom.so
before 3
Exaile 0.2.13
Created db for thread Thread-1
{'Thread-1': <sqlite3.Connection object at 0x15456f0>}
Using multimedia keys from: gnome
loading tracks...
Starting scan timer at 25
Closed db for thread Thread-1
done loading tracks...
loading songs
Clearing tracks cache
Last playlist loaded
Library rescan called
Running is False
File count: 9324
Created db for thread Thread-7
{'Thread-7': <sqlite3.Connection object at 0x32edcd8>}
Committing 1500 scanned tracks...
Committing 1500 scanned tracks...
Segmentation fault

The file count is exact (according to amaroK installed here as well) but on the Exaile GUI it just says there are 3000 tracks in the collection instead of 9324... at the end it is unusable because of repeated crashes.

Revision history for this message
Bruno Dusausoy (bdusauso) wrote :

I confirm that this bug affects release 0.2.13 on Ubuntu Hardy 32-bits.

Revision history for this message
reacocard (reacocard) wrote :

Appears fixed in trunk.

Changed in exaile:
status: New → Fix Committed
reacocard (reacocard)
Changed in exaile:
milestone: none → 0.3.0
reacocard (reacocard)
Changed in exaile:
status: Fix Committed → Fix Released
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.