|
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 |
#1
|
|||
|
|||
Web Sever Unable to export XML in SageTV v9
I cannot export an XML of my recordings from the webserver ... I did this daily as part of my backup. I was able to do this prior to upgrading the Jars. If I go to recordings on my web page click on the XML export I get an error.
|
#2
|
|||
|
|||
In all reality, this is a plugin issue, as the webserver isn't part of the "core" for SageTV. That being said, details regarding the error is going to be needed in order for anyone to be able to assist.
|
#3
|
|||
|
|||
Quote:
The webpage at http://127.0.01:8080/sage/Recordings?xml=yes might be temporarily down or it may have moved permanently to a new web address. It works fine my my SageTV7. Edit a little more. Favorite manager also kicks out an error. 11. java.lang.ClassCastException: sage.Person cannot be cast to java.lang.String at net.sf.sageplugins.sageutils.SageApi.StringApi(SageApi.java:112) at net.sf.sageplugins.webserver.Favorite.getPerson(Favorite.java:392) at net.sf.sageplugins.webserver.Favorite.printFavoriteTableCell(Favorite.java:770) at net.sf.sageplugins.webserver.FavoritesServlet.doServletGet(FavoritesServlet.java:89) at net.sf.sageplugins.webserver.SageServlet.doGet(SageServlet.java:102) 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.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.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) New by: [Title] [Actor] [Category] [Keyword] Last edited by nyplayer; 10-11-2015 at 09:56 AM. |
#4
|
||||
|
||||
Other than the SchedulesDirect EPG plugin that was required to be updated for v9, and is essentially a requirement for new users, I'm still asking that topics for plugin issues go in one of the customizations forums, so the topic was moved. The plugin developer can decide whether there is an issue to fix in the plugin due to core changes.
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. |
#5
|
|||
|
|||
I'm the last person you want to see trying to diagnose that error log. Checking the path you specified(not having used the xml export capability in a looong time), I was able to successfully create xml files for both the
http://serverip:8080/sage/Recordings?xml=yes and http://serverip:8080/sage/Favorites?xml=yes URL's. I am running the 9.0.1.3 SageTV Jar on Windows 7Pro 32bit. (commit 8d4f872) So whatever is happening, it is either an earlier build of Sage 9.x doing it by some strange means, or something else on your server is causing it, as I cannot reproduce the error. Did you just upgrade to Java 8 by any chance? |
#6
|
|||
|
|||
Quote:
I am in the process of recreating the DB so I can back off Sage 9 would hate to do that but the webserver is a must as I plan to be going away. especially the favorite manager. PS you probably cannot recreate the favorites error because I have all kinds of keyword favorites etc... Last edited by nyplayer; 10-11-2015 at 11:04 AM. |
#7
|
|||
|
|||
Quote:
Uploaded mine to dropbox, pm'd you a link to it. |
#8
|
|||
|
|||
Quote:
By Actor and Keyword. New By Actor/Team Tom Hanks Keyword "MV\d+" |
#9
|
|||
|
|||
Added both as a favorite through the Web UI, have two more xml files to show for it(created another xml file after each addition). Mine just keeps chugging along without issue on this.
On second thought, which version of the Web UI are you running? The last changelog mine is showing is V2.30 21 Mar 2011 For SageTV 7.1 edit to add: Plugin Manager reports the Web Interface as 2.43 Last edited by Monedeath; 10-11-2015 at 11:49 AM. |
#10
|
|||
|
|||
Quote:
The funny this is that I recreated the DB in Sage V7 and everything works just fine. So it could be a hosed DB. Last edited by nyplayer; 10-11-2015 at 11:44 AM. |
#11
|
|||
|
|||
Update to Server
I was able to get past the errors by deleting my Favorites by Actor and re-adding them.
Thank for your help Monedeath. Edit spoke to soon. If I create a Favorite By Actor for ex. Tom Hanks. I then bring up the Webserver go to Favorite manager scroll all the way down there is a Java error for that favorite. Code:
Sun 10/11 12:57:13.052 [10765473@qtp-11413068-3@a444a1] ::WARN: RecordingsServlet: Exception while processing servlet net.sf.sageplugins.webserver.RecordingsServlet Sun 10/11 12:57:13.054 [10765473@qtp-11413068-3@a444a1] java.lang.ClassCastException: sage.Person cannot be cast to java.lang.String Sun 10/11 12:57:13.057 [10765473@qtp-11413068-3@a444a1] ::WARN: RecordingsServlet: Exception while processing servlet Sun 10/11 12:57:13.059 [10765473@qtp-11413068-3@a444a1] java.io.IOException: Closed Sun 10/11 12:57:13.061 [10765473@qtp-11413068-3@a444a1] ::WARN: /sage/Recordings Sun 10/11 12:57:13.206 [10765473@qtp-11413068-3@a444a1] ::WARN: RecordingsServlet: Exception while processing servlet net.sf.sageplugins.webserver.RecordingsServlet Sun 10/11 12:57:13.208 [10765473@qtp-11413068-3@a444a1] java.lang.ClassCastException: sage.Person cannot be cast to java.lang.String Sun 10/11 12:57:13.211 [10765473@qtp-11413068-3@a444a1] ::WARN: RecordingsServlet: Exception while processing servlet Sun 10/11 12:57:13.213 [10765473@qtp-11413068-3@a444a1] java.io.IOException: Closed Sun 10/11 12:57:13.215 [10765473@qtp-11413068-3@a444a1] ::WARN: /sage/Recordings Code:
Exception while processing servlet: java.lang.ClassCastException: sage.Person cannot be cast to java.lang.String java.lang.ClassCastException: sage.Person cannot be cast to java.lang.String at net.sf.sageplugins.sageutils.SageApi.StringApi(SageApi.java:112) at net.sf.sageplugins.webserver.Favorite.getPerson(Favorite.java:392) at net.sf.sageplugins.webserver.FavoriteDetailsServlet.doServletGet(FavoriteDetailsServlet.java:148) at net.sf.sageplugins.webserver.SageServlet.doGet(SageServlet.java:102) 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.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.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) Last edited by nyplayer; 10-11-2015 at 02:00 PM. |
#12
|
|||
|
|||
Looking through the code, the webserver is calling the GetFavoritePerson API method, which in version 9 returns the type sage.Person (See here). Apparently in earlier versions, it returned a String (which the webserver relies on).
So the webserver will have to be updated to fix that. |
#13
|
||||
|
||||
Apparently this weekend is the Canadian Thanksgiving holiday... I been away visiting family all weekend.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#14
|
||||
|
||||
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#15
|
||||
|
||||
Quote:
so, Code:
String s = "" + someObject; but, Code:
String s = (String)someObject;
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#16
|
|||
|
|||
Quote:
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Export sagetv recordings to MCE? | gabrielcab | SageTV v7 Customizations | 2 | 09-05-2012 09:55 AM |
Export SageTV media thumbnail | jorton | Batch Metadata Tools | 2 | 11-15-2011 08:14 AM |
running a windows sever and a mac client | Dreameriz | SageTV Software | 2 | 12-27-2009 01:51 PM |
export/import SageTV recordings? | rnewman | SageTV Software | 9 | 06-22-2008 06:36 PM |
Is it possible to export program data from SageTV? | wr202 | SageTV Software | 2 | 11-17-2003 10:56 AM |