Superb quality and spec AB-Com PULSe 4K SE. Crazy offer! Only £129! FREE UK DELIVERY! 4K UHD, Enigma 2, Multiboot 4 images & more!...
Superb quality and spec AB-Com PULSe 4K Rev II Twin Satellite tuner only £179! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

[SF8008] Crash when pressing number 7 in GridEPG

... me too, just 7, no other numbers do it.
 
Code:
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.
Code:
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.

Code:
https://github.com/OpenViX/enigma2/pull/723
 
Last edited:

OpenViX Feeds Status

Back
Top