|
Gemstone for v7 This forum is for discussing the user-created Gemstone custom interface for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Sagetv hangs when trying to use Utility Import
I think I posted about this before. I am using SageTV Client V9 and trying to import a settings file from the server. But after I select a file to import it hangs at saying "Loading..." There is no issue using this settings file on my extenders or on the server.
Here is what shows up in my Sagetvclient_0 file: Code:
Fri 12/2 20:14:05.872 [Fork-JUSJOKEN-5641186@a8886e] Error with c/s comm: requestAction: java.lang.NullPointerException Fri 12/2 20:14:05.872 [Fork-JUSJOKEN-5641186@a8886e] java.lang.NullPointerException Fri 12/2 20:14:05.874 [Fork-JUSJOKEN-5641186@a8886e] at sage.SageTVConnection.requestAction(SageTVConnection.java:2139) Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] at sage.PredefinedJEPFunction.run(PredefinedJEPFunction.java:100) Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] at sage.Catbert.evaluateAction(Catbert.java:1663) Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] at sage.SageTV.apiUI(SageTV.java:107) Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] at sagex.remote.EmbeddedSageAPIProvider.callService(EmbeddedSageAPIProvider.java:24) Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] at sagex.SageAPI.call(SageAPI.java:212) Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] at sagex.SageAPI.call(SageAPI.java:228) Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] at sagex.api.Utility.GetFileAsString(Utility.java:3862) Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] at Gemstone.Import.<init>(Import.java:76) Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] at java.lang.reflect.Constructor.newInstance(Unknown Source) Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] at sage.Catbert$ReflectedJEPFunction.run(Catbert.java:1991) Fri 12/2 20:14:05.876 [Fork-JUSJOKEN-5641186@a8886e] at sage.jep.JEP$CommandEvaluator.evaluate(JEP.java:586) Fri 12/2 20:14:05.876 [Fork-JUSJOKEN-5641186@a8886e] at sage.jep.JEP.getValueAsObject(JEP.java:428) Fri 12/2 20:14:05.876 [Fork-JUSJOKEN-5641186@a8886e] at sage.Catbert.evaluateExpression(Catbert.java:641) Fri 12/2 20:14:05.876 [Fork-JUSJOKEN-5641186@a8886e] at sage.ZPseudoComp.processChain(ZPseudoComp.java:4641) Fri 12/2 20:14:05.876 [Fork-JUSJOKEN-5641186@a8886e] at sage.ZPseudoComp.processChain(ZPseudoComp.java:4680) Fri 12/2 20:14:05.876 [Fork-JUSJOKEN-5641186@a8886e] at sage.ZPseudoComp.processChain(ZPseudoComp.java:4579) Fri 12/2 20:14:05.876 [Fork-JUSJOKEN-5641186@a8886e] at sage.ZPseudoComp$2.run(ZPseudoComp.java:4627) Fri 12/2 20:14:05.876 [Fork-JUSJOKEN-5641186@a8886e] at sage.Pooler$PooledThread.run(Pooler.java:253) Fri 12/2 20:14:05.876 [Fork-JUSJOKEN-5641186@a8886e] java.lang.reflect.InvocationTargetException Fri 12/2 20:14:05.876 [Fork-JUSJOKEN-5641186@a8886e] sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) Fri 12/2 20:14:05.877 [Fork-JUSJOKEN-5641186@a8886e] sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) Fri 12/2 20:14:05.877 [Fork-JUSJOKEN-5641186@a8886e] sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) Fri 12/2 20:14:05.877 [Fork-JUSJOKEN-5641186@a8886e] java.lang.reflect.Constructor.newInstance(Unknown Source) Fri 12/2 20:14:05.877 [Fork-JUSJOKEN-5641186@a8886e] sage.Catbert$ReflectedJEPFunction.run(Catbert.java:1991) Fri 12/2 20:14:05.878 [Fork-JUSJOKEN-5641186@a8886e] sage.jep.JEP$CommandEvaluator.evaluate(JEP.java:586) Fri 12/2 20:14:05.878 [Fork-JUSJOKEN-5641186@a8886e] sage.jep.JEP.getValueAsObject(JEP.java:428) Fri 12/2 20:14:05.878 [Fork-JUSJOKEN-5641186@a8886e] sage.Catbert.evaluateExpression(Catbert.java:641) Fri 12/2 20:14:05.878 [Fork-JUSJOKEN-5641186@a8886e] sage.ZPseudoComp.processChain(ZPseudoComp.java:4641) Fri 12/2 20:14:05.878 [Fork-JUSJOKEN-5641186@a8886e] sage.ZPseudoComp.processChain(ZPseudoComp.java:4680) Fri 12/2 20:14:05.879 [Fork-JUSJOKEN-5641186@a8886e] sage.ZPseudoComp.processChain(ZPseudoComp.java:4579) Fri 12/2 20:14:05.879 [Fork-JUSJOKEN-5641186@a8886e] sage.ZPseudoComp$2.run(ZPseudoComp.java:4627) Fri 12/2 20:14:05.879 [Fork-JUSJOKEN-5641186@a8886e] sage.Pooler$PooledThread.run(Pooler.java:253) Fri 12/2 20:14:05.879 [Fork-JUSJOKEN-5641186@a8886e] java.lang.NullPointerException Fri 12/2 20:14:05.879 [Fork-JUSJOKEN-5641186@a8886e] Gemstone.PropertiesExt.load(PropertiesExt.java:135) Fri 12/2 20:14:05.880 [Fork-JUSJOKEN-5641186@a8886e] Gemstone.Import.<init>(Import.java:77) Fri 12/2 20:14:05.880 [Fork-JUSJOKEN-5641186@a8886e] sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) Fri 12/2 20:14:05.880 [Fork-JUSJOKEN-5641186@a8886e] sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) Fri 12/2 20:14:05.880 [Fork-JUSJOKEN-5641186@a8886e] sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) Fri 12/2 20:14:05.880 [Fork-JUSJOKEN-5641186@a8886e] java.lang.reflect.Constructor.newInstance(Unknown Source) Fri 12/2 20:14:05.881 [Fork-JUSJOKEN-5641186@a8886e] sage.Catbert$ReflectedJEPFunction.run(Catbert.java:1991) Fri 12/2 20:14:05.881 [Fork-JUSJOKEN-5641186@a8886e] sage.jep.JEP$CommandEvaluator.evaluate(JEP.java:586) Fri 12/2 20:14:05.881 [Fork-JUSJOKEN-5641186@a8886e] sage.jep.JEP.getValueAsObject(JEP.java:428) Fri 12/2 20:14:05.881 [Fork-JUSJOKEN-5641186@a8886e] sage.Catbert.evaluateExpression(Catbert.java:641) Fri 12/2 20:14:05.881 [Fork-JUSJOKEN-5641186@a8886e] sage.ZPseudoComp.processChain(ZPseudoComp.java:4641) Fri 12/2 20:14:05.882 [Fork-JUSJOKEN-5641186@a8886e] sage.ZPseudoComp.processChain(ZPseudoComp.java:4680) Fri 12/2 20:14:05.882 [Fork-JUSJOKEN-5641186@a8886e] sage.ZPseudoComp.processChain(ZPseudoComp.java:4579) Fri 12/2 20:14:05.882 [Fork-JUSJOKEN-5641186@a8886e] sage.ZPseudoComp$2.run(ZPseudoComp.java:4627) Fri 12/2 20:14:05.882 [Fork-JUSJOKEN-5641186@a8886e] sage.Pooler$PooledThread.run(Pooler.java:253) Fri 12/2 20:14:05.883 [Fork-JUSJOKEN-5641186@a8886e] EXCEPTION in getValueAsObject:sage.jep.ParseException: Error in method reflection of new_Gemstone_Import of java.lang.reflect.InvocationTargetException for:new_Gemstone_Import(SelectedFilePath + "", !UseLocalFilePaths) Fri 12/2 20:14:05.971 [AWT-EventQueue-0@df8d8a] processUserEvent-UserEvent[anything] evtTime=Fri 12/2 20:14:05.824 Fri 12/2 20:14:06.358 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating copy of Java image to RawImage of size 228x456 for java.lang.ref.WeakReference@46ab70 Fri 12/2 20:14:06.367 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating DirectX9 Texture from nio buffer w=228 h=456 Fri 12/2 20:14:06.369 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating copy of Java image to RawImage of size 194x388 for java.lang.ref.WeakReference@140fba4 Fri 12/2 20:14:06.376 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating DirectX9 Texture from nio buffer w=194 h=388 Fri 12/2 20:14:06.378 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating copy of Java image to RawImage of size 77x154 for java.lang.ref.WeakReference@16f2335 Fri 12/2 20:14:06.379 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating DirectX9 Texture from nio buffer w=77 h=154 Fri 12/2 20:14:06.379 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating copy of Java image to RawImage of size 79x158 for java.lang.ref.WeakReference@d78f76 Fri 12/2 20:14:06.381 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating DirectX9 Texture from nio buffer w=79 h=158 Fri 12/2 20:14:06.384 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating copy of Java image to RawImage of size 228x456 for java.lang.ref.WeakReference@133a4b7 Fri 12/2 20:14:06.393 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating DirectX9 Texture from nio buffer w=228 h=456 Fri 12/2 20:14:06.395 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating copy of Java image to RawImage of size 194x388 for java.lang.ref.WeakReference@1d6e06e Fri 12/2 20:14:06.401 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating DirectX9 Texture from nio buffer w=194 h=388 Fri 12/2 20:14:06.403 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating copy of Java image to RawImage of size 77x154 for java.lang.ref.WeakReference@1e0106a Fri 12/2 20:14:06.404 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating DirectX9 Texture from nio buffer w=77 h=154 Fri 12/2 20:14:06.405 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating copy of Java image to RawImage of size 79x158 for java.lang.ref.WeakReference@11c869f Fri 12/2 20:14:06.406 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating DirectX9 Texture from nio buffer w=79 h=158
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#2
|
||||
|
||||
I think there were some changes in how server side files are accessed by clients, that may have affected this (it was not an API call that was used much). In any case, it seems the client is unable to fetch the settings file from the server. In the meantime, you can likely copy your exported settings file from the server to the client, and have gemstone import it with Import Settings (Local).
It's very likely this is fixed in Gemstone2. If I had to guess, this issue would be from the different in path separators between the client and server, and it inadvertently 'fixing' them the wrong way.
__________________
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 |
#3
|
|||
|
|||
Can you open an issue on G2 github site...see my signature.. Then i wont forget to review this and fix if needed.
G2 has changed under the hood a lot so the import and export likely need reworking too. k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#4
|
|||
|
|||
Manually transferring the file from the server to the client and then importing did the trick.
One other thing that I have noticed in the past is that you sometimes need to reload the UI to get the new menus to be reflected after importing. You might want to force a UI restart. I have manually done this by restarting the client or extender. I will post the issue in Github.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Utility: SageTV Auto Restarter (SAR) | Slugger | SageTV v7 Customizations | 7 | 02-11-2015 08:27 PM |
Utility: SageTV Registry Settings | babgvant | SageTV Customizations | 71 | 06-04-2013 11:24 AM |
Utility: ComChecker for SageTV on Mac OS X | bcjenkins | SageTV Customizations | 29 | 09-01-2009 07:29 PM |
Utility functions to simplify STV import | dflachbart | SageTV Studio | 72 | 01-08-2007 11:48 AM |
SageTV "hangs" on EPG-import from o2grabber | paatus | SageTV EPG Service | 7 | 01-24-2005 11:06 AM |