Charmed Quark Systems, Ltd. - Support Forums and Community
Sage Media Server driver (beta) - Printable Version

+- Charmed Quark Systems, Ltd. - Support Forums and Community (https://www.charmedquark.com/vb_forums)
+-- Forum: General Discussion (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=3)
+--- Forum: Driver Development (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=13)
+--- Thread: Sage Media Server driver (beta) (/showthread.php?tid=5497)



Sage Media Server driver (beta) - potts.mike - 07-24-2009

beelzerob Wrote:I've been out of it for a while, but unless Fonceur changed something, it should be sageTCPServer.StartServers in the load runnable line.

Thats a negative, notice the webserver started fine with StartServer. I did try it though.


Sage Media Server driver (beta) - Fonceur - 07-24-2009

As stated in the other thread, you need to use precisely:

load_at_startup_runnable_classes=sagetcpserver.StartServers


Sage Media Server driver (beta) - beelzerob - 07-24-2009

potts.mike Wrote:Thats a negative, notice the webserver started fine with StartServer. I did try it though.

This indicates it didn't start. It could not find that class, so it was not able to load it at startup.

Quote:Fri 7/24 14:09:20.316 ERROR Loading startup runnable extension of:java.lang.ClassNotFoundException: SageTCPServer.StartServer



Sage Media Server driver (beta) - SamVimes2 - 07-24-2009

Fonceur Wrote:I posted a version .93 which doesn't "explicitly wait" for the list of channels, see if that helps... I will likely remove more of those "explicit waits", as they're probably the reason why the driver is timing out.

I loaded this version and it lasted about 45 minutes before crashing. My recorded shows and channels never populated in the driver (but the upcoming recordings and favorites did)

This is the last line in the log before the crash:
Code:
Fri 7/24 20:56:51.507 [[SageTCPServer-SageServer(local:9250)]]: Finding all upcoming recordings.....

Edit: Turns out Sage is totally frozen. Extender displays spinning circle of death. Requires hard reboot of WHS to get Sage server back. From the log:
Code:
Fri 7/24 20:56:51.507 [[SageTCPServer-SageServer(local:9250)]]: Finding all upcoming recordings.....
Fri 7/24 20:59:12.946 Ministry is waiting for 180 sec
Fri 7/24 21:00:35.576 setUI(sage.b4@176012e[SageRecordings w/ Optional Preview & AutoCategories]) histIdx=1 uiHistory=[sage.b4@1a77a60[Main Menu], sage.b4@176012e[SageRecordings w/ Optional Preview & AutoCategories], sage.b4@d2c7ea[MediaFileList], sage.b4@de0774[MediaPlayer OSD]]
Fri 7/24 21:00:35.577 VideoFrame got registration of a subtitle UI component: null
Fri 7/24 21:00:35.577 VideoFrame got registration of a cc UI component: null
Fri 7/24 21:00:36.522 ENDING background recording thumb preloader thread, ID = 0.0617962130164762
Fri 7/24 21:00:36.786 EventThread-001d6a4cf4d2 Hang Detected - hang time = 750
Fri 7/24 21:00:36.839 Loading RawImage of size 43x43 for images/tvicon_anim3.png
Fri 7/24 21:00:36.840 Loading 43x43 image from file C:\WINDOWS\TEMP\stv27652.img
Fri 7/24 21:00:36.955 Loading RawImage of size 43x43 for images/tvicon_anim4.png
Fri 7/24 21:00:36.955 Loading 43x43 image from file C:\WINDOWS\TEMP\stv27653.img
Fri 7/24 21:00:37.070 Loading RawImage of size 43x43 for images/tvicon_anim5.png
Fri 7/24 21:00:37.070 Loading 43x43 image from file C:\WINDOWS\TEMP\stv27654.img
Fri 7/24 21:00:37.185 Loading RawImage of size 43x43 for images/tvicon_anim6.png
Fri 7/24 21:00:37.185 Loading 43x43 image from file C:\WINDOWS\TEMP\stv27655.img
Fri 7/24 21:00:37.300 Loading RawImage of size 43x43 for images/tvicon_anim7.png
Fri 7/24 21:00:37.301 Loading 43x43 image from file C:\WINDOWS\TEMP\stv27656.img
Fri 7/24 21:00:37.417 Loading RawImage of size 43x43 for images/tvicon_anim0.png
Fri 7/24 21:00:37.418 Loading 43x43 image from file C:\WINDOWS\TEMP\stv27649.img
Fri 7/24 21:00:37.536 EventThread-001d6a4cf4d2 Hang Detected - hang time = 1500
Fri 7/24 21:00:38.286 EventThread-001d6a4cf4d2 Hang Detected - hang time = 2250
Fri 7/24 21:00:39.036 EventThread-001d6a4cf4d2 Hang Detected - hang time = 3000
Fri 7/24 21:00:39.787 EventThread-001d6a4cf4d2 Hang Detected - hang time = 3751
Fri 7/24 21:00:40.537 EventThread-001d6a4cf4d2 Hang Detected - hang time = 4501
Fri 7/24 21:00:41.287 EventThread-001d6a4cf4d2 Hang Detected - hang time = 5251
Fri 7/24 21:00:42.037 EventThread-001d6a4cf4d2 Hang Detected - hang time = 6001
Fri 7/24 21:00:42.787 EventThread-001d6a4cf4d2 Hang Detected - hang time = 6751
Fri 7/24 21:00:43.537 EventThread-001d6a4cf4d2 Hang Detected - hang time = 7501
Fri 7/24 21:00:44.287 EventThread-001d6a4cf4d2 Hang Detected - hang time = 8251
Fri 7/24 21:00:45.037 EventThread-001d6a4cf4d2 Hang Detected - hang time = 9001
Fri 7/24 21:00:45.787 EventThread-001d6a4cf4d2 Hang Detected - hang time = 9751
Fri 7/24 21:00:46.537 EventThread-001d6a4cf4d2 Hang Detected - hang time = 10501
Fri 7/24 21:00:47.287 EventThread-001d6a4cf4d2 Hang Detected - hang time = 11251
Fri 7/24 21:00:48.037 EventThread-001d6a4cf4d2 Hang Detected - hang time = 12001
Fri 7/24 21:00:48.787 EventThread-001d6a4cf4d2 Hang Detected - hang time = 12751
Fri 7/24 21:00:49.537 EventThread-001d6a4cf4d2 Hang Detected - hang time = 13501
Fri 7/24 21:00:50.287 EventThread-001d6a4cf4d2 Hang Detected - hang time = 14251
Fri 7/24 21:00:51.037 EventThread-001d6a4cf4d2 Hang Detected - hang time = 15001
Fri 7/24 21:00:51.787 EventThread-001d6a4cf4d2 Hang Detected - hang time = 15751
Fri 7/24 21:00:52.537 EventThread-001d6a4cf4d2 Hang Detected - hang time = 16501
Fri 7/24 21:00:53.287 EventThread-001d6a4cf4d2 Hang Detected - hang time = 17251
Fri 7/24 21:00:54.037 EventThread-001d6a4cf4d2 Hang Detected - hang time = 18001
Fri 7/24 21:00:54.787 EventThread-001d6a4cf4d2 Hang Detected - hang time = 18751
Fri 7/24 21:00:55.537 EventThread-001d6a4cf4d2 Hang Detected - hang time = 19501
Fri 7/24 21:00:56.288 EventThread-001d6a4cf4d2 Hang Detected - hang time = 20252
Fri 7/24 21:00:57.038 EventThread-001d6a4cf4d2 Hang Detected - hang time = 21002
Fri 7/24 21:00:57.788 EventThread-001d6a4cf4d2 Hang Detected - hang time = 21752
Fri 7/24 21:00:58.538 EventThread-001d6a4cf4d2 Hang Detected - hang time = 22502
Fri 7/24 21:00:59.288 EventThread-001d6a4cf4d2 Hang Detected - hang time = 23252
Fri 7/24 21:01:00.038 EventThread-001d6a4cf4d2 Hang Detected - hang time = 24002
Fri 7/24 21:01:00.788 EventThread-001d6a4cf4d2 Hang Detected - hang time = 24752
Fri 7/24 21:01:01.538 EventThread-001d6a4cf4d2 Hang Detected - hang time = 25502
Fri 7/24 21:01:02.288 EventThread-001d6a4cf4d2 Hang Detected - hang time = 26252
Fri 7/24 21:01:03.038 EventThread-001d6a4cf4d2 Hang Detected - hang time = 27002
Fri 7/24 21:01:03.788 EventThread-001d6a4cf4d2 Hang Detected - hang time = 27752
Fri 7/24 21:01:04.538 EventThread-001d6a4cf4d2 Hang Detected - hang time = 28502
Fri 7/24 21:01:05.288 EventThread-001d6a4cf4d2 Hang Detected - hang time = 29252
Fri 7/24 21:01:06.038 EventThread-001d6a4cf4d2 Hang Detected - hang time = 30002
Fri 7/24 21:01:06.788 EventThread-001d6a4cf4d2 Hang Detected - hang time = 30752
Fri 7/24 21:01:07.538 EventThread-001d6a4cf4d2 Hang Detected - hang time = 31502
Fri 7/24 21:01:08.288 EventThread-001d6a4cf4d2 Hang Detected - hang time = 32252
Fri 7/24 21:01:09.039 EventThread-001d6a4cf4d2 Hang Detected - hang time = 33003
Fri 7/24 21:01:09.789 EventThread-001d6a4cf4d2 Hang Detected - hang time = 33753
Fri 7/24 21:01:10.539 EventThread-001d6a4cf4d2 Hang Detected - hang time = 34503
Fri 7/24 21:01:11.289 EventThread-001d6a4cf4d2 Hang Detected - hang time = 35253
Fri 7/24 21:01:12.039 EventThread-001d6a4cf4d2 Hang Detected - hang time = 36003
Fri 7/24 21:01:12.789 EventThread-001d6a4cf4d2 Hang Detected - hang time = 36753
Fri 7/24 21:01:13.540 EventThread-001d6a4cf4d2 Hang Detected - hang time = 37504
Fri 7/24 21:01:14.290 EventThread-001d6a4cf4d2 Hang Detected - hang time = 38254
Fri 7/24 21:01:15.040 EventThread-001d6a4cf4d2 Hang Detected - hang time = 39004
Fri 7/24 21:01:15.790 EventThread-001d6a4cf4d2 Hang Detected - hang time = 39754
Fri 7/24 21:01:16.540 EventThread-001d6a4cf4d2 Hang Detected - hang time = 40504
Fri 7/24 21:01:17.290 EventThread-001d6a4cf4d2 Hang Detected - hang time = 41254
Fri 7/24 21:01:18.040 EventThread-001d6a4cf4d2 Hang Detected - hang time = 42004
Fri 7/24 21:01:18.790 EventThread-001d6a4cf4d2 Hang Detected - hang time = 42754
Fri 7/24 21:01:19.540 EventThread-001d6a4cf4d2 Hang Detected - hang time = 43504
Fri 7/24 21:01:20.290 EventThread-001d6a4cf4d2 Hang Detected - hang time = 44254
Fri 7/24 21:01:21.040 EventThread-001d6a4cf4d2 Hang Detected - hang time = 45004
Fri 7/24 21:01:21.790 EventThread-001d6a4cf4d2 Hang Detected - hang time = 45754



Sage Media Server driver (beta) - Fonceur - 07-24-2009

Are you able to reproduce that crash or was it just a one of? Any CQC errors about the channels and recorded shows?


Sage Media Server driver (beta) - SamVimes2 - 07-25-2009

I can reproduce it. Sometimes I get channel info, I never get the recorded shows.

CQC does not have any errors in the log.


Sage Media Server driver (beta) - Fonceur - 07-25-2009

Try version .94, I relaxed more constraints...


Sage Media Server driver (beta) - SamVimes2 - 07-25-2009

It crashed again at
Code:
Sat 7/25 14:14:55.788 [[SageTCPServer-SageServer(local:9250)]]: Finding all upcoming recordings.....

I got channel info, but no upcoming recordings or recorded shows.

Is there a way to force a driver to stay in verbose mode=high? I think I am missing some stuff in the CQC log because the driver resets to verbose=off when I load it or restart my master server.


Sage Media Server driver (beta) - SamVimes2 - 07-25-2009

I managed to stop and start the sage service without rebooting the MS. Here's a CQC log attached that *seems* to show CQC properly receiving the recorded shows data, but it still doesn't show up properly in the RecordedShows field. Is it possible the list is just too long?

Also attached is the SageTV log.

Edit: This time the channel and upcoming info populated in the driver, but alas, not the recorded shows.


Sage Media Server driver (beta) - Fonceur - 07-25-2009

From the SageTV log, I see a lot of "Dropping old MiniPlayer connection because it's old" related to the extenders... Not sure if that points to a network issue or something... I also see the SageTCPServer.jar is .272 instead of the newest .273, though that shouldn't matter...

Try upgrading to SageTV 6.5.20 RC and the latest extender firmware.