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 476366 - metadata not written to file w/ unix io
metadata not written to file w/ unix io
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: Metadata
0.98.3
Other Linux
: Normal normal
: 0.99.1
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-09-12 23:21 UTC by Wade Menard
Modified: 2008-04-15 03:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Wade Menard 2007-09-12 23:21:49 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
Comment 1 Benedikt Henrichs 2008-03-04 18:35:53 UTC
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
Comment 2 Andrew Conkling 2008-03-04 23:01:11 UTC
Can either of you see if this is fixed in 0.13.2?
Comment 3 Benedikt Henrichs 2008-04-13 15:10:17 UTC
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
Comment 4 Gabriel Burt 2008-04-15 03:44:22 UTC
This was (still) an issue in 1.0 alpha 3, but I committed a fix a few days ago.