Forum Archive

scene_drawing.text() crashes Python3 beta

ccc

Works in Python2 but crashes Python3. Is the recommendation here to move beyond the Classic Render Loop in P3?

import scene, scene_drawing

class P3CrashingScene(scene.Scene):
    def draw(self):
        x, y = self.size / 2
        scene_drawing.text('Python3', x=x, y=y)

scene.run(P3CrashingScene())
omz

Hmm, I can't reproduce the crash right now. Could you do me a favor, and test this again in the next beta?

JonB

I can confirm in 300005 on Ipad3.

omz

@ccc Now that @JonB mentions the iPad 3, I was wondering if you're also using a 32-bit device? That might have to do with it...

ccc

Crashes on both:

  • Pythonista version 3.0 (300005) on iOS 9.2.1 on a 64-bit iPad5,4 with a screen size of (1024 x 768) * 2
  • Pythonista version 3.0 (300005) on iOS 9.2.1 on a 32-bit iPad3,4 with a screen size of (1024 x 768) * 2