Following up on this. Reinstalled Pythonista— figured the errors I was seeing might be an indication of some other issues with my set up. All's working fine now. ;)
Best posts made by jsamlarose47
RE: Dropbox file versions...
Ah— good to know I'm not going crazy! Sad to see it go. It was one of the “above and beyond” features that added a little extra shine to Editorial for me. That said, it’s not a feature I use every day. I certainly wouldn’t mind seeing it make a return in a future release, but I can appreciate the drive to pull back on underused features.
Library/module for Editorial via Pythonista?
Hi. I'm experimenting with logging items to a Google spreadsheet from Editorial. I'd like to play with a Google Sheets API library— either Gspread or Pygsheets, but as far as I understand it, I won't be able to install those libraries in Editorial (is that right?) so I'm wondering whether there's a way of doing that setting up the necessary modules in Pythonista and then writing an Editorial workflow that somehow calls on them? Is that even possible?
Latest posts made by jsamlarose47
RE: New Beta for Pythonista 3.3
Just to say: the new keyboard is opening up some really exciting possibilities, and aside from everything else that Pythonista offers, this is the kind of functionality I've been wishing for on the iPad for a long time now. I've tried a number of third party keyboards to do more with text in iOS and the vast majority of them have proven disappointing, but this... there's more possible than all of those others put together. Happy days ahead. Hats off to OMZ.
RE: Best way to get the list of files in my dropbox folder in editorial
Dropbox list: there are a few workflows in the directory that'll probably help you here, but as a starter, you can use something like:
p = editor.get_path() print(p)
...with a Dropbox file open in the editor to get the path.
UI module: I copied the stopwatch example from Pythonista into Editorial, no problems.
Installing modules: possible to an extent, but not as convenient as in Pythonista. See here: https://forum.omz-software.com/topic/3921/library-module-for-editorial-via-pythonista
RE: My new Pythonista dictionary app
@johnridesabike interesting. Jinja2 is indeed in my site-packages folder and not in either of my Standard Libraries. I'll see what I can do to upgrade...
Later: Okay. Stumped. Tried to update my Jinja2 via pip (stash). Response was that I have the most recent update. Edited jinja2/environment.py (as pointed out by ccc) but got another error:
File "/private/var/mobile/Containers/Shared/AppGroup/AF1E5A27-A567-45C1-A998-655B7A0E2B63/Pythonista3/Documents/site-packages/jinja2/environment.py", line 600 except TemplateSyntaxError, e: ^ SyntaxError: invalid syntax
Fixing the jinja2 errors one by one seems like it could be an exhaustive process, and I'm sure there's a more sensible way to get things up and running— sounds like there's a problem with my install of jinja2. Anyone have any further suggestions?
RE: My new Pythonista dictionary app
This sounds both really useful AND inspiring. I look forward to seeing what it's capable of.
Got this error when trying to run WordRoom.py
Traceback (most recent call last): File "/private/var/mobile/Containers/Shared/AppGroup/AF1E5A27-A567-45C1-A998-655B7A0E2B63/Pythonista3/Documents/projects/from GitHub/WordRoom-master/WordRoom.py", line 10, in <module> from jinja2 import Environment, FileSystemLoader File "/private/var/mobile/Containers/Shared/AppGroup/AF1E5A27-A567-45C1-A998-655B7A0E2B63/Pythonista3/Documents/site-packages/jinja2/__init__.py", line 37, in <module> from jinja2.environment import Environment, Template File "/private/var/mobile/Containers/Shared/AppGroup/AF1E5A27-A567-45C1-A998-655B7A0E2B63/Pythonista3/Documents/site-packages/jinja2/environment.py", line 575 info.external_attr = 0755 << 16L ^ SyntaxError: invalid token
RE: Task lists aka Todo lists
+1 for the Taskpaper app recommendation. If you're happy with Taskpaper mode in Editorial and looking for something to work with the same files on your Mac, it's a no-brainer.
That said, one of the (many) reasons I love Editorial is that it allows you to build your own solutions. You can implement your own basic support for simple Github style tasks in a workflow with three action steps:
1: extend selection (select the entire line)
2: find "[ ]" and replace with "[x]"
3: replace selected text (with input)
Assign an approriate shortcut, then run this on any Github style task you want to mark done. You could, in theory, use this kind of thing to manage your tasks in a way that respects both conventions. Say, prefix your tasks with "- [ ]", then configure your "mark done" workflow to add both a "[x]" and a "@done" tag, though that would actually mean a little more work at the Mac end for comparable functionality.
Point is, even if the functionality you want isn't already baked in, with a little DIY, Editorial's a beautifully extensible app that allows for a lot of flexibility in setting things up in a way that makes sense for you.
RE: Editorial sync with Dropbox does not work
Sorry to hear about the sync issues. Did you see any greyed out files appearing in the file list? Have you tried to delete and reinstall?
As far as a selective sync goes: you can select a root folder in Dropbox to link to Editorial. This means you'll have access to files in folders and subfolders contained within that root.