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.


    Crash when running image view code

    Pythonista
    3
    4
    1828
    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.
    • kelseik
      kelseik last edited by kelseik

      import ui
      
      v = ui.View()
          
      img_view = ui.ImageView(frame=(0, 0, 94.75, 94.75))
          
      img_view.load_from_url('http://img04.sogoucdn.com/app/a/200678/c05334d63dfad90470f64f2f3e0abd91.png')
      v.add_subview(img_view)
      
      v.present('fullscreen') ```
      
      Hi, Pythonista 3.3 Crash when [walmartone](https://walmartone.me/) running this code a second time (normal for the first time).any ideas?Thanks!
      cvp 1 Reply Last reply Reply Quote 0
      • omz
        omz last edited by

        @kelseik This looks like a bug in Pythonista, I'll investigate. Thanks!

        1 Reply Last reply Reply Quote 0
        • cvp
          cvp @kelseik last edited by

          @kelseik seems to be duplicate topic and workaround here

          1 Reply Last reply Reply Quote 1
          • kelseik
            kelseik last edited by kelseik

            Thanks for the reply.

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