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.


    Beta problem: Canvas

    Pythonista
    4
    4
    2482
    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.
    • nixterrimus
      nixterrimus last edited by

      In the most recent beta, I'm seeing errors where canvas is not defined.

      This program:

      #Draw a red circle filling the entire canvas
      import canvas
      w = h = 512
      canvas.set_size(w, h)
      canvas.set_fill_color(1, 0, 0)
      canvas.fill_ellipse(0, 0, w, h)
      

      Causes an error "Import Error: No module named canvas". This program worked in production version.

      Do I need to do something different in the beta? Or is this a regression?

      1 Reply Last reply Reply Quote 2
      • tomkirn
        tomkirn last edited by

        Same here. Can't find canvas in Standard Library. Seems to be missing in action.

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

          Ditto. Not there.

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

            +1. I think it would help @omz if we used the 'beta' tag for all problems with the current or previous betas.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB Forums | Contributors