SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-08-2007, 12:14 PM
slamduncan slamduncan is offline
Sage User
 
Join Date: May 2005
Posts: 17
Unhappy sage.PlaybackException

Hardware is VIA Epia ME60000 256MB RAM 30GB disk, Hauppauge PVR150.

I'm running Ubuntu 6.10 Edgy Eft Linux.

SageTV Linux OEM 6.1 with Placeshifter client all installed on same machine.

Everything seems to work except 5 seconds or so into video playback I get a sage.PlaybackException.

The logfile extract is below. There's a socket time out shortly before the playback exception. Normally I'd suspect a network problem but it's all running on the same machine so hard to believe.

Has anyone else seen this?

java.net.SocketTimeoutException: Read timed out
java.net.SocketTimeoutException: Read timed out
Sun 4/8 19:57:41.556 at java.net.SocketInputStream.socketRead0(Native Method)
Sun 4/8 19:57:41.557 at java.net.SocketInputStream.read(SocketInputStream.java:129)
Sun 4/8 19:57:41.557 at java.net.SocketInputStream.read(SocketInputStream.java:182)
Sun 4/8 19:57:41.557 at java.io.DataInputStream.readInt(DataInputStream.java:353)
Sun 4/8 19:57:41.557 at sage.b1.if(Unknown Source)
Sun 4/8 19:57:41.558 at sage.b1.load(Unknown Source)
Sun 4/8 19:57:41.558 at sage.VideoFrame.a(Unknown Source)
Sun 4/8 19:57:41.558 at sage.VideoFrame.a(Unknown Source)
Sun 4/8 19:57:41.558 at sage.VideoFrame.run(Unknown Source)
Sun 4/8 19:57:41.558 at java.lang.Thread.run(Thread.java:595)
sage.PlaybackException
Sun 4/8 19:57:41.561 at sage.b1.load(Unknown Source)
Sun 4/8 19:57:41.561 at sage.VideoFrame.a(Unknown Source)
Sun 4/8 19:57:41.562 at sage.VideoFrame.a(Unknown Source)
Sun 4/8 19:57:41.562 at sage.VideoFrame.run(Unknown Source)
Sun 4/8 19:57:41.562 at java.lang.Thread.run(Thread.java:595)
__________________
EPIA M9000, 1GB RAM, 300GB HD, Silverstone LC04 (Black), Hauppauge PVR250, GFX5200 256MB, DVD-RW, Noiseblocker S2 80mm, Red-Eye Serial, Keene RGB->SVID.
EPIA ME6000, 256MB RAM, 80GB HD, Morex Cubid 2699RR (Black), Hauppauge PVR150MCE, CD-ROM
Reply With Quote
  #2  
Old 04-09-2007, 05:20 PM
_Demo_ _Demo_ is offline
Moderator
 
Join Date: Mar 2003
Posts: 863
Send a message via ICQ to _Demo_
Could you try running the placeshifter from another computer to see if that's the problem.

_Demo_
Reply With Quote
  #3  
Old 04-14-2007, 02:23 PM
slamduncan slamduncan is offline
Sage User
 
Join Date: May 2005
Posts: 17
Talking

Well your suggestion was fruitful Demo so thank you! It probably wasn't for the reason that you might expect that it helped though.

What I found by running the client on another machine was that the logging information was going to the stdout rather than into the miniclient.log file. I wasn't seeing stdout on the first machine because I'd already configured the process to start at boot and I was expecting the sageclient.sh file to capture all outputs in the logfile. For whatever reason though, on Ubuntu, sageclient.sh doesn't send everything to the logfile.

The work-around I used for this was to run sageclient.sh using the following line so that the logfile is used correctly:

/opt/sagetv/client/sageclient.sh 2>&1 >>/opt/sagetv/client/miniclient.log

Once I could see the logging information debugging became a whole lot easier

The cause of the playback exception in my case was that "java-package" hadn't been installed. The reason is noted in another thread but my installation script had had "java-packages", with an s on the end which I hadn't noticed had failed.

The other valuable lesson for me in this process was that the ldd command can be used against libSage.so, libjtux.so and mplayer in the miniclient directory to check dependencies are satisfied.
__________________
EPIA M9000, 1GB RAM, 300GB HD, Silverstone LC04 (Black), Hauppauge PVR250, GFX5200 256MB, DVD-RW, Noiseblocker S2 80mm, Red-Eye Serial, Keene RGB->SVID.
EPIA ME6000, 256MB RAM, 80GB HD, Morex Cubid 2699RR (Black), Hauppauge PVR150MCE, CD-ROM
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 01:18 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.