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.
Page 4 of 8 FirstFirst ... 23456 ... LastLast
Results 46 to 60 of 106

Thread: VPS geht nicht

  1. #46

    Title
    Senior Member
    Join Date
    Mar 2017
    Posts
    211
    Thanks
    91
    Thanked 20 Times in 18 Posts
    Quote Originally Posted by birdman View Post
    But it's of no use to me as I can't see how what is being described could have worked with the current code, or with the code I can see that was around for 5.3.

    Is (was) there another VPS plugin somewhere?
    I'll restore my image and tell you in 10 mins

  2. #47

    Title
    Senior Member
    Join Date
    Mar 2017
    Posts
    211
    Thanks
    91
    Thanked 20 Times in 18 Posts
    Solo4k OpenViX 5.3.039 (2020-07-19)
    enigma2-plugin-systemplugins-vps (5.3+git6850+5bbb4eb-r0)
    systemplugins-vps

  3. #48
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,807
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    The is a PartnerBox plugin which enables VPS in timers.
    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

  4. #49
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,807
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    The VPS plugin does intercept the TimerEntry createSetup() call.

    Which is (presumably) why it shows up when editing a Timer set up by an AutoTimer.

    So the question is why it doesn't show up for a stand-alone Timer.

    I'm looking now....

    Looks as though the code change that led to the boot loop (not the fix...) might have changed something.
    < 8882.2884> 18:55:55.5307 ('[VPS-Plugin] VPS-plugin error:', AttributeError("'TimerEntry' object has no attribute 'session'",))
    < 8882.2886> 18:55:55.5309 Traceback (most recent call last):
    < 8882.2888> 18:55:55.5311 File "/usr/lib/enigma2/python/Plugins/SystemPlugins/vps/Modifications.py", line 152, in new_TimerEntry_createConfig
    < 8882.2899> 18:55:55.5322 elif config.plugins.vps.vps_default.value != "no" and self.timer.eit is not None and self.timer.name != "" and self.timer not in self.session.nav.RecordTimer.timer_list and self.timer not in self.session.nav.RecordTimer.processed_timers:
    < 8882.2902> 18:55:55.5326 AttributeError: 'TimerEntry' object has no attribute 'session'
    PS: This looks like progress.
    Last edited by birdman; 18-02-21 at 20:14.
    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

  5. The Following 3 Users Say Thank You to birdman For This Useful Post:

    abu baniaz (18-02-21),goRt (18-02-21),ronand (18-02-21)

  6. #50
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,807
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    I might have a (1-line) solution.

    Just have to ask a question of the author(s) of that change.
    Last edited by birdman; 18-02-21 at 20:38.
    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

  7. #51
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,671
    Thanks
    2,009
    Thanked 4,964 Times in 3,280 Posts
    Which change?
    Help keep OpenViX servers online.Please donate!

  8. #52
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,807
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by Huevos View Post
    Which change?
    Code:
    https://github.com/OpenViX/enigma2/commit/04f7701db4b5f42c393029119be905be97acb49a#diff-cb3c1e4116eb33ab0259981c4e00e40397eb470ef158671ddc07189fd5fd0645
    The question is in the comments.
    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

  9. #53
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,671
    Thanks
    2,009
    Thanked 4,964 Times in 3,280 Posts
    Have you tried adding "self.session = session" in the __init__() to see if it fixes the problem?
    Help keep OpenViX servers online.Please donate!

  10. #54
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,807
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by Huevos View Post
    Have you tried adding "self.session = session" in the __init__() to see if it fixes the problem?
    Yes, as I noted in the comments section to the PR.

    I need to know whether there was a good reason that the session parameter was ignored or if it was just an oversight.
    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

  11. #55
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,671
    Thanks
    2,009
    Thanked 4,964 Times in 3,280 Posts
    I sent him a message.
    Help keep OpenViX servers online.Please donate!

  12. The Following User Says Thank You to Huevos For This Useful Post:

    birdman (19-02-21)

  13. #56
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,671
    Thanks
    2,009
    Thanked 4,964 Times in 3,280 Posts
    Gordon, where in the VPS code is TimerEntry ever instantiated?
    Help keep OpenViX servers online.Please donate!

  14. #57
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,807
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Weird.
    Having got that traceback report I've changed something somewhere (in my VPS config?) and it has gone away.

    EDIT: It's back. So there ARE two issues.

    I now get another one - which may be the "real" problem:

    < 3774.5392> 23:53:38.8733 Traceback (most recent call last):
    < 3774.5394> 23:53:38.8735 File "/usr/lib/enigma2/python/Plugins/SystemPlugins/vps/Modifications.py", line 200, in new_TimerEntry_createSetup
    < 3774.5397> 23:53:38.8738 self.timerVps_enabled_Entry = getConfigListEntry(_("Enable VPS"), self.timerentry_vpsplugin_enabled)
    < 3774.5399> 23:53:38.8740 AttributeError: 'TimerEntry' object has no attribute 'timerentry_vpsplugin_enabled'
    (although given my ability to find real bugs in the wrong places, it might not be).
    Last edited by birdman; 19-02-21 at 01:07.
    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

  15. #58
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,807
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by birdman View Post
    EDIT: It's back. So there ARE two issues.
    If VPS is enabled (== not No) you get both failures.
    If it is off you only get the second.
    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

  16. #59
    Joe_90's Avatar
    Title
    Moderator
    Join Date
    Mar 2014
    Location
    Wicklow, Ireland
    Posts
    4,116
    Thanks
    1,278
    Thanked 1,123 Times in 885 Posts
    Everything to do with the settings in the VPS plugin cause issues elsewhere. Try turning on the "wake from standby" setting (I'm paraphrasing as I don't have a device active) in the VPS config menu. When the device boots it doesn't go into standby; it activates a tuner and leaves it active. My normal PowerTimer settings to deep shut down the box if it is 20 minutes in standby won't work as the box remains active. In order to get unattended recordings to work I leave the "wake from standby" setting off in the VPS config and just let the normal timer settings wake the box from deep standby.
    GB Quad Plus, Mut@nt HD51, AX HD61, 80cm dish and Supreme Dark motor. Sony STR-DN 1060, Sony UHP-H1 Bluray, Odroid N2+ (CoreElec), Monitor Audio Bronze 5.1 speakers

  17. #60
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,807
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by fat-tony View Post
    Everything to do with the settings in the VPS plugin cause issues elsewhere.
    There are current issues with the code, so don't be surprised that there are other problems.
    Try turning on the "wake from standby" setting (I'm paraphrasing as I don't have a device active) in the VPS config menu. When the device boots it doesn't go into standby;
    The same can be true about running a recording. Some (many/most/all) boxes do not know why they have woken up and have to make a guess. It can be wrong.

    My normal PowerTimer settings to deep shut down the box if it is 20 minutes in standby won't work as the box remains active.
    No idea what this is meant to be doing. Let's solve the problems one at a time.

    In order to get unattended recordings to work I leave the "wake from standby" setting off in the VPS config and just let the normal timer settings wake the box from deep standby.
    Unless you expect a programme to suddenly be brought forward, this strikes me as a sensible way to run anyway.
    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

Page 4 of 8 FirstFirst ... 23456 ... LastLast

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.