xrblues / customsagetv

Automatically exported from code.google.com/p/customsagetv
0 stars 0 forks source link

Issues with Record API over RemoteAPI #358

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I just tried a simple test to Record by passing in an Airing object with r101 
and it works, but still throws an exception when I call sageAPI.Record.  Good 
news is the recording does indeed start! But I get the exception below... 
thoughts?

06:44:24 T:6484 M:1236828160   DEBUG: sagex request URL: 
http://******@localhost:8889/sagex/api?size=50000&encoder=json&c=Record&1=airing
%3A3771555
06:44:25 T:6484 M:1238081536   DEBUG: sagex API call "Record" [args: 
(<mc.ListItem; proxy of <Swig Object of type 'XAPP::ListItem *' at 0xa8da608> 
>,)] FAILED!
06:44:25 T:6484 M:1238081536   DEBUG: sagex API error response:
                                            MSG: None
                                            ERROR: Unknown Object Type: sage.e$f for Sage Object: sage.e$f@1dd2126
06:44:25 T:6484 M:1238081536   DEBUG: sagex API exception:
                                            java.lang.Exception: Unknown Object Type: sage.e$f for Sage Object: sage.e$f@1dd2126

                                                at sagex.remote.builder.SimpleJSONBuilder.handleError(SimpleJSONBuilder.java:68)

                                                at sagex.remote.builder.SageAPIBuilder.build(SageAPIBuilder.java:76)

                                                at sagex.remote.api.JsonReplyEncoder.encodeReply(JsonReplyEncoder.java:35)

                                                at sagex.remote.api.ApiHandler.handleRequest(ApiHandler.java:175)

                                                at sagex.remote.SagexServlet.doPost(SagexServlet.java:60)

                                                at sagex.remote.SagexServlet.doGet(SagexServlet.java:38)

                                                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.handler.ContextHandler.handle(ContextHandler.java:765)

                                                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:322)

                                                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)

                                            Caused by: java.lang.Exception: Unknown Object Type: sage.e$f for Sage Object: sage.e$f@1dd2126

                                                ... 24 more
06:44:25 T:6484 M:1238077440   ERROR: Scriptresult: Error
06:44:25 T:6484 M:1238077440  NOTICE: Traceback (most recent call last):
06:44:25 T:6484 M:1238061056  NOTICE:   File "<string>", line 5, in ?
06:44:25 T:6484 M:1238061056  NOTICE:   File 
"C:\Users\Erica\AppData\Roaming\BOXEE\userdata\apps\com.googlecode.sagetvboxee.s
ageboxee\sage.py", line 306, in __call__
06:44:25 T:6484 M:1237848064  NOTICE: raise SageApiException(resp)
06:44:25 T:6484 M:1237848064  NOTICE: sage
06:44:25 T:6484 M:1237848064  NOTICE: .
06:44:25 T:6484 M:1237848064  NOTICE: SageApiException
06:44:25 T:6484 M:1237848064  NOTICE: :
06:44:25 T:6484 M:1237848064  NOTICE: Unknown Object Type: sage.e$f for Sage 
Object: sage.e$f@1dd2126

-- 

Original issue reported on code.google.com by sean.stu...@gmail.com on 16 Aug 2011 at 1:29