After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 605253 - Locking missing to avoid transcoding non-existing files
Locking missing to avoid transcoding non-existing files
Status: RESOLVED DUPLICATE of bug 614039
Product: banshee
Classification: Other
Component: Metadata
1.5.2
Other Linux
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-12-22 20:44 UTC by David Nielsen
Modified: 2010-12-09 22:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Nielsen 2009-12-22 20:44:17 UTC
I just hit what I suspect is a rather rare race condition. I have Banshee set to update and move files when metadata changes, and I noticed that if I set a large number of changes and then add the files to my HTC Hero. As the files in question were flac files these need to be transcoded.

However since Banshee returns directly after committing the changes to the database and the files are moved accordingly in the background, provided you immediately ask Banshee to transcode the files it will occasionally attempt to transcode files that have moved leading to errors and in one brave case a crash.

Reproduction:

1. Set Banshee to copy on import as well as updating and moving files according to the metadata.
2. add files in a format that isn't supported by your portable player and which have bad metadata
3. commit changes to metadata
4. after clicking okay, drag the files to your portable player

What happens:
Notice how occasionally Banshee will attempt to transcode non-existing files

Expected output:
After files have their metadata updated and related disk updates happened, the files should be transcoded and transfered to the device without errors.
Comment 1 David Nielsen 2010-12-09 22:55:32 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

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