insanum / gcalcli

Google Calendar Command Line Interface
MIT License
3.26k stars 307 forks source link

erreur python #625

Closed micuit-cuit closed 1 year ago

micuit-cuit commented 2 years ago

gcalcli add --calendar "" --when "$date" --duration "$duration" --title "$title" --noprompt renvois

Traceback (most recent call last):
  File "/usr/bin/gcalcli", line 11, in <module>
    load_entry_point('gcalcli==4.2.0', 'console_scripts', 'gcalcli')()
  File "/usr/lib/python3/dist-packages/gcalcli/cli.py", line 198, in main
    gcal.AddEvent(parsed_args.title, parsed_args.where, estart, eend,
  File "/usr/lib/python3/dist-packages/gcalcli/gcal.py", line 1334, in AddEvent
    new_event = self._retry_with_backoff(request)
  File "/usr/lib/python3/dist-packages/gcalcli/gcal.py", line 112, in _retry_with_backoff
    return method.execute()
  File "/usr/local/lib/python3.8/dist-packages/googleapiclient/_helpers.py", line 131, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/googleapiclient/http.py", line 937, in execute
    raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 404 when requesting https://www.googleapis.com/calendar/v3/calendars/yuhanpaire%40gmail.com/events?alt=json returned "Not Found". Details: "[{'domain': 'global', 'reason': 'notFound', 'message': 'Not Found'}]">