Bug 280999

Summary: Automatic Playlist Generator is not adding any songs to playlist and apg interface hangs
Product: [Applications] amarok Reporter: Malar Kannan <malarkannan.p>
Component: Playlists/Automated Playlist GeneratorAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: normal CC: malarkannan.p, stharward
Priority: NOR    
Version: 2.4.3   
Target Milestone: 2.5   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Malar Kannan 2011-08-29 13:28:27 UTC
Version:           2.4.3 (using KDE 4.6.5) 
OS:                Linux

Automatic Playlist Generator is not adding any songs to playlist after selecting ing a preset and clicking generate. the automatic playlist generator grey's out and i can't select other presets anymore.
tried with different preset settings and optimization still the same result.

Reproducible: Always

Steps to Reproduce:
playlist->automatic playlist generator->select a preset and click generate

Actual Results:  
no songs added to playlist after clicking generate. after clicking generate i cannot select anyother preset and do it again as the apg interface freezes

Expected Results:  
apg to add songs to list and allow me to generate playlist again

when running amarok with --debug flag got the following output.


amarok: BEGIN: void WikipediaEnginePrivate::_dataContainerUpdated(const QString&, const Data&) 
amarok: END__: void WikipediaEnginePrivate::_dataContainerUpdated(const QString&, const Data&) [Took: 0s] 
amarok: BEGIN: void WikipediaApplet::dataUpdated(const QString&, const Data&) 
amarok: END__: void WikipediaApplet::dataUpdated(const QString&, const Data&) [Took: 0.18s] 
QWidget::setMinimumSize: (Media Sources dock/BrowserDock) Negative sizes (203,-1) are not possible
amarok: [APG::ConstraintSolver] Constraint Solver quality factor: 0.8 
amarok: [APG::ConstraintSolver] New ConstraintSolver with serial number 1583062977 
Object::connect: No such signal Collections::MemoryQueryMakerInternal::newResultReady(Meta::DataList)
amarok: [APG::ConstraintNode] new constraint node at 0x2914ad0 with parent at 0x283e420 
amarok: BEGIN: ConstraintTypes::TrackSpreader::TrackSpreader(ConstraintNode*) 
amarok: END__: ConstraintTypes::TrackSpreader::TrackSpreader(ConstraintNode*) [Took: 0s] 
amarok: [APG::ConstraintSolver] Running ConstraintSolver 1583062977 
amarok: [Constraint::TrackSpreader] audit final satisfaction 1 
amarok: [Constraint::TagMatch] "Yaar Yaar Sivam" true 
amarok: [Constraint::TagMatch] "Track 6" true 
amarok: [Constraint::TagMatch] "Vendetta" true 
amarok: [Constraint::TagMatch] "Artist" true 
amarok: [Constraint::TagMatch] "Track 2" true 
amarok: [Constraint::TagMatch] "Track 1" true 
amarok: [Constraint::TagMatch] "The Seer's Tower" true 
amarok: [APG::ConstraintSolver] ConstraintSolver 1583062977 finished with satisfaction 0.991944 
Object::connect: No such signal APG::ConstraintSolver::endProgressOperation( QObject * )
Object::connect: No such signal APG::ConstraintSolver::totalSteps( int )
QWidget::setMinimumSize: (Media Sources dock/BrowserDock) Negative sizes (203,-1) are not possible
amarok: [SqlRegistry]   albums: 80 (-2) of 168 cached 
amarok: [SqlRegistry]  artists: 34 (-2) of 65 cached 
amarok: [SqlRegistry]   genres: 18 (0) of 27 cached 
amarok: [SqlRegistry]   tracks: 111 (-8) of 814 cached 
amarok: BEGIN: void ScanManager::checkScannerVersion() 
amarok: END__: void ScanManager::checkScannerVersion() [Took: 0.02s] 
amarok: BEGIN: void ScanManager::checkForDirectoryChanges() 
amarok:   BEGIN: virtual void ScanManager::requestIncrementalScan(const QString&) 
amarok:     [ScanManager] addDirToList for "" 
amarok:   END__: virtual void ScanManager::requestIncrementalScan(const QString&) [Took: 0.001s] 
amarok:   BEGIN: DirWatchJob::DirWatchJob(QObject*, Collections::DatabaseCollection*) 
amarok:     BEGIN: virtual void ScannerJob::run() 
amarok:     END__: DirWatchJob::DirWatchJob(QObject*, Collections::DatabaseCollection*) [Took: 0.001s] 
amarok:     BEGIN: virtual void DirWatchJob::run() 
amarok:     END__: void ScanManager::checkForDirectoryChanges() [Took: 0.004s] 
QWidget::setMinimumSize: (Media Sources dock/BrowserDock) Negative sizes (203,-1) are not possible
amarok:   END__: virtual void DirWatchJob::run() [Took: 0.19s] 
amarok:   [ScanManager] ScannerJob: got count: 104 
amarok:   BEGIN: virtual void SqlScanResultProcessor::commit() 
amarok:   END__: virtual void SqlScanResultProcessor::commit() [Took: 0.06s] 
amarok:   [ScanManager] ScannerJob finished 
amarok: END__: virtual void ScannerJob::run() [Took: 0.31s] 
amarok: BEGIN: virtual ScannerJob::~ScannerJob() 
amarok: END__: virtual ScannerJob::~ScannerJob() [Took: 0s] 
QWidget::setMinimumSize: (Media Sources dock/BrowserDock) Negative sizes (203,-1) are not possible
amarok: BEGIN: void ProgressBar::cancel() 
amarok:   cancelling operation:  "Generating a new playlist" 
amarok: END__: void ProgressBar::cancel() [Took: 0.001s] 
QWidget::setMinimumSize: (Media Sources dock/BrowserDock) Negative sizes (203,-1) are not possible
Comment 1 Myriam Schweingruber 2011-08-31 22:06:00 UTC

*** This bug has been marked as a duplicate of bug 277865 ***