|
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 |
#741
|
|||
|
|||
Michael, is it possible to contact Sage on that? I hope they would be interested to help...
Yuly |
#742
|
|||
|
|||
Quote:
Sorry for the delay. Been on holiday for 2 weeks. Sadly back on the train heading for work So the issue is the web feed encoder will not start. It reports: Code:
Aug 9, 2010 8:40:59 PM TuningThread uk.co.mdjcox.webfeedencoder.TuningThread run SEVERE: WebFeedEncoder-0 Server failed java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(Unknown Source) at java.net.ServerSocket.bind(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at uk.co.mdjcox.webfeedencoder.TuningThread.listenForConnections(TuningThread.java:93) at uk.co.mdjcox.webfeedencoder.TuningThread.run(TuningThread.java:69) I think that either:
On the services thing - I configure the service to be non-interactive - which is the default. Window services->select the web feed encoder->right click->Choose properties->log on tab->uncheck "Allow service to interact with desktop". When there are problems - and usually these are problems with VLC I temporarily turn this on to see what mesage is being posted by the failing VLC for webfeedencoder process. In this case it is probably trying to report the failure to start because of the exception above - so thats the issue we need to fix. Michael |
#743
|
|||
|
|||
Quote:
I submitted a request. Not sure supporting plugin development will be terribly high on their priority list - but its worth a shot. Michael |
#744
|
|||
|
|||
Thanks for the reply and welcome back from holiday .
Quote:
Quote:
Quote:
There seems to be something trying to block the config tool from showing up, but after turning off the Firewall, changing ports and setting UAC settings to always notify to see if changes were detected on this end, I'm not sure what else to try. I did re-install the plug-in just in case, and stopped /started the service but no dice. |
#745
|
|||
|
|||
Quote:
Do you have UAC enabled - can we try disabling it? Michael |
#746
|
|||
|
|||
I do have UAC disabled (checked under Control Panel as well as the Registry). The service is running under System and the interact with desktop message option is not selected, yet I still get an "Interactive Services Detection" window popping-up every time I try to access the Config tool.
I am an Administrator, but I did not include a password because I wanted the system to automatically log-in. Would this be an issue? I did find Java.exe for it was the program giving the exception and gave "Full Access" to it under properties for my user ID. It did not help. So sorry to keep bugging you about this issue. |
#747
|
||||
|
||||
I installed VIA the plugin manager and it won't start the encoder. I have attached the log and it appears it is trying to run the java executable from the SageTV/jre directory. Java is installed in its own directory and not in SageTV. Is there a place to specify where the java executable is? This is a WHS install. Thanks.
__________________
Server - unRAID 6.1.3: VM-Windows7 with Sage 7.1.9 - 2xHDHomeRun 1xHDHomeRun Prime - Xeon E3-1230, SUPERMICRO MBD-X9SCM-F MB, RAM 16 GB, HD 14TB Clients: 2xHD100, 1xHD200 and 1xHD300 |
#748
|
|||
|
|||
Quote:
C:\Program Files\SageTV\SageTV\jre\bin\java.exe looks very curious and (from memory) I cannot imagine how such a patch might of got built by code - so I'm suspecting environment variables... could you launch a Command window and check the values of environment variables: JAVA_HOME and PATH i.e. echo %JAVA_HOME% echo %PATH% pls. Michael |
#749
|
||||
|
||||
On WHS java runtime is included with the WHS addin in the jre directory of SageTV by default. But a standalone install of java should have put in the stand alone jave home and path variable in place. Make sure you had rebooted after the java install.
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#750
|
||||
|
||||
Quote:
__________________
Server - unRAID 6.1.3: VM-Windows7 with Sage 7.1.9 - 2xHDHomeRun 1xHDHomeRun Prime - Xeon E3-1230, SUPERMICRO MBD-X9SCM-F MB, RAM 16 GB, HD 14TB Clients: 2xHD100, 1xHD200 and 1xHD300 |
#751
|
|||
|
|||
Quote:
WFE does not touch those - just expects PATH to be set. Michael |
#752
|
|||
|
|||
Quote:
Even if its not the desired result I would be interested to see what happens if that change is made. I had a lot of back and forth with that one myself - can't remember what I settled on in my home environment. Michael |
#753
|
||||
|
||||
I set both of the variables and tried to reinstall the plugin. I get the same error. I copied the java.exe into that directory and everything seems to be working. Any other thoughts?
__________________
Server - unRAID 6.1.3: VM-Windows7 with Sage 7.1.9 - 2xHDHomeRun 1xHDHomeRun Prime - Xeon E3-1230, SUPERMICRO MBD-X9SCM-F MB, RAM 16 GB, HD 14TB Clients: 2xHD100, 1xHD200 and 1xHD300 Last edited by rlvogel322; 08-27-2010 at 12:09 PM. |
#754
|
|||
|
|||
Hi Michael,
I added a password to my account and I still cannot open the Config tool. Reading the post exchanges started by rlvogel322, it seems that we are having a silimar issue with Java.exe even though he's working on a WHS box and I'm on Windows 7 32-bit. |
#755
|
|||
|
|||
Quote:
So far I've been testing on my laptop SageTV 7 on vista 32bit and it works fine. I finally upgraded my home setup to SageTV 7 (on windows 7) and guess what.. .. I cannot see the config tool. It launches and I can see it in the task manager process view - running as the logged in user. webfeedencoder/logs/configtool.log exists and its content is consistent with successful startup. However the GUI never appears! There is no exception in the webfeedencoder/logs/encoderplugin.log file. I'm a a loss at the moment - this seems like more Microsoft security model nonsense. I did however manage to run it from the command line. (Best done in an adminstrator command session from the SageTV directory): java -jar webfeedencoder/libs/configtool.jar Does that work for you? Michael |
#756
|
|||
|
|||
That worked for me (I just installed and was having the same problem).
__________________
Main: Intel E8400@3Ghz on DG45FC MB, 4TB HW Raid (Areca), Win7, Intel X4500HD Video, Gig-E, 2xHDHR, 2xHDPVR Client: Mac Mini 2.53Ghz, Win7, Gig-E, Nvidia 9300M |
#757
|
|||
|
|||
Yes, I can access the tool that way. Even though I don't like hearing that other people are having issues, it is nice to know that I'm not the only one on this boat. Michael, I wonder what's different on your laptop that doesn't block the config tool.....
|
#758
|
|||
|
|||
I can access the config tool via command line, but I cannot use it. It seems I cannot start the webfeedencoder service even as an administrator. The tool does show a green box for the SageTV Service. Here is the timeout message I copied from the cmd line if that helps any....
Code:
C:\Program Files\SageTV\SageTV>java -jar webfeedencoder/libs/configtool.jar java.lang.Exception: Failed to start web feed encoder within 20 seconds at uk.co.mdjcox.utils.WrapperUtils.startEncoder(WrapperUtils.java:70) at uk.co.mdjcox.config.model.ConfigModel.startEncoder(ConfigModel.java:3 33) at uk.co.mdjcox.config.actions.StartEncoderAction.performControllerActio n(StartEncoderAction.java:95) at uk.co.mdjcox.gui.actions.BaseAction$2.doInBackground(BaseAction.java: 226) at uk.co.mdjcox.gui.actions.BaseAction$2.doInBackground(BaseAction.java: 220) at javax.swing.SwingWorker$1.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at javax.swing.SwingWorker.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
__________________
Server: SageTV 7 (latest), Windows 7 (32-bit); Core2 Q8200, Asus P5N-D, ATI Sapphire HD5670 with Bitstreaming; DVD/BD Drive, 4GB Ram, 8TB Storage Internal Tuners: Clear QAM Dual Tuner; HD-PVR -- Time Warner Cable / Control STB via Firewire; use USB-UIRT with LM Gestion Remote KeyMap |
#759
|
|||
|
|||
Quote:
Some questions and things to try... Are you using the latest update? Can you see the WebFeedEncoder service in windows services tab? If so is it running and can you start and stop it from there? If it will not run can you paste the file webfeedencoder/logs/wrapper.log Michael |
#760
|
|||
|
|||
It Works! -- via command line
Well.... I could not find the Wrapper.log file within sagetv/webfeedencoder/logs which leads me to believe that I somehow messed up the folder structures. I thought it best to perform a clean install before posting a response to your questions - I uninstalled the plugin in Sage and deleted all related folders.
I was unable to run the config file from within the plugin setup screen, but I could launch the file using the command line . I even was able to add a new channel and have it work in Sage! I am really excited to get to play with this tool. Thank-you so much for all your help to get to this point. I hope that among all the investigating we find a reason why the config tool is getting blocked by Windows 7. Thanks again!
__________________
Server: SageTV 7 (latest), Windows 7 (32-bit); Core2 Q8200, Asus P5N-D, ATI Sapphire HD5670 with Bitstreaming; DVD/BD Drive, 4GB Ram, 8TB Storage Internal Tuners: Clear QAM Dual Tuner; HD-PVR -- Time Warner Cable / Control STB via Firewire; use USB-UIRT with LM Gestion Remote KeyMap |
Tags |
extender, internet video streaming, mvp, online videos, radio |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SageTV and web radio | michaeldjcox | SageTV Customizations | 3 | 12-01-2008 11:09 AM |
STV Import: Simple Web Radio V1.2 | koelec | SageTV Customizations | 294 | 02-29-2008 12:53 PM |
Recording Volume vs. Web Radio / Music | FidgetyRat | SageTV Software | 0 | 11-29-2006 08:33 AM |