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
    80267
    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.
    • Wizardofozzie
      Wizardofozzie last edited by

      Quick bug:

      • closing Pythonista or locking the iPad while watching a video (mp4) using Quick View does not stop the video (and audio) from playing
      • Importing ripemd160 module raises a NoneType not Callable when Pythonista modules (eg photos, dialogs, clipboard) have already been loaded, however ere is no such issue if the module is run first (Link to come)
      1 Reply Last reply Reply Quote 0
      • JonB
        JonB last edited by

        the built in modules come preloaded in the app library, not in docs. You can view these folders from the Standard Library in the file browser, or grab the name as you already did, then navigate there in stash. There is no direct way to get there from Documents, because of the way apple sandboxing works. Actually, we probsbly should open a pull request in stash to provide an environment variable to the library folder.

        as for ripemd160.... are you doing an from xxx import *? If so, you can often expect issues with namespace clashes. Also, if you aborted an import, that usually results in failure to import later, unless you restart pythonista. In the rare event that this is real, do
        import pdb; pdb.pm() to figure out what is trying to be called.

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

          @JonB said:

          the built in modules come preloaded in the app library, not in docs. You can view these folders from the Standard Library in the file browser, or grab the name as you already did, then navigate there in stash. There is no direct way to get there from Documents, because of the way apple sandboxing works. Actually, we probsbly should open a pull request in stash to provide an environment variable to the library folder.

          as for ripemd160.... are you doing an from xxx import *?

          Yep :)

          If so, you can often expect issues with namespace clashes. Also, if you aborted an import,

          Can you clarify this? Would

          try:
              from urllib import add_opener # python3
          except ImportError:
              from urllib2 import add_opener # python2
          

          trigger the error?

          that usually results in failure to import later, unless you restart pythonista. In the rare event that this is real, do
          import pdb; pdb.pm() to figure out what is trying to be called.

          @JonB said:

          the built in modules come preloaded in the app library, not in docs. You can view these folders from the Standard Library in the file browser, or grab the name as you already did, then navigate there in stash.

          Forgive me if this is a basic question, but how do I go about this? Ie how do I use stash to navigate to the Std Library directory?

          as for ripemd160.... are you doing an from xxx import *? If so, you can often expect issues with namespace clashes. Also, if you aborted an import, that usually results in failure to import later, unless you restart pythonista. In the rare event that this is real, do
          import pdb; pdb.pm() to figure out what is trying to be called.

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

            grab the name [ ... ] and navigate there in stash.

            Means type the following into stash:

            cd /var/mobile/Containers/Bundle/Application/C370CA19-1410-4DA3-975F-CBA563809E66/Pythonista.app/Frameworks/PythonistaKit.framework/pylib/site-packages/
            ls
            
            Wizardofozzie 1 Reply Last reply Reply Quote 1
            • JonB
              JonB @Wizardofozzie last edited by

              @simcity4242

              Also, if you aborted an import,
              I mean if you press the X button to abort a script in the middle of a long import, the subsequent import will generally fail in confusing ways.

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

                When clicking empty trash, the trash empties but Pythonista also crashes.

                iOS 9.0.2 - iPad 3

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

                  I could not reproduce this on ipad 3/ ios8

                  1 Reply Last reply Reply Quote 0
                  • georg.viehoever
                    georg.viehoever last edited by georg.viehoever

                    @techteej I Did see no problems on my ipad2 ios9.1
                    Georg

                    Phuket2 1 Reply Last reply Reply Quote 1
                    • Phuket2
                      Phuket2 @georg.viehoever last edited by

                      @georg.viehoever , where?if you look on the thread, you don't have an entry. So somehow, when you submitted it didn't work!

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

                        @georg-viehoever was referring to @techteej 's bug report on emptying the trash.

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

                          bug: View.touch_enabled cannot be changed.

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

                            inconsistency: View.present popover_location does not accept a ui.Point.

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

                              convert_point and convert_rect do not work properly with a None argument if the view is a sheet. not as bad as fullscreen, but there is an extra offset equal to the top left corner, as if that were being accounted for twice.

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

                                The files window ion an iPhone 6+ is not as wide as the screen. A stripe of the file screen shows on the right. I hope this is a bug. I'd rather have the full width of the screen to show longer file names.
                                iPhone screenshot

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

                                  @zencuke this is not a bug. It's more obvious on iPad, but it's a conscious UI choice.

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

                                    Missing documentation. The current process for adding an icon to execute an extensions script directly doesn't seem to be documented. I think the current documentation refers to an earlier process. I looked in "Pythonista Modules/appex - Using the Pythonista Sharing Extension" doc and .extensions/_Readme.md and didn't see it in either place.

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

                                      @Webmaster4o: Intentional or not I'm having difficulty understanding the value of this. The tiny view of the file on the right adds no useful functionality to the UI. It just takes away functionality from the file list window. The iPhone screen is small as it is. Squeezing it even more is a pain, especially for no benefit. It may mean something on the iPad but it looks like a bug on the iPhone. It is bad enough on the iPhone 6 plus. It must be even worse on smaller iPhones like the regular iPhone 6. The edit window gets a whole screen. The console and doc screens get to be full width but for some reason the file list has to be narrower? With no useful functionality in exchange? Makes no sense.

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

                                        Not sure if this is a bug or just not well documented. in the latest beta, wait_modal seems to stop any ui.in_background from getting executed until after the view is closed.

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

                                          @ccc said:

                                          grab the name [ ... ] and navigate there in stash.

                                          Means type the following into stash:

                                          cd /var/mobile/Containers/Bundle/Application/C370CA19-1410-4DA3-975F-CBA563809E66/Pythonista.app/Frameworks/PythonistaKit.framework/pylib/site-packages/
                                          ls
                                          

                                          😋
                                          I had no idea about this! Thx!

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

                                            I love the the possibilities offered by obcj_util. While exploring these, I ran into an error.

                                            I managed to end up with an ObjCInstanceMethod without method attribute, which (not surprisingly) makes Pythonista exit when called

                                            >>> f = ObjCClass('UIDevice').currentDevice().batteryMonitoringEnabled
                                            >>> f.encoding
                                            'B0@0:0'
                                            >>> f.method
                                            Traceback (most recent call last):
                                              File "<string>", line 1, in <module>
                                            AttributeError: 'ObjCInstanceMethod' object has no attribute 'method'
                                            >>> f()
                                            Bye bye
                                            

                                            I believe this is causes by the final if statement in ObjCInstanceMethod._ _ init _ _ in objc_util, which neither assigns self.method nor raises an exception in case self.encoding is True-ish.
                                            I guess this should be something like

                                            if method:
                                            	self.method = method
                                            	if not self.encoding:
                                            		self.encoding = method_getTypeEncoding(method)
                                            else:
                                            	raise AttributeError('No method found for selector "%s"' % (self.sel_name))
                                            

                                            Alternatively, ObjCInstanceMethod._ _ call _ _ could check.

                                            My details: iOS 9.1, iPad Air 2, Pythonista Beta 160036

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