Galleon randomly quits

Discussion in 'TiVo Home Media Features & TiVoToGo' started by mitch2k2, Sep 16, 2007.

  1. mitch2k2

    mitch2k2 New Member

    110
    0
    Aug 2, 2006
    Hey all. Was wondering if anyone has any experience with and/or advice on how to fix the following issue. After using galleon (over a wireless network) mostly without a hitch for some time now, suddenly the music app will just randomly quit. There's no rhyme or reason I can see as to why, when, or after how long it does so (anywhere from a minute or two of music to an hour), but the music will stop, the "Please Wait" screen will flash for a half a second and then the galleon menu returns. And then I start it up again, and lo and behold, it'll happen again. And again.

    Anyone have any ideas and/or advice they'd be willing to share? Thanks in advance, y'all.
     
  2. jtkohl

    jtkohl Member

    170
    0
    Feb 6, 2004
    Arlington,...
    Could be a problem on the server end--can you do some system monitoring and see what the Galleon application is doing?
     
  3. mitch2k2

    mitch2k2 New Member

    110
    0
    Aug 2, 2006
    where would i find a system log of what's been happening with the server?
     
  4. mitch2k2

    mitch2k2 New Member

    110
    0
    Aug 2, 2006
    i should add that now galleon seems to quit immediately after connecting to the music. a second or two of sound and it reverts to the menu screen.
     
  5. s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    there should be a log.txt under the logs directory that would contain logging. you can also turn up logging levels in the log4j.xml in the conf directory.

    I've seen what you've experienced once after playing one song. Did it show a "Can't Run" screen with an error message then go back to the tivo music, movies and more menu screen and not the galleon menu screen?

    David
     
  6. mitch2k2

    mitch2k2 New Member

    110
    0
    Aug 2, 2006
    Nope. Just goes back to the Galleon menu (and at this point, the music app is the only one on it). Sometimes, if memory serves, it will go to the "Please wait" icon/screen before doing so.

    I'll look into the log.
     
  7. mitch2k2

    mitch2k2 New Member

    110
    0
    Aug 2, 2006
    Here's the tail end of the most recent log activity (and I think the relevant chunk):
    Does that clarify anything?
     
  8. windracer

    windracer joined the 10k club

    12,258
    214
    Jan 3, 2003
    St. Pete, FL
    Maybe something about trying to retrieve the cover art for a particular track? Try turning off the album art options under File -> Music Player.
     
  9. mitch2k2

    mitch2k2 New Member

    110
    0
    Aug 2, 2006
    but it was closing before attempting to retrieve the cover:
    right?

    but i will try when i get home.
     
  10. s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    I looked at the section where that cover image error prints out and I don't think that's it. It's inside a catch (Exception) block and also inside a background thread so that wouldn't have caused the app to crash. I think that's what's happening is the app is crashing. Like the "Can't run" error I was talking about only when you run it in Menu mode, it has a parent application which the tivo loads rather than giving you that can't run error.
     
  11. mitch2k2

    mitch2k2 New Member

    110
    0
    Aug 2, 2006
    I was trying to avoid such a big quote, but here's the entirety of the log...anyone see any clues?

    EDITED TO REMOVE HUGE LOG QUOTE; LOG ATTACHED AS TXT FILE.
     

    Attached Files:

  12. s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    nothing really stands out. I'll be the first to admit that the galleon code kinda sucks. There isn't nearly enough logging and it doesn't handle exception cases well (if at all). I've been working a lot on the music app for the 2.5 release, but I didn't change any of the music playing functionality or cover art stuff since that all worked even though the code is pretty bad. Unless I can reproduce it somehow here, the best I can do is add a LOT more logging for the next release or rewrite more of the music components (which I've been very tempted).
     
  13. windracer

    windracer joined the 10k club

    12,258
    214
    Jan 3, 2003
    St. Pete, FL
    Is that the name of an actual MP3? Maybe there's a problem with it?

    Oh, and next time you can just attach the log as a text attachment rather than pasting the whole thing into your post. ;)
     
  14. mitch2k2

    mitch2k2 New Member

    110
    0
    Aug 2, 2006
    Not that I know of. (UPDATE: make that an absolutely not. Just checked all filenames in the library.) Does Galleon assign numbers to individual files for tracking in its internal database?


    Thanks for the tip, noted, and will do.
     
  15. mitch2k2

    mitch2k2 New Member

    110
    0
    Aug 2, 2006
    Went ahead an attached the log as a TXT file above. The cover images idea didn't seem to make any difference either.
     
  16. mitch2k2

    mitch2k2 New Member

    110
    0
    Aug 2, 2006
    anyone? bueller? bueller?
     
  17. windracer

    windracer joined the 10k club

    12,258
    214
    Jan 3, 2003
    St. Pete, FL
    I'm running out of ideas. Comparing your startup log to mine, I do see you have some extra entries:

    Code:
    15:27:01,220  INFO [WrapperListener_start_runner] Server - Using RMI port 1099
    15:27:02,392  INFO [WrapperListener_start_runner] Server - Using PC publishing port 8081
    [b]15:27:02,462 ERROR [WrapperListener_start_runner] Server - org.jawin.COMException: 80040154: Class not registered
    15:27:02,462  INFO [WrapperListener_start_runner] Server - Could not find TiVo Beacon service
    15:27:02,482 ERROR [WrapperListener_start_runner] Server - java.net.BindException: Address already in use: Cannot bind[/b]
    15:27:02,502  INFO [WrapperListener_start_runner] BroadcastThread - High frequency enabled
    15:27:02,512  INFO [WrapperListener_start_runner] Server - Broadcast port=2191
    Not sure if that's important. Are you running TiVoDesktop on the same PC?
     
  18. mitch2k2

    mitch2k2 New Member

    110
    0
    Aug 2, 2006
    Nope. But I am running the TiVo Desktop Universal Audio Plug-in. (Though not sure if it does anything, absent TD). Might that be doing something?
     
  19. s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    neither should matter. What galleon does is on startup it attempts to register itself in the TiVo Beacon. If that fails, then it runs as a separate server and starts opening ports at the standard tivo port, then keeps trying incrementing one until it finds an open one. That code like the rest is really messy too and doesn't do enough error handling. You see that error because you don't even have tivo desktop installed. The port in use error is probably because you have that other app running on that port.

    Galleon itself isn't crashing otherwise you wouldn't be able to go back into the music app after it kicks you out to the menu. Actually, it wouldn't kick you to the galleon menu anyway if galleon crashed. it's the music app that crashed so the problem is all contained in there somewhere. I'm going to look at rewriting more of the music components when I get a chance.
     
  20. rigger29

    rigger29 New Member

    106
    0
    Jun 1, 2007
    Lately my music has been crashing as well using galleon and also with tivo desktop it crashes as well so its probably with TIvos latest patch which screwed things up.
     

Share This Page