Bug 219857 - Copying Tracks from an external source only copies some tracks or not at all.
Summary: Copying Tracks from an external source only copies some tracks or not at all.
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Collections/Local (show other bugs)
Version: 2.3.1-GIT
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 250493 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-23 18:50 UTC by Nicolas
Modified: 2012-08-19 16:52 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.4.1
Sentry Crash Report:


Attachments
Amarok debug messages (21.85 KB, text/plain)
2009-12-23 18:50 UTC, Nicolas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas 2009-12-23 18:50:49 UTC
Created attachment 39291 [details]
Amarok debug messages

I tried to copy some tracks from my connected iPod to my local collection via right click context "copy to collection > local collection".
After i executed this function, i get the organise files dialog, to define how/where the files should be stored.
Then it seems to begin with copying of the files, but in the destination directory, i only get an emtpy Artist/Album directory without any tracks.

In the debug konsole of Amarok i get an error message for every file that should be copied.

see attachement.
Comment 1 Myriam Schweingruber 2009-12-24 10:21:53 UTC
Copying text attachment inline:

: BEGIN: virtual XmlParseJob::~XmlParseJob()                                                                              
amarok:   BEGIN: void CompoundProgressBar::childBarComplete(ProgressBar*)                                                       
amarok:     BEGIN: void ProgressBar::setDescription(const QString&)                                                             
amarok:     END__: void ProgressBar::setDescription(const QString&) - Took 0.00084s                                             
amarok:     BEGIN: void StatusBar::hideProgress()                                                                               
amarok:     END__: void StatusBar::hideProgress() - Took 0.0068s                                                                
amarok:   END__: void CompoundProgressBar::childBarComplete(ProgressBar*) - Took 0.011s                                         
amarok: END__: virtual XmlParseJob::~XmlParseJob() - Took 0.012s                                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Mosaik (Original Version)"                               
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  ""                                                        
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "2009"                                                    
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Mosaik 2014"                                             
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Electronic"                                              
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "(Original Version)"                                      
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Zero"                                                    
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  ""                                                        
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "2009"                                                    
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Mosaik 2014"                                             
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Electronic"                                              
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  ""                                                        
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Marauder"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  ""                                                        
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "2009"                                                    
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Mosaik 2014"                                             
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Electronic"                                              
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  ""                                                        
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Brass Cannon"                                            
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  ""                                                        
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "2009"                                                    
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Mosaik 2014"                                             
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Electronic"                                              
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  ""                                                        
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "High Wichita"                                            
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  ""                                                        
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "2009"                                                    
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Mosaik 2014"                                             
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Electronic"                                              
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  ""                                                        
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "European Grey"                                           
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  ""                                                        
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "2009"                                                    
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Mosaik 2014"                                             
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Electronic"                                              
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  ""                                                        
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Doom Boys"                                               
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  ""                                                        
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "2009"                                                    
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Mosaik 2014"                                             
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Electronic"                                              
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  ""                                                        
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Impressions d'Afrique"                                   
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  ""                                                        
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "2009"                                                    
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Mosaik 2014"                                             
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Electronic"                                              
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  ""                                                        
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Kreidler"                                                
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Luminous Procuress"                                      
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  ""                                                        
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "2009"                                                    
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Mosaik 2014"                                             
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Electronic"                                              
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  ""                                                        
amarok: BEGIN: bool SqlCollectionLocation::startNextJob()                                                                       
amarok:    copying from  KUrl("file:///media/MY_IPOD/iPod_Control/Music/F29/GAHJ.m4a")  to  KUrl("file:///srv/audio/Kreidler/Mosaik 2014/")                                                                                                                     
amarok:   BEGIN: void ProgressBar::setDescription(const QString&)                                                               
amarok:   END__: void ProgressBar::setDescription(const QString&) - Took 0.00066s                                               
amarok:   BEGIN: void CompoundProgressBar::addProgressBar(ProgressBar*, QObject*)                                               
amarok:     BEGIN: void ProgressBar::setDescription(const QString&)                                                             
amarok:     END__: void ProgressBar::setDescription(const QString&) - Took 0.00064s                                             
amarok:   END__: void CompoundProgressBar::addProgressBar(ProgressBar*, QObject*) - Took 0.0052s                                
amarok: END__: bool SqlCollectionLocation::startNextJob() - Took 0.033s                                                         
amarok: BEGIN: virtual OrganizeCollectionDialog::~OrganizeCollectionDialog()                                                    
amarok: END__: virtual OrganizeCollectionDialog::~OrganizeCollectionDialog() - Took 0.00057s                                    
amarok:   QUrl( "http://ws.audioscrobbler.com/2.0/?method=album.getinfo&api_key=402d3ca8e9bc9d3cf9b85e1202944ca5&album=iFloyd Fat Sampler 2006" )                                                                                                               
amarok:  [WARNING!] An error occurred when copying a file:  "A folder named /srv/audio/Kreidler/Mosaik 2014/ already exists."   
amarok: BEGIN: bool SqlCollectionLocation::startNextJob()                                                                       
amarok:    copying from  KUrl("file:///media/MY_IPOD/iPod_Control/Music/F28/BDDH.m4a")  to  KUrl("file:///srv/audio/Kreidler/Mosaik 2014/")                                                                                                                     
amarok:   BEGIN: void ProgressBar::setDescription(const QString&)                                                               
amarok:   END__: void ProgressBar::setDescription(const QString&) - Took 0.00069s                                               
amarok:   BEGIN: void CompoundProgressBar::addProgressBar(ProgressBar*, QObject*)                                               
amarok:     BEGIN: void ProgressBar::setDescription(const QString&)                                                             
amarok:     END__: void ProgressBar::setDescription(const QString&) - Took 0.00069s                                             
amarok:   END__: void CompoundProgressBar::addProgressBar(ProgressBar*, QObject*) - Took 0.014s                                 
amarok: END__: bool SqlCollectionLocation::startNextJob() - Took 0.026s                                                         
amarok: BEGIN: void CompoundProgressBar::childBarComplete(ProgressBar*)                                                         
amarok:   BEGIN: void ProgressBar::setDescription(const QString&)                                                               
amarok:   END__: void ProgressBar::setDescription(const QString&) - Took 0.00056s                                               
amarok: END__: void CompoundProgressBar::childBarComplete(ProgressBar*) - Took 0.0023s                                          
amarok:  [WARNING!] An error occurred when copying a file:  "A folder named /srv/audio/Kreidler/Mosaik 2014/ already exists."   
amarok: BEGIN: bool SqlCollectionLocation::startNextJob()                                                                       
amarok:    copying from  KUrl("file:///media/MY_IPOD/iPod_Control/Music/F24/IHTG.m4a")  to  KUrl("file:///srv/audio/Kreidler/Mosaik 2014/")                                                                                                                     
amarok:   BEGIN: void ProgressBar::setDescription(const QString&)                                                               
amarok:   END__: void ProgressBar::setDescription(const QString&) - Took 0.00066s                                               
amarok:   BEGIN: void CompoundProgressBar::addProgressBar(ProgressBar*, QObject*)                                               
amarok:     BEGIN: void ProgressBar::setDescription(const QString&)                                                             
amarok:     END__: void ProgressBar::setDescription(const QString&) - Took 0.00069s                                             
amarok:   END__: void CompoundProgressBar::addProgressBar(ProgressBar*, QObject*) - Took 0.012s                                 
amarok: END__: bool SqlCollectionLocation::startNextJob() - Took 0.018s                                                         
amarok: BEGIN: void CompoundProgressBar::childBarComplete(ProgressBar*)                                                         
amarok:   BEGIN: void ProgressBar::setDescription(const QString&)                                                               
amarok:   END__: void ProgressBar::setDescription(const QString&) - Took 0.00051s                                               
amarok: END__: void CompoundProgressBar::childBarComplete(ProgressBar*) - Took 0.0021s                                          
amarok:  [WARNING!] An error occurred when copying a file:  "A folder named /srv/audio/Kreidler/Mosaik 2014/ already exists."   
amarok: BEGIN: bool SqlCollectionLocation::startNextJob()                                                                       
amarok:    copying from  KUrl("file:///media/MY_IPOD/iPod_Control/Music/F28/GGAH.m4a")  to  KUrl("file:///srv/audio/Kreidler/Mosaik 2014/")                                                                                                                     
amarok:   BEGIN: void ProgressBar::setDescription(const QString&)                                                               
amarok:   END__: void ProgressBar::setDescription(const QString&) - Took 0.0006s                                                
amarok:   BEGIN: void CompoundProgressBar::addProgressBar(ProgressBar*, QObject*)                                               
amarok:     BEGIN: void ProgressBar::setDescription(const QString&)                                                             
amarok:     END__: void ProgressBar::setDescription(const QString&) - Took 0.0017s                                              
amarok:   END__: void CompoundProgressBar::addProgressBar(ProgressBar*, QObject*) - Took 0.032s                                 
amarok: END__: bool SqlCollectionLocation::startNextJob() - Took 0.037s                                                         
amarok: BEGIN: void CompoundProgressBar::childBarComplete(ProgressBar*)                                                         
amarok:   BEGIN: void ProgressBar::setDescription(const QString&)                                                               
amarok:   END__: void ProgressBar::setDescription(const QString&) - Took 0.00069s                                               
amarok: END__: void CompoundProgressBar::childBarComplete(ProgressBar*) - Took 0.0025s                                          
amarok:  [WARNING!] An error occurred when copying a file:  "A folder named /srv/audio/Kreidler/Mosaik 2014/ already exists."   
amarok: BEGIN: bool SqlCollectionLocation::startNextJob()                                                                       
amarok:    copying from  KUrl("file:///media/MY_IPOD/iPod_Control/Music/F04/ECDV.m4a")  to  KUrl("file:///srv/audio/Kreidler/Mosaik 2014/")                                                                                                                     
amarok:   BEGIN: void ProgressBar::setDescription(const QString&)                                                               
amarok:   END__: void ProgressBar::setDescription(const QString&) - Took 0.00057s                                               
amarok:   BEGIN: void CompoundProgressBar::addProgressBar(ProgressBar*, QObject*)                                               
amarok:     BEGIN: void ProgressBar::setDescription(const QString&)                                                             
amarok:     END__: void ProgressBar::setDescription(const QString&) - Took 0.0006s                                              
amarok:   END__: void CompoundProgressBar::addProgressBar(ProgressBar*, QObject*) - Took 0.039s                                 
amarok: END__: bool SqlCollectionLocation::startNextJob() - Took 0.044s                                                         
amarok: BEGIN: void CompoundProgressBar::childBarComplete(ProgressBar*)                                                         
amarok:   BEGIN: void ProgressBar::setDescription(const QString&)                                                               
amarok:   END__: void ProgressBar::setDescription(const QString&) - Took 0.00061s                                               
amarok: END__: void CompoundProgressBar::childBarComplete(ProgressBar*) - Took 0.0026s                                          
amarok:  [WARNING!] An error occurred when copying a file:  "A folder named /srv/audio/Kreidler/Mosaik 2014/ already exists."   
amarok: BEGIN: bool SqlCollectionLocation::startNextJob()
Comment 2 Nicolas 2009-12-24 11:39:41 UTC
Now i found out, that the this problem not only occurs during copying files from iPod collection to local collection.

The same happens if i use the file browser to copy files from outside my collection (/home/user/media/neue-mp3/* ) to my local collection.

debug messages from amarok:

amarok:    copying from  KUrl("file:///home/user/media/neue_mp3/Lagwagon-I_Think_My_Older_Brother_Used_To_Listen_To_Lagwagon-(EP)-2008-pLAN9/03_-_Errands.mp3")  to  KUrl("file:///srv/audio/Lagwagon/I_Think_My_Older_Brother_Used_To_Listen_To_Lagwagon/")                                                                                                                                
amarok:   BEGIN: void ProgressBar::setDescription(const QString&)                                                               
amarok:   END__: void ProgressBar::setDescription(const QString&) - Took 0.00022s                                               
amarok:   BEGIN: void CompoundProgressBar::addProgressBar(ProgressBar*, QObject*)                                               
amarok:     BEGIN: void ProgressBar::setDescription(const QString&)                                                             
amarok:     END__: void ProgressBar::setDescription(const QString&) - Took 0.00025s                                             
amarok:   END__: void CompoundProgressBar::addProgressBar(ProgressBar*, QObject*) - Took 0.0048s                                
amarok: END__: bool SqlCollectionLocation::startNextJob() - Took 0.0065s                                                        
amarok: BEGIN: void CompoundProgressBar::childBarComplete(ProgressBar*)                                                         
amarok:   BEGIN: void ProgressBar::setDescription(const QString&)                                                               
amarok:   END__: void ProgressBar::setDescription(const QString&) - Took 0.0002s                                                
amarok: END__: void CompoundProgressBar::childBarComplete(ProgressBar*) - Took 0.00084s                                         
amarok:  [WARNING!] An error occurred when copying a file:  "A folder named /srv/audio/Lagwagon/I_Think_My_Older_Brother_Used_To_Listen_To_Lagwagon/ already exists."                                                                                           
amarok: BEGIN: bool SqlCollectionLocation::startNextJob()                                                                       
amarok:    copying from  KUrl("file:///home/user/media/neue_mp3/Lagwagon-I_Think_My_Older_Brother_Used_To_Listen_To_Lagwagon-(EP)-2008-pLAN9/02_-_No_Little_Pill.mp3")  to  KUrl("file:///srv/audio/Lagwagon/I_Think_My_Older_Brother_Used_To_Listen_To_Lagwagon/")                                                                                                                         
amarok:   BEGIN: void ProgressBar::setDescription(const QString&)                                                               
amarok:   END__: void ProgressBar::setDescription(const QString&) - Took 0.00052s                                               
amarok:   BEGIN: void CompoundProgressBar::addProgressBar(ProgressBar*, QObject*)                                               
amarok:     BEGIN: void ProgressBar::setDescription(const QString&)                                                             
amarok:     END__: void ProgressBar::setDescription(const QString&) - Took 0.0002s                                              
amarok:   END__: void CompoundProgressBar::addProgressBar(ProgressBar*, QObject*) - Took 0.0066s                                
amarok: END__: bool SqlCollectionLocation::startNextJob() - Took 0.011s                                                         
amarok: BEGIN: void CompoundProgressBar::childBarComplete(ProgressBar*)                                                         
amarok:   BEGIN: void ProgressBar::setDescription(const QString&)                                                               
amarok:   END__: void ProgressBar::setDescription(const QString&) - Took 0.00022s                                               
amarok: END__: void CompoundProgressBar::childBarComplete(ProgressBar*) - Took 0.00094s                                         
amarok:  [WARNING!] An error occurred when copy
Comment 3 Myriam Schweingruber 2009-12-25 08:51:51 UTC
Adapting title to the bug report. Confirmed when trying to copy files from a MTP media player to local collection. The first track copies OK, the following newer show up (checked with a file browser). Using Kubuntu 9.10, KDE 4.4 beta 2, Qt 4.6.1, Amarok 2.2-git
Comment 4 Sven Krohlas 2010-04-09 14:02:56 UTC
Is this still a problem in git master?
Comment 5 Myriam Schweingruber 2010-09-07 21:47:02 UTC
Yes, it is, copying from an MTP device only works partially.
Comment 6 Myriam Schweingruber 2010-09-07 21:47:52 UTC
*** Bug 250493 has been marked as a duplicate of this bug. ***
Comment 7 Myriam Schweingruber 2011-06-04 11:47:59 UTC
This is an automated message from the triager:

Amarok 2.4.1 has been released on May 8 already. Could you please upgrade and test if you can still reproduce this bug?

Without feedback within a month we will close this bug as resolved.

Thank you for your understanding.
Comment 8 Amaury De Ganseman 2011-06-04 11:49:49 UTC
No problem with the lastest version (2.4.1).
Comment 9 Myriam Schweingruber 2011-06-04 12:05:36 UTC
Thank you for the fast feedback :)