Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155322 - media-sound/banshee-0.11.2 compiled with mono-1.2 won't import
Summary: media-sound/banshee-0.11.2 compiled with mono-1.2 won't import
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Luis Medinas (RETIRED)
URL:
Whiteboard:
Keywords:
: 155742 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-15 22:13 UTC by dkeav
Modified: 2006-12-04 03:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dkeav 2006-11-15 22:13:05 UTC
there is a problem with banshee when compiled, and ran with mono-1.2 the IO backend unix default, where banshee will not import anything and will only return

Setting IO Backend to Banshee.IO.Unix.IOConfig (unix)

work around for now is to change the IO backend to systemio until banshee is updated

gconftool-2 --set /apps/Banshee/IOBackend --type string systemio

hope that helps some people when it starts popping up
Comment 1 Luis Medinas (RETIRED) gentoo-dev 2006-11-16 03:25:47 UTC
ehehe

http://planet.gentoo.org/developers/metalgod/2006/11/14/good_and_bad_news_for_my_desktop_1

reading planet is a good resource too. Let's wait for mono 1.2.1.
Comment 2 dkeav 2006-11-16 07:34:50 UTC
damn! well i tried :)
Comment 3 Luis Medinas (RETIRED) gentoo-dev 2006-11-20 02:59:13 UTC
*** Bug 155742 has been marked as a duplicate of this bug. ***
Comment 4 Anant Narayanan (RETIRED) gentoo-dev 2006-11-20 03:23:19 UTC
Is this bug the same as #155742? I tried setting the GConf entry to systemio, but that still doesn't help me. Banshee still crashes (doesn't even start) with the UnhandledException (Divide by Zero)
Comment 5 Luis Medinas (RETIRED) gentoo-dev 2006-11-20 03:33:25 UTC
either way the upstream is aware of this. The problem is related with mono 1.2 so you need to downgrade to 1.1.18 or wait for 1.2.1. I know the situation isn't good but these is our chances for now. I can reopen for you just to not get the feeling it's the same issue.
Comment 6 Anant Narayanan (RETIRED) gentoo-dev 2006-11-20 04:26:47 UTC
Oh, ok :)

No need to reopen, just wanted to confirm that it is indeed Mono 1.2 that is causing both errors.

Thanks!
Comment 7 Anant Narayanan (RETIRED) gentoo-dev 2006-11-20 07:15:44 UTC
Quick update on this, I downgraded to mono-1.1.18-r1 and recompiled banshee, but I still get the error. This leads me to believe that this is an issue with banshee-0.11.2 rather than mono-1.2.

Warning: [11/20/2006 20:44:01] (Cannot connect to NetworkManager) - An available, working network connection will be assumed
Debug: [11/20/2006 20:44:01] (Loading audio profiles) - /usr/share/banshee/audio-profiles

(/usr/lib/banshee/banshee.exe:3970): GLib-GObject-WARNING **: value "128" of type `gint' is invalid or out of range for property `bitrate' of type `gint'
Debug: [11/20/2006 20:44:02] (Default player engine) - GStreamer 0.10
Debug: [11/20/2006 20:44:02] (Audio CD Core Initialized) - 
Warning: [11/20/2006 20:44:02] (Could not initialize plugin `Daap') - Daemon not running
Setting MusicBrainz proxy to www.musicbrainz.org:80
Division by zero
System.DivideByZeroException: Division by zero
in (unmanaged) 0xb629c55e
at (wrapper managed-to-native) Gtk.Dialog.gtk_dialog_run (intptr) <0x00004>
at Gtk.Dialog.Run () <0x00024>
at Banshee.Gui.GladeDialog.Run () <0x00019>
at Banshee.PlayerUI.PromptForImport (bool) <0x000b1>
at Banshee.PlayerUI.PromptForImport () <0x0000c>
at <>c__CompilerGenerated2.<>c__AnonymousMethod2 (object,System.EventArgs) <0x00010>
at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_object_EventArgs (object,System.EventArgs) <0x0003e>
at InvokeCB.Invoke () <0x0001a>
at (wrapper delegate-invoke) System.MulticastDelegate.invoke_bool () <0x0002c>
at TimeoutProxy.Handler () <0x0002a>
at (wrapper native-to-managed) TimeoutProxy.Handler () <0x00036>
in (unmanaged) 0xb7f2555a
at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004>
at Gtk.Application.Run () <0x00007>
at Banshee.BansheeEntry.Startup (string[]) <0x00657>
at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_string[] (string[]) <0x00037>
at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.CleanRoomStartup/StartupInvocationHandler,string[]) <0x000ae>


Unhandled Exception: System.DivideByZeroException: Division by zero
  at <0x00000> <unknown method>
  at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000] 
  at Banshee.BansheeEntry.Main (System.String[] args) [0x00000]
Comment 8 Henrique Rodrigues 2006-11-25 05:08:43 UTC
mono-1.2.1 is now in the portage tree and I can confirm that it fixes this bug.
Comment 9 Luis Medinas (RETIRED) gentoo-dev 2006-12-04 03:27:34 UTC
Yes it's fixed on mono 1.2.1. So closing the bug.