Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with org-gcal-post-at-point : Wrong type argument: number-or-marker-p, nil #18

Open
juan-bolivar opened this issue Jul 27, 2018 · 5 comments
Labels
bug Something isn't working

Comments

@juan-bolivar
Copy link

juan-bolivar commented Jul 27, 2018

Hello @kidd ,

First of all , great package , it's a godsend!!! , thanks also @myuhe

keep up the good work!

Can you please help me or give me some light on where to look for a solution.

I'm getting the following error when trying the function org-gcal-post-at-point

error in process sentinel: Wrong type argument: number-or-marker-p, nil [2 times]

The following is the file i'm trying to sync:

* Cumple Christiam
  :PROPERTIES:
  :END:
  <2018-08-05 dom.>

and this is my config file:

(setq package-check-signature nil)
(require 'org-gcal)
 :ensure t
 :config
(setq org-gcal-client-id "#Private.apps.googleusercontent.com"
	org-gcal-client-secret "#Private"
	org-gcal-file-alist '(("#Private@gmail.com" .  "D://Documents//org-mode//gcal.org")))

(add-hook 'org-agenda-mode-hook (lambda () (org-gcal-sync) ))
(add-hook 'org-capture-after-finalize-hook (lambda () (org-gcal-sync) ))
(add-hook 'post-command-hook 'cw/org-auto-toggle-fragment-display t )

I'm using emacs in a Windows10 Machine

Muchas Gracias de Antemano!

@telotortium
Copy link
Collaborator

@juan-bolivar Try setting these variables

(setq toggle-on-error t)
(setq deferred:debug-on-signal t)

and then run org-gcal-post-at-point again. Does the debugger pop up? If so, copy and paste the backtrace here.

@juan-bolivar
Copy link
Author

thanks @telotortium for the quick response ,

Debugger , doesn't show up.

I'm getting the same error in the mini-buffer :

error in process sentinel: Wrong type argument: number-or-marker-p, nil [2 times]

does this function require the cursor to be at the start of the file?

@shankar2k
Copy link

Has any progress been made on this issue? I have the same problem as others. The backtrace is:

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  request--curl-callback(#<process request curl> "finished\n")

This issue appears to be related to the changes made in request.el #28

@seblemaguer
Copy link

Hello,

it seems on my side that the fact that the date is not in a "scheduled" property is causing this problem.

@telotortium
Copy link
Collaborator

telotortium commented Aug 27, 2019 via email

@telotortium telotortium added the bug Something isn't working label Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants