org-gcal.el icon indicating copy to clipboard operation
org-gcal.el copied to clipboard

org-gcal-fetch gives (error . "exited abnormally with code 1")

Open jackjackk opened this issue 9 years ago • 8 comments

Getting:

Maked:/working/.emacs.d/org-gcal/.org-gcal-token
mapconcat: Wrong type argument: integerp, nil
Got error: (error . "exited abnormally with code 1
")

in Messages when running org-gcal-fetch.

jackjackk avatar Jan 03 '16 17:01 jackjackk

Same here when running org-gcal-fetch

Makec:/Users/[USERNAME]/.emacs.d/org-gcal/.org-gcal-token
mapconcat: Wrong type argument: integerp, nil
Got error: (error . "exited abnormally with code 60
")

GNU Emacs 24.4.1 (i686-pc-mingw32) of 2014-10-24 on LEG570 Org-mode version 8.3.3 Org-gcal version 20151230.124

MelleB avatar Jan 31 '16 20:01 MelleB

Same here!.

Make/home/user/.emacs.d/org-gcal/.org-gcal-token [2 times] mapconcat: Wrong type argument: integerp, nil Got error: (error . "exited abnormally with code 77

Linux Mint 17.3 Emacs: GNU Emacs 25.1.50.2 (x86_64-pc-linux-gnu, GTK+ Version 3.10.8) of 2016-02-14 org-gcal version: org-gcal-20160307.1206

fzhang00 avatar Mar 14 '16 15:03 fzhang00

My issue was resovlved by adding the following to my .curlrc file:

capath=/etc/ssl/certs/ cacert=/etc/ssl/certs/ca-certificates.crt

The author might consider adding curl to the pre-requisite of this software, which I did not know at the beginning.

fzhang00 avatar Mar 27 '16 17:03 fzhang00

Yeah, I'm getting Got error: (error . "exited abnormally with code 1 ") as well.

howdoicomputer avatar May 02 '16 06:05 howdoicomputer

I got same problem on windows using curl from gow (lightweight cygwin). Solved by adding _curlrc file to %HOME% directory:

capath=c:\path\to\ssl\certs
cacert=c:\path\to\ssl\certs\ca-bundle.crt

lislon avatar Mar 26 '17 13:03 lislon

This error is likely due to Windows 10 providing curl.exe in System32 (GLOBAL PATH). Update your Windows PATH to set c:\cygwin64\bin or x:\y\z\curl.exe (cygwin build) in a higher priority, log in and log out.

You should then receive 77 error, point it to your ca-bundle.crt as @lislon says.

bobberb avatar May 18 '18 06:05 bobberb

Got error: (error . "exited abnormally with code 1 ") = cURL unsupported protocol Got error: (error . "exited abnormally with code 2 ") = cURL unable to initialize Got error: (error . "exited abnormally with code 77 ") = cURL unable to find capath+cacert.

bobberb avatar May 18 '18 06:05 bobberb

Hi everyone! This repository is obsolete - the actively developed fork is now https://github.com/kidd/org-gcal.el, which is also the "org-gcal.el" on MELPA (see #115). I'm one of the maintainers of https://github.com/kidd/org-gcal.el. I can't directly close issues or PRs on this repo, but please download https://github.com/kidd/org-gcal.el and see if your issue or PR is still applicable. If so, open an issue or PR on https://github.com/kidd/org-gcal.el. In any case, you should close your issue or PR in this repo.

telotortium avatar Jun 11 '20 18:06 telotortium