SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #781  
Old 05-21-2010, 08:37 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
i just noticed that SJQ is dumping alot of debug logging to the sagetv_0.txt log... Prior to me upgrading to the SJQ that is in the repository i never noticed it doing that (not that i look through the servers logs that often though ) Here's a snippit from the server log

Code:
INFO - Checking client '127.0.0.1': 100 resources free.
INFO - Servlet POST request completed [0ms]
INFO - Thread started...
INFO - Thread started.
INFO - Thread sleeping...
INFO - Thread started...
INFO - Thread sleeping...
INFO - Thread sleeping.
INFO - Run completed [0ms]
INFO - Run completed [0ms]
INFO - Checking client '127.0.0.1': 100 resources free.
INFO - Servlet POST request completed [0ms]
Fri 5/21 22:29:30.209 [PooledThread@1db9672] Seeker.finishWatch(/127.0.0.1:3610@@SAGETV_PROCESS_LOCAL_UI)
Fri 5/21 22:29:30.211 [PooledThread@1db9672] Seeker.finishWatch(/127.0.0.1:3610@@SAGETV_PROCESS_LOCAL_UI)
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Reply With Quote
  #782  
Old 05-21-2010, 08:45 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by razrsharpe View Post
i just noticed that SJQ is dumping alot of debug logging to the sagetv_0.txt log... Prior to me upgrading to the SJQ that is in the repository i never noticed it doing that (not that i look through the servers logs that often though ) Here's a snippit from the server log

Code:
INFO - Checking client '127.0.0.1': 100 resources free.
INFO - Servlet POST request completed [0ms]
INFO - Thread started...
INFO - Thread started.
INFO - Thread sleeping...
INFO - Thread started...
INFO - Thread sleeping...
INFO - Thread sleeping.
INFO - Run completed [0ms]
INFO - Run completed [0ms]
INFO - Checking client '127.0.0.1': 100 resources free.
INFO - Servlet POST request completed [0ms]
Fri 5/21 22:29:30.209 [PooledThread@1db9672] Seeker.finishWatch(/127.0.0.1:3610@@SAGETV_PROCESS_LOCAL_UI)
Fri 5/21 22:29:30.211 [PooledThread@1db9672] Seeker.finishWatch(/127.0.0.1:3610@@SAGETV_PROCESS_LOCAL_UI)
Some of that is SJQ, some of it is not. SJQ also dumps all it's log messages into sjq.log. Lines 1, 2, 8-11, inclusive are SJQ, the rest are not. At the end of the day, it's a log/debug file so it's going to get filled with lots of stuff from all over the place. Wouldn't worry too much about it. I will say, though, that for SJQ specific issues, just focus on the sjq.log file. Only SJQ messages end up in that file.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #783  
Old 05-21-2010, 08:58 PM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
Quote:
Originally Posted by Slugger View Post
Go to the dir where you installed the client. In there is a dir called logs and in there is a file called wrapper.log. What does it have to say about the startup error?
PHP Code:
STATUS wrapper  2010/05/20 20:35:45 Launching a JVM...
INFO   jvm 1    2010/05/20 20:35:45 WrapperManagerInitializing...
INFO   jvm 1    2010/05/20 20:35:45 SJQ Task Client v3.0.2.771
INFO   
jvm 1    2010/05/20 20:35:45 Using 'C:/sjqc' as location for configuration file...
INFO   jvm 1    2010/05/20 20:35:45 localhost:8080
STATUS 
wrapper  2010/05/20 20:35:47 | <-- Wrapper Stopped
STATUS 
wrapper  2010/05/21 21:49:48 | --> Wrapper Started as Service
STATUS 
wrapper  2010/05/21 21:49:48 Java Service Wrapper Community Edition 3.3.1
STATUS 
wrapper  2010/05/21 21:49:48 |   Copyright (C1999-2008 Tanuki SoftwareInc.  All Rights Reserved.
STATUS wrapper  2010/05/21 21:49:48 |     http://wrapper.tanukisoftware.org
STATUS wrapper  2010/05/21 21:49:48 
STATUS wrapper  2010/05/21 21:49:48 Launching a JVM...
INFO   jvm 1    2010/05/21 21:49:52 WrapperManagerInitializing...
INFO   jvm 1    2010/05/21 21:49:52 SJQ Task Client v3.0.2.771
INFO   
jvm 1    2010/05/21 21:49:52 Using 'C:/sjqc' as location for configuration file...
INFO   jvm 1    2010/05/21 21:49:52 localhost:8080
STATUS 
wrapper  2010/05/21 21:49:54 | <-- Wrapper Stopped 
NOTE: I changed the above to say localhost instead of the actual address its using.

Here's the error when I try to run the service (the one it installed) from windows:
Reply With Quote
  #784  
Old 05-21-2010, 09:18 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by Brent View Post
PHP Code:
STATUS wrapper  2010/05/20 20:35:45 Launching a JVM...
INFO   jvm 1    2010/05/20 20:35:45 WrapperManagerInitializing...
INFO   jvm 1    2010/05/20 20:35:45 SJQ Task Client v3.0.2.771
INFO   
jvm 1    2010/05/20 20:35:45 Using 'C:/sjqc' as location for configuration file...
INFO   jvm 1    2010/05/20 20:35:45 localhost:8080
STATUS 
wrapper  2010/05/20 20:35:47 | <-- Wrapper Stopped
STATUS 
wrapper  2010/05/21 21:49:48 | --> Wrapper Started as Service
STATUS 
wrapper  2010/05/21 21:49:48 Java Service Wrapper Community Edition 3.3.1
STATUS 
wrapper  2010/05/21 21:49:48 |   Copyright (C1999-2008 Tanuki SoftwareInc.  All Rights Reserved.
STATUS wrapper  2010/05/21 21:49:48 |     http://wrapper.tanukisoftware.org
STATUS wrapper  2010/05/21 21:49:48 
STATUS wrapper  2010/05/21 21:49:48 Launching a JVM...
INFO   jvm 1    2010/05/21 21:49:52 WrapperManagerInitializing...
INFO   jvm 1    2010/05/21 21:49:52 SJQ Task Client v3.0.2.771
INFO   
jvm 1    2010/05/21 21:49:52 Using 'C:/sjqc' as location for configuration file...
INFO   jvm 1    2010/05/21 21:49:52 localhost:8080
STATUS 
wrapper  2010/05/21 21:49:54 | <-- Wrapper Stopped 
NOTE: I changed the above to say localhost instead of the actual address its using.

Here's the error when I try to run the service (the one it installed) from windows:
Hmm... that's unusual. Usually this will tell us the exact problem. Here, it's just telling us that the wrapper stopped. I'm kind of stuck now. My best guess is that it can't find java.exe, but that's only a guess. Can you get the non-service version to run? Which version of Windows was this again?
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #785  
Old 05-21-2010, 11:05 PM
aflat aflat is offline
Sage Aficionado
 
Join Date: Feb 2009
Posts: 302
I'm having the same issues as TallMomof2. Upgraded from V2 to V3, and now I can't get to the web page. I don't mind cleaning up and starting for scratch, but what would I have to clean up? I'm also not using a standard port, 8580 for me, since I have another webserver on 8080.
Reply With Quote
  #786  
Old 05-21-2010, 11:15 PM
aflat aflat is offline
Sage Aficionado
 
Join Date: Feb 2009
Posts: 302
Easy enough, uninstalled it via the UI, renamed the jetty dir, and removed the jars from the sagetv\jars dir, then reinstalled and I'm back in business. Maybe it was just an upgrade issue.
Reply With Quote
  #787  
Old 05-22-2010, 07:15 AM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by aflat View Post
Easy enough, uninstalled it via the UI, renamed the jetty dir, and removed the jars from the sagetv\jars dir, then reinstalled and I'm back in business. Maybe it was just an upgrade issue.
Yes, some users that have upgraded Jetty from an older version are seeing duplicate jars in their JARs folder, which will prevent Jetty from starting up. You will know if this is an issue by looking in SageTV\JARs\ and if you see more than one version of jetty-6.*.jar (i.e. jetty-6.1.19.jar and jetty-6.1.11.jar) then you need to stop Sage, delete the older jars then restart. You will likely see duplicates of many of Jetty's jars if you're in this situation. All the duplicates must be removed. Once you do that then restart Sage and Jetty should be able to start up.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #788  
Old 05-22-2010, 10:22 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by razrsharpe View Post
i just noticed that SJQ is dumping alot of debug logging to the sagetv_0.txt log... Prior to me upgrading to the SJQ that is in the repository i never noticed it doing that (not that i look through the servers logs that often though )
Quote:
Originally Posted by Slugger View Post
Some of that is SJQ, some of it is not.
I think this possibly has something to do with Sage not depending on commons-logging anymore (that they introduced in 7.0.9). Plucky submitted a bugrequest to sage to look at it.. because he's noticed it too. So far i have seen sjq, sagealert, and sagemymovies logging in the server's log.
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Reply With Quote
  #789  
Old 05-23-2010, 12:15 AM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
SageTV v7/SJQ v3.1.x users may want to disable SJQ's file cleaner in favour of my new Sage Artifact Delete (SAD) plugin. This plugin is a lot more efficient in how it finds and deletes artifacts and also has a delay built in before it deletes artifacts, which would allow things like SJQ's _MOVEREC task to copy the artifacts before they're toasted off your hard drive.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #790  
Old 05-24-2010, 11:19 PM
QueOnda's Avatar
QueOnda QueOnda is offline
Sage Icon
 
Join Date: Jan 2008
Posts: 1,093
Please point me in the right direction. I installed the plugin through v7 but can't really find the how to run it or configure

I tried to connect from webbrowser mycomputerip:80/sjq but no luck
__________________
Server: HP AMD64 dual core running Win7 64bit (MCE disabled) with 4G memory Tuners: 2 PVR-500(disabled), 3 HDHR and 1 HDPVR Clients: 2 HD200 and 1 HD100 TV: 70" and 52" and 42" Media Storage: ReadyNas 8TB Recording media: 300GB + 200GB+ 250 GB Network: Gigabit backbone'

Thanks to all the developers who work on SageMC, code, utilities and plug-ins to make SageTV better!!!
Reply With Quote
  #791  
Old 05-24-2010, 11:22 PM
phareous phareous is offline
Sage Advanced User
 
Join Date: Jul 2009
Posts: 234
Quote:
Originally Posted by QueOnda View Post
Please point me in the right direction. I installed the plugin through v7 but can't really find the how to run it or configure

I tried to connect from webbrowser mycomputerip:80/sjq but no luck
Wouldn't that be 8080, not 80?
Reply With Quote
  #792  
Old 05-24-2010, 11:25 PM
QueOnda's Avatar
QueOnda QueOnda is offline
Sage Icon
 
Join Date: Jan 2008
Posts: 1,093
Quote:
Originally Posted by phareous View Post
Wouldn't that be 8080, not 80?
Opps mistyped. Yes, I tried this http://192.168.0.3:8080/sjq and I get "Oops! This link appears to be broken."

When I had sagetv v6, I didn't use sjq and never installed it. Only installed through program installer.
__________________
Server: HP AMD64 dual core running Win7 64bit (MCE disabled) with 4G memory Tuners: 2 PVR-500(disabled), 3 HDHR and 1 HDPVR Clients: 2 HD200 and 1 HD100 TV: 70" and 52" and 42" Media Storage: ReadyNas 8TB Recording media: 300GB + 200GB+ 250 GB Network: Gigabit backbone'

Thanks to all the developers who work on SageMC, code, utilities and plug-ins to make SageTV better!!!
Reply With Quote
  #793  
Old 05-24-2010, 11:27 PM
phareous phareous is offline
Sage Advanced User
 
Join Date: Jul 2009
Posts: 234
Did you restart sagetv? I would try to restart the service. Also did you install the Jetty web server? Make sure you have that too.

I wished I could be of more help but I already have jetty/sjq on there before I upgraded to v7
Reply With Quote
  #794  
Old 05-24-2010, 11:40 PM
QueOnda's Avatar
QueOnda QueOnda is offline
Sage Icon
 
Join Date: Jan 2008
Posts: 1,093
Thanks phareous, I'll give it a try.

I didn't restart the sage but will do so tonight. I do have the jetty web server 1.7.5.22 (had that installed in v6 but re-installed after v7 through plugin because of the updated files.) I will post back tomorrow to see if the restart of sage helped.
__________________
Server: HP AMD64 dual core running Win7 64bit (MCE disabled) with 4G memory Tuners: 2 PVR-500(disabled), 3 HDHR and 1 HDPVR Clients: 2 HD200 and 1 HD100 TV: 70" and 52" and 42" Media Storage: ReadyNas 8TB Recording media: 300GB + 200GB+ 250 GB Network: Gigabit backbone'

Thanks to all the developers who work on SageMC, code, utilities and plug-ins to make SageTV better!!!
Reply With Quote
  #795  
Old 05-25-2010, 09:39 AM
QueOnda's Avatar
QueOnda QueOnda is offline
Sage Icon
 
Join Date: Jan 2008
Posts: 1,093
Restarted of Sagetv works. Going to post in the beta...
__________________
Server: HP AMD64 dual core running Win7 64bit (MCE disabled) with 4G memory Tuners: 2 PVR-500(disabled), 3 HDHR and 1 HDPVR Clients: 2 HD200 and 1 HD100 TV: 70" and 52" and 42" Media Storage: ReadyNas 8TB Recording media: 300GB + 200GB+ 250 GB Network: Gigabit backbone'

Thanks to all the developers who work on SageMC, code, utilities and plug-ins to make SageTV better!!!
Reply With Quote
  #796  
Old 05-25-2010, 10:02 AM
QueOnda's Avatar
QueOnda QueOnda is offline
Sage Icon
 
Join Date: Jan 2008
Posts: 1,093
Ok. I see where you need to create rulesets for comskip but where do you specify where comskip is located? I currently reading the manual but cannot find my answer: http://docs.google.com/View?id=dz87g...28166432316313
__________________
Server: HP AMD64 dual core running Win7 64bit (MCE disabled) with 4G memory Tuners: 2 PVR-500(disabled), 3 HDHR and 1 HDPVR Clients: 2 HD200 and 1 HD100 TV: 70" and 52" and 42" Media Storage: ReadyNas 8TB Recording media: 300GB + 200GB+ 250 GB Network: Gigabit backbone'

Thanks to all the developers who work on SageMC, code, utilities and plug-ins to make SageTV better!!!
Reply With Quote
  #797  
Old 05-25-2010, 11:56 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
you define the COMSKIP task in the task client config.... here's an example from the manual
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Reply With Quote
  #798  
Old 05-25-2010, 06:24 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
I've been trying to use SageAlert to reboot my HD-PVRs when they get a capture error and since upgrading to Sage 7 it's not working right. I started thinking that it might be much easier to do this directly from SJQ. Is there a way to trigger an external batch file based on the content of a system message's description?
Reply With Quote
  #799  
Old 05-25-2010, 07:41 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by toricred View Post
I've been trying to use SageAlert to reboot my HD-PVRs when they get a capture error and since upgrading to Sage 7 it's not working right. I started thinking that it might be much easier to do this directly from SJQ. Is there a way to trigger an external batch file based on the content of a system message's description?
Sure.

Code:
if [IsObjSysMsg == true && $.GetSystemMessageString{} =* "whatever string you're looking for"] {
   MYTASK
}
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #800  
Old 05-25-2010, 09:56 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
So to get system messages I assume I need to tell it to connect to SageAlert. Is that correct? Also if I'm monitoring for capture failures do I need to set up the frequency to check for something like 1 minute?
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sage Job Queue (SJQ) new release notifications Slugger Customization Announcements 3 12-17-2009 09:59 AM
Plugin: Sage Job Queue (SJQ) Slugger SageTV Customizations 991 12-11-2009 03:52 PM
Sage Job Queue Completed tasks problem raffmanlt SageTV Customizations 2 08-18-2009 07:34 PM
Comskip Monitor VS Sage Job Queue SJQ personalt SageTV Customizations 6 03-02-2009 10:27 AM
Plugin: SJQ v1.1.0RC1 Available - Testers Needed Slugger SageTV Customizations 35 04-21-2008 08:12 AM


All times are GMT -6. The time now is 10:00 AM.


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