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.


    Outliner with drag/drop reordering - part 2

    Pythonista
    9
    589
    180611
    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.
    • cvp
      cvp @ihf last edited by cvp

      @ihf Not sure I understand your question but I have solved I think to have a dictionary named Outlines at store level and dictionary contains pairs key=name value=data.

      Outline.py will stay the same but the 3 shortcuts need to be updated.

      First, Clean manually your outlines in your DataJar

      1. the shortcut to run only once Outlines 2042 Events to DataJar

      Run it and check your DataJar

      1. the shortcut to select an outline and display its content, even on Apple Watch

      Outlines as DataJar

      1. the shortcut executed by outline.py

      Clipboard_to_DataJar

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

        @cvp It works! Thank you!

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

          @ihf so i deserved my vacation 😀

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

            @cvp many times over :-)

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

              @ihf please note that I've been obliged to run DataJar on my iPhone to see the outlines on my watch. Not sure it will always be so

              Tell me when you want I comment/remove the code to store also the outlines as 2042 event

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

                @cvp I am using the latest version which is running the shortcut properly. I have an outline with a blank item at the end and if I try to delete it through the menu “delete with children” it hangs the program.

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

                  @ihf I just try the same without problem.

                  But, from last iOS update, I meet sometimes some hangs, even when starting the script.
                  Removing Pythonista from memory does not solve the problem but rebooting the iPad does the job.
                  Don't ask me why. I guess that without any Pythonista update, we will meet this kind of problem more frequently.

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

                    @ihf We have got a lot of crashes but never, as I remember, hangs. Is it reproducible after the reboot of the iDevice ?

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

                      @ihf said

                      I have an outline with a blank item at the end and if I try to delete it through the menu “delete with children” it hangs the program.

                      Did you retry after a reboot of the iPad?

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

                        @cvp It appears to be working now.

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

                          @ihf very quick post from my room in Italy: it works without any action or after a reboot?

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

                            @cvp I hope that you enjoyed (or are still enjoying) your vacation. Unfortunately, the script is freezing rather frequently now. I’m not even sure what a minimal failing case is. I thought it was when I tried to delete an empty last item but I have seen it freeze at other times as well. I know this is not what you wanted to hear.

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

                              @ihf two last days in vacation. As I said, I meet frequent freezings with Pythonista, even with other scripts or even at script start since last iOS update. Sincerely, I don't have any Idea how I could solve this kind of problems.

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

                                @ihf I'm back from vacation but I brought the Covid with me 😢, thus I'll need some time before I'm really back on the ScrollView version.

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

                                  @cvp said:

                                  @ihf I'm back from vacation but I brought the Covid with me 😢, thus I'll need some time before I'm really back on the ScrollView version.

                                  Get well soon @cvp

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

                                    @cvp i’m so sorry to hear that. I hope you have a very mild case. Best wishes for a speedy recovery.

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

                                      @ihf @DavinE thanks

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

                                        @ihf I'm still very tired due to the Covid and I can't concentrate enough to dive back into the ScrollView version of outline.py yet. And then, I see the new version 18.0 of Pyto arriving and I say to myself sadly that we will probably not see any new version of Pythonista while the young age of the developer of Pyto gives hope for a long future for her app. I wonder if it is worth spending more time modifying outline.py in Pythonista or should I decide to (try to) convert to Pyto, despite the fact that I know it will require a very major effort. Just thinking about it is already tiring me out. Could you give me your sincere opinion, thanks.

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

                                          @cvp Most importantly, get some rest! As to continuing with Pythonista or switching to Pyto, that is a tough call. As least to date my experience with Pyto has not been good. It fails more frequently than Pythonista. Of course, given some degree of continuing support there is hope that it will eventually be more reliable than Pythonista, which gets no support. I suppose if you are interested in making the transition to Pyto for your projects more generally, then Outline is a good way to do it since you already have the feature-set, logic, and most of the code. If you are asking whether I would like to continue using Outline for the foreseeable future, the answer is yes.

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

                                            @cvp After doing a delete with children the app freezes.

                                            cvp 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Powered by NodeBB Forums | Contributors