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 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?
-
-
Pythonista will run on M1 Macs
It does!
-
-
-
@cvp I just downloaded v0.96 ran it and got:
Traceback (most recent call last): File "/private/var/mobile/Containers/Shared/AppGroup/05D14C00-CCAC-4E98-A3CC-96C6944B8534/Pythonista3/Documents/outline.py", line 905, in <module> PY3 = sys.version_info[0] >= 3 NameError: name 'sys' is not defined
Restarting Pythonista did not help.
P.S. I knew that undo/redo was not working so I stopped testing it as I figured it was on your list. -
-
@ihf could you tell me if you have still crashes during a run of the script,
If you process so:
- remove Pythonista
- wait 10 seconds
- restart Pythonista
- run the script
Other question : do you have Pyto, it is open source. I dare not estimate the number of days needed to convert outline.py to Pyto because its ui and its editor are a lot less rich, assuming that all features are supported. But, at least, Pyto it-self is supported and you get updates frequently. I'm always surprised by what a person alone can realize. Even if Pyto is still far from Pythonista, it is obviously a marvelous app for an unique developer.
-
@cvp yes, I have Pyto.
I just started outline on my iphone ( I was using it on my iPad yesterday). It crashed Pythonista so I followed the steps you listed and it crashed again. I also tried starting it using pythonista3:// but after I start the script Pythonista crashes. What to do? -
@ihf could you try to get the crash reasons? In fault_log folder or _obj_exception.txt file, both in root
Faultlog, see @dgelessus 's code
For me, crashes have always the same reason "segmentation fault" without any traceback. No way to identify the origin, sorry for you.
Pyto and future Swift Playground 4 would allow to develop an app on iPad...
-
@cvp, how repeatable is the crash?
You could consider adding some
logging
calls to write trace info to a file. Or could use thetrace
module to for instance log all function calls, then eventually narrow to all lines within a single function.Have you watched memory at all? For instance, the issue with processing lots of images without doing NSAutoreleasePool. If there is a leak somewhere, it will eventually crash without warning.
Or, maybe if you are opening lots of file handles without closing. -
-
@JonB said:
Have you watched memory at all? For instance, the issue with processing lots of images without doing NSAutoreleasePool. If there is a leak somewhere, it will eventually crash without warning.
Or, maybe if you are opening lots of file handles without closing.No memory used, it occurs even with a data file of some bytes.
Script uses maximum files, all using "with open(...)"
It occurs even without images, and anyway, I use sometimes maximum 3 images