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 This is not an Outline problem per se, but I would like to share my outlines between ios devices. I thought that I merely had to move the outline file and the .content to icloud but what happens is that the files show up under iCloud but only on the device that moved them. In other words, if I move the outline to iCloud on my iPad, the files do not appear in Pythonista on my iPad. Do you know where I have gone wrong? Interestingly, all files moved to iCloud from my ios devices show up on my Mac.
-
@ihf said:
the files do not appear in Pythonista on my iPad
Old Pythonista bug with iCloud files.
On the device where they don't appear, go first in the Files app, iCloud Drive, Pythonista and download the files. After that, you should be able to access the files in Pythonista iCloud.
-
-
@ihf New V00.40 available with
Version V00.40 - support of file passed as 1st argument nb: - only file in script folder is actually supported - script checks file and its.content both exit - ex url: pythonista3://MyFolder/outline?action=run&argv=a.txt
See above which url to open via a shortcut to open a.txt and a.content at start of script.
Assumed that the script and the two files are in the same folder, here named MyFolder in Pythonista Documents. -
@cvp I tried turning off checkboxes in settings and got the following error:
Traceback (most recent call last):
File "/private/var/mobile/Containers/Shared/AppGroup/10326461-C5EE-49C0-8E1C-369955119C79/Pythonista3/Documents/outline.py", line 1079, in button_settings_action
self.popup_menu_orientation = f['popup menu orientation']
KeyError: 'popup menu orientationWish list: a way to turn off (or on all checkboxes) and then Crete outline elements with checkboxes.In other words, provide a way that parts of the outline are tasks or todos with checkboxes but not necessarily all lines.
P.S. It turns out the error has noting to do with checkboxes. Any attempt to open settings and close them gives this error.
-
@cvp After downloading in files app (thanks for that suggestion) I am now able to see the files in Pythonista; however, the outline.py script does not offer iCloud as an option for Open file.
-
@ihf said:
Any attempt to open settings and close them gives this error.
My error due to version for iPhone which does not allow the selection of popup orientation and I forced to iPhone in my script to test, and I forgot to remove it...sorry
Tell me if it's ok for you with V00.41
-
@ihf said:
checkboxes but not necessarily all lines.
Did you imagine a way to tell the program " this outline has a checkbox, this one not"?
-
-
@ihf said:
the outline.py script does not offer iCloud as an option for Open file.
You have to select iCloud in the settings, then your next open will show files and folders of Pythonista iCloud.
Tell me if it is ok for you
-
@cvp v0.41 worked fine for access to iCloud folder from my IPad but when I try to do an open from my iPhone, no response and the script never presents the file picker and it can’t be closed. I’ve deleted the .prm file and restarted Pythonista but it did not help.
-
@ihf said:
open from my iPhone, no response and the script never presents the file picker and it can’t be closed.
No way to test that immediately...
-
@ihf New V00.43 available with
Version V00.43 - popup menu - options about checkbox only shown if checkboxes setting is yes - new option "no box" if checkbox has to be hidden for a specific row nb: checkbox can be reshown if option checked or unchecked is tapped
Tell me if the new option is a right way to provide the new feature you asked
-
@cvp oops v0.43 has problems. I ran it and it loaded the outline I was working on and some of the outline numbers have become part of the text.
-
@ihf said:
some of the outline numbers have become part of the text.
If the problem is reproductible, could you post the text and content files. As they are both editable, you can edit, select all, copy and paste them in the forum.
Are you sure you did not edit and change, even involuntary, one of the two files?
-
@cvp I am having some strange problems. Right now, when I select Open I am presented with my Outlines folder on iCloud but I would like to go back to an outline that is saved locally. How do I do that? The Open menu does not give a way to change the root.
-
@ihf said:
The Open menu does not give a way to change the root.
Exact, no way without changing deeply the File_Picker module. You need to go first in settings and swap local <-> iCloud
I will set in my todo list for a far future to modify the File Picker to be able this root in the browser.
-
@ihf New V00.44 available with
Version V00.44 - correction of bug "if outline.py on iCloud, local is not accessible" - correction of bug "on iPhone, no way to close Versions window" - correction of bug "on iPhone, portrait, filter dialog segments not full visible, font size recomputed" - correction of bug "on iPhone, portrait, settings dialog segments not full visible, font size recomputed"
-
@cvp The outline that I mentioned above is here:
.content file
[([0], 4, {}), ([1], 4, {'checkmark': 'yes'}), ([1, 0], 6, {'checkmark': 'yes'}), ([1, 0, 0], 10, {'checkmark': 'no'}), ([1, 0, 0, 0], 14, {'hidden': False, 'checkmark': 'no'}), ([1, 0, 0, 1], 14, {'hidden': False, 'checkmark': 'no'}), ([1, 0, 0, 2], 14, {'hidden': False, 'checkmark': 'no'}), ([1, 0, 0, 3], 14, {'hidden': False, 'checkmark': 'no'}), ([1, 0, 0, 4], 14, {'hidden': False, 'checkmark': 'no'}), ([1, 0, 0, 5], 14, {'hidden': False, 'checkmark': 'no'}), ([2], 4, {}), ([2, 0], 6, {'hidden': False}), ([2, 1], 6, {'hidden': False}), ([2, 2], 6, {'hidden': False}), ([3], 4, {'checkmark': 'yes'}), ([3, 0], 6, {'checkmark': 'yes', 'hidden': False}), ([4], 4, {}), ([5], 4, {}), ([5, 0], 6, {'checkmark': 'yes'}), ([6], 4, {})]
{'format': 'decimal', 'font': 'Menlo', 'font_size': 18}And .txt file
1.0 abc 2.0 abc 2.1 abc 2.1.1 abc 2.1.1.1 abc 2.1.1.2 abc 2.1.1.3 abc 2.1.1.4 abc 2.1.1.5 abc 2.1.1.6 abc 2.1.1.7 3.0 Reabc 3.1 abc 3.2 abc 3.abc 4.0 Fiabc 4.abc 5.0 abc 6.0 Fiabc 6.abc ``` Every line of the outline should be abc. P.S. is there a better way to post files to this forum?
-
@ihf said:
The outline that I mentioned above is here:
It is weird. Is it possible that you did change the format type? And that the bug comes from that?
For instance, the third line has a content saying the outline has 6 characters instead of 4, thus a part of the text is considered as outline (2.1 ab)Edit : this diagnostic is incorrect because the .txt has been posted without the front spaces of each line
That is a very important bug but no time today to try to identify it... Now. Apero hour.