Giter Club home page Giter Club logo

open-conference-url's Introduction

Open Conference URL

Copyright 2020-2024 Caleb Evans
Released under the MIT license

tests

Open Conference URL is an Alfred workflow which enables you to quickly open links for Zoom and other conferencing services, based on your upcoming calendar events.

The workflow will be solely supporting Alfred 5 going forward, but the last release supporting Alfred 4 will remain available here for your convenience.

Screenshot

Installation

To download the workflow, simply click one of the download links below.

Download Open Conference URL (Alfred 5)

Download Open Conference URL (Alfred 4)

Command Line Tools

If you are installing the workflow for the first time, you may be prompted to install Apple's Command Line Tools. These developer tools are required for the workflow to function, and fortunately, they have a much smaller size footprint than full-blown Xcode.

Prompt to install Apple's Command Line Tools

Calendar Permissions

To read from your local calendar, the workflow requires Calendar permissions for both Alfred 5 and Terminal. Visit Systems Settings > Privacy & Security > Calendars to grant them these permissions. Make sure that you select Full Access (instead of just Add Only).

Usage

To use, simply type the conf command into Alfred, and you will see a list of upcoming calendar events. It does this by including all events within +/- 20 minutes of your system's current time, so even if you're running late to a meeting, the logical event will show.

The workflow also accounts for timezones and Daylight Saving Time (DST). All times are displayed in your system's local timezone.

Configuration

This workflow contains configuration for various aspects of the workflow's behavior. For details on how to find these configuration settings, you can refer to the Alfred help article on Workflow Configuration.

Conference Domains

A comma-separated list of domain names representing which URLs to check within each calendar event. This domains list determines which links are considered "conference" URLs.

The domains are listed in order of precedence, so if zoom.us precedes google.com in the list, then the workflow will prefer Zoom links over Google Meet links if both are present in a calendar event.

If you wish to match a subdomain, you must specify it explicitly (e.g. teams.microsoft.com). However, you can also match all subdomains via the asterisk character (*) as a wildcard (e.g. *.zoom.us).

Calendar Names

A comma-separated list of calendar names on your local system for which to fetch events. If you leave this field blank, then the workflow will implicitly fetch check all calendars for event data.

Time Threshold

An integer representing the number of minutes before/after a meeting. If an event is within this duration of time (relative to the system's current time), it will be displayed in Alfred's results.

For example, a value of 30 will mean the workflow will only show events whose start time was within the last 30 minutes or whose start time is within the next 20 minutes.

Use Direct Zoom Links

Launches meetings directly in the Zoom application, bypassing your web browser entirely.

Use Direct Teams Links

Opens Microsoft Teams links directly in the Microsoft Teams application, bypassing your web browser entirely.

Use icalBuddy

Uses icalBuddy to source calendar event data (instead of AppleScript). Enabling this option (assuming you have icalBuddy installed) can drastically improve the workflow's performance if you have a very large number of events across your calendars.

You must have icalBuddy installed via Homebrew for this to work. To install, open a Terminal and run:

brew install ical-buddy

After you have installed icalBuddy, make sure you check the box in the workflow configuration to fully enable the integriation.

Time System

Whether 12-hour or 24-hour time is used for the displayed event start times.

Credits

Kudos to @jacksonrayhamilton for his architecture ideas and feedback on this project.

open-conference-url's People

Contributors

anilrh avatar caleb531 avatar msdisme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

open-conference-url's Issues

Workflow crashes with ValueError: unconverted data remains

I had an issue where this workflow was crashing with the debugger returning:

...
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_strptime.py", line 335, in _strptime
    data_string[found.end():])
ValueError: unconverted data remains:
    notes: Garbage

It took me a while to figure out that "notes: Garbage" was actually an item on my calendar (it's a public works calendar I'm subscribed to for our town and "Garbage" / "Recycling" are the items it generates).

Apparently, the name of the event (Garbage) is also in the notes field as well (Garbage) and so on line 39 of event.py, it tries to match the date of a string that looks like this:

2022-02-08 at 07:00
    notes: Garbage

What worked for me was changing (on lines 39 & 45 of event.py - although haven't tested 45 for all day events)

start_datetime_matches.group(1).strip(),

to:

start_datetime_matches.group(1).split('\n', 1)[0].strip(),

Which checks for any newlines (and content that comes after it), lop it off, and only work on the first line. Not sure if there's a better way to do it but it's working great now.

Error

Seeing below in Alfred debugger.

[10:03:23.102] ERROR: Open Conference URL[Script Filter] Code 1: Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/chris/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.57257760-85B0-4360-990F-B86FF176B722/ocu/list_events.py", line 10, in
from ocu.cache import cache
File "ocu/cache.py", line 130, in
cache = Cache()
File "ocu/cache.py", line 42, in init
self.refresh()
File "ocu/cache.py", line 110, in refresh
if self.get('event_blobs') != event_blobs:
File "ocu/cache.py", line 77, in get
return self.dict[key]
KeyError: u'event_blobs'

osascript uses 98% CPU

I'm using the latest build. When I type "conf" the plug-in keeps showing the "Loading..." message. Activity Monitor shows osascript consuming 98% of CPU.

I've narrowed problem down to my work Calendar. If I exclude it, the plugin fetches events from my personal iCloud calendar without any issue. Please let me know what info is needed in order to diagnose and fix the issue.

Unclear error when running the conf command (started 05/10/2022)

Not sure what changed but for some reason the extension now breaks when trying to run it. It worked beautifully up until today (and I use it every day) so I'd love to help however I can here.

It seems like the code to fetch events is no longer able to get the array properly, not sure that the calendar application has updated it's interface or something.

one other aside, for latest MacOS I'm using a builtin python install instead of the default because of the upgrade to python3.
that's located on my machine at /Library/Frameworks/Python.framework/Versions/2.7/bin/python but I don't think that matters here.

I'm on application version 2.1.1

image

Latest MacOS on M1 Max 14inch Macbook Pro
Darwin sodium 21.4.0 Darwin Kernel Version 21.4.0: Mon Feb 21 20:35:58 PST 2022; root:xnu-8020.101.4~2/RELEASE_ARM64_T6000 arm64

[14:57:04.055] Logging Started...
[14:57:07.774] Open Conference URL[[Script Filter](alfredpreferences:workflows%3Eworkflow%3Euser.workflow.A10A40B6-BB43-4CE2-A92E-B4E688D58469%3EAD06006F-71F6-4731-9942-D0697E95329A)] Queuing argument '(null)'
[14:57:07.837] Open Conference URL[[Script Filter](alfredpreferences:workflows%3Eworkflow%3Euser.workflow.A10A40B6-BB43-4CE2-A92E-B4E688D58469%3EAD06006F-71F6-4731-9942-D0697E95329A)] Script with argv '(null)' finished
[14:57:07.839] ERROR: Open Conference URL[[Script Filter](alfredpreferences:workflows%3Eworkflow%3Euser.workflow.A10A40B6-BB43-4CE2-A92E-B4E688D58469%3EAD06006F-71F6-4731-9942-D0697E95329A)] Code 1: Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/Users/david/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A10A40B6-BB43-4CE2-A92E-B4E688D58469/ocu/list_events.py", line 115, in <module>
    main()
  File "/Users/david/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A10A40B6-BB43-4CE2-A92E-B4E688D58469/ocu/list_events.py", line 79, in main
    all_events = [event for event in get_events() if event.conference_url]
  File "/Users/david/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A10A40B6-BB43-4CE2-A92E-B4E688D58469/ocu/list_events.py", line 31, in get_events
    return [Event(event_blob) for event_blob in event_blobs]
  File "ocu/event.py", line 17, in __init__
    self.title = self.parse_title()
  File "ocu/event.py", line 30, in parse_title
    return re.search(r'^(.*?)\n', self.blob).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

Script running for too long

Hi ๐Ÿ‘‹

I've been using this amazing workflow for a while, but for the past week, I've been getting some odd delays from it.
Seems like the workflow running for like a full minute until showing some results:

CleanShot 2024-04-10 at 23 06 45@2x

I'm on the latest version, currently v7.1.4
MacOS version: 14.4.1 Sonoma

Specify which calendars to read from

From @Acidham via #18:

What I found out after debugging your code (event.py, after 5 min wait time) is that all calendars will be loaded also the ones which are not set to active in calendar app (e.g. Family calendars).

Is there to tell the AS which calendar to load?

I agree this would be a great feature. It should definitely be feasible, as the AppleScript I'm using originally had logic to filter by specific calendars. However, that logic was hardcoded into the AppleScript itself, so special code must be written to make this functionality user-configurable.

The scope of this enhancement is to add a new Configuration Field to allow the user to specify specific calendars for which to fetch events. If the field is blank, the workflow will fetch from all calendars.

The goal of this enhancement is to provide a means of improving performance for users with a particularly large number of calendar events across all their calendars.

Can't fetch calendar entries

Hey, I'm running into this error where the workflow cannot fetch calendar entries. I did give the workflow permissions to access my calendar on the first run and have reinstalled it a few times.

Below is the debugging message when I type 'conf' in Alfred. Any help is appreciated.

[10:35:25.465] ERROR: Open Conference URL[Script Filter] Code 1: Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/abhilesh/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.CDEC069C-F7DC-4FD3-814E-7FD12C99E074/ocu/list_events.py", line 10, in
from ocu.cache import cache
File "ocu/cache.py", line 130, in
cache = Cache()
File "ocu/cache.py", line 42, in init
self.refresh()
File "ocu/cache.py", line 110, in refresh
if self.get('event_blobs') != event_blobs:
File "ocu/cache.py", line 77, in get
return self.dict[key]
KeyError: u'event_blobs'

needs privacy permissions for both terminal and calendar

Installed and saw a popup to grant privacy permissions - I must have hit enter and it went away very quickly so I missed the text so I only gave calendar access to Alfred 5. It would be great if the readme github page mentioned both. (If I my github is not too rusty I will do a PR against the readme.)

AppleScript error on macOS Ventura

The get-calendar-events.applescript under ocu/calendars directory can't be executed. It throws "subprocess.CalledProcessError: Command '['osascript', '/.../ocu/calendars/get-calendar-events.applescript']' returned non-zero exit status 1."
Overwriting it with the get-calendar-events.applescript under /ocu directory fixed the issue.

Add Slack to default conference domains

Not an issue but as I can't seem to find where it's specified, could we add app.slack.com to the default "conference domains" list?

This would allow someone to just add the Slack huddle URL (obtained by clicking "copy huddle link" from any Slack channel) to a recurring calendar event for regularly scheduled Slack huddles without further modification.

Not showing results, osascript at 100% CPU when calendar name list is empty

Versions 6.0.1 and 6.0.0 (Alfred 5) don't show me results unless I specify calendar names to parse. The issue seems to be that return calendar.get_event_dicts(prefs['calendar_names']) never returns anything when the calendar list is empty?

The workaround would be to specify the calendar names, but the Workflow does not seem to recognize any iCloud calendar names. I added the same event with to multiple calendars to test this and it only recognizes the Google calendars and the calendars added via Exchange.

Queing argument: Null

Hey - I'm getting the following error:
[09:27:33.412] Open Conference URL[Script Filter] Queuing argument '(null)'

  • I've tried zoom and google meet as the calendar event URL
  • alfred 5 has full calendar permissions
  • Event is within 20 minutes

Do you have any suggestions on how to troubleshoot? Thanks in advance!

Error message due to untrusted developer for `icalBuddy`

The workflow doesn't run out-of-the-box since icalBuddy is not from a trusted developer. A possible workaround is to

  • open the workflow in the finder (right-click on it in the list -> Open in Finder)
  • go into ocu/, right-click icalBuddy and select "Open"

This allows running the executable despite this security warning.

A possible alternative would be: first try to use a homebred-installed version and if that's not available fall back to the included version second (and perhaps issue a one-time warning).

ValueError: time data 'SingaporeT00:00' does not match format '%Y-%m-%dT%H:%M'

Hi,
the plugin used to work last week (macOS Sonoma RC2), but today, it started showing an error. The error stack track is below:
[10:25:18.321] Logging Started... [10:25:22.237] Open Conference URL[Script Filter] Queuing argument '(null)' [10:25:22.518] Open Conference URL[Script Filter] Script with argv '(null)' finished [10:25:22.524] ERROR: Open Conference URL[Script Filter] Code 1: Traceback (most recent call last): File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/Users/yury/Library/Mobile Documents/com~apple~CloudDocs/App Data/Alfred/Alfred.alfredpreferences/workflows/user.workflow.3B9921BA-22A8-40E5-B6CC-713AEFD0080F/ocu/list_events.py", line 218, in <module> main() File "/Users/yury/Library/Mobile Documents/com~apple~CloudDocs/App Data/Alfred/Alfred.alfredpreferences/workflows/user.workflow.3B9921BA-22A8-40E5-B6CC-713AEFD0080F/ocu/list_events.py", line 164, in main all_events = get_events_today_with_conference_urls() File "/Users/yury/Library/Mobile Documents/com~apple~CloudDocs/App Data/Alfred/Alfred.alfredpreferences/workflows/user.workflow.3B9921BA-22A8-40E5-B6CC-713AEFD0080F/ocu/list_events.py", line 32, in get_events_today_with_conference_urls return [event for event in get_events_today() if event.conference_url] File "/Users/yury/Library/Mobile Documents/com~apple~CloudDocs/App Data/Alfred/Alfred.alfredpreferences/workflows/user.workflow.3B9921BA-22A8-40E5-B6CC-713AEFD0080F/ocu/list_events.py", line 27, in get_events_today return [Event(event_dict) for event_dict in event_dicts] File "/Users/yury/Library/Mobile Documents/com~apple~CloudDocs/App Data/Alfred/Alfred.alfredpreferences/workflows/user.workflow.3B9921BA-22A8-40E5-B6CC-713AEFD0080F/ocu/list_events.py", line 27, in <listcomp> return [Event(event_dict) for event_dict in event_dicts] File "/Users/yury/Library/Mobile Documents/com~apple~CloudDocs/App Data/Alfred/Alfred.alfredpreferences/workflows/user.workflow.3B9921BA-22A8-40E5-B6CC-713AEFD0080F/ocu/event.py", line 33, in __init__ self.start_datetime = self.parse_datetime(event_dict["startDate"]) File "/Users/yury/Library/Mobile Documents/com~apple~CloudDocs/App Data/Alfred/Alfred.alfredpreferences/workflows/user.workflow.3B9921BA-22A8-40E5-B6CC-713AEFD0080F/ocu/event.py", line 96, in parse_datetime return datetime.strptime( File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/_strptime.py", line 568, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/_strptime.py", line 349, in _strptime raise ValueError("time data %r does not match format %r" % ValueError: time data 'SingaporeT00:00' does not match format '%Y-%m-%dT%H:%M' xcode-select: note: Command line tools are already installed. Use "Software Update" in System Settings or the softwareupdate command line interface to install updates [10:25:25.094] Logging Stopped.

Time Threshold does not have any effect

When I am setting Time Threshold to 20 minutes, the workflow shows all events in a day and not as expected within the next 20 minutes.

My time format is set to: HH:MM:SS (24hrs)

Coudn't add permission on macOS Sonoma

Hi
I tried to use your workflow, but on the step to give permissions for the workflow I am not able to do it. I just don't see alfred in the calendar's permission options
Screenshot 2023-10-02 at 08 53 37

Getting ValueError exception

Running on macos

Was running fine until yesterday when I started to get these errors.

[10:37:35.824] ERROR: Open Conference URL[Script Filter] Code 1: Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/Users/obfuscated/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C9848DC8-104B-4182-A55B-18D74503C35A/ocu/list_events.py", line 115, in <module>
    main()
  File "/Users/obfuscated/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C9848DC8-104B-4182-A55B-18D74503C35A/ocu/list_events.py", line 79, in main
    all_events = [event for event in get_events() if event.conference_url]
  File "/Users/obfuscated/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C9848DC8-104B-4182-A55B-18D74503C35A/ocu/list_events.py", line 31, in get_events
    return [Event(event_blob) for event_blob in event_blobs]
  File "ocu/event.py", line 18, in __init__
    self.start_datetime = self.parse_start_datetime()
  File "ocu/event.py", line 41, in parse_start_datetime
    prefs.date_format, prefs.time_format))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_strptime.py", line 335, in _strptime
    data_string[found.end():])
ValueError: unconverted data remains: 
    location: https://us06web.zoom.us/j/obfuscated?from=addon

Stuck in "Loading..." state when accessing meetings

I'm trying to use the workflow but can't seem to get it to load any meetings. This is what I've done:

  • Installed workflow from Alfred Gallery

  • Used the default configurations

  • Typed conf in Alfred

  • I never get past the "Loading..." message
    image

  • This is all that shows up in the debugger:
    image

More details that may or may not be helpful:

  • I'm using Alfred v5.1.4 and Sonoma 14.0
  • If I run /usr/bin/python3 -m ocu.list_events in my terminal, I get the following error, which makes me think something didn't get installed correctly:
/Library/Developer/CommandLineTools/usr/bin/python3: Error while finding module specification for 'ocu.list_events' (ModuleNotFoundError: No module named 'ocu')

Is there any other information I can provide to help debug this?

Dial in Link for MS Teams meetings instead of video meeting

My calendar events, created by MS Outlook, contains links to the Video call and dial in links (https://dialin.teams.microsoft.com/..)
The workflow uses the dialin.teams.mircrosoft.com link instead of the teams.microsotf.com link. The result is that the workflow opens the page for Conference Dial In Numbers for MS Teams.

I think it would be better to configure the link pattern instead of just the domain. Especially when an invitation contains more than just the video meeting link.

Open without browser

Feature request:

There is a way to open the urls directly in zoom. As I mostly use zoom, I duplicated your conf part of the workflow and modified it like this:

screenshot

And the content of the Run Script part is this:

url="${event_conference_url/https/zoommtg}"
url="${url/\/j\///join?action=join&confno=}"
url="${url/?pwd=/&pwd=}";
open $url;
//echo $url;
echo $event_conference_url;

It converts the URL to one that can be directly opened in the zoom app.

Applescript taking a considerable time

Hi!

I've been using this workflow for a while and love it. Recently, I've noticed the workflow timing out before it can return values.
This seems to be tied to the applescript. With corporate calendars syncing, it is quite a big of total events in the calendar.

For example, just running the apple script by itself takes 1:40 min.
Meanwhile, icalBuddy eventsToday sits at around 3.5 seconds.

Any thoughts on what might be causing that performance in the apple script, or if it is worth forking and reworking it into a fork for myself, if it does not affect others?

Alfred workflow can't find my meetings

Hey Caleb,
the alfred workflow seems not working properly on my mac.
It doesn't find any meetings in my calendar.

Could you please help me?

thanks
Stefan

Not showing results in Macos Sonoma

Steps to Reproduce

  1. Upgrade to Macos Sanoma public beta
  2. Update XCode, and command lines to beta
  3. Tried to use conf in the alfred

Steps to debug

The issue is with the Apple script, as it appears to be malfunctioning in the updated macOS version.
I attempted to execute the command but encountered a "seg fault" error.

osascript /Users/vaibhavsingh/Library/CloudStorage/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.803C1F13-CB40-4CAB-87F7-E842DC56A074/ocu/get-calendar-events.applescript
[1]    86120 segmentation fault  osascript

Log from Alfred Debugger

[13:08:43.739] Open Conference URL[[Script Filter](alfredpreferences:workflows%3Eworkflow%3Euser.workflow.803C1F13-CB40-4CAB-87F7-E842DC56A074%3EAD06006F-71F6-4731-9942-D0697E95329A)] Queuing argument '(null)'
[13:08:44.256] Open Conference URL[[Script Filter](alfredpreferences:workflows%3Eworkflow%3Euser.workflow.803C1F13-CB40-4CAB-87F7-E842DC56A074%3EAD06006F-71F6-4731-9942-D0697E95329A)] Script with argv '(null)' finished
[13:08:44.262] ERROR: Open Conference URL[[Script Filter](alfredpreferences:workflows%3Eworkflow%3Euser.workflow.803C1F13-CB40-4CAB-87F7-E842DC56A074%3EAD06006F-71F6-4731-9942-D0697E95329A)] Code 1: Traceback (most recent call last):
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/Users/vaibhavsingh/Library/CloudStorage/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.803C1F13-CB40-4CAB-87F7-E842DC56A074/ocu/list_events.py", line 157, in <module>
    main()
  File "/Users/vaibhavsingh/Library/CloudStorage/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.803C1F13-CB40-4CAB-87F7-E842DC56A074/ocu/list_events.py", line 114, in main
    all_events = get_events_today_with_conference_urls()
  File "/Users/vaibhavsingh/Library/CloudStorage/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.803C1F13-CB40-4CAB-87F7-E842DC56A074/ocu/list_events.py", line 38, in get_events_today_with_conference_urls
    return [event for event in get_events_today() if event.conference_url]
  File "/Users/vaibhavsingh/Library/CloudStorage/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.803C1F13-CB40-4CAB-87F7-E842DC56A074/ocu/list_events.py", line 31, in get_events_today
    event_dicts = get_event_dicts()
  File "/Users/vaibhavsingh/Library/CloudStorage/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.803C1F13-CB40-4CAB-87F7-E842DC56A074/ocu/list_events.py", line 24, in get_event_dicts
    return calendar.get_event_dicts(prefs['calendar_names'])
  File "/Users/vaibhavsingh/Library/CloudStorage/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.803C1F13-CB40-4CAB-87F7-E842DC56A074/ocu/calendar.py", line 25, in get_event_dicts
    return json.loads(subprocess.check_output([
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/subprocess.py", line 424, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['osascript', '/Users/vaibhavsingh/Library/CloudStorage/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.803C1F13-CB40-4CAB-87F7-E842DC56A074/ocu/get-calendar-events.applescript']' died with <Signals.SIGSEGV: 11>.
xcode-select: note: Command line tools are already installed. Use "Software Update" in System Settings or the softwareupdate command line interface to install updates

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.