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:
Is it possible for the Outline script to (one day) be an app on Testflight or the App store? I know people have talked in this forum about app store games and such that they created in Pythonista, but it was never clear to me whether that meant they they were somehow standalone or if they required the user to have Pythonista installed. Just wondering
No idea. I don't know Xcode neither theTemplate to convert a Pythonista script into a real app.
Hoping somebody like @JonB or @ccc or others could answer. -
@ihf You have also to know that all these requests(and pending bugs) will need some time...
-
@cvp Be assured that 1. I am in no hurry and 2. I am already getting productive use from the script!
-
@ihf If this script would become a real app, who could maintain it?
-
@cvp Good question. I'd say let's cross that bridge when we come to it. For now, as long as you still find this a worthwhile challenge, I am happy to use it and provide feedback and suggestions with no expectations whatever.
-
@ihf Did you try to pick an image with the new picker? What do you think about it?
Actually, I'm busy with the folder picker using the same ObjectiveC module, for the save operation.
And I meet problems due to coexistence of PickerViewController and ui. -
@cvp I just tried the image picker and got:
File "/private/var/mobile/Containers/Shared/AppGroup/6CCAAFF1-947E-4DC8-B33B-58EE87A0823C/Pythonista3/Documents/outline.py", line 1301, in tableview_height_for_section_row image = ui.Image.named(opts['image'][0]).with_rendering_mode(ui.RENDERING_MODE_ORIGINAL) AttributeError: 'NoneType' object has no attribute 'with_rendering_mode'```
-
@ihf said:
AttributeError: 'NoneType' object has no attribute 'with_rendering_mode
Weird. I don't have any problem. Which kind/extension of file did you pick?
-
@cvp I used the Files app and selected a.jpg file. (Small thing...when I select the image option in the popup menu it shows the 2 options (lcoal and Files app), blinks and shows them again.
-
@ihf are you on iPhone? And, most important, do you have access to this folder if external?
Bye, see you tomorrow
-
@cvp I guess the problem is that the file was accessible to the Files app but not to Pythonista. Is there a way that the script could access photos in the photo library? If not, and without an easy way to get to files that the files app can see, Iām not sure how useful this feature will be in practice.
-
@ihf said:
Iām not sure how useful this feature will be in practice
For a Good reason: this ObjectiveC pick shows you all files, even not yet downloaded while the File_Picker doesn't do it. When I'll also use this picker for opening a file, you will be able to see them and download them, what you didn't and report even as a bug about that (create a file on iPad in Pythonista Icloud, go to your iPhone and not see the file).
But of course, you have to, once per device, open folders you want to access as external folders in the Pythonista left files browser. You can do that for iCloud Drive and "on my iPad" folders, -
@ihf said:
Is there a way that the script could access photos in the photo library?
The script could pick the photos in the photo library but you should copy the used ones as files.
The script stores the path and file name of used images in the .content file, so when you open a such outline, it will be able to display the images. If the photo is stored as a file, that would be the same. -
Version V00.60 - correction of bug "hidden child shows its image" - correction of bug "in popup menu, actions in two lines wre not executed" - correction of bug "tap š¼ in horizontal popup menu gives error 'view in use'" - correction of bug "intercept error of image from unaccessible file" and draw an 'open error' image - support UIDocumentPickerViewController for set current path - support UIDocumentPickerViewController for log file to play - support UIDocumentPickerViewController for open - support UIDocumentPickerViewController for image - new parameter "current path" used for accessing files - in settings dialog, display current path as header of settings - new "set current path" option in files menu - not used for images, so you can pick an image anywhere - used for play log, on local or Files app folder - used for open file, on local or Files app folder - new options in eye menu - hide checked - show checked only nb: if one of these modes is active and we change the status checked/unchecked of one displayed line, this line will be automatically hidden
I have to warn you that the save action does not work actually... sorry for that
And no time this evening to solve it, sorry
once again, I'm a little fed up with an annoying bug š
-
-
@cvp Wow! You have been busy. I'll begin testing.
-
@ihf said:
I'll begin testing
Don't give me feedback before I'm going to bed š
Bigger is the script, more you will get bugs
-
@cvp When I open my outline, sometimes the keyboard appears before I touch the outline. if I then scroll up to find the text where I wish to do an insert, Pythonista will crash immediately.
-
@ihf Is it possible that this only appears when you start the script without restarting Pythonista it-self?
I've even remarked that, sometimes, I have to wait some seconds before restarting Pythonista if I want no crash at script starting. I think this problem isn't in my hands, but stored in my todo list
Error is Segmentation error. -
@ihf thinking about that
I agree that it is not very fair to postpone annoying parts, like:
- bugs
- multiple undo's not yet ended
- picker via ObjectiveC for saving, not yet done