Need Galleon Linux Help

Discussion in 'TiVo Home Media Features & TiVoToGo' started by Stormspace, Oct 14, 2007.

  1. 77midget

    77midget New Member

    9
    0
    Feb 13, 2008
    newb to linux (ubuntu 7.10) and also to Galleon. I have been putzing around, and can now get my run.sh to start up without any errors. I have had some gui.sh errors, and resolved some, but now am getting the following

    Exception in thread "main" java.lang.NoClassDefFoundError: org/lnicholls/galleon/gui/Galleon

    when I run. Now, this is obviously a java error, but I am lost as to how to resolve it.
    Any thoughts?
     
  2. windracer

    windracer joined the 10k club

    12,259
    216
    Jan 3, 2003
    St. Pete, FL
    Anything else in the log around the error?
     
  3. 77midget

    77midget New Member

    9
    0
    Feb 13, 2008
    nothing in the gui log. One thing I did see in the log.txt was:
    20:59:57,076 ERROR [WrapperListener_start_runner] Cache - Unable to set localhost. This prevents creation of$
    java.net.UnknownHostException

    Now I set the hostname to the IP I have in the etc/hosts, but not localhost-would that cause a GUI startup error?

    Also found-
    20:59:52,423 ERROR [WrapperListener_start_runner] Server - java.net.UnknownHostException: CHARYBDIS

    CHARYBDIS is the name of my machine (i blocked out FQDN since it is my work domain)

    The top of my hosts file is:
    127.0.0.1 localhost
    192.168.1.102 CHARYBDIS.XXX.XXX.com

    should I be changing this?
     
  4. windracer

    windracer joined the 10k club

    12,259
    216
    Jan 3, 2003
    St. Pete, FL
    Hmm ... so Galleon is running fine, it's just the GUI you can't get to start? Are you using 'sudo' to run gui.sh?
     
  5. 77midget

    77midget New Member

    9
    0
    Feb 13, 2008
    actually running in a sudo -i window that I ran run.sh in.
     
  6. windracer

    windracer joined the 10k club

    12,259
    216
    Jan 3, 2003
    St. Pete, FL
    Did you follow my steps above for installing on Ubuntu? You have a current JRE, disabled IPv6, stuff like that?

    Unless one of the guys who was working on Galleon chimes in here, I'm not sure what that error means.
     
  7. 77midget

    77midget New Member

    9
    0
    Feb 13, 2008
    I installed prior to finding this thread, but yeah-I have IPv6 disabled and the latest JRE. I had some issues since my ubuntu had a generic java embedded, but I installed the sun latest version, and changed the link to point to the sun version. I also made sure to update my path adding the path to the new jre before the path to the old one. That fixed a number of java errors that I was getting initially, and allowed me to get the server running, but the gui is still hosed. I suppose that it must be a java error, but I just can't dig it out.

    edit-my IPv6 fix was not correct, so I redid that, and now I have a clean log.txt

    but I am still getting the error for gui.sh startup. doh!
     
  8. windracer

    windracer joined the 10k club

    12,259
    216
    Jan 3, 2003
    St. Pete, FL
    Maybe check the JAVA_HOME in gui.sh?
     
  9. 77midget

    77midget New Member

    9
    0
    Feb 13, 2008
    should've said that eariler-added JAVA_HOME declaration to both run.sh and gui.sh for my java root.
     
  10. 77midget

    77midget New Member

    9
    0
    Feb 13, 2008
    will the GUI not start up if it cannot reach the tivo?
     
  11. 77midget

    77midget New Member

    9
    0
    Feb 13, 2008
    got it, and now not sure if I am an idiot, or an idiot.

    I have been running it from the directory taht I installed it to, which was /usr/bin/gal......et cetera

    when I ran it from usr/share/galleon, it came right up

    so, now it launched, at least. lets see what I can break now
     
  12. 77midget

    77midget New Member

    9
    0
    Feb 13, 2008
    Booyah-got connectivity and activity.

    Thx all for the help. The bugs hardest to track down are the ones between the ears.
     
  13. windracer

    windracer joined the 10k club

    12,259
    216
    Jan 3, 2003
    St. Pete, FL
    Excellent. Glad I could "help."

    Not sure I understand the problem though ... how did it get under /usr/bin?
     
  14. 77midget

    77midget New Member

    9
    0
    Feb 13, 2008
    let's just say that I am a linux newb and I am still learning the proper locations for everything. that is where I extracted everything. When I saw that the run and gui files were there, I thought that was where I was supposed to run it from.

    starting the service was fine, it was just that it was having real path issues w/ java when running from there. When I dug into some of the files, I kept seeing usr/share/ so I went poking around over there and voila...

    anyhoo, I learned a lot, so mission accomplished, and my galleon works, so I am happy about that. it was late when I got it running though, so I will test drive it tonight, and I am sure that I will be back w/ more questions.
     
  15. km

    km Member

    92
    0
    Dec 1, 2001
    Atlanta....
    I'm also having trouble getting Galleon going on Ubuntu (Gutsy) running against an HD Tivo (running 9.2a)>. It's Galleon 2.5.2 with Java 1.6.

    If I run the test from the properties menu it finds no Tivo's

    If I use the "ToGo" feature it does not automatically find any tivo's.

    If I snoop the wire with wireshark, I see "TiVoConn Discovery Beacon" packets being broadcast to the subnet by both the Galleon machine and the Tivo. However, the two never talk.

    In text.log, once a minute I see

    17:36:40,479 DEBUG [BroadcastThread] BroadcastThread - Sent broadcast: TiVoConnect=1
    Method=Broadcast
    Platform=pc/Linux
    Machine=flinux
    Identity=00:50:56:C0:00:08
    Services=TiVoMediaServer:8081/http
    swversion=2.5.2
    to 192.168.10.255

    and every few seconds

    17:36:43,403 DEBUG [RMI TCP Connection(5)-192.168.10.30] FileSystemContainer - getItems:

    Any ideas?
     
  16. s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    Make sure the firewall isn't blocking port 8081 from the outside. Try browsing from another machine to http://<linux-ip-addr>:8081/TiVoConnect?Command=QueryContainer&Container=/

    If it returns an xml document then your tivo should be seeing it.
     
  17. km

    km Member

    92
    0
    Dec 1, 2001
    Atlanta....

    I did try it from a third machine on the same subnet, and it does return an xml document, so I don't think its a firewall issue on the galleon host.

    I did an nmap to the Tivo and get

    Starting Nmap 4.20 ( http://insecure.org ) at 2008-02-15 17:22 EST
    Interesting ports on 192.168.10.14:
    Not shown: 1695 filtered ports
    PORT STATE SERVICE
    80/tcp open http
    443/tcp open https

    are these the only ports that should be open?
     
  18. s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    Do other HME apps work? or is it just the togo app that isn't being auto detected? Also make sure you disable ipv6 in your os as it causes problems and nothing will work.
     
  19. km

    km Member

    92
    0
    Dec 1, 2001
    Atlanta....
    I do have IPV6 disabled. I added several apps (weather, traffic, desktop) and the Tivo sees them and can invoke them properly.

    However, if I Invoke Togo from the gui.sh file menu, I don't get much out of it. The ToGo Tivo screen shows a nameless Tivo at the correct IP with 40GB capacity (which seems wrong for a HD Tivo). The spinning cursor keeps spinning. If I move to the "recorded" screen it shows nothing.
     
  20. km

    km Member

    92
    0
    Dec 1, 2001
    Atlanta....
    Well, the question about whether it was just ToGo that was not working put me on the right path. It turns out I had never enabled transfers on the Tivo web site. I had gotten the media key from the web site, but didn't realize that there was more to it than that.

    So ToGo is working for me now, almost. The problem is that gui.sh is kicking out a lot of awt/swing exceptions when trying to display the recording table. I can see whats supposed to display by passing a window over the table, forcing a refresh.

    I've tried both 1.5 and 1.6 java jre's, but both give the same errors.

    Any ideas? This is on Ubuntu/Gutsy.
     

Share This Page