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.


    Bug list for beta release 160037

    Pythonista
    160036 beta 160037 bug 2.0
    19
    86
    80257
    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.
    • Olaf
      Olaf last edited by

      Though path is an optional argument to scene.ShapeNode(…), omitting it causes an attribute error because None has no line_width. Probably should be optionally assigned in line 287 of module scene:

      if path is not None:
          self.line_width = path.line_width
      

      The workaround is to use an empty path in scene.ShapeNode(path=ui.Path()).

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

        Or start scene.ShapeNode.__init__() with path = path or ui.Path()

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

          While

          import scene
          v=scene.Vector2(3,4)
          print(v/2)
          

          works as advertised, adding

          from __future__ import division
          

          yields a type error (unsupported operand types). See operator.__truediv__ why this is so.
          The workaround is to multiply (print(v*(1/2))), but obviously scene.Vector2.__truediv__ = scene.Vector2.__div__ would be much preferred.

          1 Reply Last reply Reply Quote 0
          • Olaf
            Olaf @ccc last edited by Olaf

            @ccc, your code works well, but what I didn't explain before is that I want to create a ShapeNode without an initial path, and set the path later. Creating a dummy path at initiation works, but seems wasteful. Also took me some time to figure out, why my code wouldn't work

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

              Documentation Error
              @omz, the Rect.inset api text appears to be wrong. The Rect param to pass in is not listed, omitted.
              Is
              Rect.inset(top, left[, bottom, right])
              Think it should be
              Rect.inset(other_rect , top, left[, bottom, right])

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

                @Phuket2 The inset method doesn't have an other_rect parameter (and I'm not sure what you'd expect it to do, maybe there's a misunderstanding about what the method does?).

                Phuket2 1 Reply Last reply Reply Quote 2
                • dgelessus
                  dgelessus last edited by

                  Maybe inset is a normal method that you should call on a Rect instance (like a_rect.inset(...)), and you're trying to call it as a static method (like Rect.inset(a_rect, ...)).

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

                    @omz , yes I see now. Title should have said brain error. Too much alcohol of Christmas and new year. Oh, well sorry.
                    @dgelessus , you are right. I was not calling on an instance as I should have been 🤐 I am going to go and crawl under a rock now. With a whisky of course 😱

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

                      One documentation bug is that under documentation for the string module as well as for the built-in-type str, after all methods being listed, they are all listed again under deprecated methods, with only the actually deprecated methods having badges as such.

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

                        @JonB
                        in 2.0: (starting to update the running list as these are tested in 2.0)
                        * Deleting editor actions (from wrench) crashes pythonista in ios8.4.1 on ipad3.
                        * Copying from console does not work reliably if keyboard is shown (copy option is not shown, only paste. Can always be reproduced if opening s single wuote in console input, then trying to copy console output, but occurs in other situations as well)

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

                          • In console prompt, if tapping an autocorrect prompt, it replaces your entire text
                          • On the extended keyboard on iPad, long pressing on a key in the top row will show a pop up, but this popup is invisible for the bottom row.
                          1 Reply Last reply Reply Quote 0
                          • JonB
                            JonB last edited by

                            The link to the forums in 2.0 seems to be broken. it points to
                            http://omz-software.com/pythonista/forums
                            which returns an object not found error.

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

                              @JonB The link you just posted redirects to https://forum.omz-software.com/category/5/pythonista for me.

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

                                @Webmaster4o I fixed the redirect after @JonB mentioned it. Thanks!

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

                                  editor actions: the additional script arguments does not seem to work anymore. Nothing is sent, and editing the action again shows a blank for that field.

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

                                    The builtin paramiko (version 1.13) has a bug which makes it incompatible with OpenSSH 6.7+. The error message is paramiko incompatible ssh peer. This happened when I tried to connect to my laptop running OSX 10.11.

                                    Apparently paramiko 1.15 and up fixed this bug. I tested it by manually install v1.16 and it worked.

                                    Also @JonB , maybe change the title to 2.0 instead of beta 160037?

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

                                      The UI editor improperly fills out image path, nor does it display button images
                                      The UI editor does not display the pop up "context menu" (delete/copy/subviews) unless an item is moved. (ipad3 ios8.4)

                                      1 Reply Last reply Reply Quote 2
                                      • Hilletty
                                        Hilletty Banned last edited by Hilletty

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • Webmaster4o
                                          Webmaster4o last edited by

                                          @omz @Hilletty someone needs banning…

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

                                            @Webmaster4o Under the three dots menu on each post there is an option "Flag this post for moderation", that's how I report spam posts at least. @omz Are you notified by the "flag" option, or is it better to mention you as well?

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