Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.

View Entry Info: 5.3.025 Crash in Image manage when downloading.

Category:
Possible Bug
What ViX Image build number are you using?
Please provide your ViX Team image build number. Menu > Information > About > Build number > ENTER THIS NUMBER e.g. 4.2.028
5.3.025
Have you tried a flash WITHOUT settings restore?
Have you tried this? PLEASE SELECT YES OR NO.
No
Have you tried a flash WITH settings restore?
Have you tried this? PLEASE SELECT YES OR NO.
No
Page 2 of 2 FirstFirst 12
Results 16 to 28 of 28

Thread: 5.3.025 Crash in Image manage when downloading.

  1. #16
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,276 Times in 1,089 Posts
    Quote Originally Posted by bbbuk View Post
    Created PR here for consideration/approval.
    Pity your PR was rejected, I still get the same crash on 5.3.037, so something still isn't quite right.

  2. #17
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,769
    Thanks
    235
    Thanked 1,656 Times in 1,305 Posts
    Quote Originally Posted by bbbuk View Post
    Ok, found away to handle this crash gracefully - see my suggested commit here.

    • doDownload() - added quick internet access check before allowing user to even try and choose an image to download. Displays error if no internet connection
    Which isn't atomic. The network could go down between the check and the actual usage.
    The error handling needs to be in the "real" network access code.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  3. #18
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,382
    Thanks
    987
    Thanked 2,888 Times in 2,243 Posts
    Guys I will fix this issue this week, just back from hospital and trying to sort myself and a new PC out (#### win10 and HP - anybody would think win10 was the only system in the world). The Try and Except on the network access was changed from a global check to a specific check that obviously didn't handle this situation - will resolve later this week.
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> DUR-Line DCR 5-1-8-L4 Multiswitch to 1.5M dish(28.2E)
    ------------------> Spaun SUS 5581/33 NFA Multiswitch to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using Legacy ports on multiswitches
    Zgemma H9 C/S into Giga4K

  4. #19

    Title
    Forum Supporter
    Donated Member
    Join Date
    Jun 2014
    Posts
    1,321
    Thanks
    610
    Thanked 418 Times in 270 Posts
    Quote Originally Posted by birdman View Post
    Which isn't atomic. The network could go down between the check and the actual usage.
    The error handling needs to be in the "real" network access code.
    That was an extra check I suggested before allowing user to choose type of image to download, etc and would display a nice error that no internet connection.

    The original check just before image download, is still there, was also amended to ensure it catches all errors whereas before it missed occasions where no internet access as found by @ccs

    @Heuvus, in the PR, has suggested re-using other code but it failed in my test so syntax isn't correct so maybe someone with better python could work it out

  5. #20
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,335
    Thanks
    6,420
    Thanked 9,146 Times in 6,224 Posts
    What are the steps to reproduce this error.

  6. #21

    Title
    Forum Supporter
    Donated Member
    Join Date
    Jun 2014
    Posts
    1,321
    Thanks
    610
    Thanked 418 Times in 270 Posts
    Having no internet so if using patch lead then unplug after going into ImageManager or if on wireless, disconnect, before going into ImageManager

  7. #22
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,276 Times in 1,089 Posts
    I disabled ethernet via the gui to then create the crash in imagemanager/downloads.

  8. #23
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,276 Times in 1,089 Posts
    Quote Originally Posted by ccs View Post
    I disabled ethernet via the gui to then create the crash in imagemanager/downloads.
    This still happens in 5.4.001...


    Code:
    <   134.3169> 09:45:56.1914 [ActionMap] Keymap 'OkCancelActions' -> Action = 'ok'.
    <   134.3339> 09:45:56.2084 [Skin] Processing screen 'VIXMenu', position=(0, 0), size=(1920 x 1080) for module 'VIXMenu'.
    <   134.3453> 09:45:56.2198 [Skin] Processing screen 'SimpleSummary' from list 'VIXMenuSummary, ScreenSummary, VIXMenu_summary, SimpleSummary', position=(0, 0), size=(800 x 480) for module 'PluginBrowserSummary'.
    <   134.3461> 09:45:56.2206 [Screen] Showing screen '['VIXMenuSummary', 'ScreenSummary', 'VIXMenu_summary', 'SimpleSummary']'.
    <   134.3465> 09:45:56.2210 [Screen] Showing screen 'VIXMenu'.
    <   134.6531> 09:45:56.5276 [eInputDeviceInit] 0 160 (352) 1
    <   134.6532> 09:45:56.5277 [eRCDeviceInputDev] emit: 0
    <   134.6536> 09:45:56.5282 [InfoBarGenerics] Key: 352 (Break) KeyID='KEY_OK' Binding='('OK',)'.
    <   135.0929> 09:45:56.9674 [eInputDeviceInit] 1 6c (108) 1
    <   135.0930> 09:45:56.9675 [eRCDeviceInputDev] emit: 1
    <   135.0934> 09:45:56.9679 [InfoBarGenerics] Key: 108 (Make) KeyID='KEY_DOWN' Binding='('DOWN',)'.
    <   135.0935> 09:45:56.9680 [ActionMap] Keymap 'WizardActions' -> Unknown action 'down'! (Typo in keymap?)
    <   135.4290> 09:45:57.3035 [eInputDeviceInit] 0 6c (108) 1
    <   135.4291> 09:45:57.3036 [eRCDeviceInputDev] emit: 0
    <   135.4295> 09:45:57.3040 [InfoBarGenerics] Key: 108 (Break) KeyID='KEY_DOWN' Binding='('DOWN',)'.
    <   135.9442> 09:45:57.8187 [eInputDeviceInit] 1 160 (352) 1
    <   135.9443> 09:45:57.8188 [eRCDeviceInputDev] emit: 1
    <   135.9445> 09:45:57.8190 [InfoBarGenerics] Key: 352 (Make) KeyID='KEY_OK' Binding='('OK',)'.
    <   135.9446> 09:45:57.8191 [ActionMap] Keymap 'WizardActions' -> Action = 'ok'.
    <   135.9944> 09:45:57.8689 [Skin] Processing screen 'VIXImageManager', position=(0, 0), size=(1920 x 1080) for module 'VIXImageManager'.
    <   136.0046> 09:45:57.8791 [Screen] Warning: Skin is missing element 'backupstatus' in <class 'Plugins.SystemPlugins.ViX.ImageManager.VIXImageManager'>.
    <   136.0078> 09:45:57.8823 [Skin] Processing screen 'SimpleSummary' from list 'VIXImageManagerSummary, ScreenSummary, VIXImageManager_summary, SimpleSummary', position=(0, 0), size=(800 x 480) for module 'ScreenSummary'.
    <   136.0086> 09:45:57.8831 [Screen] Showing screen '['VIXImageManagerSummary', 'ScreenSummary', 'VIXImageManager_summary', 'SimpleSummary']'.
    <   136.0089> 09:45:57.8834 [Screen] Showing screen 'VIXImageManager'.
    <   136.2801> 09:45:58.1547 [eInputDeviceInit] 0 160 (352) 1
    <   136.2802> 09:45:58.1547 [eRCDeviceInputDev] emit: 0
    <   136.2807> 09:45:58.1552 [InfoBarGenerics] Key: 352 (Break) KeyID='KEY_OK' Binding='('OK',)'.
    <   138.4310> 09:46:00.3055 [eInputDeviceInit] 1 190 (400) 1
    <   138.4310> 09:46:00.3056 [eRCDeviceInputDev] emit: 1
    <   138.4315> 09:46:00.3060 [InfoBarGenerics] Key: 400 (Make) KeyID='KEY_YELLOW' Binding='('YELLOW',)'.
    <   138.7670> 09:46:00.6415 [eInputDeviceInit] 0 190 (400) 1
    <   138.7671> 09:46:00.6416 [eRCDeviceInputDev] emit: 0
    <   138.7673> 09:46:00.6419 [InfoBarGenerics] Key: 400 (Break) KeyID='KEY_YELLOW' Binding='('YELLOW',)'.
    <   138.7675> 09:46:00.6420 [ActionMap] Keymap 'ColorActions' -> Action = 'yellow'.
    <   138.7708> 09:46:00.6454 [Skin] Processing screen 'MessageBoxSimple', position=(480, 532), size=(960 x 15) for module 'MessageBox'.
    <   138.7769> 09:46:00.6514 [Screen] Warning: Skin is missing element 'icon' in <class 'Screens.MessageBox.MessageBox'>(Do you want to change download url).
    <   138.7770> 09:46:00.6516 [Pixmap] setPixmapNum(0) failed! defined pixmaps: []
    <   138.7789> 09:46:00.6535 [Skin] Processing screen 'MessageBoxSimple_summary' from list 'MessageBoxSimpleSummary, ScreenSummary, MessageBoxSimple_summary, SimpleSummary', position=(0, 0), size=(800 x 480) for module 'ScreenSummary'.
    <   138.7803> 09:46:00.6548 [Screen] Showing screen '['MessageBoxSimpleSummary', 'ScreenSummary', 'MessageBoxSimple_summary', 'SimpleSummary']'.
    <   138.7807> 09:46:00.6552 [Screen] Showing screen '['MessageBoxSimple']'.
    <   140.3702> 09:46:02.2447 [eInputDeviceInit] 1 160 (352) 1
    <   140.3703> 09:46:02.2448 [eRCDeviceInputDev] emit: 1
    <   140.3707> 09:46:02.2453 [InfoBarGenerics] Key: 352 (Make) KeyID='KEY_OK' Binding='('OK',)'.
    <   140.3709> 09:46:02.2454 [ActionMap] Keymap 'MsgBoxActions' -> Action = 'ok'.
    <   140.3719> 09:46:02.2464 [Screen] Showing screen '['VIXImageManagerSummary', 'ScreenSummary', 'VIXImageManager_summary', 'SimpleSummary']'.
    <   140.3729> 09:46:02.2474 [Screen] Showing screen 'VIXImageManager'.
    <   140.4280> 09:46:02.3025 [ActionMap] Keymap(s) 'OkCancelActions, ColorActions, DirectionActions, KeyboardInputActions, MenuActions' -> Undefined action(s) 'downRepeated, upRepeated, rightRepeated, leftRepeated'.
    <   142.8145> 09:46:04.6890 [gRC] main thread is non-idle! display spinner!
    <   144.0609> 09:46:05.9354 Traceback (most recent call last):
    <   144.0609> 09:46:05.9354   File "/usr/lib/enigma2/python/mytest.py", line 239, in processDelay
    <   144.0612> 09:46:05.9357     callback(*retval)
    <   144.0613> 09:46:05.9358   File "/usr/lib/enigma2/python/Plugins/SystemPlugins/ViX/ImageManager.py", line 252, in doDownload2
    <   144.0615> 09:46:05.9360   File "/usr/lib/enigma2/python/mytest.py", line 324, in openWithCallback
    <   144.0617> 09:46:05.9362     dlg = self.open(screen, *arguments, **kwargs)
    <   144.0618> 09:46:05.9363   File "/usr/lib/enigma2/python/mytest.py", line 334, in open
    <   144.0620> 09:46:05.9365     dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
    <   144.0621> 09:46:05.9366   File "/usr/lib/enigma2/python/mytest.py", line 271, in instantiateDialog
    <   144.0622> 09:46:05.9368     return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
    <   144.0623> 09:46:05.9368   File "/usr/lib/enigma2/python/mytest.py", line 294, in doInstantiateDialog
    <   144.0625> 09:46:05.9370     dlg = screen(self, *arguments, **kwargs)
    <   144.0625> 09:46:05.9371   File "/usr/lib/enigma2/python/Plugins/SystemPlugins/ViX/ImageManager.py", line 1315, in __init__
    <   144.0627> 09:46:05.9372   File "/usr/lib/enigma2/python/Plugins/SystemPlugins/ViX/ImageManager.py", line 1358, in getImageDistro
    <   144.0628> 09:46:05.9373 NameError: global name 'e' is not defined
    <   144.0628> 09:46:05.9374 [ePyObject] (CallObject(<bound method Session.processDelay of <__main__.Session instance at 0xb1717530>>,()) failed)

  9. #24
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,382
    Thanks
    987
    Thanked 2,888 Times in 2,243 Posts
    different bug, catches the error - print (debug) line is in error - will fix it.
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> DUR-Line DCR 5-1-8-L4 Multiswitch to 1.5M dish(28.2E)
    ------------------> Spaun SUS 5581/33 NFA Multiswitch to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using Legacy ports on multiswitches
    Zgemma H9 C/S into Giga4K

  10. The Following User Says Thank You to twol For This Useful Post:

    ccs (13-10-20)

  11. #25
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,573
    Thanks
    2,004
    Thanked 4,924 Times in 3,259 Posts
    This is fixed.
    Help keep OpenViX servers online.Please donate!

  12. #26
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,335
    Thanks
    6,420
    Thanked 9,146 Times in 6,224 Posts
    Quote Originally Posted by Huevos View Post
    This is fixed.
    Still crashes for me with latest file that shows the archived versions.

    Blue > Vix > Image Manager > Disconnect Ethernet cable > Yellow > OK on Openvix
    Results in spinner then crash

    Code:
    <  3236.7305> 18:04:35.2518 [Screen] Showing screen '['MessageBoxSimpleSummary', 'ScreenSummary', 'MessageBoxSimple_summary', 'SimpleSummary']'.
    <  3236.7318> 18:04:35.2531 [Screen] Showing screen '['MessageBoxSimple']'.
    <  3237.7066> 18:04:36.2279 [eInputDeviceInit] 1 160 (352) 1
    <  3237.7066> 18:04:36.2280 [eRCDeviceInputDev] emit: 1
    <  3237.7075> 18:04:36.2289 [InfoBarGenerics] Key: 352 (Make) KeyID='KEY_OK' Binding='('OK',)'.
    <  3237.7080> 18:04:36.2294 [ActionMap] Keymap 'MsgBoxActions' -> Action = 'ok'.
    <  3237.7104> 18:04:36.2318 [Screen] Showing screen '['VIXImageManagerSummary', 'ScreenSummary', 'VIXImageManager_summary', 'SimpleSummary']'.
    <  3237.7143> 18:04:36.2356 [Screen] Showing screen 'VIXImageManager'.
    <  3237.9074> 18:04:36.4287 [ActionMap] Keymap(s) 'OkCancelActions, ColorActions, DirectionActions, KeyboardInputActions, MenuActions' -> Undefined action(s) 'downRepeated, upRepeated, rightRepeated, leftRepeated'.
    <  3240.7479> 18:04:39.2693 [gRC] main thread is non-idle! display spinner!
    <  3253.2096> 18:04:51.7309 Traceback (most recent call last):
    <  3253.2097> 18:04:51.7310   File "/usr/lib/enigma2/python/mytest.py", line 239, in processDelay
    <  3253.2102> 18:04:51.7315     callback(*retval)
    <  3253.2103> 18:04:51.7317   File "/usr/lib/enigma2/python/Plugins/SystemPlugins/ViX/ImageManager.py", line 252, in doDownload2
    <  3253.2109> 18:04:51.7322     self.session.openWithCallback(self.refreshList, ImageManagerDownload, self.BackupDirectory, self.urlDistro)
    <  3253.2110> 18:04:51.7324   File "/usr/lib/enigma2/python/mytest.py", line 324, in openWithCallback
    <  3253.2116> 18:04:51.7329     dlg = self.open(screen, *arguments, **kwargs)
    <  3253.2117> 18:04:51.7330   File "/usr/lib/enigma2/python/mytest.py", line 334, in open
    <  3253.2122> 18:04:51.7336     dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
    <  3253.2123> 18:04:51.7337   File "/usr/lib/enigma2/python/mytest.py", line 271, in instantiateDialog
    <  3253.2128> 18:04:51.7341     return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
    <  3253.2129> 18:04:51.7342   File "/usr/lib/enigma2/python/mytest.py", line 294, in doInstantiateDialog
    <  3253.2134> 18:04:51.7347     dlg = screen(self, *arguments, **kwargs)
    <  3253.2135> 18:04:51.7348   File "/usr/lib/enigma2/python/Plugins/SystemPlugins/ViX/ImageManager.py", line 1315, in __init__
    <  3253.2157> 18:04:51.7370     self.getImageDistro()
    <  3253.2158> 18:04:51.7371   File "/usr/lib/enigma2/python/Plugins/SystemPlugins/ViX/ImageManager.py", line 1357, in getImageDistro
    <  3253.2182> 18:04:51.7396     except (urllib2.HTTPError, urllib2.URLError) as e:
    <  3253.2184> 18:04:51.7398 NameError: global name 'urllib2' is not defined
    <  3253.2186> 18:04:51.7399 [ePyObject] (CallObject(<bound method Session.processDelay of <__main__.Session instance at 0x718e6d00>>,()) failed)

  13. The Following User Says Thank You to abu baniaz For This Useful Post:

    Andy_Hazza (14-10-20)

  14. #27
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,276 Times in 1,089 Posts
    Latest commit now works ok for ViX, but crashes when selecting PLi or ATV...

    Code:
    https://github.com/OpenViX/vix-core/commit/e2f0b431140b37b98a0ac1b2cb24eeb4b7b865df
    Code:
    <   388.7489> 09:51:47.2098 [InfoBarGenerics] Key: 352 (Make) KeyID='KEY_OK' Binding='('OK',)'.
    <   388.7491> 09:51:47.2100 [ActionMap] Keymap 'MsgBoxActions' -> Action = 'ok'.
    <   388.7500> 09:51:47.2109 [Screen] Showing screen '['VIXImageManagerSummary', 'ScreenSummary', 'VIXImageManager_summary', 'SimpleSummary']'.
    <   388.7510> 09:51:47.2119 [Screen] Showing screen 'VIXImageManager'.
    <   388.8102> 09:51:47.2711 [ActionMap] Keymap(s) 'OkCancelActions, ColorActions, DirectionActions, KeyboardInputActions, MenuActions' -> Undefined action(s) 'downRepeated, upRepeated, rightRepeated, leftRepeated'.
    <   392.3636> 09:51:50.8245 Traceback (most recent call last):
    <   392.3636> 09:51:50.8245   File "/usr/lib/enigma2/python/mytest.py", line 239, in processDelay
    <   392.3638> 09:51:50.8247     callback(*retval)
    <   392.3639> 09:51:50.8248   File "/usr/lib/enigma2/python/Plugins/SystemPlugins/ViX/ImageManager.py", line 252, in doDownload2
    <   392.3642> 09:51:50.8251     self.session.openWithCallback(self.refreshList, ImageManagerDownload, self.BackupDirectory, self.urlDistro)
    <   392.3642> 09:51:50.8251   File "/usr/lib/enigma2/python/mytest.py", line 324, in openWithCallback
    <   392.3645> 09:51:50.8254     dlg = self.open(screen, *arguments, **kwargs)
    <   392.3645> 09:51:50.8254   File "/usr/lib/enigma2/python/mytest.py", line 334, in open
    <   392.3647> 09:51:50.8256     dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
    <   392.3648> 09:51:50.8257   File "/usr/lib/enigma2/python/mytest.py", line 271, in instantiateDialog
    <   392.3650> 09:51:50.8259     return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
    <   392.3650> 09:51:50.8259   File "/usr/lib/enigma2/python/mytest.py", line 294, in doInstantiateDialog
    <   392.3652> 09:51:50.8261     dlg = screen(self, *arguments, **kwargs)
    <   392.3653> 09:51:50.8262   File "/usr/lib/enigma2/python/Plugins/SystemPlugins/ViX/ImageManager.py", line 1315, in __init__
    <   392.3663> 09:51:50.8272     self.getImageDistro()
    <   392.3664> 09:51:50.8273   File "/usr/lib/enigma2/python/Plugins/SystemPlugins/ViX/ImageManager.py", line 1384, in getImageDistro
    <   392.3674> 09:51:50.8283     print "[ImageManager] OpenPli/OpenATV no model: %s in downloads" % model
    <   392.3675> 09:51:50.8284 NameError: global name 'model' is not defined
    <   392.3676> 09:51:50.8285 [ePyObject] (CallObject(<bound method Session.processDelay of <__main__.Session instance at 0xb174a5f8>>,()) failed)
    Last edited by ccs; 15-10-20 at 10:20. Reason: typo

  15. #28
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,276 Times in 1,089 Posts
    Latest commit has fixed the last crash.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.