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.


    Accessing iCloud folder = File not Found

    Pythonista
    url scheme icloud
    3
    5
    3602
    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.
    • pyfonista
      pyfonista last edited by pyfonista

      Hi,
      I'm running a script in iOS terminal using the following command:

      uiopen pythonista://top_stories/top_stories?action=run&root=icloud
      

      Pythonista opens and says this error message:

      Not Found
      The file 'top_stories/top_stories' could not be found'
      

      The script I want to run is located here within Pythonista:

       iCloud/top_stories/top_stories.py
      

      It also doesn't work if I move top_stories.py to iCloud root folder:

      uiopen pythonista://top_stories?action=run&root=icloud
      
      

      My iCloud folder on my phone:
      https://i.imgur.com/ggJQsCwm.jpg

      I'm not sure why my script is not being found. I'm launching Pythonista from a terminal application (jailbroken).
      Any ideas?

      (local storage works, just not iCloud, how come?)

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

        @pyfonista try with .py

        pythonista://top_stories/top_stories.py?root=icloud&action=run
        

        .py needed in the new version, not in the old one, don't ask me why 😀

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

          uiopen pythonista://top_stories.py?action=run&root=icloud
          
          
          'Not Found
          The file 'top_stories.py' could not be found'
          

          iCloud folder structure:
          https://i.imgur.com/ggJQsCwm.jpg

          I'm still lost!

          edit:

          If I run the command this way around:

          uiopen pythonista://top_stories.py?root=icloud&action=run
          

          It opens the top_stories.py for editing but does not run it.

          Maybe Actviator.app is not parsing the '&' character correctly (I'm trying to launch Pythonista from Activator.app -> run command)

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

            Try pasting the link into safari to see if it is an app activator issue..

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

              @pyfonista just an idea, probably silly, try %26 instead &

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