robwalton / alfred-ulysses-workflow Goto Github PK
View Code? Open in Web Editor NEWAlfred 3 workflow for Ulysses
Home Page: http://www.alfredforum.com/topic/9662-ulysses-workflow/
Alfred 3 workflow for Ulysses
Home Page: http://www.alfredforum.com/topic/9662-ulysses-workflow/
I'd love to see a list of my sheets that have been favorited.
Right now searching through groups will always go to two pane. I wish it would be three pane as I started to quite like to have all panes shown.
Would it be possible to add please. Perhaps have it as a setting so users can specify what mode they wish it was open in.
Thank you.
I'm getting workflow.py:2243 ERROR not well-formed (invalid token): line 1, column 9
after a fresh install of v1.0.3 of your workflow on Ulysses 13 (v42335) that was released last week. I attempted running uf
, but I'm pretty sure it happens on all commands.
Thanks! Here's the full output from the Alfred debug window:
Starting debug for 'Ulysses'
[2018-06-06 10:45:24][ERROR: input.scriptfilter] Code 1: 10:45:24 workflow.py:2225 DEBUG Workflow version : 1.0.3
10:45:24 workflow.py:1628 DEBUG Reading settings from `/Users/Evan/Library/Application Support/Alfred 3/Workflow Data/com.github.robwalton.alfred-ulysses-workflow/settings.json` ...
10:45:24 workflow.py:2514 DEBUG Update check not due
10:45:24 ulysses_items.py:59 INFO ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10:45:24 ulysses_items.py:60 INFO ulysses_items.main(wf): args =
Namespace(kind='all', limit_scope_dir=None, query=u'', search_content=True, search_ulysses_path=False)
10:45:24 ulysses_items.py:61 INFO ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10:45:24 workflow.py:1859 DEBUG Loading cached data from : /Users/Evan/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.github.robwalton.alfred-ulysses-workflow/__workflow_update_status.cpickle
10:45:24 workflow.py:2444 DEBUG update_data : {u'available': False}
10:45:24 ulysses_items.py:86 INFO Added iCloud items from '/Users/Evan/Library/Mobile Documents/X5AZV975AG~com~soulmen~ulysses3/Documents/Library/Groups-ulgroup'
10:45:24 workflow.py:2243 ERROR not well-formed (invalid token): line 1, column 9
Traceback (most recent call last):
File "/Users/Evan/Dropbox/settings/Alfred.alfredpreferences/workflows/user.workflow.A5704485-717B-40BA-83C7-A0F75BCDDF25/workflow/workflow.py", line 2236, in run
func(self)
File "ulysses_items.py", line 89, in main
include_sheets)
File "ulysses_items.py", line 149, in parse_ulysses_for_groups_and_sheets
groups_tree = parse_ulysses.create_tree(root_dir, None)
File "/Users/Evan/Dropbox/settings/Alfred.alfredpreferences/workflows/user.workflow.A5704485-717B-40BA-83C7-A0F75BCDDF25/parse_ulysses.py", line 126, in create_tree
group = Group(rootgroupdir, parent_group)
File "/Users/Evan/Dropbox/settings/Alfred.alfredpreferences/workflows/user.workflow.A5704485-717B-40BA-83C7-A0F75BCDDF25/parse_ulysses.py", line 62, in __init__
self.name = self.title = self._get_group_name(dirpath)
File "/Users/Evan/Dropbox/settings/Alfred.alfredpreferences/workflows/user.workflow.A5704485-717B-40BA-83C7-A0F75BCDDF25/parse_ulysses.py", line 69, in _get_group_name
return plistlib.readPlist(join(self.dirpath, 'Info.ulgroup'))['displayName']
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py", line 78, in readPlist
rootObject = p.parse(pathOrFile)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py", line 406, in parse
parser.ParseFile(fileobj)
ExpatError: not well-formed (invalid token): line 1, column 9
10:45:24 workflow.py:2246 INFO For assistance, see: https://github.com/robwalton/alfred-ulysses-workflow
10:45:24 workflow.py:2267 DEBUG Workflow finished in 0.030 seconds.
I get the following error message when trying to run this workflow. Any idea of what I could try?
00:53:52 workflow.py:2207 ERROR [Errno 2] No such file or directory: '/Users/rogerio/Library/Mobile Documents/X5AZV975AG~com~soulmen~ulysses3/Documents/Library/Groups-ulgroup'
Traceback (most recent call last):
File "/Users/rogerio/Dropbox/Private/Alfred/Alfred.alfredpreferences/workflows/user.workflow.CFA40A37-6ED5-43BA-8847-E6DA782D50D3/workflow/workflow.py", line 2200, in run
func(self)
File "ulysses_items.py", line 55, in main
groups_tree = parse_ulysses.create_tree(parse_ulysses.GROUPS_ROOT, None)
File "/Users/rogerio/Dropbox/Private/Alfred/Alfred.alfredpreferences/workflows/user.workflow.CFA40A37-6ED5-43BA-8847-E6DA782D50D3/parse_ulysses.py", line 58, in create_tree
filelist = os.listdir(rootgroupdir)
OSError: [Errno 2] No such file or directory: '/Users/rogerio/Library/Mobile Documents/X5AZV975AG~com~soulmen~ulysses3/Documents/Library/Groups-ulgroup'
I'm running El Capitan, latest Alfred and Ulysses.
Thank you for both the workflow and attention.
Just installed the extension and running uf ANYTHING
returns no matches. I'm running Ulysses 13.1.
This started happening after upgrading to Ulysses v15
In Ulysses you can add external folders to edit files from Ulysses. I wish I could jump to these folders too from the workflow.
Whenever I try to use Danish letters æøå to search for items in the workflow I get thrown back to the Alfred fallback option. It's not limited to æøå, the ordering of letters is of no importance either and it doesn't matter which combination I use (uf, us, ug).
Workflow isn't currently working for me; on macOS 10.13 with the latest version of Ulysses (12.1 I believe). Alfred debug console returns:
File "/Users/Brad/Library/Mobile Documents/com~apple~CloudDocs/Alfred/Alfred.alfredpreferences/workflows/user.workflow.91651E89-D40D-4D2E-BEF5-03767EB7B9E2/workflow/workflow.py", line 2236, in run
func(self)
File "ulysses_items.py", line 85, in main
include_sheets)
File "ulysses_items.py", line 145, in parse_ulysses_for_groups_and_sheets
groups_tree = parse_ulysses.create_tree(root_dir, None)
File "/Users/Brad/Library/Mobile Documents/com~apple~CloudDocs/Alfred/Alfred.alfredpreferences/workflows/user.workflow.91651E89-D40D-4D2E-BEF5-03767EB7B9E2/parse_ulysses.py", line 113, in create_tree
group = Group(rootgroupdir, parent_group)
File "/Users/Brad/Library/Mobile Documents/com~apple~CloudDocs/Alfred/Alfred.alfredpreferences/workflows/user.workflow.91651E89-D40D-4D2E-BEF5-03767EB7B9E2/parse_ulysses.py", line 63, in __init__
join(self.dirpath, 'Info.ulgroup'))['displayName']
KeyError: 'displayName'
22:11:12 workflow.py:2246 INFO For assistance, see: https://github.com/robwalton/alfred-ulysses-workflow
22:11:12 workflow.py:2267 DEBUG Workflow finished in 0.067 seconds.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.