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.


    I'm stuck in a loop that crashes the app on startup every time. I suspect the solution is simple, but I don't know what it is. Please help.

    Pythonista
    6
    6
    2446
    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.
    • raoulalien
      raoulalien last edited by raoulalien

      I wrote a script that generated a text file consisting of 3 million random 10-letter strings, each on its own row. The file is about 30 mb. After the script finished, I was curious to look at the text file, so tapped it in browser to the left. But I guess such a long file was too much for Pythonista, and after 30-40 seconds of loading, the app crashed. whatsapp web

      But because the app crashed in the middle of loading that text file, now whenever I reopen the app, it starts where it left off, i.e., attempting to load that text file, so it crashes within 30 seconds every time. Unfortunately, I guess because all the app's resources are devoted to loading that massive file in memory, it doesn't respond when I try to open the browser and open any another file. 192.168.0.1

      As a result, ever since initially trying to open that text file, Pythonista has been stuck in a futile loop of trying to load it and then crashing, and I don't know how to close that file and stop the cycle. What can I do???

      Surely there's a way around this without deleting and reinstalling the app. If not, how can I access my scripts etc. to back them up before deleting the app?

      mikael 1 Reply Last reply Reply Quote 0
      • pulbrich
        pulbrich last edited by

        Try in system settings/Pythonista- launch in safe mode

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

          Can you open the Files app and find the large file? Then delete that file?

          1 Reply Last reply Reply Quote 0
          • mikael
            mikael @raoulalien last edited by

            @raoulalien, try opening pythonista:// in Safari. Should open a clean Pythonista.

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

              No way, I’ll try all solutions. Crash on startup

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

                In Safari, try opening the URL pythonista3://

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