View Full Version : Release 310: guide issues
Gustovier
04-17-2011, 03:06 PM
Whenever I try to access the guide on my hd300 I just get the spinning wheel for a long time and eventually a guide will show but with no data and then the spinning wheel starts back. The only way I can get out is to turn off/on the hd300
PiX64
04-17-2011, 03:16 PM
I had the same issue.
I went into BMT and changed the EPG options which are available now under configure. Now everything works perfectly...
also did you try stopping the sage service and starting it back up after you installed the new build?
Gustovier
04-17-2011, 04:30 PM
I had the same issue.
I went into BMT and changed the EPG options which are available now under configure. Now everything works perfectly...
also did you try stopping the sage service and starting it back up after you installed the new build?
Yeah, I tried restarting it.. What options did you change in there? I just tried setting the checkbox for channel logos, and I still get the same thing except with the channel logos showing and "...No Data" listed for each channel. I get this on BOTH the server and my hd300
stuckless
04-17-2011, 05:04 PM
Yeah, I tried restarting it.. What options did you change in there? I just tried setting the checkbox for channel logos, and I still get the same thing except with the channel logos showing and "...No Data" listed for each channel. I get this on BOTH the server and my hd300
I fired this up on my hd300 and placeshifter clients. I didn't have any issues. I did, do as Brian suggested, and run the Scale fanart first.
Can you send me your phoenix.log and sagetv_0.txt log file... maybe there's something in there as to what is going on.
Gustovier
04-17-2011, 05:24 PM
I was just looking in there... here's where things seem to go crazy. I followed all the instructions as well on scaling the images.
A thread is getting hung everytime i go to the guide according to the sagetv_0.log... Unfortunately not sure what this thread is doing or where it's getting hung. I wish I could see a stack trace.
Sun 4/17 18:21:41.181 [AWTThreadWatcher-SAGETV_PROCESS_LOCAL_UI@1cb5843] EventThread-SAGETV_PROCESS_LOCAL_UI Hang Detected - hang time = 750
Sun 4/17 18:21:41.931 [AWTThreadWatcher-SAGETV_PROCESS_LOCAL_UI@1cb5843] EventThread-SAGETV_PROCESS_LOCAL_UI Hang Detected - hang time = 1500
From the phoenix.log I see the following...
2011-04-17 18:20:56,945 [AWT-EventQueue-0] INFO sagex.phoenix.vfs.sage.SageMediaFile - Created an Immutable Metadata object for the sage airing: A[1899881,1,"No Data",11299@1212.19:00,67410]
2011-04-17 18:21:24,713 [Fork-WWWMG-13] INFO sagex.phoenix.vfs.sage.SageMediaFile - Created an Immutable Metadata object for the sage airing: A[1899881,1,"No Data",11299@1212.19:00,67410]
2011-04-17 18:21:26,096 [Fork-WWWMG-13] INFO sagex.phoenix.vfs.sage.SageMediaFile - Created an Immutable Metadata object for the sage airing: A[1899881,1,"No Data",11299@1212.19:00,67410]
Gustovier
04-17-2011, 05:32 PM
BTW the guide in the default STV is working alright, and the older 309 phoenix was working before i upgraded.
Edit..
In the unix world I could do a kill -3 on the process to see what the heck is going on, dunno if there is some facility here within windoze to do that..
stuckless
04-17-2011, 05:45 PM
That is very odd... I'm not sure what it could be doing... I was hoping there would be stack trace as well :(
Gustovier
04-17-2011, 05:59 PM
Now I can get to live TV by going to the live TV option. and the mini guide works well.. but as soon as I go to the Real guide everything goes to hell and I have to restart the client/hd300. There's gotta be somehow I can look and see what the thread is doing...
stuckless
04-17-2011, 06:20 PM
Now I can get to live TV by going to the live TV option. and the mini guide works well.. but as soon as I go to the Real guide everything goes to hell and I have to restart the client/hd300. There's gotta be somehow I can look and see what the thread is doing...
I dug this up... don't know if it will help...
Windows
The Java application that you want to produce a thread dump for must be running / started in a command console. When you want to produce a thread dump press Ctrl-Break
Note: it's easier to produce a thread dump on Linux as the JVM doesn't need to be started in a console window.
Gustovier
04-17-2011, 06:38 PM
I dug this up... don't know if it will help...
Hmm your running linux right? What params are you using to launch sage?
"java -jar sage.jar" gives me a "Failed to load Main-Class manifest attribute from sage.jar"
stuckless
04-17-2011, 06:43 PM
We'll it's a little complicated... but here's the script that sagetv ships...
#!/bin/bash
userkey=`cat activkey`
export LD_LIBRARY_PATH=.:lib:irtunerplugins
export LANG=en_US.ISO-8859-1
echo Executing pre-scripts
restartApp=1
PIDFILE=/var/run/sagetv.pid
HEADLESS=true
JAVAMEM=-Xmx384m
JAVAOPTS=
# You can use the sagesettings file to overwrite settings
if [ -e sagesettings ] ; then
. sagesettings
fi
while [ $restartApp -eq 1 ]; do
restartApp=0
if [ -e stageddeletes.txt ] || [ -e stagedrenames.txt ] ; then
java -cp Sage.jar sage.plugin.StageCleaner
fi
for i in presage??* ;
do
if [ -f "$i" ] ; then
./$i
fi
done
echo Starting server mode
if [ -e key ] || [ -e usbmode ] ; then
java -Djava.awt.headless=$HEADLESS -DUSERKEY=$userkey $JAVAMEM -XX:+UseAdaptiveSizePolicy -XX:MaxGCPauseMillis=25 -XX:GCTimeRatio=24 -XX:ThreadPriorityPolicy=1 $JAVAOPTS -cp Sage.jar:.:/:$(echo JARs/*.jar | sed 's/ �*/:/g') SecuredLoader 0 0 x "sagetv Sage.properties" <&- &
javapid=$!
echo -n $javapid > $PIDFILE
wait $javapid
else
echo SageTV key not found.
exit 1
fi
if [ -e restart ] ; then
restartApp=1
rm restart
fi
if [ -e restartsvc ] ; then
restartApp=1
rm restartsvc
fi
done
exit 0
Gustovier
04-17-2011, 06:58 PM
I found a sendsignal.exe app that should have let me send the ctrl-break. But, it didn't work. Oh well. I think I'm going to have to probably downgrade maybe Bialio can help out with this when he gets a chance to reading these posts. I would think their would be more insight in the sage logs to what is happening... :confused:
edit.. bah not gonna let this beat me, after family guy goes off I'm gonna try loading it in studio and see if I can step through it in the debuger to see whats happening that might work I hope..
Gustovier
04-17-2011, 07:48 PM
Ok.. I see the following in the log when I try to step through it..
Sun 4/17 20:45:14.757 [PooledThread@2372a4] setUI(sage.ca@1d3ab83[Phoenix EPG]) histIdx=1 uiHistory=[sage.ca@7ef0b8[Phoenix Landing Zone Horizontal], sage.ca@1f485e5[Phoenix EPG]]
Sun 4/17 20:45:14.852 [PooledThread@2372a4] Error invoking the method for: default:WWWMG-1|Action:WeatherInstance = tv_sage_weather_WeatherDotCom_getInstance() of java.lang.NullPointerException
Sun 4/17 20:45:14.953 [PooledThread@2372a4] PooledThread ended w/ an exception: java.lang.NullPointerException
Sun 4/17 20:45:14.959 [PooledThread@1a6a0c0] setUI(sage.ca@9481d1[Phoenix EPG]) histIdx=1 uiHistory=[sage.ca@7ef0b8[Phoenix Landing Zone Horizontal], sage.ca@1f485e5[Phoenix EPG]]
Sun 4/17 20:45:15.077 [PooledThread@1a6a0c0] PooledThread ended w/ an exception: java.lang.NullPointerException
Sun 4/17 20:45:15.078 [PooledThread@2ffe64] PooledThread ended w/ an exception: java.lang.NullPointerException
Sun 4/17 20:45:15.078 [PooledThread@25d925] setUI(sage.ca@126691d[Phoenix EPG]) histIdx=1 uiHistory=[sage.ca@7ef0b8[Phoenix Landing Zone Horizontal], sage.ca@1f485e5[Phoenix EPG]]
Sun 4/17 20:45:15.081 [Fork-WWWMG-13@1cc3ba0] skipping refresh due to debug mode
Sun 4/17 20:45:15.109 [PooledThread@25d925] Error invoking the method for: default:WWWMG-1|Action:WeatherInstance = tv_sage_weather_WeatherDotCom_getInstance() of java.lang.NullPointerException
Sun 4/17 20:45:15.142 [PooledThread@25d925] PooledThread ended w/ an exception: java.lang.NullPointerException
Sun 4/17 20:45:15.142 [PooledThread@43896] setUI(sage.ca@14a6bef[Phoenix EPG]) histIdx=1 uiHistory=[sage.ca@7ef0b8[Phoenix Landing Zone Horizontal], sage.ca@1f485e5[Phoenix EPG]]
Sun 4/17 20:45:15.182 [PooledThread@43896] Error invoking the method for: default:AZUDJ-141083|Action:epgColumnDuration = phoenix_config_GetProperty( "phoenix/epg/columnDuration" , 30 ) * 60000 * phoenix_config_GetProperty( "phoenix/epg/colcount" , 3 ) of java.lang.NullPointerException
Sun 4/17 20:45:15.185 [PooledThread@43896] Error invoking the method for: default:AZUDJ-141078|Action:Channels = FilterByBoolMethod(this, "IsChannelViewable", true) of java.lang.NullPointerException
Sun 4/17 20:45:15.194 [PooledThread@43896] EXCEPTION in getValueAsObject:sage.a.e: Invalid parameter type for:now - (now % (epgColumnDuration / phoenix_config_GetProperty( "phoenix/epg/colcount" , 3 )))
Sun 4/17 20:45:15.196 [PooledThread@43896] EXCEPTION in getValueAsObject:sage.a.e: Invalid parameter type for:CreateTimeSpan(now, now + epgColumnDuration)
Sun 4/17 20:45:15.355 [PooledThread@43896] Error invoking the method for: default:RGJDX-83929|Conditional:!IsMusicFile(GetCurrentMediaFile()) && (GetProperty("video_menu_style", "XWindow") == "XBackground") && ((HasMediaFile() && ("XIf Active" == GetProperty("display_video_on_menus", "XIf Active"))) || ("XAlways" == GetProperty("display_video_on_menus", "XIf Active"))) of java.lang.NullPointerException
Sun 4/17 20:45:15.358 [PooledThread@43896] PooledThread ended w/ an exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 10
Sun 4/17 20:45:15.364 [Fork-WWWMG-13@1cc3ba0] skipping refresh due to debug mode
Sun 4/17 20:45:15.365 [PooledThread@13618b6] setUI(sage.ca@16c6d2e[Phoenix EPG]) histIdx=1 uiHistory=[sage.ca@7ef0b8[Phoenix Landing Zone Horizontal], sage.ca@1f485e5[Phoenix EPG]]
Sun 4/17 20:45:15.493 [Fork-WWWMG-13@1cc3ba0] skipping refresh due to debug mode
Sun 4/17 20:45:15.593 [PooledThread@13618b6] PooledThread ended w/ an exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 34
Sun 4/17 20:45:15.601 [PooledThread@1f2367] setUI(sage.ca@d9340f[Phoenix EPG]) histIdx=1 uiHistory=[sage.ca@7ef0b8[Phoenix Landing Zone Horizontal], sage.ca@1f485e5[Phoenix EPG]]
Sun 4/17 20:45:15.682 [PooledThread@1f2367] Error invoking the method for: default:WWWMG-1|Action:WeatherInstance = tv_sage_weather_WeatherDotCom_getInstance() of java.lang.NullPointerException
Sun 4/17 20:45:15.716 [PooledThread@1f2367] PooledThread ended w/ an exception: java.lang.NullPointerException
Sun 4/17 20:45:15.717 [PooledThread@1ad6eb4] PooledThread ended w/ an exception: java.lang.NullPointerException
Gustovier
04-17-2011, 08:58 PM
Another note, there seems to be some timer that gets the diskspace usage or something to that effect, it made it pretty hard to follow whats going on cause studio is not at all like any other programming language on the face of this earth! I had to revert back to 309 so my guide would work. I guess I'll wait to see if anybody else has some input on this.
bialio
04-17-2011, 09:03 PM
I haven't seen any issues yet with the EPG. I just tried deleting all the EPG properties while sage wasn't running and starting up - they all defaulted and worked fine....
There are a lot of null pointer complaints in the log you attached concerning weather - are you still having issues with your weather data also?
btl.
bialio
04-17-2011, 09:07 PM
I tried the video in background settting as well (as opposed to in window) and still I'm not having any issues with the EPG - I thought that might have been it since I seem to remember that you use the video in the BG rather than in a window.....
btl.
bialio
04-17-2011, 09:14 PM
I'd try going into your .properties file and deleting all of the properties that start with "phoenix/epg/".
Make sure you do copy them somewhere so we can see what they were set to (in case that fixes it).
btl.
Gustovier
04-17-2011, 10:09 PM
I'll give deleting the phoenix properties a try. I did resolve the weather thing. Some how my zipcode got removed, and I had to re-enter it, and all was good again in regard to getting the weather data showing again..
Gustovier
04-18-2011, 07:06 PM
Ok, so I got this working finally..
I removed 2 plugins I had installed..
plugin 1: Confirm to change channel on record
plugin 2: Remember place in guide
Through the plugin menu I uninstalled phoenix 309 STV
I deleted the phoenix/epg data like mentioned above in sage.properties
I deleted the phoenix/user lines as well. I had another user named Test that i must have setup at one time. But I figured I would start fresh and get rid of all my phoenix STV settings...
I removed my custom VFS and menu .xml files I had in the /userdata area
I had deleted some files the /userdata/cache area as well
I then reinstalled phoenix 310 and everything was gravy...
Now to test the hell out of this.. I saw a few things from 310 before I ran into this guide issue, so i'm gonna have a nice lil list I think :)
stuckless
04-19-2011, 06:06 AM
I'm not sure those 2 plugins should have made a difference, since I'm pretty sure STVi plugins don't get loaded in Phoenix.
It's interesting that you needed to totally clean up your setup in order to install 310. I've installed it on 2 servers now, and i haven't experienced any upgrade issues.
bialio
04-20-2011, 01:23 PM
I was able to recreate this. If someone had pasted in their properties like I asked it would have been a bit quicker :nono:
Basically there was a property set that put each column in the EPG to be a duration of 125 DAYS, rather than the default of 30 minutes :eek:
btl.
Gustovier
04-20-2011, 04:03 PM
I was able to recreate this. If someone had pasted in their properties like I asked it would have been a bit quicker :nono:
Basically there was a property set that put each column in the EPG to be a duration of 125 DAYS, rather than the default of 30 minutes :eek:
btl.
Oops my bad.. I copied them off but didn't get a chance to post it...:bang:
bialio
04-20-2011, 04:11 PM
No worries - I'm just giving you a hard time for sh*ts and giggles.
btl.
vBulletin® v3.7.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.