Galleon development restarting

Discussion in 'Developers Corner' started by jtkohl, Jun 3, 2007.

  1. ACraigL

    ACraigL Member

    716
    1
    Feb 12, 2003
    mitch2k2,

    I saw the same, and still see it to a degree with J River Media Center. I believe it's related to the last TiVo service update -- that's when the problems started for me. Check the TTG forum for more threads on this same issue.
     
  2. rigger29

    rigger29 New Member

    106
    0
    Jun 1, 2007
    Same thing here but also I tried tivo desktop and that also was cutting off. Another thing does anybody have blockbuster working since its integrated to galleon it just stopped working. I can search titles and stuff but cant reveiw new releases
     
  3. s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    the feeds for new releases and top rentals were moved/broken. I've been making changes to fix them.
     
  4. mitch2k2

    mitch2k2 New Member

    110
    0
    Aug 2, 2006
    yeah, at this point mine has gone from random quits to immediate quits, each and every time i try to fire up the old tune box. Sucks to know it's an issue with tivo desktop also.

    why, tivo, must you torment me so? especially when otherwise you're such a fun date.

    UPDATE:there's more on my problem here, including logs showing the crap out. If anyone can help, or has any ideas what I might try, they'd be greatly appreciated.
     
  5. pfunky

    pfunky New Member

    38
    0
    Sep 14, 2006
    Yay! Just got 2.5 up and running. Love seeing "Music" fill the screen, and the larger web pictures. Also, the screensaver is very cool, good work!

    But...HDPhotos doesn't seem to do anything for me. I did open port 7111 (tcp) from my firewall to the internet. I don't see anything in my iptables logs indicating that something is being blocked. When I goto "Music, Photos & More", I don't even see the HD Photos app even though I set it up using the gui.sh.

    Is there something I need to do to get the app to work?
     
  6. pfunky

    pfunky New Member

    38
    0
    Sep 14, 2006
    Ahh, I think I'm onto something. In the log.txt, I see mention of the HDPhotos server starting up, but it's starting on the wrong interface. I've set the appropriate interface in the "properties" page, but the HDPhotos app seems to be ignoring it.
     
  7. s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    yeah, I didn't code it to specify an interface when launching the external process. Didn't really think of that since I only have one. Sorry about that. In the meantime I guess you can copy and paste the command that is in the logs when it's starting up, take out the "--exitwithcalypso" parameter and then put it in a run.bat inside apps/hdphotos. Then you can remove the app from galleon and it should run standalone at that point. The galleon plugin just launches the external process with the appropriate config settings (and overrides a few classes so that's possible)
     
  8. s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    Thanks. :D
     
  9. windracer

    windracer joined the 10k club

    12,260
    216
    Jan 3, 2003
    St. Pete, FL
    Just got the SourceForge notification about 2.5. Looks like lots of great new stuff, can't wait to try it out tonight.

    edit: had two problems with the new Makefile on Linux:

    - it tries to make a backup of /etc/galleon/configure.xml, but for a new install, that doesn't exist. I had to do a 'touch /etc/galleon/configure.xml' to get past that

    - the copy command for the lib directory uses 'cp -rfT' by the cp in my distro (Mandrake 10) doesn't have the T flag so I had to remove it and manually move the files out of /usr/lib/galleon/lib to just /usr/lib/galleon
     
  10. rigger29

    rigger29 New Member

    106
    0
    Jun 1, 2007
    I just tried 2.5.0 and cant get it working. I go to the system services setup and click on auto then start. It starts it then automatically stops it about 2 seconds. I have the latest Java Runtime installed if that makes a different I know the other versions ran off of 1.5.0 instead of 1.6.0. So any sugestions why I cant get this running
     
  11. morac

    morac Cat God TCF Club

    12,762
    1,407
    Mar 14, 2003
    NJ
    I installed 2.5.0 and while it works, whenever I connect to the Galleon server, the java.exe immediately starts using 99% of the CPU and my entire computer starts acting very sluggish. This stops the moment I exit out of the Gallon menu on my TiVo.

    This was under Windows XP SP2.

    BTW can you release a zipped version for Windows. I don't like the installer one so I normally grab the linux one, but use the Windows configuration files.
     
  12. windracer

    windracer joined the 10k club

    12,260
    216
    Jan 3, 2003
    St. Pete, FL
    Nice work Dave! Having the TiVo HD Photos app run through Galleon (on Linux) is great. The new music app looks nice too.

    I even tried your Movie Rentals app to check out my Unbox library. ;)

    Regarding that, is there a way to turn off the Video Previews server when you add that app? I have pyTiVo running so I don't need another video "server" in my NPL.
     
  13. s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    Thanks! I'll also modify the linux makefile when I get a chance.

    I really liked the hd photos look and feel and since it works in sd too, I focused on getting that running rather than fixing the galleon photos app. It should also be faster when loading large directories unlike the problems I hear from tivo desktop. That's because I'm overriding the file loading mechanism to read directly from the file system rather than using the XML interface for photos on tivo desktop. Keyword is should. I haven't tested it, but in theory it should be faster. But at the same time, I don't really cache anything like the thumbnails so that might be slower. It's a tradeoff I guess.

    As for the video server, I'm trying to remember, but I believe if you clear out the video downloads directory so it isn't filled in, then it won't start the video server (after a restart), but at the same time it won't let you download videos. I don't recall if I put in a config setting so that it lets you download videos, but doesn't start the video server. I'll have to look at the source code if that's why you really want.
     
  14. windracer

    windracer joined the 10k club

    12,260
    216
    Jan 3, 2003
    St. Pete, FL
    That worked ... close enough, thanks!
     
  15. Sicklybutsexy

    Sicklybutsexy Member

    179
    0
    May 5, 2007
    Here's a thought. Is there a way to incorportate tivo dot net into Galleon as an app?
     
  16. troycarpenter

    troycarpenter New Member

    22
    0
    Sep 5, 2001
    Buford, GA...
    I had to make the same changes to the makefile. Now I am getting this in the wrapper.log when I try to start:
    Code:
    STATUS | wrapper  | 2007/09/27 17:02:59 | --> Wrapper Started as Daemon
    STATUS | wrapper  | 2007/09/27 17:03:00 | Launching a JVM...
    ERROR  | wrapper  | 2007/09/27 17:03:00 | JVM exited while loading the application.
    INFO   | jvm 1    | 2007/09/27 17:03:00 | Exception in thread "main" java.lang.NoClassDefFoundError: org/lnicholls/galleon/server/ServiceWrapper
    STATUS | wrapper  | 2007/09/27 17:03:04 | Launching a JVM...
    ERROR  | wrapper  | 2007/09/27 17:03:04 | JVM exited while loading the application.
    INFO   | jvm 2    | 2007/09/27 17:03:04 | Exception in thread "main" java.lang.NoClassDefFoundError: org/lnicholls/galleon/server/ServiceWrapper
    STATUS | wrapper  | 2007/09/27 17:03:08 | Launching a JVM...
    ERROR  | wrapper  | 2007/09/27 17:03:08 | JVM exited while loading the application.
    INFO   | jvm 3    | 2007/09/27 17:03:08 | Exception in thread "main" java.lang.NoClassDefFoundError: org/lnicholls/galleon/server/ServiceWrapper
    STATUS | wrapper  | 2007/09/27 17:03:12 | Launching a JVM...
    ERROR  | wrapper  | 2007/09/27 17:03:12 | JVM exited while loading the application.
    INFO   | jvm 4    | 2007/09/27 17:03:12 | Exception in thread "main" java.lang.NoClassDefFoundError: org/lnicholls/galleon/server/ServiceWrapper
    STATUS | wrapper  | 2007/09/27 17:03:16 | Launching a JVM...
    ERROR  | wrapper  | 2007/09/27 17:03:16 | JVM exited while loading the application.
    INFO   | jvm 5    | 2007/09/27 17:03:16 | Exception in thread "main" java.lang.NoClassDefFoundError: org/lnicholls/galleon/server/ServiceWrapper
    FATAL  | wrapper  | 2007/09/27 17:03:16 | There were 5 failed launches in a row, each lasting less than 300 seconds.  Giving up.
    FATAL  | wrapper  | 2007/09/27 17:03:16 |   There may be a configuration problem: please check the logs.
    STATUS | wrapper  | 2007/09/27 17:03:16 | <-- Wrapper Stopped
    When I switch back to 2.4.1, it works fine.
     
  17. s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    it's not finding the galleon.jar so your makefile changes probably didn't work. under /usr/share/galleon/lib you should see galleon.jar and the permissions should be readable by root and owned by root.
     
  18. troycarpenter

    troycarpenter New Member

    22
    0
    Sep 5, 2001
    Buford, GA...
    It appears the makefile put everything in the directory /usr/share/galleon/lib/lib

    I moved everything from the second lib directory up one level and it now seems to work.
     
  19. windracer

    windracer joined the 10k club

    12,260
    216
    Jan 3, 2003
    St. Pete, FL
    You quoted my post where I described my changes to the Makefile. I did have in that sentence that I had to move the jar files one directory up. Guessed you missed that part. :D
     
  20. s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    yeah, removing the -T part in the cp command is what did that. I don't know why your cp command doesn't have the -T and mine does. I use CentOS. But hey, for the most part the Makefile works, right? :) ...better than having to manually do it which is why I made it in the first place.
     

Share This Page