Bug 115275

Summary: banshee crashes at first start
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Andreas Jaeger <aj>
Component: GNOMEAssignee: Gary Ekker <gekker>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None    
Version: Beta 4   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Jaeger 2005-09-05 09:50:43 UTC
aj@x40:~> rm -rf .config/sonance/
aj@x40:~> rm -rf .config/banshee/
aj@x40:~> banshee
0: Active Player Engine is now 'Helix'

Unhandled Exception: System.ApplicationException: Couldn't create player: No
HELIX_LIBS?
in <0x005e2> Helix.HxPlayer:.ctor ()
in <0x00020> Banshee.HelixPlayer:Initialize ()
in <0x001da> Banshee.Core:.ctor ()
in <0x0001f> Banshee.Core:get_Instance ()
in <0x001f8> Banshee.BansheeEntry:Main (System.String[] args)
aj@x40:~> banshee
0: Active Player Engine is now 'Helix'
1: Loaded PlayerEngine core: Helix
2: Loaded AudioCdPlayerEngine core: GStreamer
3: Audio CD Core Initialized
4: Registered Banshee.LibraryLoadTransaction
5: Executing Banshee.LibraryLoadTransaction
6: Registered Banshee.SqlLoadTransaction
7: Executing Banshee.SqlLoadTransaction

this is with the latest RPMs that were submitted yesterday.
Comment 1 Aaron Bockover 2005-09-05 11:27:25 UTC
is HELIX_LIBS set? HELIX_LIBS is detected at configure and set in the wrapper
script. Real has no sane way of letting anyone know where it's installed other
than the HELIX_LIBS env. 

HELIX_LIBS points to the libraries for all of the Real/Helix player core.
Specifically, hxclientkit needs HELIX_LIBS/common/clntcore.so to initialize. Do
you have a RealPlayer installed where HELIX_LIBS is pointing? For me, under
SuSE, it has always been /usr/lib/RealPlayer10
Comment 2 Andreas Jaeger 2005-09-05 11:39:44 UTC
Where should I set HELIX_LIBS?  I haven't done this manually.

Realplayer is installed under /usr/lib/RealPlay10
Comment 3 JP Rosevear 2005-09-05 17:39:40 UTC
As noted, HELIX_LIBS is set in the wrapper script, /usr/bin/banshee.

I'm not seeing this issue with 0.9.5 or 0.9.6
Comment 4 Andreas Jaeger 2005-09-05 18:20:29 UTC
I'm seeing this with banshee-0.9.5-2.  Note that I only see this after I delete
the .config files.
Comment 5 Aaron Bockover 2005-09-05 18:52:37 UTC
As of 0.9.5, I don't think Banshee uses ~/.config/banshee for anything anymore.
The only thing it used to use that for was for storing its database. The default
library location is now ~/My Music, and the database is stored in that directory
with the name ".banshee.db" It shouldn't have any affect on HELIX_LIBS
whatsoever, but can you try taking clearing some settings in gconf under
/apps/Banshee?

And you're sure that you actually have RP installed at HELIX_LIBS? My feeling
might be that it was configured for HELIX_LIBS in the proper place, but maybe it
got moved or something.
Comment 6 Andreas Jaeger 2005-09-06 07:14:27 UTC
Testing with 0.9.6 now.
0.9.6 still creates ~/.config/banshee and ~/.config/sonance.

After:
rm -rf .config/banshee .config/sonance .gconf/apps/Banshee

I still get this crash.  Could you test exactly this on a 10.0 system, please?

Comment 7 JP Rosevear 2005-09-07 13:41:06 UTC
I think I know what the issue is, only the helix engine is running gst-register.
 the gst engine needs to as well.  Try mbuild packages macintyre-jpr-36.

Comment 8 Gary Ekker 2005-09-07 20:35:14 UTC
Added gst-register to %post for banshee-engine-gst. Let's see if that fixes it
for you AJ.
Comment 9 Andreas Jaeger 2005-09-09 05:07:09 UTC
Setting to NEEDINFO AJ so that he remembers to check this. ;-)
Comment 10 Andreas Jaeger 2005-09-09 07:53:36 UTC
Just installed latest packages: This fixes it for me, thanks.