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
  #821  
Old 02-22-2011, 04:21 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
I think that if the plugin is active & working properly, then it should work w/o having to clear that property. However, if the property exists and there is an issue loading what it points to, it can cause a problem.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #822  
Old 02-22-2011, 05:37 PM
n9cqs n9cqs is offline
Sage User
 
Join Date: Apr 2007
Posts: 69
change to EPG setup when WFE is installed

Quote:
Originally Posted by michaeldjcox View Post
Very annoying

This then also applies to people using Stephanes XMLTV importer which uses this property too.

No need I think to reinstall WFE.

A shutdown of SageTV, edit of the Sage.properties to restore the state of the property afterward EPG changes, and then restart should be enough.

Michael
I just completed this. I was using Sage EPG for everything except for WFE. I followed these steps.

1. Shut down Sage.
2. Change the property to "epg/epg_import_plugin="
ie, clear it
3. Start up Sage.
4. Make the EPG lineup changes.
5. When Satisfied with EPG lineup changes, shut down Sage again
6. restore the property to "epg/epg_import_plugin=uk.co.mdjcox.epgplugin.EpgPlugin"
7. Restart Sage

That's it. Did it this afternoon. Works great.

So far, all lineups (both standard SageTV and WFE) are fine.

Thanks for all the advice.

Jeff
Reply With Quote
  #823  
Old 02-25-2011, 01:57 AM
scanner95 scanner95 is offline
Sage Advanced User
 
Join Date: Jan 2009
Posts: 129
Quote:
Originally Posted by scanner95 View Post
Hello Michael,

Recently I tried to use the EPG Harvest part of your plugin to grab some EPG from a Russian web page. It appears that Cyrillic is not supported properly there. Any clues? (don't know what to attach; the web page I run the grabber on is http://www.ntvplus.ru/channels/chann...=06.02.2011#tv)

Thanks
Yuly
Sorry to bump in; just making sure you did not forget about it
Reply With Quote
  #824  
Old 02-25-2011, 06:44 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 829
Quote:
Originally Posted by scanner95 View Post
Sorry to bump in; just making sure you did not forget about it
Did not forget

I asked for more info in post:

http://forums.sagetv.com/forums/show...&postcount=818

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #825  
Old 02-25-2011, 07:55 AM
scanner95 scanner95 is offline
Sage Advanced User
 
Join Date: Jan 2009
Posts: 129
Oops... Missed that post! Sorry
test3.props. file is attached.

Thanks!
Yuly

Quote:
Originally Posted by michaeldjcox View Post
Did not forget

I asked for more info in post:

http://forums.sagetv.com/forums/show...&postcount=818

Michael
Attached Files
File Type: zip test3.zip (564 Bytes, 271 views)
Reply With Quote
  #826  
Old 02-26-2011, 08:29 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 829
Quote:
Originally Posted by scanner95 View Post
Oops... Missed that post! Sorry
test3.props. file is attached.

Thanks!
Yuly
Thanks - reproduced the issue.

Shouldn't be too hard to fix.

Regards,

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #827  
Old 02-27-2011, 08:56 PM
keirgordon keirgordon is offline
New Member
 
Join Date: Jan 2011
Posts: 3
Encoder doesn't seem to start in Ubuntu

SageTV 7 -- Installed the plugin. Able to launch the config tool. I can not get the encoder running though.

Trying java -jar encoder.jar

I get a bunch of output indicating the checking or setting of permissions and spawning processes... Then it exits

(Running Ubuntu)

Code:
Feb 27, 2011 6:53:57 PM uk.co.mdjcox.utils.OsUtils spawnProcess
INFO: Spawn chmod  777 /opt/sagetv/server/webfeedencoder/cache/samples
Feb 27, 2011 6:53:57 PM uk.co.mdjcox.utils.OsUtils spawnProcess
INFO: Env=
Feb 27, 2011 6:53:57 PM uk.co.mdjcox.utils.OsUtils spawnProcess
INFO: Command=[chmod, 777, /opt/sagetv/server/webfeedencoder/cache/samples]
Feb 27, 2011 6:53:57 PM uk.co.mdjcox.utils.OsUtils captureStreams
INFO: Setting up streams for setPermission
Feb 27, 2011 6:53:57 PM uk.co.mdjcox.utils.OsUtils spawnProcess
INFO: Entering proc waitfor chmod  777 /opt/sagetv/server/webfeedencoder/cache/samples
Feb 27, 2011 6:53:57 PM uk.co.mdjcox.utils.OsUtils$StreamConsumer run
INFO: Stream consumer setPermission.err terminating
Feb 27, 2011 6:53:57 PM uk.co.mdjcox.utils.OsUtils$StreamConsumer run
INFO: Stream consumer setPermission.out terminating
Feb 27, 2011 6:53:57 PM uk.co.mdjcox.utils.OsUtils spawnProcess
INFO: Exiting proc waitfor chmod  777 /opt/sagetv/server/webfeedencoder/cache/samples
Feb 27, 2011 6:53:57 PM uk.co.mdjcox.utils.OsUtils spawnProcess
INFO: Result is 0 for chmod  777 /opt/sagetv/server/webfeedencoder/cache/samples
Any ideas?
Reply With Quote
  #828  
Old 02-28-2011, 02:03 PM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 829
Quote:
Originally Posted by keirgordon View Post
SageTV 7 -- Installed the plugin. Able to launch the config tool. I can not get the encoder running though.

Trying java -jar encoder.jar

I get a bunch of output indicating the checking or setting of permissions and spawning processes... Then it exits

(Running Ubuntu)

Code:
Feb 27, 2011 6:53:57 PM uk.co.mdjcox.utils.OsUtils spawnProcess
INFO: Spawn chmod  777 /opt/sagetv/server/webfeedencoder/cache/samples
Feb 27, 2011 6:53:57 PM uk.co.mdjcox.utils.OsUtils spawnProcess
INFO: Env=
Feb 27, 2011 6:53:57 PM uk.co.mdjcox.utils.OsUtils spawnProcess
INFO: Command=[chmod, 777, /opt/sagetv/server/webfeedencoder/cache/samples]
Feb 27, 2011 6:53:57 PM uk.co.mdjcox.utils.OsUtils captureStreams
INFO: Setting up streams for setPermission
Feb 27, 2011 6:53:57 PM uk.co.mdjcox.utils.OsUtils spawnProcess
INFO: Entering proc waitfor chmod  777 /opt/sagetv/server/webfeedencoder/cache/samples
Feb 27, 2011 6:53:57 PM uk.co.mdjcox.utils.OsUtils$StreamConsumer run
INFO: Stream consumer setPermission.err terminating
Feb 27, 2011 6:53:57 PM uk.co.mdjcox.utils.OsUtils$StreamConsumer run
INFO: Stream consumer setPermission.out terminating
Feb 27, 2011 6:53:57 PM uk.co.mdjcox.utils.OsUtils spawnProcess
INFO: Exiting proc waitfor chmod  777 /opt/sagetv/server/webfeedencoder/cache/samples
Feb 27, 2011 6:53:57 PM uk.co.mdjcox.utils.OsUtils spawnProcess
INFO: Result is 0 for chmod  777 /opt/sagetv/server/webfeedencoder/cache/samples
Any ideas?
Is the above the complete log file for the encoder? If not I would like to see everything.

My intention was to run the encoder as a unix service rather than directly.

Are you sure its not running already as a service and the one that you are running is dying because the port is already in use?

(Though I would expect to see something in the logs)

You also try

java -jar encoder.jar -console

to see if that outputs more.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #829  
Old 02-28-2011, 11:15 PM
keirgordon keirgordon is offline
New Member
 
Join Date: Jan 2011
Posts: 3
Quote:
Originally Posted by michaeldjcox View Post
Is the above the complete log file for the encoder? If not I would like to see everything.

My intention was to run the encoder as a unix service rather than directly.

Are you sure its not running already as a service and the one that you are running is dying because the port is already in use?

(Though I would expect to see something in the logs)

You also try

java -jar encoder.jar -console

to see if that outputs more.

Michael
Ah, you are right, the encoder seems to be running fine already.

I was thrown off because the ConfigTool indicates the encoder is not running (but it does see that SageTV is running).

I have a headless Sage server, so I launched the config tool from the web UI. I also tried launching it from a command line and passing the host. In both cases the tool launches and accurately detects SageTV, but does not see the web feed encoder running.

When choose the action to start the encoder, it reports it can't connect to host: 127.0.1.1 (not sure where it got that from, it isn't the host I passed in)

EDIT: I believe the log in encoderplugin.log also shows a stack trace for that failure:

Code:
Feb 28, 2011 9:08:46 PM SageTV uk.co.mdjcox.encoderplugin.EncoderPlugin <init> INFO: Instantiating webfeedencoder
Feb 28, 2011 9:08:46 PM SageTV uk.co.mdjcox.encoderplugin.EncoderPlugin <init> INFO: Registering for events
Feb 28, 2011 9:08:47 PM SageTV uk.co.mdjcox.encoderplugin.EncoderPlugin start INFO: Start called
Feb 28, 2011 9:08:47 PM SageTV uk.co.mdjcox.encoderplugin.EncoderPlugin start INFO: Starting web feed encoder when enabled=true
Feb 28, 2011 9:08:47 PM SageTV uk.co.mdjcox.encoderplugin.EncoderPlugin install INFO: Installing web feed encoder
Feb 28, 2011 9:08:47 PM SageTV uk.co.mdjcox.encoderplugin.EncoderPlugin saveSageTVProps INFO: Saving SageTV properties
Feb 28, 2011 9:08:47 PM SageTV uk.co.mdjcox.encoderplugin.EncoderPlugin install INFO: Web feed encoder already installed
Feb 28, 2011 9:08:47 PM SageTV uk.co.mdjcox.encoderplugin.EncoderPlugin tidyBugProps INFO: Bug fix SageTV properties
Feb 28, 2011 9:08:47 PM SageTV uk.co.mdjcox.encoderplugin.EncoderPlugin tidyBugProps INFO: Done bug fix SageTV properties
Feb 28, 2011 9:08:47 PM SageTV uk.co.mdjcox.utils.WrapperUtils wrapperOperation INFO: Performing start of WebFeedEncoder
Feb 28, 2011 9:08:47 PM SageTV uk.co.mdjcox.utils.OsUtils spawnProcess INFO: Spawn /opt/sagetv/server/webfeedencoder/wrapper/WebFeedEncoder.sh start keir
Feb 28, 2011 9:08:47 PM SageTV uk.co.mdjcox.utils.OsUtils spawnProcess INFO: Env=
Feb 28, 2011 9:08:47 PM SageTV uk.co.mdjcox.utils.OsUtils spawnProcess INFO: Command=[/opt/sagetv/server/webfeedencoder/wrapper/WebFeedEncoder.sh, start$
Feb 28, 2011 9:08:47 PM SageTV uk.co.mdjcox.utils.OsUtils captureStreams INFO: Setting up streams for start
Feb 28, 2011 9:08:47 PM SageTV uk.co.mdjcox.utils.OsUtils spawnProcess INFO: Entering proc waitfor /opt/sagetv/server/webfeedencoder/wrapper/WebFeedEnco$
Feb 28, 2011 9:08:48 PM Thread-13 uk.co.mdjcox.utils.OsUtils$StreamConsumer run INFO: start.out: Starting Web Feed Encoder for SageTV...Web Feed Encoder$
Feb 28, 2011 9:08:48 PM SageTV uk.co.mdjcox.utils.OsUtils spawnProcess INFO: Exiting proc waitfor /opt/sagetv/server/webfeedencoder/wrapper/WebFeedEncod$
Feb 28, 2011 9:08:48 PM Thread-12 uk.co.mdjcox.utils.OsUtils$StreamConsumer run INFO: Stream consumer start.err terminating
Feb 28, 2011 9:08:48 PM SageTV uk.co.mdjcox.utils.OsUtils spawnProcess INFO: Result is 0 for /opt/sagetv/server/webfeedencoder/wrapper/WebFeedEncoder.sh$
Feb 28, 2011 9:08:48 PM Thread-13 uk.co.mdjcox.utils.OsUtils$StreamConsumer run INFO: Stream consumer start.out terminating
Feb 28, 2011 9:08:48 PM SageTV uk.co.mdjcox.utils.WrapperUtils wrapperOperation INFO: Result is 0
Feb 28, 2011 9:08:58 PM Thread-15 uk.co.mdjcox.encoderplugin.EncoderPlugin$3 run SEVERE: Failed to send lineup to SageTV
java.rmi.ConnectException: Connection refused to host: 127.0.1.1; nested exception is:
        java.net.ConnectException: Connection refused
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
        at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
        at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:110)
        at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
        at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
        at $Proxy14.sendLineupToSage(Unknown Source)
        at uk.co.mdjcox.encoderplugin.EncoderPlugin$3.run(EncoderPlugin.java:1353)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:529)
        at java.net.Socket.connect(Socket.java:478)

Last edited by keirgordon; 02-28-2011 at 11:19 PM.
Reply With Quote
  #830  
Old 03-16-2011, 11:09 AM
RonBoyd's Avatar
RonBoyd RonBoyd is offline
Sage Aficionado
 
Join Date: Aug 2009
Location: Denver, Colorado
Posts: 404
(Windows Vista Ultimate - SageTV Server v7.1.5 - HD300) I have installed and uninstalled WebFeedEncoder a number of times. Some through the Learning Curve struggle. However, many are because of the messages telling me that three installed files (services.deliv, lineup.deliv, and encoder.deliv) are no longer available and that I should uninstall the add-on and reinstall. At no time have these files shown up in my c:\\Program Files\SageTV\SageTV\WebFeedEncoder\Configuration folder.

Everything seems to be working properly (but what do I know). Should I be concerned that these files are missing?
Reply With Quote
  #831  
Old 03-16-2011, 12:12 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Do you have UAC enabled? They probably ended up in the Virtual Store folder.

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.
Reply With Quote
  #832  
Old 03-16-2011, 01:07 PM
RonBoyd's Avatar
RonBoyd RonBoyd is offline
Sage Aficionado
 
Join Date: Aug 2009
Location: Denver, Colorado
Posts: 404
Quote:
Originally Posted by gplasky View Post
Do you have UAC enabled? They probably ended up in the Virtual Store folder.
UAC is enabled but I had no indication that it was enacted. Besides the use of Everything failed to find these files anywhere on any HDD.
Reply With Quote
  #833  
Old 03-20-2011, 10:05 AM
CanadianEh CanadianEh is offline
Sage Aficionado
 
Join Date: Apr 2004
Location: Colchester, VT
Posts: 434
Upgrading from 0.9.6 to 0.9.7 - broken functionality

Hi All,

I attempted to upgrade to 0.9.7 from 0.9.6 earlier this morning, and cannot fr the life of me get this to work again. I've done both the Plug-in and direct install methods. No matter what, it states "FAILED" in Plugin Manager, and the WebFeed Configuration utility shows the encoder as started and working, but shows that SageTV is down....

Here's the relevant error from sage.log:

Sun 3/20 11:51:21.955 [SageTV@2c1e6b] CorePluginManager is checking plugin: wfe type: Standard version: 0.9.7.400 by: michaeldjcox
Sun 3/20 11:51:21.956 [SageTV@2c1e6b] Plugin wfe is enabled, try to load it from class: uk.co.mdjcox.encoderplugin.EncoderPlugin
Sun 3/20 11:51:22.177 [SageTV@2c1e6b] Invoking plugin constructor with reset enabled
Sun 3/20 11:51:22.178 [SageTV@2c1e6b] ERROR cannot instantiate plugin object due to: java.lang.reflect.InvocationTargetException
Sun 3/20 11:51:22.178 [SageTV@2c1e6b] java.lang.reflect.InvocationTargetException
Sun 3/20 11:51:22.179 [SageTV@2c1e6b] sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Sun 3/20 11:51:22.179 [SageTV@2c1e6b] sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
Sun 3/20 11:51:22.179 [SageTV@2c1e6b] sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
Sun 3/20 11:51:22.179 [SageTV@2c1e6b] java.lang.reflect.Constructor.newInstance(Unknown Source)
Sun 3/20 11:51:22.179 [SageTV@2c1e6b] sage.plugin.a.a(Unknown Source)
Sun 3/20 11:51:22.179 [SageTV@2c1e6b] sage.plugin.a.if(Unknown Source)
Sun 3/20 11:51:22.179 [SageTV@2c1e6b] sage.plugin.a.for(Unknown Source)
Sun 3/20 11:51:22.180 [SageTV@2c1e6b] sage.plugin.a.<init>(Unknown Source)
Sun 3/20 11:51:22.180 [SageTV@2c1e6b] sage.plugin.a.int(Unknown Source)
Sun 3/20 11:51:22.180 [SageTV@2c1e6b] sage.SageTV.run(Unknown Source)
Sun 3/20 11:51:22.180 [SageTV@2c1e6b] java.lang.Thread.run(Unknown Source)
Sun 3/20 11:51:22.180 [SageTV@2c1e6b] Nested exception: java.lang.NoSuchMethodError: uk.co.mdjcox.logger.LoggingManager.report(Ljava/lang/StringV
Sun 3/20 11:51:22.180 [SageTV@2c1e6b] java.lang.NoSuchMethodError: uk.co.mdjcox.logger.LoggingManager.report(Ljava/lang/StringV
Sun 3/20 11:51:22.181 [SageTV@2c1e6b] uk.co.mdjcox.encoderplugin.EncoderPlugin.<init>(EncoderPlugin.java:69)
Sun 3/20 11:51:22.181 [SageTV@2c1e6b] uk.co.mdjcox.encoderplugin.EncoderPlugin.<init>(EncoderPlugin.java:94)
Sun 3/20 11:51:22.181 [SageTV@2c1e6b] sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Sun 3/20 11:51:22.181 [SageTV@2c1e6b] sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
Sun 3/20 11:51:22.181 [SageTV@2c1e6b] sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
Sun 3/20 11:51:22.182 [SageTV@2c1e6b] java.lang.reflect.Constructor.newInstance(Unknown Source)
Sun 3/20 11:51:22.182 [SageTV@2c1e6b] sage.plugin.a.a(Unknown Source)
Sun 3/20 11:51:22.182 [SageTV@2c1e6b] sage.plugin.a.if(Unknown Source)
Sun 3/20 11:51:22.182 [SageTV@2c1e6b] sage.plugin.a.for(Unknown Source)
Sun 3/20 11:51:22.182 [SageTV@2c1e6b] sage.plugin.a.<init>(Unknown Source)
Sun 3/20 11:51:22.182 [SageTV@2c1e6b] sage.plugin.a.int(Unknown Source)
Sun 3/20 11:51:22.183 [SageTV@2c1e6b] sage.SageTV.run(Unknown Source)
Sun 3/20 11:51:22.183 [SageTV@2c1e6b] java.lang.Thread.run(Unknown Source)
Sun 3/20 11:51:22.183 [SageTV@2c1e6b] Loading of plugin wfe failed!

......

Encoder.log says...

Mar 20, 2011 11:50:54 AM WrapperSimpleAppMain uk.co.mdjcox.webfeedencoder.Encoder wakeupSageTv INFO: Looking for service //localhost:1100/EpgPlugin
Mar 20, 2011 11:50:55 AM WrapperSimpleAppMain uk.co.mdjcox.webfeedencoder.Encoder wakeupSageTv WARNING: WebFeedEncoder failed to wake up SageTV
java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at uk.co.mdjcox.utils.RmiHelper.lookup(RmiHelper.java:154)
at uk.co.mdjcox.epgplugin.EpgPluginClient.<init>(EpgPluginClient.java:29)
at uk.co.mdjcox.epgplugin.EpgPluginClient.instance(EpgPluginClient.java:24)
at uk.co.mdjcox.webfeedencoder.Encoder.wakeupSageTv(Encoder.java:121)
at uk.co.mdjcox.webfeedencoder.Encoder.main(Encoder.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:238)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
... 17 more

Anyone have any thoughts on this?

Windows XP SP3 x32
Java 1.6.21
SageTV 7.0 GA release
VNC 1.05
__________________
My systems:
Server: AMD Phenom Quad-Core 2.3Ghz, 4GB RAM, ECS A780GM-A MB, 2x HD-PVRs (connected to DirecTV HD STBs using ethernet channel changing), 1x AverMedia A180, OS RAID-1 mirror - 2x250GB 7200rpm SATA, Media RAID-1 mirror - 2x1TB 7200rpm SATA, USB-UIRT (remote control)
Main Client: Sage STX-HD100 Media extender
Second Client: Athlon XP 4000+, 2GB MB PC3200 DDR, Asus A8N5X MB, 512MB PCI-E ATI HD Radeon 3650, 160 GB SATA - hardware mirrored

Last edited by CanadianEh; 03-20-2011 at 10:13 AM. Reason: added Encoder.log
Reply With Quote
  #834  
Old 03-24-2011, 08:40 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 829
Quote:
Originally Posted by CanadianEh View Post
Hi All,

I attempted to upgrade to 0.9.7 from 0.9.6 earlier this morning, and cannot fr the life of me get this to work again. I've done both the Plug-in and direct install methods. No matter what, it states "FAILED" in Plugin Manager, and the WebFeed Configuration utility shows the encoder as started and working, but shows that SageTV is down....

Here's the relevant error from sage.log:

Sun 3/20 11:51:21.955 [SageTV@2c1e6b] CorePluginManager is checking plugin: wfe type: Standard version: 0.9.7.400 by: michaeldjcox
Sun 3/20 11:51:21.956 [SageTV@2c1e6b] Plugin wfe is enabled, try to load it from class: uk.co.mdjcox.encoderplugin.EncoderPlugin
Sun 3/20 11:51:22.177 [SageTV@2c1e6b] Invoking plugin constructor with reset enabled
Sun 3/20 11:51:22.178 [SageTV@2c1e6b] ERROR cannot instantiate plugin object due to: java.lang.reflect.InvocationTargetException
Sun 3/20 11:51:22.178 [SageTV@2c1e6b] java.lang.reflect.InvocationTargetException
Sun 3/20 11:51:22.179 [SageTV@2c1e6b] sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Sun 3/20 11:51:22.179 [SageTV@2c1e6b] sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
Sun 3/20 11:51:22.179 [SageTV@2c1e6b] sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
Sun 3/20 11:51:22.179 [SageTV@2c1e6b] java.lang.reflect.Constructor.newInstance(Unknown Source)
Sun 3/20 11:51:22.179 [SageTV@2c1e6b] sage.plugin.a.a(Unknown Source)
Sun 3/20 11:51:22.179 [SageTV@2c1e6b] sage.plugin.a.if(Unknown Source)
Sun 3/20 11:51:22.179 [SageTV@2c1e6b] sage.plugin.a.for(Unknown Source)
Sun 3/20 11:51:22.180 [SageTV@2c1e6b] sage.plugin.a.<init>(Unknown Source)
Sun 3/20 11:51:22.180 [SageTV@2c1e6b] sage.plugin.a.int(Unknown Source)
Sun 3/20 11:51:22.180 [SageTV@2c1e6b] sage.SageTV.run(Unknown Source)
Sun 3/20 11:51:22.180 [SageTV@2c1e6b] java.lang.Thread.run(Unknown Source)
Sun 3/20 11:51:22.180 [SageTV@2c1e6b] Nested exception: java.lang.NoSuchMethodError: uk.co.mdjcox.logger.LoggingManager.report(Ljava/lang/StringV
Sun 3/20 11:51:22.180 [SageTV@2c1e6b] java.lang.NoSuchMethodError: uk.co.mdjcox.logger.LoggingManager.report(Ljava/lang/StringV
Sun 3/20 11:51:22.181 [SageTV@2c1e6b] uk.co.mdjcox.encoderplugin.EncoderPlugin.<init>(EncoderPlugin.java:69)
Sun 3/20 11:51:22.181 [SageTV@2c1e6b] uk.co.mdjcox.encoderplugin.EncoderPlugin.<init>(EncoderPlugin.java:94)
Sun 3/20 11:51:22.181 [SageTV@2c1e6b] sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Sun 3/20 11:51:22.181 [SageTV@2c1e6b] sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
Sun 3/20 11:51:22.181 [SageTV@2c1e6b] sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
Sun 3/20 11:51:22.182 [SageTV@2c1e6b] java.lang.reflect.Constructor.newInstance(Unknown Source)
Sun 3/20 11:51:22.182 [SageTV@2c1e6b] sage.plugin.a.a(Unknown Source)
Sun 3/20 11:51:22.182 [SageTV@2c1e6b] sage.plugin.a.if(Unknown Source)
Sun 3/20 11:51:22.182 [SageTV@2c1e6b] sage.plugin.a.for(Unknown Source)
Sun 3/20 11:51:22.182 [SageTV@2c1e6b] sage.plugin.a.<init>(Unknown Source)
Sun 3/20 11:51:22.182 [SageTV@2c1e6b] sage.plugin.a.int(Unknown Source)
Sun 3/20 11:51:22.183 [SageTV@2c1e6b] sage.SageTV.run(Unknown Source)
Sun 3/20 11:51:22.183 [SageTV@2c1e6b] java.lang.Thread.run(Unknown Source)
Sun 3/20 11:51:22.183 [SageTV@2c1e6b] Loading of plugin wfe failed!

......

Encoder.log says...

Mar 20, 2011 11:50:54 AM WrapperSimpleAppMain uk.co.mdjcox.webfeedencoder.Encoder wakeupSageTv INFO: Looking for service //localhost:1100/EpgPlugin
Mar 20, 2011 11:50:55 AM WrapperSimpleAppMain uk.co.mdjcox.webfeedencoder.Encoder wakeupSageTv WARNING: WebFeedEncoder failed to wake up SageTV
java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at uk.co.mdjcox.utils.RmiHelper.lookup(RmiHelper.java:154)
at uk.co.mdjcox.epgplugin.EpgPluginClient.<init>(EpgPluginClient.java:29)
at uk.co.mdjcox.epgplugin.EpgPluginClient.instance(EpgPluginClient.java:24)
at uk.co.mdjcox.webfeedencoder.Encoder.wakeupSageTv(Encoder.java:121)
at uk.co.mdjcox.webfeedencoder.Encoder.main(Encoder.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:238)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
... 17 more

Anyone have any thoughts on this?

Windows XP SP3 x32
Java 1.6.21
SageTV 7.0 GA release
VNC 1.05
Looks like a classpath issue.

In sageTVs JARS directory will be several versions of the web feed encoder library.

The old ones will have .<num> suffixes

The new one should end .jar.

I wouldn't mind betting that if you looked at the dates you would find the ".jar" one is not the most recent jar from the release.

(which incidentally is in the webfeedencoder/libs" directory also)

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #835  
Old 04-14-2011, 01:52 AM
scanner95 scanner95 is offline
Sage Advanced User
 
Join Date: Jan 2009
Posts: 129
Quote:
Originally Posted by michaeldjcox View Post
Thanks - reproduced the issue.

Shouldn't be too hard to fix.

Regards,

Michael
Hello Michael,

You are probably too busy with other stuff and your life in general, but I'll try anyway: do you still think you can fix this some time?

Thanks,
Yuly
Reply With Quote
  #836  
Old 05-01-2011, 12:11 PM
n9cqs n9cqs is offline
Sage User
 
Join Date: Apr 2007
Posts: 69
RadioTime has changed!! EPG paths need to change too

I noticed that my EPG information for RadioTime was looking rather odd. I went via browser to the Radiotime website and was immediately re-directed to tunein.com - and given a notice that my log-in from radiotime would work on tunein. I made the following changes in WFE to re-direct EPG harvest, and that seems to have done the trick:

Radiotime path:
http://radiotime.com/StationDetails....nId=_ID_&date=

New "tune-in" path:
http://tunein.com/station?ScheduleBy...nId=_ID_&date=

If anyone else has any other information, please post it here.

Thanks!
Jeff
Reply With Quote
  #837  
Old 05-04-2011, 10:31 PM
Cortopassi Cortopassi is offline
Sage User
 
Join Date: Feb 2009
Posts: 54
Same problem with three files missing

Hi, just upgraded to the latest v7 and want your plugin to work so I can get radio, but during the install I get lineup, encoder, and services.deliv not installed errors in sage.

I turned UAC off, but found no difference. Is this a known issue with a workaround, or am I stuck?

Windows 7, HD300 extender, latest sage sw.

Thanks!
Reply With Quote
  #838  
Old 05-05-2011, 12:35 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 829
This must be a change to the way that SageTV is monitoring files in use by plugins.

Those files are only "starter" versions of three config files.

They are only used once - on a completely new installation they are renamed from .deliv to .props. Once a props file is present the deliv file is deleted if found on any startup of the plugin.

Regrettably it looks like a code change may be required to stop WFE from deleting this files.

It maybe quicker to see if this new behaviour of SageTV can be turned off for this plugin.

I attach the files for info.

Michael
Attached Files
File Type: zip config.zip (2.4 KB, 237 views)
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #839  
Old 05-05-2011, 11:54 AM
Cortopassi Cortopassi is offline
Sage User
 
Join Date: Feb 2009
Posts: 54
Config tools and testing of stations worked fine, but..

in Sage7, I see the channels in the lineup/guide, when I click on them and select watch now, all looks fine, the busy circle spins a bit, and then the station logo comes up on the screen, but, no audio.

Again, in the config tools, the stations play fine through vlc when tested.

Any continued help is appreciated.

With this working, my system will be complete!

Thanks,

Mike
Reply With Quote
  #840  
Old 05-06-2011, 09:26 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by michaeldjcox View Post
This must be a change to the way that SageTV is monitoring files in use by plugins.

Those files are only "starter" versions of three config files.

They are only used once - on a completely new installation they are renamed from .deliv to .props. Once a props file is present the deliv file is deleted if found on any startup of the plugin.
Michael,

I would advise against this. I was doing something similar with another plugin and it led to all sorts of problems with the Sage plugin installer. If your plugin puts files in certian places they must stay there and not change name.

Just my $0.02 (but since the US Dollar is down against the Pound it's probably worth less now )
__________________

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.
Reply With Quote
Reply

Tags
extender, internet video streaming, mvp, online videos, radio


Currently Active Users Viewing This Thread: 7 (0 members and 7 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
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


All times are GMT -6. The time now is 02:46 AM.


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