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:
I tried on iPad running ios14
I run on iPad iOS 14,without problem but I don't use iCloud, my current_path is local
Could you try to copy your .py and .prm locally and set your current_path locallyI try to find a way so your are not locked
-
Traceback (most recent call last): File "/private/var/mobile/Containers/Shared/AppGroup/10326461-C5EE-49C0-8E1C-369955119C79/Pythonista3/Documents/outline.py", line 1795, in button_files_action self.files_action(sender, act) File "/private/var/mobile/Containers/Shared/AppGroup/10326461-C5EE-49C0-8E1C-369955119C79/Pythonista3/Documents/outline.py", line 1842, in files_action f = self.pick_file('from where to open the file', uti=['public.item'], callback=self.pick_open_callback, ask=False, init=self.current_path) File "/private/var/mobile/Containers/Shared/AppGroup/10326461-C5EE-49C0-8E1C-369955119C79/Pythonista3/Documents/outline.py", line 2101, in pick_file fil = File_Picker.file_picker_dialog(title, root_dir=path) File "/private/var/mobile/Containers/Shared/AppGroup/10326461-C5EE-49C0-8E1C-369955119C79/Pythonista3/Documents/File_Picker.py", line 335, in file_picker_dialog picker = TreeDialogController(root_node, allow_multi=multiple) File "/private/var/mobile/Containers/Shared/AppGroup/10326461-C5EE-49C0-8E1C-369955119C79/Pythonista3/Documents/File_Picker.py", line 168, in __init__ self.expand_root() File "/private/var/mobile/Containers/Shared/AppGroup/10326461-C5EE-49C0-8E1C-369955119C79/Pythonista3/Documents/File_Picker.py", line 171, in expand_root self.root_node.expand_children() 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'
-
@cvp Hmm. I select the files in Files app on iCloud and select Copy but there is no Pythonista folder to copy them to.
-
@ihf I think your .py and .prm are already local, are they? You don't,work with the script in iCloud?
-
@ihf said:
there is no Pythonista folder to copy them to
Normal, Files app does not show local Pythonista
-
@ihf Did you install the last File_Picker? It was requested in a post some days ago
-
@cvp Going crazy...don't know what I changed but I am able to open my real outline now.. To be clear, my outlines and .content files are in iCloud folder. The .py and .prm are local. If I have selected iCloud as location for files and then want to go back to Local. how to do that? If I select On My iPad there is (as you said) no Pythonista folder to select. Also beginning to see all these nnumbered and .old versions of things. Is it possible to do away with all of these extra files?
-
@cvp also there is another .prm file on iCloud (in Outlines folder)
-
@ihf said:
Going crazy...don't know what I changed but I am able to open my real outline now.. To be clear, my outlines and .content files are in iCloud folder. The .py and .prm are local. If I have selected iCloud as location for files and then want to go back to Local. how to do that? If I select On My iPad there is (as you said) no Pythonista folder to select. Also beginning to see all these nnumbered and .old versions of things. Is it possible to do away with all of these extra files?
Sorry, no time more today, sincerely sorry.
I ask me if theFile Picker on GitHub is ok but'you have worked with it.
Let me some time tomorrow
Bye -
-
@cvp said:
Is it possible to do away with all of these extra files?
No automatic way I know. It is so that iCloud save works, same annoying problem for all my backups on iCloud
-
@cvp Ok, I understand. I deleted everything other than my primary outline and .content file and .prm (both local and iCloud..not sure why there are 2). I can now open the outline and continue testing.
-
@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.