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.


    Request for an App

    Pythonista
    9
    88
    45604
    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.
    • ihf
      ihf @Lesternixon last edited by

      @Lesternixon Thanks. @jonb wrote a fantastic script that does exactly what I wanted. Unfortunately with the new release of Pythonista it fails due to a problem with the image module. Hopefully this will get fixed at some point.

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

        @ihf Perhaps I did not update the @JonB module for years but I tried with new Pythonista beta (340007) and it works

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

          @cvp That's interesting. I have many versions. Does the version you tested allow you to select an image from your photo library or is it using a fixed file name? The reason I ask is that most of the versions I have allow that selection (it was added early on in the development), and that particular function for selecting an image appears still to be broken in the latest data. (https://forum.omz-software.com/topic/7935/photos-pick_image-throws-error/1)

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

            @ihf It was floorplanarea.py , not RoomAreaFinder, and yes, it uses a fixed image, no picking

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

              @cvp Can you please send me that version? When I tried changing my version of floorplanarea.py to use a specific file, it gets an error. pick.image remains broken but if the version you have that works is a recent version in terms of features, I could use that for now.

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

                This one?

                https://raw.githubusercontent.com/jsbain/RoomAreaFinder/master/floorplanarea.py

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

                  @ccc No, I have that one. That's the one that won't run on the v3.4beta (it tries to pick the image) and if I change it to use a stored file it gets an error on line 63.

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

                    @ihf old floorplanarea

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

                      @cvp I tried running that and it gives an error about RoomOverlay.touch_moved n() takes 2 positional arguments if you touch the image. I have the most recent version of the script and if I remove the image picker to avoid the bug in the beta I get other errors that must also be beta (or just new version) related.

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

                        @ihf Weird. I don't have any problem. Perhaps due it uses also an old Gestures module, in the same folder.

                        Gestures checked, same as in old Gestures

                        Did you restart Pythonista ?

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

                          @cvp yes, many times. If it works for you, perhaps I have some bad module here somewhere.

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

                            @ihf If you use "my" old FloorPlanArea.py and if you did not change it 😉, be sure you also use the Gestures.py of @jonB in the same folder, to avoid using another Gestures module, for example, of @mikael, they could have different parameters.

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