|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#161
|
|||
|
|||
Quote:
Part of the problem is that SJQ installs a lot of stuff as dependencies... Jetty and some jetty apps (remote APIs). It's a big beast on its own. Like I said, I stripped my system down to core + SJQ (and deps) and could not reproduce the issue. I've since added back some other plugins (SRE, SageAlert, various UI mods) and haven't had any issues since.
__________________
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... |
#162
|
|||
|
|||
EXE does not exist...
Just installed SJQ 4, set it up and getting the following error when a task runs "Exe does not exist or cannot be executed! [C:\Program Files\SageTV\SageTV\jre\bin\java.exe] in the Log for the Test Script...
Any suggestions? Thanks, Matt
__________________
Server: SageTV 7.1.9, WHS, Super Micro X8SAX, i7 920, 3GB Ram Storage: 4 TB SATA Pool Clients: 1 x HD-100, 2 x HD-200, 1 x HD-300 Tuners: Hauppauge PVR 500, 2 x HD-PVR, USB-IRT |
#163
|
|||
|
|||
It would appear that the bundled JRE with SageTV is not laid out in a standard way. Where is the java.exe located under C:\Program Files\SageTV\SageTV\jre\? Either way, the expected path is hardcoded so I'm going to have to make a code change, but I'll need to know where it is.
__________________
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... |
#164
|
|||
|
|||
Quote:
Any suggestions on this one?
__________________
Server: SageTV 7.1.9, WHS, Super Micro X8SAX, i7 920, 3GB Ram Storage: 4 TB SATA Pool Clients: 1 x HD-100, 2 x HD-200, 1 x HD-300 Tuners: Hauppauge PVR 500, 2 x HD-PVR, USB-IRT |
#165
|
|||
|
|||
Did you delete the recording that was queued? If not, how did you queue the task? View the metadata for that task. Is there an SJQ4_ID variable set? Actually, I know there isn't, and that's the problem. This either happens because the recording has since been deleted or the task was not queued in response to a recording started event nor from the recording details screen. If there is no metadata for the task, just delete it because it'll never work. Requeue it from the recording details screen if it hasn't been deleted. Ensure there is proper metadata assigned to the task (SJQ4_TYPE=MediaFile and SJQ4_ID=nnnnnn, where nnnnnn is a valid integer).
__________________
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... |
#166
|
|||
|
|||
Quote:
( Quote:
I am used to SJQ just scanning the whole directory, but now it seems that the paradigm has changed, so I need to get used to it. One other piece -- how does SJQ take care of removing old *.edl files when the recording is removed. Is that another script? ****** Update: ****** Based on your response earlier in this thread, I found the answer to my question on how to clean up the old files...:
__________________
Server: SageTV 7.1.9, WHS, Super Micro X8SAX, i7 920, 3GB Ram Storage: 4 TB SATA Pool Clients: 1 x HD-100, 2 x HD-200, 1 x HD-300 Tuners: Hauppauge PVR 500, 2 x HD-PVR, USB-IRT Last edited by matterw; 12-26-2010 at 12:45 AM. Reason: Found the answer |
#167
|
|||
|
|||
IOError java.io.UTFDataFormatException
When I looked at the sjqagent.log file today I see quite a few "IOError
java.io.UTFDataFormatException" errors. Attached is a piece of the SJQ Agent log file. Can you provide any reason or root cause for this error? Thanks, Matt
__________________
Server: SageTV 7.1.9, WHS, Super Micro X8SAX, i7 920, 3GB Ram Storage: 4 TB SATA Pool Clients: 1 x HD-100, 2 x HD-200, 1 x HD-300 Tuners: Hauppauge PVR 500, 2 x HD-PVR, USB-IRT |
#168
|
|||
|
|||
Define "quite a few"? Always? Only when comskip is the task that's being run? Any other tasks? All tasks? If it's just comskip that's causing it then I'd say that output from comskip is causing it. If it's every task then I'd ask what version of Java you're running because the code that's failing is JRE code (I pass the output of the exe to a JRE class, which is then throwing the exception). If it's more than one exe, but not all exes then that's a whole different scenario requiring investigation.
Is there a matching error in the sjq.log file for the SJQ server at the same time as the client error? I wouldn't expect one, but I'd be curious to know if there is one. With that said, tasks are still completing successfully, right? The logging of output is done separately from the actual command execution and so even though the logging is failing, the task should still be running properly and being marked as completed. Assuming that's true, then it's not a fatal error (other than task output is not being logged back to the SJQ db), but I'd still like some more details so that I can try to track it down if it's indeed a problem that I can address in my 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... |
#169
|
|||
|
|||
Quote:
The JRE version is 1.6.0_23-b05. /Matt
__________________
Server: SageTV 7.1.9, WHS, Super Micro X8SAX, i7 920, 3GB Ram Storage: 4 TB SATA Pool Clients: 1 x HD-100, 2 x HD-200, 1 x HD-300 Tuners: Hauppauge PVR 500, 2 x HD-PVR, USB-IRT Last edited by matterw; 12-26-2010 at 02:23 PM. Reason: Add JRE version |
#170
|
|||
|
|||
Some research has yielded the likely cause of the issue. It seems UTF-8 encoded strings used in Java IO streams can only be 64K max in length. I'm assuming, from some limited testing/experience, the output of comskip is greater than 64K and is causing the issue.
You can star this ticket if you want to be informed of progress on the fix. I'm still assuming that tasks are properly completing and therefore this isn't a critical bug and so it will be fixed some time after the new year.
__________________
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... |
#171
|
||||
|
||||
@matterw - It will only generate that much if verbose is set to 10. Edit the comskip.ini and try setting verbose to 0 to suppress all of the text.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#172
|
||||
|
||||
Is there a way to have the test script set a variable that is then passed to the executable? I'm trying to have the test script check the channel number and use different profiles in ShowAnalyzer based on the channel number. My theory is to set a variable that gets added as a command-line argument to the executable.
|
#173
|
|||
|
|||
There's no way to that now. As an alternative, you could write a property to wiz.bin in the test script (via Configuration.SetServerProperty()) and then read that prop back in the exe (only if the exe is itself a groovy script, you could wrap other exes in a groovy script, if necessary). Open a ticket to allow mods to exe cmd args via test script. Not sure how feasible it is, but if there's a ticket I'll at least investigate it (after the holidays).
__________________
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... |
#174
|
|||
|
|||
V3 Uninstall??
Slugger, I've been running v3 for a while. Recently I upgraded SJQ to v4 however v3 kept running. Today I decided to look into v4 further. I installed the v4 plugin client and GUI plugin. I uninstalled the v3 agent which was running as a Windows service.
I can still get to v3 through the web GUI. Shouldn't v3 have been cleaned up\removed (accept the v3 win agent) when v4 was installed? Thx, HC |
#175
|
|||
|
|||
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... |
#176
|
|||
|
|||
Sorry, this has to be a dumb question but how do you edit tasks if you have made a typo and how do you delete tasks?
Also - by default comskip seems to return a code that indicates failure as far as SJQ is concerned. I fixed this in the past (ie. SJQ2-3) using a batch file that changes the return code - but now I am getting a "blue" bullet in completed tasks, even though it seems to have completed ok.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#177
|
|||
|
|||
Quote:
HC |
#178
|
|||
|
|||
Quote:
I think blue= good, but I may be wrong...this is all new to me as well. HC |
#179
|
|||
|
|||
Quote:
Quote:
Also, you can directly edit the sjqagent.properties file as well. You can edit this file while SJQ is running, there is no need to stop SJQ nor Sage to edit the 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... |
#180
|
|||
|
|||
Manual Recordings..
Is there a way to disable the prompting for a Task and Trigger Event when setting up a manual recording?
HC |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |