PDA

View Full Version : Crash on startup


manuel
July 2nd, 2008, 02:21 PM
Just downloaded it and couldn't even start it. Here is the log:

20:05:34 T:2693914528 M:217022464 NOTICE: Mapping drive Z to /tmp/boxee
20:05:34 T:2693914528 M:217014272 NOTICE: Mapping drive Q to /Applications/Boxee.app/Contents/MacOS
20:05:34 T:2693914528 M:217014272 NOTICE: Mapping drive H to /Users/manuel
20:05:34 T:2693914528 M:217014272 WARNING: CopyFile, cant open file </Applications/Boxee.app/Contents/MacOS/userdata/Keymap.xml>. trying to use lowercase </applications/boxee.app/contents/macos/userdata/keymap.xml>
20:05:34 T:2693914528 M:217006080 ERROR: CopyFile - cant open source file </Applications/Boxee.app/Contents/MacOS/userdata/Keymap.xml>
20:05:34 T:2693914528 M:217006080 WARNING: CopyFile, cant open file </Applications/Boxee.app/Contents/MacOS/userdata/RssFeeds.xml>. trying to use lowercase </applications/boxee.app/contents/macos/userdata/rssfeeds.xml>
20:05:34 T:2693914528 M:217006080 ERROR: CopyFile - cant open source file </Applications/Boxee.app/Contents/MacOS/userdata/RssFeeds.xml>
20:05:34 T:2693914528 M:217006080 NOTICE: Mapping drive T to /Users/manuel/Library/Application Support/BOXEE/UserData
20:05:34 T:2693914528 M:217006080 NOTICE: Mapping drive U to /Users/manuel/Library/Application Support/BOXEE/UserData
20:05:34 T:2693914528 M:216903680 NOTICE: -----------------------------------------------------------------------
20:05:34 T:2693914528 M:216903680 NOTICE: Starting XBMC, Platform: Mac OS X. Built on Jun 30 2008
20:05:34 T:2693914528 M:216903680 NOTICE: Q is mapped to: /Applications/Boxee.app/Contents/MacOS
20:05:34 T:2693914528 M:216903680 NOTICE: The executeable running is: /Applications/Boxee.app/Contents/MacOS/Boxee
20:05:34 T:2693914528 M:216903680 NOTICE: Log File is located:
20:05:34 T:2693914528 M:216903680 NOTICE: -----------------------------------------------------------------------
20:05:34 T:2693914528 M:216895488 NOTICE: Setup SDL
20:05:34 T:2693914528 M:216084480 INFO: Available videomodes:
20:05:34 T:2693914528 M:216076288 INFO: Found mode: 1280x800
20:05:34 T:2693914528 M:216076288 INFO: Found mode: 1152x720
20:05:34 T:2693914528 M:216076288 INFO: Found mode: 1024x768
20:05:34 T:2693914528 M:216076288 INFO: Found mode: 1024x640
20:05:34 T:2693914528 M:216076288 INFO: Found mode: 800x600
20:05:34 T:2693914528 M:216076288 INFO: Found mode: 800x500
20:05:34 T:2693914528 M:216031232 INFO: Drives are mapped
20:05:34 T:2693914528 M:216031232 NOTICE: load settings...
20:05:34 T:2693914528 M:216027136 NOTICE: Mapping drive P to /Users/manuel/Library/Application Support/BOXEE/UserData
20:05:34 T:2693914528 M:216023040 NOTICE: loading /Users/manuel/Library/Application Support/BOXEE/UserData/guisettings.xml
20:05:34 T:2693914528 M:215998464 NOTICE: Getting hardware information now...
20:05:34 T:2693914528 M:215998464 INFO: Using analog output
20:05:34 T:2693914528 M:215998464 INFO: AC3 pass through is enabled
20:05:34 T:2693914528 M:215998464 INFO: DTS pass through is enabled
20:05:34 T:2693914528 M:215998464 NOTICE: Checking resolution 12
20:05:34 T:2693914528 M:215998464 NOTICE: Per AV pack settings are off
20:05:34 T:2693914528 M:215953408 NOTICE: /Users/manuel/Library/Application Support/BOXEE/UserData/sources.xml
20:05:34 T:2693914528 M:215949312 ERROR: Load Error loading /Users/manuel/Library/Application Support/BOXEE/UserData/sources.xml: Line 0, Failed to open file
20:05:34 T:2693914528 M:215920640 INFO: (helper) Stopping helper
20:05:34 T:2693914528 M:215920640 INFO: (helper) killing process 703
20:05:34 T:2693914528 M:215920640 INFO: (helper) Starting helper with config: <--timeout 500>
20:05:34 T:2693914528 M:215928832 INFO: (helper) installing helper. config: <--timeout 500>
20:05:34 T:2693914528 M:215465984 INFO: Checking skinpath existance, and existence of keymap.xml:Q:\skin...
20:05:34 T:2693914528 M:210194432 INFO: GL: OpenGL Vendor String: Intel Inc.
20:05:35 T:2693914528 M:210313216 INFO: GL: Enabling VSYNC
20:05:35 T:2693914528 M:210305024 INFO: load language info file: /Applications/Boxee.app/Contents/MacOS/language/English/langinfo.xml
20:05:35 T:2693914528 M:210305024 ERROR: unable to load /Applications/Boxee.app/Contents/MacOS/language/English/langinfo.xml: Failed to open file at line 0
20:05:35 T:2693914528 M:210305024 INFO: load keyboard layout configuration info file: /Applications/Boxee.app/Contents/MacOS/language/English/keyboardmap.xml
20:05:35 T:2693914528 M:210305024 ERROR: unable to load /Applications/Boxee.app/Contents/MacOS/language/English/keyboardmap.xml: Failed to open file at line 0
20:05:35 T:2693914528 M:210300928 INFO: load language file:/Applications/Boxee.app/Contents/MacOS/language/English/strings.xml
20:05:35 T:2693914528 M:210300928 ERROR: unable to load /Applications/Boxee.app/Contents/MacOS/language/English/strings.xml: Failed to open file at line 0
20:05:35 T:2693914528 M:210296832 WARNING: Emergency recovery console starting...

All the files it tries to load at the end don't exist. Is it an installation error?

MistralZ
July 2nd, 2008, 03:59 PM
Could you verify that the files mentioned in the log are indeed there? For example, go to /Applications/Boxee.app/Contents/MacOS/userdata/ using the Terminal (or right click on Boxee.app and then "Show Package Contents" in the Finder) and see if the Keymap.xml is in place?

manuel
July 2nd, 2008, 04:58 PM
The folder /Applications/Boxee.app/Contents/MacOS/ is empty expect for the executable Boxee file. So all these files it tries to load there do not exist. Nor does the /Users/manuel/Library/Application\ Support/BOXEE/UserData/sources.xml file.

vulkan
July 2nd, 2008, 07:14 PM
hi manuel.
it looks like you are trying to run the Boxee executable directly. are you?
you should be clicking the Boxee.app icon from /Applications

please let me know if this is the case

cheers,
vulkan.

manuel
July 3rd, 2008, 04:55 AM
I tried both. When I started the Boxee.app from Finder, it just opened that standard-Apple crash window asking me to send some info to Apple. Then I tried to run the executable from the Terminal to get more helpful information. It crashed and told me to see the logfile I posted earlier. I’m sorry I didn't make that clear.

manuel
July 3rd, 2008, 05:13 AM
Hi again,

All the files it can’t find are language related. I don’t know whether this plays a role, but I’m running a German system. Am I the only one who has tried to install it on a non-English operating system? I looked at the files that are in the installation package and did not find the ones it fails to load when starting. So I assume these files are created when you first run Boxee, right? And maybe it expects an English operating system when it creates these files.

Manuel

vulkan
July 3rd, 2008, 05:14 AM
please try the following - and post the output and log.
from command line (Terminal):

cd /Applications
open Boxee.app

thanks.
-vulkan.

vulkan
July 3rd, 2008, 05:18 AM
about the language files - those are part of the distribution and you should have no problem running on a non-english system.

maybe something went wrong during installation. maybe the install pkg file didnt download completely.
you can try downloading it again and re-installing.
please post the file size of the .pkg you have on disk.

thanks.
-vulkan.

manuel
July 3rd, 2008, 05:23 AM
There is no output. The /var/tmp/xbmc.log file looks just the same:

11:19:12 T:2693914528 M:490643456 NOTICE: Mapping drive Z to /tmp/boxee
11:19:12 T:2693914528 M:490643456 NOTICE: Mapping drive Q to /Applications/Boxee.app/Contents/MacOS
11:19:12 T:2693914528 M:490643456 NOTICE: Mapping drive H to /Users/manuel
11:19:12 T:2693914528 M:490643456 WARNING: CopyFile, cant open file </Applications/Boxee.app/Contents/MacOS/userdata/Keymap.xml>. trying to use lowercase </applications/boxee.app/contents/macos/userdata/keymap.xml>
11:19:12 T:2693914528 M:490643456 ERROR: CopyFile - cant open source file </Applications/Boxee.app/Contents/MacOS/userdata/Keymap.xml>
11:19:12 T:2693914528 M:490643456 WARNING: CopyFile, cant open file </Applications/Boxee.app/Contents/MacOS/userdata/RssFeeds.xml>. trying to use lowercase </applications/boxee.app/contents/macos/userdata/rssfeeds.xml>
11:19:12 T:2693914528 M:490643456 ERROR: CopyFile - cant open source file </Applications/Boxee.app/Contents/MacOS/userdata/RssFeeds.xml>
11:19:12 T:2693914528 M:490643456 NOTICE: Mapping drive T to /Users/manuel/Library/Application Support/BOXEE/UserData
11:19:12 T:2693914528 M:490643456 NOTICE: Mapping drive U to /Users/manuel/Library/Application Support/BOXEE/UserData
11:19:12 T:2693914528 M:490639360 NOTICE: -----------------------------------------------------------------------
11:19:12 T:2693914528 M:490639360 NOTICE: Starting XBMC, Platform: Mac OS X. Built on Jun 30 2008
11:19:12 T:2693914528 M:490639360 NOTICE: Q is mapped to: /Applications/Boxee.app/Contents/MacOS
11:19:12 T:2693914528 M:490639360 NOTICE: The executeable running is: /Applications/Boxee.app/Contents/MacOS/Boxee
11:19:12 T:2693914528 M:490639360 NOTICE: Log File is located:
11:19:12 T:2693914528 M:490672128 NOTICE: -----------------------------------------------------------------------
11:19:12 T:2693914528 M:490708992 NOTICE: Setup SDL
11:19:12 T:2693914528 M:490205184 INFO: Available videomodes:
11:19:12 T:2693914528 M:490205184 INFO: Found mode: 1280x800
11:19:12 T:2693914528 M:490205184 INFO: Found mode: 1152x720
11:19:12 T:2693914528 M:490205184 INFO: Found mode: 1024x768
11:19:12 T:2693914528 M:490205184 INFO: Found mode: 1024x640
11:19:12 T:2693914528 M:490205184 INFO: Found mode: 800x600
11:19:12 T:2693914528 M:490205184 INFO: Found mode: 800x500
11:19:12 T:2693914528 M:490176512 INFO: Drives are mapped
11:19:12 T:2693914528 M:490176512 NOTICE: load settings...
11:19:12 T:2693914528 M:490176512 NOTICE: Mapping drive P to /Users/manuel/Library/Application Support/BOXEE/UserData
11:19:12 T:2693914528 M:490176512 NOTICE: loading /Users/manuel/Library/Application Support/BOXEE/UserData/guisettings.xml
11:19:12 T:2693914528 M:490749952 NOTICE: Getting hardware information now...
11:19:12 T:2693914528 M:490749952 INFO: Using analog output
11:19:12 T:2693914528 M:490749952 INFO: AC3 pass through is enabled
11:19:12 T:2693914528 M:490749952 INFO: DTS pass through is enabled
11:19:12 T:2693914528 M:490749952 NOTICE: Checking resolution 12
11:19:12 T:2693914528 M:490749952 NOTICE: Per AV pack settings are off
11:19:12 T:2693914528 M:490749952 NOTICE: /Users/manuel/Library/Application Support/BOXEE/UserData/sources.xml
11:19:12 T:2693914528 M:490749952 ERROR: Load Error loading /Users/manuel/Library/Application Support/BOXEE/UserData/sources.xml: Line 0, Failed to open file
11:19:12 T:2693914528 M:490749952 INFO: (helper) Stopping helper
11:19:12 T:2693914528 M:490749952 INFO: (helper) Starting helper with config: <--timeout 500>
11:19:12 T:2693914528 M:490749952 INFO: (helper) installing helper. config: <--timeout 500>
11:19:12 T:2693914528 M:490696704 INFO: Checking skinpath existance, and existence of keymap.xml:Q:\skin...
11:19:13 T:2693914528 M:485654528 INFO: GL: OpenGL Vendor String: Intel Inc.
11:19:13 T:2693914528 M:485482496 INFO: GL: Enabling VSYNC
11:19:13 T:2693914528 M:485466112 INFO: load language info file: /Applications/Boxee.app/Contents/MacOS/language/English/langinfo.xml
11:19:13 T:2693914528 M:485466112 ERROR: unable to load /Applications/Boxee.app/Contents/MacOS/language/English/langinfo.xml: Failed to open file at line 0
11:19:13 T:2693914528 M:485470208 INFO: load keyboard layout configuration info file: /Applications/Boxee.app/Contents/MacOS/language/English/keyboardmap.xml
11:19:13 T:2693914528 M:485470208 ERROR: unable to load /Applications/Boxee.app/Contents/MacOS/language/English/keyboardmap.xml: Failed to open file at line 0
11:19:13 T:2693914528 M:485470208 INFO: load language file:/Applications/Boxee.app/Contents/MacOS/language/English/strings.xml
11:19:13 T:2693914528 M:485470208 ERROR: unable to load /Applications/Boxee.app/Contents/MacOS/language/English/strings.xml: Failed to open file at line 0
11:19:13 T:2693914528 M:485470208 WARNING: Emergency recovery console starting...

vulkan
July 3rd, 2008, 05:36 AM
the problem is that for some reason it looks for resources in the wrong path.
can you please:

cd /Applications
ls -l Boxee.app/Contents/Resources/Boxee/UserData
ls -l Boxee.app/Contents/Resources/Boxee/language/English

and post the output?

manuel
July 3rd, 2008, 05:52 AM
ls -l Boxee.app/Contents/Resources/Boxee/UserData/
total 80
-rwxrwxr-x 1 501 staff 19187 30 Jun 16:19 Keymap.xml
-rwxrwxr-x 1 501 staff 1448 30 Jun 16:19 LCD.xml
-rw-rw-r-- 1 501 staff 4715 30 Jun 16:19 Lircmap.xml
-rw-rw-r-- 1 501 staff 3929 30 Jun 16:19 sources.xml.in.osx
-rw-rw-r-- 1 501 staff 3920 30 Jun 16:19 sourcesmanager.xml.in

ls -l Boxee.app/Contents/Resources/Boxee/language/English/
total 200
-rw-rw-r-- 1 501 staff 4237 26 Jun 22:44 langinfo.xml
-rw-rw-r-- 1 501 staff 91603 26 Jun 22:44 strings.xml


It seems the files are there, but in the log file it says that it’s looking for these files not in the Resources but in the MacOS folder.

manuel
July 3rd, 2008, 06:00 AM
I downloaded it again, the file size is of both the old and the new file is 30.8 MB. The list of files in the packages is the same for both downloads and does not contain the missing files.

manuel
July 3rd, 2008, 06:32 AM
Now, I copied all the files to Contents/MacOS/language, just one is missing, the keyboardmap.xml file. This one only exist in the German folder. So, I just copied it from the German to the English folder. I also copied the UserData folder from Ressources to MacOS. When I start Boxee now, it still crashes but no log is created anymore.

manuel
July 3rd, 2008, 04:23 PM
I solved my problem. After deleting and reinstalling Boxee, I copied the content of /Applications/Boxee.app/Contents/Resources/ to /Applications/Boxee.app/Content/MacOS/. Then I renamed the UserData folder into userdata. The log still shows some errors but the application doesn’t crash anymore. So, there seem to be two problems here. One is that some files are installed in the wrong directory. I don’t know why that only happens on my computer. The other problem is that the UserData folder should be spelled in lower-case. This probably only happens on case-sensitive file systems.
At least the latter problem should be relatively easy to fix.

Thanks for your help,
Manuel

vulkan
July 4th, 2008, 03:13 AM
the thing is that MacOS is the wrong place for these files.
do you by any change have an environment variable called XBMC_HOME set? this will change the search path for the app.

i am not sure why on your installation it looks for stuff under the execuable's location. weird.

manuel
July 4th, 2008, 03:37 AM
echo $XBMC_HOME doesn’t return anything.

tsella
July 4th, 2008, 06:00 PM
we have another user with the exact same problem. i wonder what makes these two machines look at this different location.

can you provide the output of set command?

manuel
July 4th, 2008, 06:04 PM
set $XBMC_HOME
Apple_PubSub_Socket_Render=/tmp/launch-yfT0zB/Render
BASH=/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="2" [2]="17" [3]="1" [4]="release" [5]="i386-apple-darwin9.0")
BASH_VERSION='3.2.17(1)-release'
COLUMNS=209
COMMAND_MODE=unix2003
DIRSTACK=()
DISPLAY=/tmp/launch-z2dT0N/:0
EUID=502
GROUPS=()
HISTFILE=/Users/manuel/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/Users/manuel
HOSTNAME=Struppi.local
HOSTTYPE=i386
IFS=$' \t\n'
LANG=de_DE.UTF-8
LINES=25
LOGNAME=manuel
MACHTYPE=i386-apple-darwin9.0
MAILCHECK=60
MANPATH=/usr/share/man:/usr/local/share/man:/usr/X11/man
OPTERR=1
OPTIND=1
OSTYPE=darwin9.0
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
PIPESTATUS=([0]="0")
PPID=1502
PS1='\h:\W \u\$ '
PS2='> '
PS4='+ '
PWD=/Users/manuel
SECURITYSESSIONID=9b30d0
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:his tory:interactive-comments:monitor
SHLVL=1
SSH_AUTH_SOCK=/tmp/launch-dlR27K/Listeners
TERM=xterm-color
TERM_PROGRAM=Apple_Terminal
TERM_PROGRAM_VERSION=240
TMPDIR=/var/folders/U9/U9IpwxTFGna0v4jx-om3kk+++TM/-Tmp-/
UID=502
USER=manuel
_=/etc/bashrc
__CF_USER_TEXT_ENCODING=0x1F6:0:3

tsella
July 7th, 2008, 01:24 PM
hey manuel,

issue seems figured out. please see this thread (http://forum.boxee.tv/showthread.php?t=84&page=2).

as vulkan mentions, it will be fixed in the next version, and the thread has a possible workaround:

ln -s "/Applications/Boxee.app/Contents/Resources/BOXEE" "/Applications/Boxee.app/Contents/Resources/Boxee"

and then:
ln -s "/Users/manuel/Library/Application Support/BOXEE/UserData" "/Users/manuel/Library/Application Support/BOXEE/userdata"

i'd also appriciate it if you can confirm that you are using a case-sensitive filesystem.