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
-
@ihf About special characters, they are actually not supported: during the writing, the error occurs but the file is already created, thus length 0, thus error when reading it.
Your wishes become more and more complex
Todo:
- automatic text search in selected file after files search
- paste shared url
- support special characters
- paste a shared image but that needs to download the file and save it locally as other images
-
Read carefully limitations about special characters and shared images
Version V00.93 - support shared url - support special characters nb: if characters still generate an error, they are automatically replaced by correct ones, using errors="surrogateescape" in open (see Python doc) - support shared image nb: - image added as medium, left - image stored as IMG_paste_yyyymmdd_hhmmss.JPG in current path - tested with photo shared (program receives an image) - safari shares images via their url, not the image it-self - if url ends with .jpg, .jpeg, program downloads the file and process as a shared image
we will soon be celebrating the 6000th line of the script
-
@cvp Wow! Do you sleep? I will test the new features in v0.93. I am seeing this warning message when the script starts:
/private/var/mobile/Containers/Shared/AppGroup/05D14C00-CCAC-4E98-A3CC-96C6944B8534/Pythonista3/Documents/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.4) or chardet (3.0.4) doesn't match a supported version! RequestsDependencyWarning) ```
-
@ihf never seen that, tried after Pythonista restart?
New imported module =requests which needs urllib3 and chardet -
@cvp I can't seem to reproduce that error so I'll let you know if it returns.
-
-
@cvp I guess that error is repeatable. Perhaps I need to upgrade one of those modules?
-
@cvp is it possible for the Shared image file to be a .png as well as .jpg?
-
@ihf said:
Perhaps I need to upgrade one of those modules?
I see in the warning message that the requests module resides in your site-packages.
Documents/site-packages/requests/__init__.py:91: RequestsDependencyWarning
In my Pythonista, I don't have any requests module in my site-packages, thus the script uses standard Pythonista module.
I don't know why you had installed another requests module, try to rename or remove it, and restart Pythonista. -
-
@cvp I think that deleting the site-packages version of requests solved the problem. Unrelated to Outline: do you have a way of keeping your Pythonista files in sync between ios devices? I have a quite old script that depends on Dropbox and it is rather unreliable. I just wondered if there is a better way now that I am testing with 3 devices.
-
@ihf said:
do you have a way of keeping your Pythonista files in sync between ios devices
I use iCloud but I always check in Files if last version of a file has been downloaded.
But I always use my iPad only for Pythonista. I use very rarely my iPhone.
Even with the standard Apple app Numbers, I already have had synchronization problems where the app asked me to choose between two versions of the file I wanted to open -
@ihf two questions:
- are you missing the undo / redo?
- are there any bugs or limitations that prevent good use?
-
@cvp yes, I occasionally miss undo/redo.
As far as usability goes the most annoying thing (over which you presumably have no control) is how long it takes to start an outline. This is undoubtedly a function of the speed of Pythonista on each platform. It is obvious that it is much faster on my recent iPad Pro vs. my other iPad or my iPhone. As compared with my old notebook/outline app I miss not having the same functionality on the Mac. I don’t know if Pythonista will run on M1 Macs (I don’t have one) so perhaps that’s a way of getting it on the Mac. I wish that I knew Swift programming because you have created a wonderful app that could run well on all iOS and Mac devices if it were translated to Swift. Not withstanding its start up speed, outline is a feature rich and highly useful program. If it were not tied to Pythonista, I think you would have a salable product (I know, I know, you don’t really want to support a product). I think this thread is already one of the longest and most viewed threads on this forum. I hope that others have benefited from it as well. -
@cvp The other problem is that I am getting an inordinate number of Pythonista crashes. I just had a few in a row even after restarting Pythonista. I wasn’t doing anything special other than hitting return or entering a character and all of a sudden it crashed.
-
@ihf said:
even after restarting Pythonista.
I get the same crashes. I can't anymore run the script twice in a Pythonista run. And I advice to wait some seconds before restarting Pythonista, it seems to still use some memory. Even if I even don't type any character. The program does not use a lot of memory with a short outline, less than some images, thus I don't understand why
-
@ihf said:
I occasionally miss undo/redo.
I have problems with the principle of undo. Assume you set a due date, thus create an event. If you want to undo, the program would have to remove the calendar event also. And if you ask a redo.....recreate the event...
-
@cvp On the one hand Pythonista (as you have shown) is a wonderful platform for creating UI rich Python scripts. On the other hand, it is not being supported and is probably a less than ideal place to run "production" programs. I imagine that Swift has reliable libraries that can duplicate those found in Pythonista but someone who knows Swift well would have to do the "translation" from Outline.py. In the meantime, I continue to use it (in production :-)
-
@ihf said:
I continue to use it (in production :-)
You say in production, is that for the fun, not for your job?
-