View Full Version : [SF8008] Crash when pressing number 7 in GridEPG
As per the title, clean install with no settings backup, ViX crashes if 7 on the keypad is pressed whilst viewing the gridEPG.
62771
62772
... me too, just 7, no other numbers do it.
self.instance.resize(eSize(self.listWidth, self.listHeight / self.itemHeight * self.itemHeight))In Python 3 that second term (whatever it is actualy meant to be - "a / b * b" isn't clear, parentheses woudl help to confirm that) produces a real number, not an int.
self.instance.resize(eSize(self.listWidth, int(self.listHeight / self.itemHeight * self.itemHeight)))probably fixes it...
Which it does. Although the actual equivalent of running this under Python2 is to use // in place of /, rather than using int(). So I'll set up a PR for that instead.
https://github.com/OpenViX/enigma2/pull/723
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.