Closed kadnan closed 10 years ago
I am calling AddonFullWindow but it is halting the entire script. When Window opens, it shows Loading message at bottom. Code given below
print "Calling AddonFullWindow" window = AddonFullWindow('Login to myTV') # Set window width, height and grid resolution. window.setGeometry(350, 220, 4, 2)
Log is given below:
00:20:03 T:2954420224 NOTICE: Calling AddonFullWindow 00:20:03 T:2685314368 DEBUG: ------ Window Init (DialogBusy.xml) ------ 00:20:04 T:2685314368 DEBUG: Activating window ID: 13000 00:20:04 T:2685314368 DEBUG: ------ Window Deinit (MyVideoNav.xml) ------ 00:20:04 T:2685314368 DEBUG: ------ Window Init () ------ 00:20:12 T:2685314368 DEBUG: CCoreAudioAE::Suspend - Suspending AE processing 00:20:12 T:2685314368 DEBUG: CCoreAudioAE::GarbageCollect - Release CA HAL. 00:20:17 T:2685314368 DEBUG: Keyboard: scancode: 35, sym: 001b, unicode: 001b, modifier: 0 00:20:17 T:2685314368 DEBUG: OnKey: escape (f01b) pressed, action is PreviousMenu 00:20:17 T:2685314368 DEBUG: ------ Window Deinit (DialogBusy.xml) ------ 00:20:17 T:2685314368 ERROR: GetDirectory - Error getting plugin://plugin.video.mytvtv-com/ 00:20:17 T:2685314368 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.mytvtv-com/) failed 00:20:17 T:2685314368 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video/) 00:20:17 T:2685314368 DEBUG: ParentPath = [] 00:20:17 T:2953850880 NOTICE: Thread Background Loader start, auto delete: false 00:20:17 T:2685314368 DEBUG: CCoreAudioAE::GarbageCollect - Acquire CA HAL. 00:20:17 T:2953850880 DEBUG: Thread Background Loader 2953850880 terminating 00:20:18 T:2962784256 DEBUG: WaitOnScriptResult- cancelling plugin mytv TV for XBMC (id=6) 00:20:18 T:2962784256 INFO: Stopping script with id: 6 00:20:23 T:2962784256 ERROR: XBPyThread::stop - script /Users/JhonDoe/Library/Application Support/XBMC/addons/plugin.video.mytvtv-com/default.py didn't stop in 5 seconds - let's kill it 00:20:23 T:2685314368 DEBUG: Keyboard: scancode: 35, sym: 001b, unicode: 001b, modifier: 0 00:20:23 T:2685314368 DEBUG: OnKey: escape (f01b) pressed, action is PreviousMenu 00:20:23 T:2685314368 DEBUG: Activating window ID: 10025 00:20:23 T:2685314368 DEBUG: ------ Window Deinit () ------ 00:20:23 T:2685314368 DEBUG: ------ Window Init (MyVideoNav.xml) ------ 00:20:23 T:2685314368 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video/) 00:20:23 T:2685314368 DEBUG: ParentPath = [addons://sources/video/] 00:20:23 T:2956017664 NOTICE: Thread Background Loader start, auto delete: false 00:20:23 T:2956017664 DEBUG: Thread Background Loader 2956017664 terminating 00:20:23 T:2954420224 INFO: Scriptresult: Aborted 00:20:23 T:2954420224 INFO: Python script interrupted by user 00:20:23 T:2954420224 DEBUG: Thread XBPyThread 2954420224 terminating 00:20:23 T:2685314368 DEBUG: waiting for python thread 6 (/Users/JhonDoe/Library/Application Support/XBMC/addons/plugin.video.mytvtv-com/default.py) to stop 00:20:23 T:2685314368 DEBUG: python thread 6 (/Users/JhonDoe/Library/Application Support/XBMC/addons/plugin.video.mytvtv-com/default.py) destructed 00:20:25 T:2685314368 DEBUG: Keyboard: scancode: 35, sym: 001b, unicode: 001b, modifier: 0 00:20:25 T:2685314368 DEBUG: OnKey: escape (f01b) pressed, action is PreviousMenu 00:20:25 T:2685314368 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate 00:20:25 T:2685314368 DEBUG: ------ Window Deinit (MyVideoNav.xml) ------
The code example given above is not complete and will not work. Please provide full code, relevant to the issue.
Closed because the issue opener haven't provided any further information.
I am calling AddonFullWindow but it is halting the entire script. When Window opens, it shows Loading message at bottom. Code given below
Log is given below: