omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    scene_drawing.text() crashes Python3 beta

    Pythonista
    3
    5
    2671
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ccc
      ccc last edited by

      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())
      
      1 Reply Last reply Reply Quote 0
      • omz
        omz last edited by

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

        1 Reply Last reply Reply Quote 0
        • JonB
          JonB last edited by

          I can confirm in 300005 on Ipad3.

          1 Reply Last reply Reply Quote 0
          • omz
            omz last edited by

            @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...

            1 Reply Last reply Reply Quote 0
            • ccc
              ccc last edited by 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
              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB Forums | Contributors