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
    80259
    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

      @Moe a workaround: omit the texture argument if you don't want a texture.

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

        BUG: ui.TableView does not respect either frame orflex attributes. Meaning, it never resizes if you do it programmatically. I haven't tried it another way. A work-around for those wondering:

        table = ui.TableView()
        table_pntr = ObjCInstance(table)
        table_pntr.frame = CGRect(CGPoint(0,0), CGSize(500,500))
        

        Also, can we get a PhysicsNode in the scene module?

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

          blmacbeth, the issue seems to be that these are not accepted in the constructor. However, setting .frame and .flex attributes after you create the TableView works fine.

          import ui
          v=ui.View(frame=([0,0,200,200]))
          t1=ui.TableView()
          t1.frame=(0,0,200,200)
          t1.flex='w'
          t2=ui.TableView()
          t2.frame=(0,250,300,300)
          v.add_subview(t1)
          v.add_subview(t2)
          v.present('panel')
          
          1 Reply Last reply Reply Quote 0
          • JonB
            JonB last edited by

            I have noticed that sys.lath no longer contains . or Documents.
            I thought in 160032 this was changed to

            • Changed the order of sys.path once more, so that files in the main documents folder can't shadow standard library modules anymore. Imports from the current directory should also work again.
              which I think had documents and '.' just at the end...
            1 Reply Last reply Reply Quote 0
            • omz
              omz last edited by

              @JonB The directory of the current script is still in sys.path, just as an absolute path instead of .. I don't remember the details right now, but there were some subtle problems with having . in sys.path.

              I think Documents used to be in the import path, but I don't really think it should be there. That's what site-packages is for.

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

                There's still that bug in syntax highlighting where if you have multiple same-line imports (import ui, os) only the first module will be correctly highlighted.

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

                  @omz
                  Oh, I see, the starting path of a script is added to sys.path as an absolute path, but not in the interactive console, and not when using chdir. That leads to a confusing situation where imports work when running a script, but not when pasting the same line by line.

                  There is something else strange happening with from . import xxx package imports, but not sure if it is related. Gittle imports did not work from . import path (complained about path, perhaps there is a conflicting path.py?). Strangley this woed wh gittle was in site-packages, but not whn it was in stash/lib ( and that path was on sys.path). I will need to experimt with this a bit.

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

                    The current beta expires in 21 hours.

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

                      13 hours now... Getting down to the wire
                      While it would be interesting to see what happens when the beta expires. I really prefer not to find out 😰

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

                        I've found the best way to contact @omz directly is through Twitter. The new beta is "processing" https://twitter.com/1defenestrator/status/670962735560134656

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

                          @Webmaster4o , thanks, I am not stressing about it. Just a bit of fun. If it goes off online for a day, will give me time to reflect 🤕😃

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

                            I've uploaded a new build a couple of hours ago. It's still "processing" unfortunately (always a bit unpredictable how long that takes). If the current build expires before the new one is ready, you'll get a "beta expired" alert when trying to launch it, but it won't disappear from your device or anything like that. You might still want to make a backup of your files.

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

                              Just wanted to report - 15 hours since your post and the beta is expired but the new one hasn't shown up yet.

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

                                It's there now.
                                Woke up to find the 037 beta waiting in TestFlight!

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

                                  updated this thread for latest build.

                                  Can anyone on ios8 using a 32 bit device check if the extension works? i.e safari share sheet, does clicking Run Pythonista Scropt do anything? this is the second build for me where it does not.

                                  1 Reply Last reply Reply Quote 2
                                  • Tizzy
                                    Tizzy last edited by

                                    @omz just curious do you archive/export the bundle and then upload or do you upload through the archive manager in Xcode?

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

                                      With the built in traceback viewer, IndentationError (expected an indented block) does not highlight the line number in the editor. This is strange, as IndentationError is a subclass of SyntaxError, which does highlight the offending line.

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

                                        @JonB said:

                                        Can anyone on ios8 using a 32 bit device check if the extension works? i.e safari share sheet, does clicking Run Pythonista Scropt do anything? this is the second build for me where it does not.

                                        Thanks, I just tested it on an iPad mini with iOS 8, and it doesn't work here either. I'm looking into it, not sure yet what to make of the crash log.

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

                                          @JonB Turns out I had accidentally left some testing code there that was using ReplayKit (iOS 9 only).

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

                                            Not sure if this one is new or now, but the editor seems to be stripping of trailing newlines from files. I have not completely confirmed this yet, or whether it is a dulwich thing, or an editor thing, but my git is showing any file i open gets the final newline removed.

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