Stephen Lau wrote: >> 11. Get an dialog for "internal playback core error": >> http://www.flickr.com/photos/39375616 at N00/2293710392/. Click "more >> info" won't help... Proceed by "more info" and "continue". >> >> 12. Accept the license >> agreement(http://www.flickr.com/photos/39375616 at N00/2293710394/) and >> get to "Setup >> options"(http://www.flickr.com/photos/39375616 at N00/2293710396/). The >> network connection option can be set >> here(http://www.flickr.com/photos/39375616 at N00/2293710400/). Choose >> "OK" will bring me to the main window finally: >> http://www.flickr.com/photos/39375616 at N00/2293710404/. >> >> The error message >> " >> JavaScript error: , line 0: uncaught exception: [Exception... >> "'Component not initialized' when calling method: >> [sbIPlaylistPlayback::getSupportedFileExtensions]" nsresult: >> "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame :: >> chrome://songbird/content/scripts/playerOpen.js :: SBFileOpen :: line >> 65" data: no] >> " >> in the log shows that there are something wrong with the component >> initialization for "@songbirdnest.com/Songbird/PlaylistPlayback;1". >> The files are in compiled/dist/components, for example: >> sbPlaylistPlayback.js. It seems that xulrunner has some problem >> finding all these files and registering the components. >> > Interesting. If you look at your compiled/dist/chrome/songbird.jar, and > look inside that for content/songbird/scripts/playerOpen.js, does that > exist? > Hi Stephen,
The js file does exist in the jar file. I check the code a little bit. The error should be related to the following code snippet in compiled/dist/components/sbPlaylistPlayback.js: " var PPS = Components.classes["@songbirdnest.com/SongbirdPlaylistPlayback;1"].getService(Components.interfaces.sbIPlaylistPlayback); ...... var eExtensions = PPS.getSupportedFileExtensions(); " > I've forwarded your email to our developers, and will see if I can get a > build up over here. Just to confirm, are you building with Sun Studio? > or gcc? Cool. I'm using Sun Studio 11. %cc -V cc: Sun C 5.8 Patch 121016-05 2007/01/10 usage: cc [ options] files. Use 'cc -flags' for details %CC -V CC: Sun C++ 5.8 Patch 121018-07 2006/11/01 Thanks, -Alfred
