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
-
@cvp Don't know if it is related to any problem but when I create a new outline and touch the 1.0 to begin entering text, the line disappears for a moment and then comes back. I hadn't noticed this on earlier releases but perhaps it was there all along.
https://vimeo.com/582634999 -
@cvp I just noticed something else. I created an Outline on my iPhone (on iCloud). I then went to the iPad, started outline, went to open and my ICloud files were shown, except the one I created (along with its .content file) were shown as not downloaded. So , I donloaded them in that interface and when it completed I was back to a blank outline in Outline.py and a Frozen app/Pythonista.. I then force quit Pythonista, restarted it and was able to open my iPhone outline.
-
@ihf said:
I just noticed something else. I created an Outline on my iPhone (on iCloud). I then went to the iPad, started outline, went to open and my ICloud files were shown, except the one I created (along with its .content file) were shown as not downloaded. So , I donloaded them in that interface and when it completed I was back to a blank outline in Outline.py and a Frozen app/Pythonista.. I then force quit Pythonista, restarted it and was able to open my iPhone outline.
It looks like all your problems today could be relative to problems of access to iCloud files.
But, problems have disappeared suddenly, yes?
Weird problem, how do you want I debug this kind of things -
@ihf Do you use the program with an extension as argument ?
And you didn't answer:
Did you install the last File_Picker? It was requested in a post 10 days ago, here
Because the line 91 is no more this one and is the line of previous version.File "/private/var/mobile/Containers/Shared/AppGroup/10326461-C5EE-49C0-8E1C-369955119C79/Pythonista3/Documents/File_Picker.py", line 91, in expand_children files = os.listdir(self.path) NotADirectoryError: [Errno 20] Not a directory: '/private/var/mobile/Containers/Shared/AppGroup/10326461-C5EE-49C0-8E1C-369955119C79/Pythonista3/Documents/outline.py'
-
@ihf said:
Don't know if it is related to any problem but when I create a new outline and touch the 1.0 to begin entering text, the line disappears for a moment and then comes back. I hadn't noticed this on earlier releases but perhaps it was there all along.
I think relative to the version without keyboard which appears at each scroll.
Now in my bugs list but no idea why this occurs. -
@cvp Yes, I have the latest File_Picker (or I believe I do).(Line 91 is global folders, common
I am testing on 2 different iPads and it is possible I forgot to update one but it looks correct now. -
@cvp In so far as iCloud issues. I believe that there is still a bug which hangs the script when you select a file which has not been downloaded yet. I addition, it may be the case that if you inadvertently select the .content file, it also kills the script. I suppose it would be nice if the script only showed you outline files.
-
@ihf said:
would be nice if the script only showed you outline files
Which files type or extension?
For File_Picker, I can do what I ant as update but not for UIDocumentPickerViewController which is the only one that shows you not yet downloaded files. -
@ihf said:
bug which hangs the script when you select a file which has not been downloaded yet.
Added in my bugs list, will search but temporarily, download them first in Files app, as you are used to.
-
@ihf said:
if you inadvertently select the .content file, it also kills the script
Normally, not possible, already checked by script for days.
-
@ihf For you info, nothing relative to this project: my NAS is configured in the Files app, when I copy a file from "on my iPad" to my NAS, if big file like a movie of 2gb, it can take up to 15 minutes.
During this time, I can't use Pythonista, it hangs, even if I restart it.
Exactly like if files app locked some pending queues. My Pythonista has "on my iPad" and "ICloud Drive" configured as external folders. Maybe are both facts linked. -
@ihf said:
Yes, I have the latest File_Picker (or I believe I do).(Line 91 is global folders, common
I am testing on 2 different iPads and it is possible I forgot to update one but it looks correct now.It is weird because the error message printed in its traceback that line 91 was exactly the line of the previous version.
Don't forget that if you change a module of site_packges, where File_Picker has to be, you need to restart Pythonista to replace it also in memory. -
@ihf Two other questions, relative to these posts
- did you already test V00.64?
- where do you want I copy a picked photo, on current path?
-
@ihf
Concerning hang of Pythonista/script if picking a not yet downloaded file, if you want such a file, could you, please, have a long press on the file, select download in the popup menu which appears, and only when download is finished, tap on the file to select it. And tell me...
Actually, without this way, I can't see a solution to this bug.
-
@cvp yes, I am testing v0.64.
I think that moving the phot to the current dir would be fine.
I have an outline that looks like:- Abc
- DEF
2.1 ghi
2.2 jkl - Mno
If I position the cursor at the end of 2.and hit return, I get a new item at 3.0. However 2.1 and 2.2 have moved to be 3.1 and 3.2 which is not what should happen.
-
@ihf said:
If I position the cursor at the end of 2.and hit return, I get a new item at 3.0. However 2.1 and 2.2 have moved to be 3.1 and 3.2 which is not what should happen.
New or old bug, anyway, added to bugs list, but what should happen?
Do you agree if I spend less time on bugs that I would, because I only have fun with new features.
-
Version V00.65 - correction of bug "for picking in FileApp, script hangs" replace console.alert by console.hud_alert" - correction of bug "creating a new outline and touch the 1.0 to begin entering text, the line disappears for a moment and then comes back when we put cursor" - support photos from camera roll when pick an image - added "photos" option with "local Pythonsista" and "Files app" - display standard photos picker - copy the photo as a file (on current path, name=photo name) - uses the copied photo into the outline - support sort of view dates - button at right of dates column title - support ascending, descending, no sort nb: no date known, supported as "now" when sorting - actions on row would need to be tested: - edit text - CR - tab - backtab - delete with children - move would be avoided (hazardeous ) - if due date set while due dates view is shown, update view immediately - if update while update dates view is shown, update view immediately
Attention, sorting of rows on a selected date is a proposal..., not tested.
Try photos like you asked. -
@cvp Lots to test!
As far as what should happen when you position at 2.0 and hit enter. A new item at 3. should be created (as it is) but 2.0 children (2.1, 2.2) should stay with 2. -
-
@cvp no, I remain impressed with how fast you can add new features :-)