robwalton / alfred-ulysses-workflow

Alfred 3 workflow for Ulysses
http://www.alfredforum.com/topic/9662-ulysses-workflow/
79 stars 10 forks source link

Workflow Results in 'displayName' error #8

Closed buffaloseven closed 6 years ago

buffaloseven commented 6 years ago

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.
pablo-zocdoc commented 6 years ago

+1

MagisDing commented 6 years ago

+1, I was wondering if it was because I am using the Ulysses from SetApp?

zurdors commented 6 years ago

I have the same error. I'm using Ulysses (Version 12.1) from App Store.

robwalton commented 6 years ago

Thanks for the reports. Please try this new release v1.0.2 . Please let me know if it looks okay and I'll send it to Packal later and close issue. Thanks.

EDIT: updated to v1.0.2

buffaloseven commented 6 years ago

Seems to have fixed the problem for me! Running macOS 10.13.2 and Ulysses 12.1.

zurdors commented 6 years ago

@robwalton, release v1.0.2 is working perfectly. 👍

robwalton commented 6 years ago

Fixed and uploaded to packal