SageTV Community  

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

Notices

SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #801  
Old 05-07-2011, 10:21 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by toricred View Post
I'm not doing well searching this thread today. Does somebody have a script for restarting Sage when there's nothing happening? I need this to deal with my Colossi.
This should do it...

Code:
import com.google.code.sagetvaddons.groovy.api.GlobalHelpers

final def TEST_MODE = true // Restart is not actually done if TEST_MODE = true

// Number of seconds Sage needs to restart, be generous!! If you're running this script from a plugin task client running on 
// the SageTV server then just set this to 0 because the task is going to be marked as failed everytime it runs anyway
final def SLEEP_SECONDS = 300

if(safeToRestart()) {
    if(!TEST_MODE) {
        Utility.ServerRestart()
        if(SLEEP_SECONDS > 0)
            sleep 1000L * SLEEP_SECONDS
    } else
        println 'SageTV server restart skipped! (test mode is enabled)'
} else
    println 'Not safe to restart the SageTV server right now!'

// Do whatever checks you want to do; return true if the server can be restarted 'safely'
// In this example, I've decided it's safe to restart if and only if there is more than 30 mins until the next scheduled
// recording and there are no clients/extenders connected to the server; adjust this function as needed
boolean safeToRestart() {
    return !(GlobalHelpers.isAnythingConnected() || GlobalHelpers.getSecondsUntilNextRecording() < 1800)
}
There is one caveat to this script: If you run it from a plugin version of the task client that is running on the SageTV server then the task will always be marked as failed by SJQ. This is because the Sage restart will occur before the task client has a chance to report back to the SJQ server that it finished the task. The restart will still happen, but the task will be reported as failed. There is currently no work around for this issue other than to run these types of tasks on standalone task clients.
__________________
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...

Last edited by Slugger; 05-07-2011 at 10:27 PM.
Reply With Quote
  #802  
Old 05-08-2011, 03:02 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Summer shutdown...

Well, it's that time of the year again where I tend to step away from the keyboard and spend more time doing other things.

With no open bugs against SJQv4 at the moment, I have no plans for any updates to SJQv4 until the fall. With that said, I will be monitoring the user forums and will address major bugs in a (relatively) timely manner throughout the summer. I'll also continue to monitor and answer any questions, etc. in this thread. And I suspect I'll contribute bits and pieces of Groovy code examples throughout the summer.

If there are any pressing issues you feel should be addressed sooner than later (i.e. the fall) then now is the time to speak up. I'm doing some bug fixes in other plugins this week and will address any SJQ issues that need addressing during that time. After that window, I have no plans to touch any of the SJQ code until the fall.

Happy scripting!
__________________
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
  #803  
Old 05-11-2011, 05:08 AM
gdippel gdippel is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Bayside, New York
Posts: 301
Tasks queuing up and not running

I have been successfully running comskip as a task until this past Monday when they have been queuing up but not running. I've posted a screen shot of the failed/returned task's log. It looks like something been corrupted but I haven't a clue as to what. Any suggestions?
Attached Images
File Type: jpg Sjq4log.JPG (119.8 KB, 161 views)
Reply With Quote
  #804  
Old 05-11-2011, 06:21 AM
gdippel gdippel is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Bayside, New York
Posts: 301
Problem solved

Quote:
Originally Posted by gdippel View Post
I have been successfully running comskip as a task until this past Monday when they have been queuing up but not running. I've posted a screen shot of the failed/returned task's log. It looks like something been corrupted but I haven't a clue as to what. Any suggestions?
I am an Idiot. I remembered (after posting , of course) that I had done a system restore on my XP system to try to correct an unrelated problem. This seems to have mucked up SJQ4. I undid the restore and now my tasks are running.
Reply With Quote
  #805  
Old 05-12-2011, 06:47 PM
broconne broconne is offline
Sage Aficionado
 
Join Date: Feb 2009
Location: Cary, NC
Posts: 306
Cleaning up .lobs

I had a seriously bad misconfiguration of SQJ file_cleaner. Meant to run it once a day, had it set for every minute.. Whoops.. :-)

So that built up quite a huge backlog of tasks. That I removed using the H2 web interface..

Is there away to cleanup the .lob files using the H2 web interface? They are consuming close to 8 GBs.


================
Edit
================
I see this is addressed in an earlier post. Solution posted here
__________________
Host: ESXi 6.5 w/ Intel Core i7 2.8GHZ 8GB Ram
Guest: Ubuntu 16.04 with Sage v9 in Docker
Tuners: 2 HDHR (OTA);
Extenders: HD300 connected to a Samsung 56" DLP HDTV; HD300 connected to a Sharp 42" LCD
Storage: OmniOS w/6 1TB Samsung Spinpoint in a RaidZ2 configuration in a 20 bay SATA hotswap case.

Last edited by broconne; 05-12-2011 at 07:21 PM.
Reply With Quote
  #806  
Old 05-16-2011, 11:25 AM
phelme's Avatar
phelme phelme is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 1,151
I'd agree the .lob files are an issue. Yesterday, for the third time now, I've had my 15 GB system drive filled up, which causes a lot of Windows programs to start freaking out and Sage to punt on recording. I'd hate to have this happen while I'm away on vacation.

After it started happening again this morning I did some debugging and determined one of my SJQ4 test scripts to set up mediashrink should have been punting (and returning an error code of "2" instead of "1") when a media file existence test showed the file had already been deleted. Since I was returning a value of "1", the task was being re-queued and repeating over and over. And the lobs started to pile up and would continue until the disk filled up.

Yeah, this one was my fault , but it would be nice if something out there could check if the lobs cache is getting out of control.


Quote:
Originally Posted by broconne View Post
I had a seriously bad misconfiguration of SQJ file_cleaner. Meant to run it once a day, had it set for every minute.. Whoops.. :-)

So that built up quite a huge backlog of tasks. That I removed using the H2 web interface..

Is there away to cleanup the .lob files using the H2 web interface? They are consuming close to 8 GBs.


================
Edit
================
I see this is addressed in an earlier post. Solution posted here
__________________
Server: AMD 9600 Phenom on XP, Gigabyte GA-MA78GPM, 2GB RAM, 320+250+500 GB SATA drives, HDHomeRun Prime, HD-PVR x.5.1, Paterson serial
Client/Encoder:AMD 3800+ X2, 512 MB RAM, ATI X1650 XT, nMediaPC case, Hauppauge HD-PVR, Cyberlink/ArcSoft decoders, USB-UIRT
Client/Encoder: AMD 3800+ X2, 512 MB RAM, 6150 graphics, nMediaPC case, ArcSoft decoders
Client: HD300, Asus Pundit P1-AH1, AMD 3800+ X2 CPU, 1 GB RAM, 6150 graphics, ArcSoft decoders
Backup: Synology
SageTV version: FINAL
Reply With Quote
  #807  
Old 05-16-2011, 12:16 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by phelme View Post
I'd agree the .lob files are an issue. Yesterday, for the third time now, I've had my 15 GB system drive filled up, which causes a lot of Windows programs to start freaking out and Sage to punt on recording. I'd hate to have this happen while I'm away on vacation.

After it started happening again this morning I did some debugging and determined one of my SJQ4 test scripts to set up mediashrink should have been punting (and returning an error code of "2" instead of "1") when a media file existence test showed the file had already been deleted. Since I was returning a value of "1", the task was being re-queued and repeating over and over. And the lobs started to pile up and would continue until the disk filled up.

Yeah, this one was my fault , but it would be nice if something out there could check if the lobs cache is getting out of control.
You can setup an SJQ task to actually monitor the cache dir for you. Of course, cleaning it would require a stop of Sage and most likely a manual cleanup, but you can at least periodically monitor the cache and generate an email or a system message if the cache gets too large. You could also write a script that you run from Windows Task Scheduler or other means to do the same periodic checking.
__________________
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
  #808  
Old 05-30-2011, 06:50 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
sagetv-addons licensing changing soon...

sagetv-addons licensing is changing soon. Details are outlined here. For those that may be considering a license purchase, you may want to read that doc closely, especially this FAQ question and answer.
__________________
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
  #809  
Old 06-01-2011, 03:20 PM
graywolf's Avatar
graywolf graywolf is offline
Sage Icon
 
Join Date: Oct 2009
Location: NC
Posts: 1,389
license issue - SJQ shows Licensed...Sagegroovy gives me error

Quote:
C:\sagegroovy\bin>sagegroovy.exe -s 192.168.1.102 -g
INFO - Configured Logging for: sagex-api using file: sagex-api.log4j.properties
LOG4J: Configured Logging for: sagex-api using file: sagex-api.log4j.properties
sagex-services manually set to 'rmi://192.168.1.102:1098'
INFO - Received request from 'SageGroovy'
WARN - SageGroovy: The registered email ['E-MAIL@ALLCAPS.COM'] does not match the email in the license file!
You must have a sagetv-addons license to use this application! See http://code.google.com/p/sagetv-addo...i/DonationsFaq
License server response: The registered email ['E-MAIL@ALLCAPS.COM'] does not match the email in the license file!
Used the e-mail that you sent the license key in. entered the license info (e-mail address) via the UI.

Is it case sensitive?
Reply With Quote
  #810  
Old 06-01-2011, 05:19 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by graywolf View Post
Used the e-mail that you sent the license key in. entered the license info (e-mail address) via the UI.

Is it case sensitive?
SageGroovy includes an older version of the salicense jar, which contains the case-sensitivity bug that was fixed in the latest version. I'll get a new build out this week with the updated jar. This issue is being tracked by ticket 297.

In the meantime, one of two quick fixes should get you going:

1) Fix the case of the email address as registered in salicense plugin config to exactly match the case of the email address as seen in the email that contains the license file.

2) [Probably easier] Exit SageGroovy and copy the salicense.jar file from SageTV\JARs\ and drop it in the lib directory of SageGroovy. Restart SageGroovy, you should be good to go.

If neither of these fixes you up then let me know and I'll investigate further.
__________________
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
  #811  
Old 06-01-2011, 05:41 PM
graywolf's Avatar
graywolf graywolf is offline
Sage Icon
 
Join Date: Oct 2009
Location: NC
Posts: 1,389
Thanks. Did Option 2 and Sagegroovy is now working
Reply With Quote
  #812  
Old 06-01-2011, 05:43 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by graywolf View Post
Thanks. Did Option 2 and Sagegroovy is now working
Perfect. That also confirms the bug that I need to fix.

Thanks for the update.
__________________
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
  #813  
Old 06-02-2011, 04:48 PM
graywolf's Avatar
graywolf graywolf is offline
Sage Icon
 
Join Date: Oct 2009
Location: NC
Posts: 1,389
ok...I'm an Idiot - Help get me on track

Been trying a ton of different task....exe and just not getting it.

Code:
task.unwatchlivetv.exe=script\:"C\:\\SJQScripts\\set_watched_flag.groovy"
is 1 variation but would like to put it at \\tower\SJQScripts

What I get isn't that I'm not even in the Ballpark...probably not even in the same State

Code:
ERROR [192_168_1_102-23347-48]: Unable to read script 'C:\SageTV\SageTV\"C:\SJQScripts\set_watched_flag.groovy"'; marking task as FAILED!
Reply With Quote
  #814  
Old 06-02-2011, 05:14 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
You don't need to (and can't) quote the file name. The quotes confuse the engine into thinking it's part of the file name.

script:C:/SJQScripts/set_watched_flag.groovy

Or

script://tower/SJQScripts/set_watched_flag.groovy

NOTE: You can flip the slashes around because Java can handle that. You can also put them the other way, but if you do and you're directly editing the .properties file then you need to escape backslashes:

script\:\\\\tower\\SJQScripts\\set_watched_flag.groovy
__________________
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
  #815  
Old 06-02-2011, 07:35 PM
HuMan321's Avatar
HuMan321 HuMan321 is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: Idaho
Posts: 365
Hi,

I just added the license to my system and upgraded all plug-ins. Everything seemed to have went well except SJQ will not start in my browser as it did before. I rebooted my PC with the same results.
This is the url in my browser:
http://sage:8080/sjq/SJQClient.html

Any thoughts for me?

Thanks,

(If someone could tell me how to paste into the scrolling window I would appreciate it)

Here is the log file
Code:
 
2011-06-02 19:07:18,406 INFO  [Plugin]: sagetv-addons license successfully validated!
2011-06-02 19:07:18,406 INFO  [Plugin]: SJQ timer thread has been started!
2011-06-02 19:07:18,406 INFO  [Plugin]: Server agent has started!
2011-06-02 19:07:18,406 INFO  [Plugin]: Server crontab has started!
2011-06-02 19:07:19,343 WARN  [SJQServlet]: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2011-06-02 19:07:19,343 INFO  [SJQServlet]: Servlet POST request completed [0ms]
2011-06-02 19:07:33,406 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:07:41,406 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:08:03,406 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:08:11,406 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:08:15,484 INFO  [SystemMessageQueueLoader]: Run completed [203ms]
2011-06-02 19:08:17,765 INFO  [Plugin]: SJQ timer thread has been stopped!
2011-06-02 19:08:17,765 INFO  [Plugin]: SJQ server agent has been stopped!
2011-06-02 19:08:17,765 INFO  [Plugin]: Stopping SJQ crontab...
2011-06-02 19:08:17,765 INFO  [Plugin]: SJQ crontab has been stopped!
2011-06-02 19:08:18,906 WARN[Listener]: Shutting down listener...
2011-06-02 19:08:18,906 WARN  [Plugin]: SJQ server agent has stopped!
2011-06-02 19:08:20,031 INFO  [MediaFileQueueLoader]: sleep interrupted
2011-06-02 19:08:20,031 INFO  [SystemMessageQueueLoader]: sleep interrupted
2011-06-02 19:08:20,031 INFO  [SystemMessageQueueLoader]: Thread stopped
2011-06-02 19:08:20,031 INFO  [ClientMonitor]: Thread awakened
2011-06-02 19:08:20,031 INFO  [ClientMonitor]: Thread stopped
2011-06-02 19:08:20,031 INFO  [InternalTaskClient]: Thread stopped
2011-06-02 19:08:20,031 INFO  [MediaFileQueueLoader]: Thread stopped
2011-06-02 19:09:42,859 INFO  [MediaFileQueueLoader]: Thread started
2011-06-02 19:09:42,859 INFO  [ClientMonitor]: Thread started
2011-06-02 19:09:42,859 INFO  [ClientMonitor]: Run completed [0ms]
2011-06-02 19:09:42,875 INFO  [SystemMessageQueueLoader]: Thread started
2011-06-02 19:09:42,875 INFO  [InternalTaskClient]: Thread started
2011-06-02 19:09:42,890 INFO  [InternalTaskClient]: Run completed [15ms]
2011-06-02 19:09:43,015 INFO  [DataStore]: SQLite driver implementation: 'native'
2011-06-02 19:09:43,015 INFO  [DataStore]: DataStore connection pool initialized with 5 connections.
2011-06-02 19:09:43,437 WARN  [FieldFileExists]: Listing of '\\DELL\SageTest\SageHD' returned null!
2011-06-02 19:09:43,671 WARN  [FieldFileExists]: Listing of '\\DELL\SageTest' returned null!
2011-06-02 19:09:43,703 WARN  [FieldFileExists]: Listing of '\\DELL\SageHD' returned null!
2011-06-02 19:09:43,859 INFO  [SystemMessageQueueLoader]: Run completed [469ms]
2011-06-02 19:09:44,093 INFO  [MediaFileQueueLoader]: Run completed [1234ms]
2011-06-02 19:09:44,093 INFO  [VacuumCleaner]: Thread finished [0ms]
2011-06-02 19:09:44,093 INFO  [DataStore]: Thread 'SJQ-LogCleaner' is seeking an exclusive DataStore connection!
2011-06-02 19:09:44,093 INFO  [DataStore]: Thread 'SJQ-LogCleaner' has received an exclusive DataStore connection! [WAIT=0ms]
2011-06-02 19:09:44,250 INFO  [DataStore]: 'SJQ-LogCleaner' has returned its exclusive DataStore connection!
2011-06-02 19:09:44,250 INFO  [LogCleaner]: Thread finished [157ms]
2011-06-02 19:09:44,296 INFO  [FileCleaner]: Thread finished [203ms]
2011-06-02 19:09:46,625 INFO  [Plugin]: sagetv-addons license successfully validated!
2011-06-02 19:09:46,640 INFO  [Plugin]: SJQ timer thread has been started!
2011-06-02 19:09:46,640 INFO  [Plugin]: Server agent has started!
2011-06-02 19:09:46,640 INFO  [Plugin]: Server crontab has started!
2011-06-02 19:10:01,625 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:10:09,625 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:10:31,640 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:10:39,640 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:10:44,093 INFO  [SystemMessageQueueLoader]: Run completed [78ms]
2011-06-02 19:10:46,640 INFO  [DataStore]: Cleaned up 0 row(s) from task queue!
2011-06-02 19:11:01,640 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:11:09,640 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:11:31,640 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:11:39,640 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:11:42,906 INFO  [InternalTaskClient]: Run completed [0ms]
2011-06-02 19:11:44,343 INFO  [SystemMessageQueueLoader]: Run completed [78ms]
2011-06-02 19:12:01,640 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:12:09,640 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:12:31,640 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:12:39,640 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:12:44,578 INFO  [SystemMessageQueueLoader]: Run completed [78ms]
2011-06-02 19:13:01,640 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:13:04,328 INFO  [SJQServlet]: Servlet GET request completed [0ms]
2011-06-02 19:13:09,640 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:13:31,640 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:13:33,906 INFO  [SJQServlet]: Servlet GET request completed [0ms]
2011-06-02 19:13:39,640 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:13:42,906 INFO  [InternalTaskClient]: Run completed [0ms]
2011-06-02 19:13:44,781 INFO  [SystemMessageQueueLoader]: Run completed [63ms]
2011-06-02 19:13:44,828 INFO  [SJQServlet]: Servlet GET request completed [0ms]
2011-06-02 19:14:00,671 INFO  [SJQServlet]: Servlet GET request completed [0ms]
2011-06-02 19:14:01,640 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:14:09,640 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:14:31,640 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:14:39,640 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:14:39,796 INFO  [SJQServlet]: Servlet GET request completed [0ms]
2011-06-02 19:14:42,859 INFO  [ClientMonitor]: Run completed [0ms]
2011-06-02 19:14:45,078 INFO  [SystemMessageQueueLoader]: Run completed [94ms]
2011-06-02 19:15:01,640 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:15:09,640 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:15:31,640 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:15:39,640 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:15:42,906 INFO  [InternalTaskClient]: Run completed [0ms]
2011-06-02 19:15:45,328 INFO  [SystemMessageQueueLoader]: Run completed [94ms]
2011-06-02 19:16:01,640 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:16:09,640 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:16:31,640 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:16:39,640 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:16:45,562 INFO  [SystemMessageQueueLoader]: Run completed [94ms]
2011-06-02 19:17:01,640 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:17:09,640 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:17:31,640 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:17:39,640 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:17:42,906 INFO  [InternalTaskClient]: Run completed [0ms]
2011-06-02 19:17:43,625 WARN  [SJQServlet]: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings
2011-06-02 19:17:43,640 INFO  [SJQServlet]: Checking client '192.168.123.37': 100 resources free.
2011-06-02 19:17:43,640 INFO  [SJQServlet]: Servlet POST request completed [15ms]
2011-06-02 19:17:45,843 INFO  [SystemMessageQueueLoader]: Run completed [78ms]
2011-06-02 19:18:01,640 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:18:03,765 INFO  [SJQServlet]: Servlet GET request completed [0ms]
2011-06-02 19:18:09,640 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:18:12,328 INFO  [SJQServlet]: Servlet GET request completed [0ms]
2011-06-02 19:18:31,640 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:18:39,640 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:18:46,046 INFO  [SystemMessageQueueLoader]: Run completed [78ms]
2011-06-02 19:19:01,640 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:19:09,640 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:19:31,640 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:19:39,640 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:19:42,859 INFO  [ClientMonitor]: Run completed [0ms]
2011-06-02 19:19:42,906 INFO  [InternalTaskClient]: Run completed [0ms]
2011-06-02 19:19:46,328 INFO  [SystemMessageQueueLoader]: Run completed [94ms]
2011-06-02 19:20:01,640 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:20:09,640 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:20:31,640 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:20:39,640 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:20:46,515 INFO  [SystemMessageQueueLoader]: Run completed [62ms]
2011-06-02 19:20:51,750 INFO  [Plugin]: SJQ timer thread has been stopped!
2011-06-02 19:20:51,750 INFO  [Plugin]: SJQ server agent has been stopped!
2011-06-02 19:20:51,750 INFO  [Plugin]: Stopping SJQ crontab...
2011-06-02 19:20:51,750 INFO  [Plugin]: SJQ crontab has been stopped!
2011-06-02 19:20:53,125 INFO  [MediaFileQueueLoader]: sleep interrupted
2011-06-02 19:20:53,125 INFO  [SystemMessageQueueLoader]: sleep interrupted
2011-06-02 19:20:53,125 INFO  [MediaFileQueueLoader]: Thread stopped
2011-06-02 19:20:53,125 INFO  [InternalTaskClient]: Thread stopped
2011-06-02 19:20:53,125 INFO  [ClientMonitor]: Thread awakened
2011-06-02 19:20:53,125 INFO  [ClientMonitor]: Thread stopped
2011-06-02 19:20:53,125 INFO  [SystemMessageQueueLoader]: Thread stopped
2011-06-02 19:25:50,894 INFO  [MediaFileQueueLoader]: Thread started
2011-06-02 19:25:50,894 INFO  [SystemMessageQueueLoader]: Thread started
2011-06-02 19:25:50,894 INFO  [InternalTaskClient]: Thread started
2011-06-02 19:25:50,894 INFO  [ClientMonitor]: Thread started
2011-06-02 19:25:50,926 INFO  [ClientMonitor]: Run completed [0ms]
2011-06-02 19:25:50,926 INFO  [InternalTaskClient]: Run completed [0ms]
2011-06-02 19:25:51,879 INFO  [DataStore]: SQLite driver implementation: 'native'
2011-06-02 19:25:51,879 INFO  [DataStore]: DataStore connection pool initialized with 5 connections.
2011-06-02 19:25:53,613 WARN  [FieldFileExists]: Listing of '\\DELL\SageTest\SageHD' returned null!
2011-06-02 19:25:54,254 WARN  [FieldFileExists]: Listing of '\\DELL\SageTest' returned null!
2011-06-02 19:25:54,285 WARN  [FieldFileExists]: Listing of '\\DELL\SageHD' returned null!
2011-06-02 19:25:55,316 INFO  [SystemMessageQueueLoader]: Run completed [1984ms]
2011-06-02 19:25:56,066 INFO  [MediaFileQueueLoader]: Run completed [5140ms]
2011-06-02 19:25:56,082 INFO  [VacuumCleaner]: Thread finished [16ms]
2011-06-02 19:25:56,082 INFO  [DataStore]: Thread 'SJQ-LogCleaner' is seeking an exclusive DataStore connection!
2011-06-02 19:25:56,082 INFO  [DataStore]: Thread 'SJQ-LogCleaner' has received an exclusive DataStore connection! [WAIT=0ms]
2011-06-02 19:25:56,488 INFO  [DataStore]: 'SJQ-LogCleaner' has returned its exclusive DataStore connection!
2011-06-02 19:25:56,488 INFO  [LogCleaner]: Thread finished [406ms]
2011-06-02 19:25:56,551 INFO  [FileCleaner]: Thread finished [422ms]
2011-06-02 19:26:02,144 INFO  [Plugin]: sagetv-addons license successfully validated!
2011-06-02 19:26:02,144 INFO  [Plugin]: SJQ timer thread has been started!
2011-06-02 19:26:02,144 INFO  [Plugin]: Server agent has started!
2011-06-02 19:26:02,144 INFO  [Plugin]: Server crontab has started!
2011-06-02 19:26:17,160 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:26:25,160 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:26:47,144 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:26:55,144 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:26:56,316 INFO  [SystemMessageQueueLoader]: Run completed [234ms]
2011-06-02 19:26:59,488 INFO  [SJQServlet]: Servlet GET request completed [0ms]
2011-06-02 19:27:02,144 INFO  [DataStore]: Cleaned up 0 row(s) from task queue!
2011-06-02 19:27:17,144 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:27:25,144 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:27:47,144 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:27:50,926 INFO  [InternalTaskClient]: Run completed [0ms]
2011-06-02 19:27:55,144 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:28:08,629 INFO  [SystemMessageQueueLoader]: Run completed [78ms]
2011-06-02 19:28:17,144 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:28:25,144 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:28:47,144 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:28:55,144 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:29:08,957 INFO  [SystemMessageQueueLoader]: Run completed [78ms]
2011-06-02 19:29:17,144 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:29:25,144 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:29:47,144 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:29:50,926 INFO  [InternalTaskClient]: Run completed [0ms]
2011-06-02 19:29:55,144 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:30:09,332 INFO  [SystemMessageQueueLoader]: Run completed [63ms]
2011-06-02 19:30:17,144 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:30:25,144 INFO  [TaskQueue]: Running queue processor now!
2011-06-02 19:30:47,144 INFO  [TaskQueue]: Scheduling queue processor for ~8 seconds from now!
2011-06-02 19:30:50,926 INFO  [ClientMonitor]: Run completed [0ms]
2011-06-02 19:30:55,144 INFO  [TaskQueue]: Running queue processor now!

Last edited by HuMan321; 06-02-2011 at 08:17 PM.
Reply With Quote
  #816  
Old 06-02-2011, 07:39 PM
graywolf's Avatar
graywolf graywolf is offline
Sage Icon
 
Join Date: Oct 2009
Location: NC
Posts: 1,389
thanks so much. working now. tried with/without quotes. didn't use the / but used \ instead. tried many different combos. but all is good now. won't forget it for the next script I use
Reply With Quote
  #817  
Old 06-02-2011, 07:57 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
@HuMan321

You've got two different versions of SJQ running. You've got SJQv4 running and v3 or older running.

SJQv4 does not include a web UI. There is an STVi plugin and/or you directly edit the properties files. See the User Guide on the project site for more details.

If you have the old SJQ installed from Sage 6 and it was not the plugin version then you must manually uninstall it by removing the war file and context file from within SageTV\jetty\

EDIT: Wrap logs in [code] tags to get them in a scrolling window
__________________
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...

Last edited by Slugger; 06-02-2011 at 07:59 PM.
Reply With Quote
  #818  
Old 06-02-2011, 08:03 PM
HuMan321's Avatar
HuMan321 HuMan321 is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: Idaho
Posts: 365
Quote:
Originally Posted by Slugger View Post
@HuMan321

You've got two different versions of SJQ running. You've got SJQv4 running and v3 or older running.

SJQv4 does not include a web UI. There is an STVi plugin and/or you directly edit the properties files. See the User Guide on the project site for more details.

If you have the old SJQ installed from Sage 6 and it was not the plugin version then you must manually uninstall it by removing the war file and context file from within SageTV\jetty\

EDIT: Wrap logs in [code] tags to get them in a scrolling window
Makes sense now...

I see the 2 files you mention. I assume to shutdown Sage before deleting these 2 files? Also, I am thinking that my comskip settings would not come over from v3 to v4? This was really all I used SJQ for.
Reply With Quote
  #819  
Old 06-02-2011, 08:07 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by HuMan321 View Post
Makes sense now...

I see the 2 files you mention. I assume to shutdown Sage before deleting these 2 files? Also, I am thinking that my comskip settings would not come over from v3 to v4? This was really all I used SJQ for.
No, you don't need to shutdown Sage. Just delete the context file first then the war file.

You can't copy over any settings from v3 to v4. SJQv4 is scripted in Groovy... it is nothing like SJQv3. If you're new to SJQv4, you might want to disable the SJQv4 plugin and keep v3 going while you read the v4 User Guide to see what you're getting yourself into.

EDIT: You to end your logs with a [/code] to go with the leading [code]
__________________
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
  #820  
Old 06-02-2011, 08:16 PM
HuMan321's Avatar
HuMan321 HuMan321 is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: Idaho
Posts: 365
Quote:
Originally Posted by Slugger View Post
No, you don't need to shutdown Sage. Just delete the context file first then the war file.

You can't copy over any settings from v3 to v4. SJQv4 is scripted in Groovy... it is nothing like SJQv3. If you're new to SJQv4, you might want to disable the SJQv4 plugin and keep v3 going while you read the v4 User Guide to see what you're getting yourself into.

EDIT: You to end your logs with a [/code] to go with the leading [code]
Great advice. I disabled plug-in and intend to read up.

My browser window still does not come back after disabling, Anything else need to be reset to go back to v3?
Thanks,

EDIT
After rebooting PC and setting IE to compatability mode v3 is back up.
Thanks as always for your help

Last edited by HuMan321; 06-02-2011 at 08:35 PM. Reason: Update
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
Plugin: MizookLCD (Alternate SageTV LCDSmartie Plugin) cslatt SageTV Customizations 48 06-11-2012 10:44 AM
SJQv4: Technology Preview Slugger SageTV v7 Customizations 39 12-17-2010 01:17 PM
SageTV Plugin Developers: Any way to see stats for your plugin? mkanet SageTV Software 4 12-12-2010 10:33 PM
MediaPlayer Plugin/STV Import: Winamp Media Player Plugin deria SageTV Customizations 447 12-11-2010 07:38 PM
SJQv4: Design Discussion Slugger SageTV v7 Customizations 26 10-18-2010 08:22 AM


All times are GMT -6. The time now is 07:11 PM.


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