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.


    new file/project couldn't be created

    Pythonista
    3
    66
    19465
    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 @pavlinb last edited by cvp

      @pavlinb Oups. I suppose you will say on Settings/Général/iDevice storage/Pythonista

      I also play, for you, with mlmodels and my storage was up to 5,44GB (normal is 3).
      Remove app from memory, not reinstall, wait 10min and storage 4,6G

      10min later: 3,7 GB

      No explanation

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

        Does waiting solve the crashing?

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

          May be we have a way to delete junk programmatically from Pythonista?

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

            @pavlinb no idea at all

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

              Something I had never remarked before, in Settings/Général/IPad Storage,
              Pythonista: 4,4 GB
              If I tap, documents and data: 3,7GB
              At return, it displays 1,43GB during a second
              But I really have 2,13GB of personal files.

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

                And 2,13 + 1,43 = 3,7 (almost)
                Perhaps are these 1,43GB junk, or perhaps due to beta version?

                Could people using or not the beta version check if the setting also shows a different storage during one second when returning from documents and data?

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

                  I uninstalled beta, but the problem remains.

                  I'm using iPhone8.

                  Actually my problem is that Pythonista crashes, not the amount of data itself.

                  I just thought they are connected.

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

                    @pavlinb crash with any script?

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

                      Only with those, which require reading/writing to file system.

                      At the same time I can't edit and save existing projects.

                      And can't create new projects.

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

                        @pavlinb and you have still free space?

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

                          Yes, I have about 30GB free in iPhone storage.

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

                            @pavlinb and between reinstall and crash, what did you do?

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

                              You mean what I do with Pythonista?

                              I played with coreML OCR from your example.

                              Before I have used Pythonista every day for small things and I haven't got any isues.

                              Probably Vision and coreML frameworks generates a lot of junk
                              , who knows...

                              I'll try to find a way to clean data programmatically.

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

                                @pavlinb if you reinstall, could you install the pythonista startup of @dgelessus , that could help to find the crash reason

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

                                  And post here the exact script you use

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

                                    Sure, I'll post details.

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

                                      Settings/Général/storage today 3,77GB instead of 4,14
                                      without removing anything...

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

                                        The content of fault log:

                                        Fatal Python error: Aborted

                                        Current thread 0x000000016df9b000 (most recent call first):
                                        File "/var/containers/Bundle/Application/0D357A4D-0366-4446-8E8F-34E0CF0C4E41/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/site-packages/objc_util.py", line 772 in call
                                        File "/private/var/mobile/Containers/Shared/AppGroup/788B3F26-6E63-4760-B7CD-1B8879F98443/Pythonista3/Documents/MyPython/visionOCR_4.py", line 49 in load_model
                                        File "/private/var/mobile/Containers/Shared/AppGroup/788B3F26-6E63-4760-B7CD-1B8879F98443/Pythonista3/Documents/MyPython/visionOCR_4.py", line 57 in _classify_img_data
                                        File "/private/var/mobile/Containers/Shared/AppGroup/788B3F26-6E63-4760-B7CD-1B8879F98443/Pythonista3/Documents/MyPython/visionOCR_4.py", line 75 in classify_image
                                        File "/private/var/mobile/Containers/Shared/AppGroup/788B3F26-6E63-4760-B7CD-1B8879F98443/Pythonista3/Documents/MyPython/visionOCR_4.py", line 139 in classify_asset
                                        File "/private/var/mobile/Containers/Shared/AppGroup/788B3F26-6E63-4760-B7CD-1B8879F98443/Pythonista3/Documents/MyPython/visionOCR_4.py", line 155 in main
                                        File "/private/var/mobile/Containers/Shared/AppGroup/788B3F26-6E63-4760-B7CD-1B8879F98443/Pythonista3/Documents/MyPython/visionOCR_4.py", line 158 in <module>

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

                                          Code at line 49:

                                          ml_model = MLModel.modelWithContentsOfURL_error_(c_model_url, None)

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

                                            Before crash Documents & Data iPhone storage was about 150MB.
                                            After crashing - 3GB.

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