• Utsira

    Thank you for your answer @dgelessus , really interesting.

    posted in Pythonista read more
  • Utsira

    @omz thanks, it works now, that's awesome. I've used SceneKit quite a lot with Swift, but I'm still new to Python/ Pythonista. One question, how come you implement SCNVector3 as a Python class, rather than importing it with the other ObjC classes? Just trying to understand the implications of working with ObjC libraries in Pythonista. thanks.

    posted in Pythonista read more
  • Utsira

    Apologies for bumping a 2-year-old thread. When I try to run the above script in Python 3.5 I get an error at the map command saying:

    no Objective-C class named 'b'SCNView'' found

    Is this some 2.7 -> 3.5 issue? What is the extraneous 'b in the error message referring to?

    thanks in advance.

    posted in Pythonista read more
  • Utsira

    @ccc I've updated to the latest version of the script. This time I'm seeing a different error. I'm trying to send a .py file from Working Copy to Pythonista. Here's the traceback:

    Traceback (most recent call last):
    File "/private/var/mobile/Containers/Shared/AppGroup/FAB03D8A-5598-46CF-A26A-B76EE628E876/Pythonista3/Documents/read_from_working_copy_app.py", line 6, in <module>
    import appex, editor, os, shutil
    File "/var/containers/Bundle/Application/AE76B4C7-AEC5-4858-9A87-3F2F77424054/Pythonista3.app/Frameworks/PythonistaKit3.framework/pylib/site-packages/editor.py", line 5, in <module>
    raise NotImplementedError('Not available in app extension')
    NotImplementedError: Not available in app extension

    posted in Pythonista read more
  • Utsira

    @ccc I've not been able to get the script working. This is the end of the traceback:

    with open(src, 'rb') as fsrc:
    IsADirectoryError: [Errno 21] Is a directory: '/var/mobile/Containers/Shared/AppGroup/379D48B7-C511-4AF4-80DD-2A91B9CD9D2A/File Provider Storage/Pythonista-and-Working-Copy'

    I'm not an experienced Pythonista user though, so I might have installed the script incorrectly. I added it as a URL extension, is that correct? Do we need to put anything in the Arguments field in the Pythonista extension editor? Could someone describe the correct way to install the script?

    posted in Pythonista read more
  • Utsira

    @cook thanks for the heads up, I guess I'll transfer the files before deleting Pythonista 2

    posted in Pythonista read more
  • Utsira

    When I fire Pythonista 3 up I have a folder for "Pythonista 2 Documents". Have they been copied across to Pythonista 3 (or is this some kind of iOS8 open-in-place magic)? In other words, will those docs stay there if I delete Pythonista 2? How safe is it generally to delete Pythonista 2?

    posted in Pythonista read more
  • Utsira

    @smath I just submitted a pull request to your repo, just a couple of small changes. When I push/upload, the operation works, but when it switches back to Pythonista, a notification pops up saying that I have no such file in my library.

    posted in Pythonista read more
  • Utsira

    I'm a big fan of Working Copy (but only just getting started with Pythonista), having a full-featured Git client on iOS is wonderful I think, so I was delighted to discover this script.

    @ccc I'm still relatively new to Pythonista, but I've used Working Copy quite a bit for other projects, so I can answer some of these.

    1. Cloning from GitHub is very easy. The main URL of the GitHub repository you want to clone can act as an alias for the Git clone URL. Copy the URL from the safari address bar (the "copy" command in the action menu will do this), open Working Copy, navigate to the root if you aren't already there, hit "+" clone, it should detect that you have a GitHub URL in the clipboard, and a blue notification appears asking if you want to clone from that URL, tap the notification, then tap clone.

    for 2-5, I would use the buttons in this script. You can save the script to the Pythonista action menu, so that it is always easily within reach.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!