|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#101
|
|||
|
|||
WHS client is running now, thanks!
My Win 7 box doesn't even show up on the GUI. I followed the directions for NT-service and it shows up in the Services panel on the box. How can I troubleshoot that? When I try to start it from within services, it gives me an error
__________________
Server: WHS with 11TB of storage Clients:1) HD-200 to a Samsung 32" Slimfit CRT HDTV 2) HD-200 to a Pioneer 26" X1 LCD Tuners: 1) HD-Homerun 2) Avermedia USB ATSC Twitter: ohpleaseno |
#102
|
|||
|
|||
Go to the directory where you installed the client. In there is a logs directory that has a wrapper.log file. Look in there. My initial guess is that the service cannot find the path to your Java JRE on the WHS box, but the wrapper.log should give you the complete 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... |
#103
|
|||
|
|||
Do I need to let it write it's own sjqc.properties?
Here are the last few dozen lines Code:
STATUS | wrapper | 2009/11/25 12:03:49 | <-- Wrapper Stopped STATUS | wrapper | 2009/11/25 12:06:20 | --> Wrapper Started as Service STATUS | wrapper | 2009/11/25 12:06:20 | Java Service Wrapper Community Edition 3.3.1 STATUS | wrapper | 2009/11/25 12:06:20 | Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights Reserved. STATUS | wrapper | 2009/11/25 12:06:20 | http://wrapper.tanukisoftware.org STATUS | wrapper | 2009/11/25 12:06:20 | STATUS | wrapper | 2009/11/25 12:06:21 | Launching a JVM... INFO | jvm 1 | 2009/11/25 12:06:23 | WrapperManager: Initializing... INFO | jvm 1 | 2009/11/25 12:06:23 | SJQ Task Client v3.0.0.655 INFO | jvm 1 | 2009/11/25 12:06:23 | Using 'C:/sjqc/sjqc.properties' as location for configuration file... INFO | jvm 1 | 2009/11/25 12:06:23 | Unable to create configuration directory [C:\sjqc\sjqc.properties] STATUS | wrapper | 2009/11/25 12:06:25 | <-- Wrapper Stopped STATUS | wrapper | 2009/11/25 13:21:14 | --> Wrapper Started as Service STATUS | wrapper | 2009/11/25 13:21:14 | Java Service Wrapper Community Edition 3.3.1 STATUS | wrapper | 2009/11/25 13:21:14 | Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights Reserved. STATUS | wrapper | 2009/11/25 13:21:14 | http://wrapper.tanukisoftware.org STATUS | wrapper | 2009/11/25 13:21:14 | STATUS | wrapper | 2009/11/25 13:21:14 | Launching a JVM... INFO | jvm 1 | 2009/11/25 13:21:15 | WrapperManager: Initializing... INFO | jvm 1 | 2009/11/25 13:21:15 | SJQ Task Client v3.0.0.655 INFO | jvm 1 | 2009/11/25 13:21:15 | Using 'C:/sjqc/sjqc.properties' as location for configuration file... INFO | jvm 1 | 2009/11/25 13:21:15 | Unable to create configuration directory [C:\sjqc\sjqc.properties] STATUS | wrapper | 2009/11/25 13:21:17 | <-- Wrapper Stopped
__________________
Server: WHS with 11TB of storage Clients:1) HD-200 to a Samsung 32" Slimfit CRT HDTV 2) HD-200 to a Pioneer 26" X1 LCD Tuners: 1) HD-Homerun 2) Avermedia USB ATSC Twitter: ohpleaseno |
#104
|
|||
|
|||
Did you edit wrapper.conf? If so, you only point it to the dir where it should write the props file, don't specify the file as well, so you just want to point it to C:/sjqc
__________________
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... |
#105
|
|||
|
|||
that did it. Thanks!
__________________
Server: WHS with 11TB of storage Clients:1) HD-200 to a Samsung 32" Slimfit CRT HDTV 2) HD-200 to a Pioneer 26" X1 LCD Tuners: 1) HD-Homerun 2) Avermedia USB ATSC Twitter: ohpleaseno |
#106
|
|||
|
|||
Hey EP, is that correct that you run comskip while the recording is happening? Comskip can handle that when it gets caught up to the recording?
|
#107
|
|||
|
|||
Yes, to both. I start comskip about 30sec to 1 min after a recording... never misses a beat. There is a comskip option that outputs to the .edl file as it goes in the comskip.ini file that needs to be enabled... not at home though so cant check what it is.
__________________
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 |
#108
|
||||
|
||||
Code:
live_tv=1 ; set to 1 if you use parallelprocessing and need the output while recording |
#109
|
|||
|
|||
Thank you very much guys. I will put that in place tonight.
Greg |
#110
|
|||
|
|||
Slugger,
This happens at least once a day.... I do not have sqlite3 installed. Haven't had time to take down the server. Code:
2009-11-27 07:02:50,656 ERROR [DataStore]: SQL error java.sql.SQLException: database is locked at org.sqlite.DB.throwex(DB.java:288) at org.sqlite.DB.executeBatch(DB.java:236) at org.sqlite.PrepStmt.executeBatch(PrepStmt.java:83) at com.google.code.sagetvaddons.sjq.server.DataStore.flushLogs(DataStore.java:1049) at com.google.code.sagetvaddons.sjq.server.SJQServlet.doPost(SJQServlet.java:267) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#111
|
|||
|
|||
I probably should have asked this question over here...
http://forums.sagetv.com/forums/show...&postcount=331 What I asked there is if there is a way for SJQ to open the mediashrink console window (or any window) when it starts a job so that I can monitor the progress.
__________________
Server: WHS with 11TB of storage Clients:1) HD-200 to a Samsung 32" Slimfit CRT HDTV 2) HD-200 to a Pioneer 26" X1 LCD Tuners: 1) HD-Homerun 2) Avermedia USB ATSC Twitter: ohpleaseno |
#112
|
|||
|
|||
Quote:
__________________
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... |
#113
|
|||
|
|||
Slugger,
I believe this is when it actually locked ... that error above was when a scheduled loader ran. Code:
2009-11-26 22:03:41,984 INFO [LogCleaner]: LogCleaner instance finished [3094ms] 2009-11-26 22:03:42,546 INFO [DataStore]: Flushed 35 log message(s) in 3390ms 2009-11-26 22:03:42,578 ERROR [DataStore]: SQL error java.sql.SQLException: database is locked at org.sqlite.DB.throwex(DB.java:288) at org.sqlite.DB.executeBatch(DB.java:236) at org.sqlite.PrepStmt.executeBatch(PrepStmt.java:83) at com.google.code.sagetvaddons.sjq.server.DataStore.flushLogs(DataStore.java:1049) at com.google.code.sagetvaddons.sjq.server.SJQServlet.doPost(SJQServlet.java:267) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) 2009-11-26 22:03:46,578 WARN [SJQServlet]: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings 2009-11-26 22:03:46,593 WARN [SJQServlet]: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings 2009-11-26 22:03:46,593 INFO [ClientParser]: MAPPING: \\192.168.2.155\j$\sageuncj => j:\sageuncj
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 11-27-2009 at 09:46 AM. |
#114
|
|||
|
|||
Code:
2009-11-26 07:23:53,906 INFO [FileCleaner]: FileCleaner instance started 2009-11-26 07:23:53,906 ERROR [FileCleaner]: File cleaner settings cannot be empty! 2009-11-26 07:23:53,906 INFO [TvArchiver]: Attempting to copy 'N:\sagen\LawOrder-Entrapment-4862348-0.mp4.tmp' to '\\NYPLAYER\t$\sageunct'... 2009-11-26 07:23:57,265 ERROR [DataStore]: SQL error java.sql.SQLException: database locked at org.sqlite.DB.execute(DB.java:270) at org.sqlite.DB.executeUpdate(DB.java:281) at org.sqlite.PrepStmt.executeUpdate(PrepStmt.java:77) at com.google.code.sagetvaddons.sjq.server.DataStore.setSetting(DataStore.java:880) at com.google.code.sagetvaddons.sjq.server.SystemMessageQueueLoader.run(SystemMessageQueueLoader.java:68) at java.lang.Thread.run(Unknown Source) 2009-11-26 07:23:57,281 WARN [SJQServlet]: Checking client '192.168.0.2': 100 resources free. 2009-11-26 07:23:57,406 WARN [SJQServlet]: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings 2009-11-26 07:23:57,406 WARN [SJQServlet]: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings 2009-11-26 07:23:57,406 WARN [SJQServlet]: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings 2009-11-26 07:23:57,406 WARN [SJQServlet]: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings 2009-11-26 07:23:57,421 WARN [SJQServlet]: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings 2009-11-26 07:23:57,421 WARN [SJQServlet]: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings 2009-11-26 07:23:57,421 WARN [SJQServlet]: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings 2009-11-26 07:23:57,437 WARN [SJQServlet]: All client connections are being accepted and processed, please consider setting up client restrictions in SJQ settings 2009-11-26 07:23:59,062 INFO [LogCleaner]: LogCleaner instance finished [5250ms] 2009-11-26 07:23:59,140 INFO [DataStore]: Flushed 1 log message(s) in 1734ms 2009-11-26 07:23:59,359 INFO [DataStore]: Flushed 1 log message(s) in 1953ms
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#115
|
|||
|
|||
2009-11-26 07:23:59,062 INFO [LogCleaner]: LogCleaner instance finished [5250ms]
That is the problem. Your LogCleaner is taking way more time than it ever should to clean up. It's a slow, brute force process, but it should never take 5+ seconds to complete. The SQLite driver will only wait upto 3 seconds for the database to become unlocked and so that's the problem. How large is your sjq.sqlite file? Do the tasks you run in SJQ produce a lot of output? A proper fix is not coming any time soon - it's going to take some thought to get it done right. A temp fix could be thrown in that may reduce the likelihood of this error scenario occurring. If I'm able to get away from work early today I'll try to whip up something before I head out for the evening, otherwise it'll have to wait for tomorrow.
__________________
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... |
#116
|
|||
|
|||
Slugger,
My sqlite db is 3,080kb. I am running in debug mode maybe that is why. I have created a simple batch file that looks at the logs and if it sees db is locked it will restart sjq.... so I am not in dire need of a fix.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#117
|
|||
|
|||
same issue
I am having the same issue. My sjq.sqlite file is 13MB and it takes 9s for FileCleaner to run. However, now that I know what the cause is I'm not really worried. As long as the server and clients continue to function it's alright if there is some disruption.
I am running custom scripts that do cut down the output from ComSkip and MEncoder but not enough to ever avoid this issue (my scripts depend on there being output about every 10s as sort of a keep alive indicator). |
#118
|
|||
|
|||
new issue
I think I found something new; if a recording gets split into multiple files (say the machine restarts in the middle of a recording), Sage will list the two files as a single recording with both files listed in the recordings media info and stitch them together during playback. I am in the process of switching from Beyond and I find this to be a much better way of handling this. However, this leads to headaches in how to treat these multiple parts. Right now SJQ (forgive me, I'd post specifics but I forgot to grab my client logs before they were overwritten) sends just the first file to the client. SJQ needs to be able to pass all of the parts of the recording to a client either as a semi-colon separated list (in a new %X% variable) or call the client with each file one at a time. The latter being easier for most programs to handle though a quick front end script could handle the %X% for most programs.
Though I'm not entirely sure how Sage will handle certain tasks on split recordings. There's a good chance that if I were to replace each of the recorded MPGs with an AVI that Sage would still see these as the same pieces as before, but what about ComSkip? If I have recording1-12345-0.mpg and recording1-12345-1.mpg plus recording1-12345-0.edl and recording1-12345-1.mpg how will ComSkip Playback (which I use) or SageMC handle this? It will probably work but I am curious if someone knows for sure. |
#119
|
|||
|
|||
Quote:
__________________
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... |
#120
|
|||
|
|||
Quote:
Though I am concerned why some people's LogCleaner is taking on the order of 5-10 seconds to complete. I am not seeing this at all: Code:
2009-11-27 16:30:12,126 INFO [LogCleaner]: LogCleaner instance finished [15ms] 2009-11-27 17:00:12,072 INFO [LogCleaner]: LogCleaner instance finished [16ms] 2009-11-27 17:30:12,112 INFO [LogCleaner]: LogCleaner instance finished [0ms] 2009-11-27 18:00:12,104 INFO [LogCleaner]: LogCleaner instance finished [31ms] 2009-11-27 19:30:12,129 INFO [LogCleaner]: LogCleaner instance finished [0ms] 2009-11-27 22:30:12,006 INFO [LogCleaner]: LogCleaner instance finished [31ms] 2009-11-28 00:00:12,143 INFO [LogCleaner]: LogCleaner instance finished [15ms] 2009-11-28 00:30:12,078 INFO [LogCleaner]: LogCleaner instance finished [0ms] 2009-11-28 02:00:12,009 INFO [LogCleaner]: LogCleaner instance finished [16ms]
__________________
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... |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |