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.


    jedi runtime errors

    Pythonista
    2
    4
    1895
    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.
    • JonB
      JonB last edited by

      i have been getting the following in the latest beta, when dealing with matplotlib and numpy:

      /private/var/mobile/Containers/Bundle/Application/A06FE884-781E-49E6-8CD7-AF67B4583537/Pythonista.app/pylib/site-packages/jedi/parser/tree.py:126: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
        if classes and reverse != scope.isinstance(*classes):
      

      i think previously this would have just crashed pythonista (in the previous beta, typing many matplotlib/numpy expression often resulted in a hard crash).

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

        Yes, I've seen some crashes with this as well, and I've tried to fix them in the latest build.

        Question: Where do you see those error messages? Do they show up in the console while you're typing? Or when running the script afterwards?

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

          Okay, I think I've been able to reproduce this now. I guess it looks similar to this?

          Screenshot

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

            i have mainly seen this while typing in the editor, when i switch to console i see it. it doesnt steal focus or cause other issues, so is not that serious.

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