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
  #341  
Old 02-27-2016, 04:49 AM
troycheek's Avatar
troycheek troycheek is offline
Sage Advanced User
 
Join Date: Feb 2008
Posts: 148
Just noticed that the Web UI returns information for shows that have multiple categories (Movie/Children/Comedy/Animated) as just the first two categories. It's category Movie/Children or something like category Movie, subcategory Children. I noticed because I was trying to automatically detect cartoons so I could encode them with different parameters.
Reply With Quote
  #342  
Old 03-05-2016, 12:20 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
Version 3.0 is now available with the following changes:

1. Fix failure with v9 and Actor/Team Favorites
2. Detailed info now shows all categories/genres
3. Remove dependency on salicense
4. Remove the "Generated By" comment in GSP templates
5. Changed build to gradle to make it easier for developers to get started

I upped the version to 3.0 since this is the first release by a new maintainer (me).
Reply With Quote
  #343  
Old 03-05-2016, 01:06 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Do you have it on GitHub? I have some CSS improvements that I could contribute. They are slightly different than what I posted here some time ago. Work much better than those and the original.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #344  
Old 03-05-2016, 02:26 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by skiingwiz View Post
Version 3.0 is now available with the following changes:

1. Fix failure with v9 and Actor/Team Favorites
2. Detailed info now shows all categories/genres
3. Remove dependency on salicense
4. Remove the "Generated By" comment in GSP templates
5. Changed build to gradle to make it easier for developers to get started

I upped the version to 3.0 since this is the first release by a new maintainer (me).
getting this error. Using java 8 does this only work with Java 7? ... did further testing it works in Java 7 not 8. ... Thank you for fixing team favorites and actors.

Code:
HTTP ERROR 500

Problem accessing /apps/. Reason: 
    PWC6033: Unable to compile class for JSP

PWC6199: Generated servlet error:
The type java.util.Comparator cannot be resolved. It is indirectly referenced from required .class files




Caused by:
org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP

PWC6199: Generated servlet error:
The type java.util.Comparator cannot be resolved. It is indirectly referenced from required .class files


	at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:123)
	at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:296)
	at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:376)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:437)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:608)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:360)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
	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.servlet.Dispatcher.forward(Dispatcher.java:334)
	at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
	at org.mortbay.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:493)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	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$CachedChain.doFilter(ServletHandler.java:1157)
	at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
	at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:131)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387)
	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.HandlerCollection.handle(HandlerCollection.java:114)
	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.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.headerComplete(HttpConnection.java:864)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	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)


Powered by Jetty://
__________________
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; 03-05-2016 at 02:39 PM.
Reply With Quote
  #345  
Old 03-05-2016, 04:28 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
Quote:
Originally Posted by Taddeusz View Post
Do you have it on GitHub? I have some CSS improvements that I could contribute. They are slightly different than what I posted here some time ago. Work much better than those and the original.
It's here, on BitBucket rather than GitHub. Feel free to make a pull request or write an issue. Any contributions are welcome. I'm not a web developer, so updates in that area are especially welcome.

Quote:
Originally Posted by nyplayer View Post
getting this error. Using java 8 does this only work with Java 7? ... did further testing it works in Java 7 not 8. ...
Yes, I've seen others post that it doesn't work with Java 8. With your error message, maybe I can track down the issue. It's possible that the only solution will be an updated Jetty plugin.

Last edited by skiingwiz; 03-05-2016 at 04:31 PM.
Reply With Quote
  #346  
Old 03-05-2016, 07:31 PM
ptzink ptzink is offline
Sage Aficionado
 
Join Date: Mar 2008
Posts: 300
I just upgraded the plugin and now I only get an error when I click on the link from the web apps. The error says: HTTP ERROR: 503
Problem accessing /sage/Home. Reason: SERVICE_UNAVAILABLE
I rebooted the server that SageTV is on and still get the error. Let me know if I can provide more info.
__________________
Server: SageTV Media Center 7.1.19, Windows 7 Home Premium x64, Pentium Core2Duo, 4GB RAM, (1) Hauppauge HVR-2250, (1) Hauppauge HVR-1600, 1.5 TB of recording space
Android MiniClient: Nvidia Shield TV (16GB) HDMI out to Samsung LN46C630 46" LCD
Extender: STP-HD300, beta firmware "20110506-0", HDMI out to LG 37LD450 37" LCD
Reply With Quote
  #347  
Old 03-05-2016, 07:57 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
Quote:
Originally Posted by ptzink View Post
I just upgraded the plugin and now I only get an error when I click on the link from the web apps. The error says: HTTP ERROR: 503
Problem accessing /sage/Home. Reason: SERVICE_UNAVAILABLE
I rebooted the server that SageTV is on and still get the error. Let me know if I can provide more info.
That sounds like a problem during the upgrade. I've never seen this happen, but others have reported it at times (with plugins in general, not specifically this one). Can you try uninstalling then reinstalling the plugin?
Reply With Quote
  #348  
Old 03-05-2016, 08:36 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
Quote:
Originally Posted by nyplayer View Post
getting this error. Using java 8 does this only work with Java 7? ... did further testing it works in Java 7 not 8. ...
I just upgraded my dev VM to Java 8 in order to try and track this down. I only see the error when going to /apps/, which is part of the base jetty install. When I go to /sage/Home I can use the Web UI without a problem.

Does the same happen for you?
Reply With Quote
  #349  
Old 03-05-2016, 08:39 PM
ptzink ptzink is offline
Sage Aficionado
 
Join Date: Mar 2008
Posts: 300
I tried uninstalling and reinstalling twice with the same result. While installing it zips through the 5 different parts very quickly and I never actually see the percentage leave zero. I am not sure if this is because there is something wrong with the download or if it is because the parts are small files.
__________________
Server: SageTV Media Center 7.1.19, Windows 7 Home Premium x64, Pentium Core2Duo, 4GB RAM, (1) Hauppauge HVR-2250, (1) Hauppauge HVR-1600, 1.5 TB of recording space
Android MiniClient: Nvidia Shield TV (16GB) HDMI out to Samsung LN46C630 46" LCD
Extender: STP-HD300, beta firmware "20110506-0", HDMI out to LG 37LD450 37" LCD
Reply With Quote
  #350  
Old 03-05-2016, 09:10 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by skiingwiz View Post
I just upgraded my dev VM to Java 8 in order to try and track this down. I only see the error when going to /apps/, which is part of the base jetty install. When I go to /sage/Home I can use the Web UI without a problem.

Does the same happen for you?
That works but how would I get to my apps for ex. SJQ3.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #351  
Old 03-05-2016, 11:53 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
Quote:
Originally Posted by nyplayer View Post
That works but how would I get to my apps for ex. SJQ3.
I agree it is still an issue. But based on that fact, it is a Jetty issue, not the Web UI. So there is nothing this plugin is going to do to fix it. I thought I read that someone was working on updating the Jetty plugin to a newer version. I'd bet that will fix this.
Reply With Quote
  #352  
Old 03-05-2016, 11:55 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
Quote:
Originally Posted by ptzink View Post
I tried uninstalling and reinstalling twice with the same result. While installing it zips through the 5 different parts very quickly and I never actually see the percentage leave zero. I am not sure if this is because there is something wrong with the download or if it is because the parts are small files.
Mine does the same thing with the percentages. That doesn't indicate anything wrong.

Maybe there would be something useful in the jetty/logs/ folder. Either take a look there or zip that up and send it to me and I can see if I notice anything.
Reply With Quote
  #353  
Old 03-06-2016, 04:06 AM
troycheek's Avatar
troycheek troycheek is offline
Sage Advanced User
 
Join Date: Feb 2008
Posts: 148
I'm also getting "Problem accessing /sage/Home. Reason: SERVICE_UNAVAILABLE" since the upgrade. I've tried uninstalling and reinstalling the Web UI, restarting the server in between and after. http://media-pc:8080/apps/ shows the web interface as available, but clicking on it (or any other method to reach) http://media-pc:8080/sage/Home gives the error.

I wish I had read this thread before updating, as naturally I tried to squeeze in the update between recordings and didn't take the time to back anything up beforehand. Anybody have a copy of the previous version? Edit: Found a backup of my SageTV folder. Copied old jetty folder, copied nielm_sagewebserver.jar to JARs folder, renamed it to webUI-3.0.jar. Now working again. Mwahahaha!

Jetty log included. Applied upgrade about 0900 UTC. Edit: This was before the above fix. I don't think there's anything useful in there anyway.

Edit: Oh, running whatever java version comes default with Sage v7, running Sage v7, Jetty Web Server Plugin Version 2.3.0.14,
Jetty Web Server Version 6.1.19 (according the /apps)
Attached Files
File Type: zip 2016_03_06.request.zip (2.4 KB, 94 views)

Last edited by troycheek; 03-06-2016 at 05:32 AM.
Reply With Quote
  #354  
Old 03-06-2016, 03:16 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
Quote:
Originally Posted by troycheek View Post
Edit: Oh, running whatever java version comes default with Sage v7
Ah, this comment plus looking through my commits has lead me to what I think is the problem. I built this latest version against Java 7. Previous versions had been built against Java 5.

Sometime today, I'll try to get out an updated jar to test, or I may just go ahead and push a new release.
Reply With Quote
  #355  
Old 03-06-2016, 04:36 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
ptzink and/or troycheek,

Try the attached webui-3.0.jar (rename .zip to .jar). (You'll have to restart sage after you replace the jar.

This was built against a JavaSE 5 runtime. I think it will solve the problem. If it does, or if I don't hear anything, I'll release version 3.0.1 with this fix. (I don't want to wait too long, and leave it broken for people)
Attached Files
File Type: zip webui-3.0.zip (687.5 KB, 97 views)
Reply With Quote
  #356  
Old 03-06-2016, 05:20 PM
ptzink ptzink is offline
Sage Aficionado
 
Join Date: Mar 2008
Posts: 300
That didn't fix it for me. Same error. When I get a chance I will shoot you a log.
__________________
Server: SageTV Media Center 7.1.19, Windows 7 Home Premium x64, Pentium Core2Duo, 4GB RAM, (1) Hauppauge HVR-2250, (1) Hauppauge HVR-1600, 1.5 TB of recording space
Android MiniClient: Nvidia Shield TV (16GB) HDMI out to Samsung LN46C630 46" LCD
Extender: STP-HD300, beta firmware "20110506-0", HDMI out to LG 37LD450 37" LCD
Reply With Quote
  #357  
Old 03-06-2016, 06:06 PM
ptzink ptzink is offline
Sage Aficionado
 
Join Date: Mar 2008
Posts: 300
Log file attached.
Attached Files
File Type: zip 2016_03_06.request.zip (2.1 KB, 96 views)
__________________
Server: SageTV Media Center 7.1.19, Windows 7 Home Premium x64, Pentium Core2Duo, 4GB RAM, (1) Hauppauge HVR-2250, (1) Hauppauge HVR-1600, 1.5 TB of recording space
Android MiniClient: Nvidia Shield TV (16GB) HDMI out to Samsung LN46C630 46" LCD
Extender: STP-HD300, beta firmware "20110506-0", HDMI out to LG 37LD450 37" LCD
Reply With Quote
  #358  
Old 03-06-2016, 06:17 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
I submitted a pull request for the CSS. It fixes some little nagging issues I had with the interface.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #359  
Old 03-06-2016, 09:23 PM
pjpjpjpj pjpjpjpj is offline
Sage Icon
 
Join Date: Feb 2008
Posts: 2,164
Sorry to threadjack away from the latest release discussion, but I just had an internet speed upgrade and have a new router. I now can't access Sage through the web/mobile web/jetty plugin(s).

I have Plex and PlayOn running on the Sage server and they are working and accessible remotely. When I go into the new router setup, under the uPnP tab, it has Plex, PlayOn, SageTV (31099), SageTVJettyHTTPS (8443), and SageTVJettyHTTP (8080) all listed. When I access the web server within my home network ("local IP of Sage server:8080/apps"), it works fine.

Anyone have any ideas what I'm missing?

P.S. I have not installed the latest release of this plugin. I'm running:
Jetty Web Server Plugin 2.3.0.14
Jetty Web Server 6.1.19
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 10 x64, Java 8, Gigabit network
Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such...
Software: SageTV v9x64, stock STV with ADM.
Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic).
Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each.
Reply With Quote
  #360  
Old 03-06-2016, 09:27 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
When you access it from outside your own network, you do so through your public IP address, which probably changed when you installed your new stuff. Did you update this?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 3 (0 members and 3 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: SageTV Web Interface V2 for Jetty jreichen SageTV Customizations 256 02-09-2014 08:05 AM
Plugin: Mobile Web Interface 1.2 jreichen SageTV Customizations 281 06-17-2011 02:20 PM
Plugin: Sage Web Lite (SWL) Slugger SageTV Customizations 28 04-23-2009 01:32 PM
Web Plugin RSS feed question matt91 SageTV Customizations 1 07-28-2006 11:24 AM
error message with web server plugin edgley SageTV Customizations 3 01-15-2006 11:32 AM


All times are GMT -6. The time now is 03:39 AM.


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