GNOME Bugzilla – Bug 476366
metadata not written to file w/ unix io
Last modified: 2008-04-15 03:44:22 UTC
Using Banshee 0.13.1 and Mono 1.2.4.0 The workaround was to use the systemio backend. gconftool-2 --set /apps/banshee/core/system_io --type=string systemio -- ** Scheduler: Job started (Banshee.Base.SaveTrackMetadataJob) ** Scheduler: Job threw an unhandled exception: System.ArgumentException: Cannot specify OpenFlags.O_CREAT without providing FilePermissions. Use the Open(OpenFlags, FilePermissions) method instead at Mono.Unix.UnixFileInfo.Open (OpenFlags flags) [0x00000] at Mono.Unix.UnixFileInfo.Open (FileMode mode, FileAccess access) [0x00000] at Banshee.IO.Unix.DemuxVfs.get_WriteStream () [0x00000] in /home/wade/work/banshee/src/Core/Banshee.Base/IO/Unix.cs:209 at TagLib.File.set_Mode (AccessMode value) [0x00066] in /home/wade/work/banshee/ext/taglib-sharp/TagLib/File.cs:437 at TagLib.NonContainer.File.Save () [0x00000] in /home/wade/work/banshee/ext/taglib-sharp/TagLib/NonContainer/File.cs:205 at Banshee.Base.SaveTrackMetadataJob.Run () [0x000da] in /home/wade/work/banshee/src/Core/Banshee.Base/StreamTagger.cs:192 at Banshee.Kernel.Scheduler.ProcessJobThread () [0x000a5] in /home/wade/work/banshee/src/Core/Banshee.Base/Banshee.Kernel/Scheduler.cs:232 ** Scheduler: execution thread destroyed, no more jobs scheduled
I can confirm this bug on Ubuntu Gutsy, using Banshee 0.13.1 and Mono 1.2.4.0 from the Ubuntu Gutsy packages. Your workaround did not work for me at all, Wade. (Maybe I don't have the "systemio backend" enabled?) "banshee --debug" output: Setting IO Backend to Banshee.IO.Unix.IOConfig (unix) ** Scheduler: Job scheduled (Banshee.Base.SaveTrackMetadataJob, Highest) ** Scheduler: execution thread created ** Scheduler: Job started (Banshee.Base.SaveTrackMetadataJob) ** Scheduler: Job threw an unhandled exception: System.ArgumentException: Cannot specify OpenFlags.O_CREAT without providing FilePermissions. Use the Open(OpenFlags, FilePermissions) method instead at Mono.Unix.UnixFileInfo.Open (OpenFlags flags) [0x00000] at Mono.Unix.UnixFileInfo.Open (FileMode mode, FileAccess access) [0x00000] at Banshee.IO.Unix.DemuxVfs.get_WriteStream () [0x00000] in /build/buildd/banshee-0.13.1+dfsg/src/Core/Banshee.Base/IO/Unix.cs:209 at TagLib.File.set_Mode (AccessMode value) [0x00000] at TagLib.NonContainer.File.Save () [0x00000] at Banshee.Base.SaveTrackMetadataJob.Run () [0x000da] in /build/buildd/banshee-0.13.1+dfsg/src/Core/Banshee.Base/StreamTagger.cs:192 at Banshee.Kernel.Scheduler.ProcessJobThread () [0x000a5] in /build/buildd/banshee-0.13.1+dfsg/src/Core/Banshee.Base/Banshee.Kernel/Scheduler.cs:232 ** Scheduler: execution thread destroyed, no more jobs scheduled
Can either of you see if this is fixed in 0.13.2?
It doesn't seem to be fixed in Banshee-1. Metadata is still not written to the files, but "banshee-1 --debug" also doesn't show any errors. Is there any advanced debugging I should do? I'm running banshee-1 on Gutsy from the Banshee Team's PPA at https://edge.launchpad.net/~banshee-team/+archive. Banshee 1.0 Alpha 3 (0.98.3) Mono 1.2.6
This was (still) an issue in 1.0 alpha 3, but I committed a fix a few days ago.