emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-agenda error
@ 2016-03-06  3:49 Peter Salazar
  2016-03-07 11:09 ` Nicolas Goaziou
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Salazar @ 2016-03-06  3:49 UTC (permalink / raw)
  To: org-mode

[-- Attachment #1: Type: text/plain, Size: 6139 bytes --]

Hey everyone,

I'm suddenly getting "byte-code: Wrong type argument: number-or-marker-p,
nil" when I try to call org-agenda. This happens even when org-agenda-files
is set to nil. Here's the backtrace. Any thoughts on how I can track down
the source of the problem?

Thanks!



Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  calendar-gregorian-from-absolute(nil)
  byte-code("\b\206) \203(\n\203\x19 ;\203\x19\306\307\n
#\202%\n\203$\306\310\n\"\202%\311\206)\f\x14\312\313!\210
\2064\x0e@\211\x15;\203B\314\315\316\317
#!\x15\320\321!\210\322\321!\210\323\x0eA\206W\x0eB\206W\x0eC!\x1eA\324 \x1eD
\206d\x0eD\x1eE\325\x0eA\x0eE\"\211\x1eF\326=\204{\x0eF\327=\205}\x0eG\x1eG\330\316\331\"\211\x1eH\x1eI\x0eG\203\224\x0eF\326W\203\231\x0eE\202\277\332\333\x0eE!!\x1eJ\x0eG\x1eK\x0eJ\x0eKZ\x1eL\x0eE\x0eL\334W\203\271\326\202\272\334\x0eL\\Z+\211\x1eMC\x1eN\334\x1eO\x0eP?\x1eQ\x0eR\x1eS\316\211\x1eT\x1eU\316\211\x1eV\x1eW\316\211\x1eX\x1eY\316\211\x1eL\x1eZ\316\211\x1e[\x1e\\\316\211\x1e]\x1e^\316\x1e_\335\336\x0e`D
\336\x0eAD\x0ea\257\x05\x16b\x0eFS\334\x1ec\x1ed\x0ec\x0edW\203*\x01\x0eN@T\x0eNB\x16N\x0ecT\211\x16c\202\x12\x01*\x0eN\237\211\x16N@
\x16]\x0eN\x1ee\337\x0ee!@)\206B\x01\334T\x16^\340\x0eN@
\x1ef\x1eg\341\x0eg!\x0efL*\210\342\x0e`\x1ef\x1eg\341\x0eg!\x0efL*\210\343\323\x0eA!\x1ef\x1eg\341\x0eg!\x0efL*\210\x0eh\204\362\x01\x0eN@\x1ei\x0eN\x1ee\337\x0ee!@)\x1ej\344\x0ei!\x1ek\344\x0ej!\x1el`\x16T\x0em\203\262\x01\345\346\x0em!\316\347\350$\351\261\x02\210\202\340\x01\352\x0eA!\353\x0ej\x0eiZ\354W\203\333\x01\x0ek\x0elU\203\321\x01\306\355\x0ek\"\202\334\x01\306\356\x0ek\x0el#\202\334\x01\357\360\261\x04\210,\361\x0eT`S\347\350\362\317F#\210\363\x0eT!\210\x0eN\211A\x16N\242\211\x16L\203\374\x02\333\x0eL!\x16Y`\x16T\x0eL\x0eDU\211\x16\\\204
\x02\x0eZ\204&\x02\x0eL\x0eEU\203&\x02`\x16Z\2023\x02\x0eZ\2033\x02\x0e[\2043\x02`\x16[\x0eH\x16I\316\x16W\x0eI\211A\x16I\242\211\x16X\203N\x02\364\365\215\210\202:\x02\x0en\203i\x02\317\x1eo\366\367!\210\370\x0eY!\x16V\371\x0eW\x0eV\"\x16W)\x0eW\204s\x02\x0ep\203\362\x01\x0eOT\x16O\x0eq;\203\211\x02\372\x0eq\373\x0eY!\"\202\216\x02\x0eq\x0eY!\351\261\x02\210\374\x0eT`S\347\375\x0eY!$\210\374\x0eT`S\362\317$\210\374\x0eT`S\376\317$\210\374\x0eT`S\377\x0eO$\210\x0e\\\203\310\x02\374\x0eT`S\324\317$\210\201y\x0eW\x0eF\x0e\\#\211\x16W\203\343\x02\201z\x0eW\321\"\351\261\x02\210\374\x0eT`S\201{\x0eL$\210\374\x0eT`S\377\x0eO$\210\202\362\x01\x0er\203U\x03\x0e]\203U\x03\330\316\331\"\346\x0es!\316\x1et\x1eu\x1e\x18\201|\x0eu\201}\"\x16u\201~\x0eu\201\x7f\x0e]#\x16u\201~\x0eu\201\200\x0e^#\x16u\201~\x0eu\201\201\321#\x16u\201\202\201\203\x0eu\"\211\x16tc\210+eb\210\x0ev\204b\x03\201\204
\210\201\205e!\203r\x03\201\205d!\204\237\x03dSb\210\201\206\201\207!\210\201\205\x0eZ\206\211\x03\201\210!\204\237\x03\x0eZ\206\225\x03\201\210b\210\201\206\201\210!\210\x0eZ\206\247\x03\201\210b\210\361ed\201\211\321\201\212\x0e`
\x0eAE\201\213\x0eb\201\214\x0ew\257\b#\210\x0eS\201\215=\203\325\x03\201\216 \210\201\217
\210\317\x16x\201\220\357!.\x19\207" [org-agenda-buffer-tmp-name
org-agenda-sticky org-keys org-match org-agenda-buffer-name start-day
format "*Org Agenda(%s:%s)*" "*Org Agenda(%s)*" "*Org Agenda(a)*"
org-agenda-prepare "Day/Week" time-to-days org-read-date nil t
org-compile-prefix-format agenda org-set-sorting-strategy
org-agenda-ndays-to-span org-today org-agenda-span-to-ndays 7 14
org-agenda-files ifmode calendar-day-of-week
calendar-gregorian-from-absolute 0 org-agenda-list quote last
org-starting-day make-local-variable org-arg-loc org-agenda-current-span
org-days-to-iso-week org-add-props copy-sequence face org-agenda-structure
"\n" org-agenda-span-name "-agenda" 350 " (W%02d)" " (W%02d-W%02d)" ""
":\n" add-text-properties ...] 12)
  org-agenda-list(nil)
  call-interactively(org-agenda-list)
  byte-code("\306\x18 \x19\307 \232\203\x0f\310\202\x10\n\x1a \x1c\311\306\312\313 \"\"^[\314
\"^[p\x1e@\315\316
!\x1eA\306\211\x1eB\x1eC\306\211\x1eD\x1eE\306\211\x1eF\x1eG\x0eH\204`\317\320!\203K\x0e\x10\204Q\321\322\323\306#\210\306\x16I\x0eJ\306\211\223\210\x0eK\306\211\223\210\321\324\325\306#\210\321\324\326\306#\210p\x16L\x0eM\204\202\327\b!\211\x16G@\x16M\x0eGA\x16N\x0eO\203\215\330\331\x0eM\"\x11\x0eH\204\330\x0eN\203\330\321\322\323\x0eAC#\210\x0eN\332=\203\272p\x16I\x0eJ\333
\306\223\210\x0eK\334
\306\223\210\202\330\x0eN\335=\203\330\212p\x16I\336\337!\210\x0eJ`\306\223\210\x0eK\340\337!\306\223\210)\341\x0eM
\"\211\x16B\203\x1a\x02\342\x0eB89\204\364\343\342\x0eB8!\203\b\x02\342\x0eB8\x16D\344\345\x0eB8!\x16E\346\x0eB8\x16F\x0eO\203#\x01\x0eE;\203\x1d\x01\330\347\x0eM\x0eE#\206\"\x01\330\331\x0eM\"\x11\321\324\325\x0eF#\210\x0eD\350=\2039\x01\351\x0eF\352\"\202\237\x03\x0eD\353=\203H\x01\351\x0eF\354\"\202\237\x03\x0eD\355=\203W\x01\351\x0eF\356\"\202\237\x03\x0eD\357=\203f\x01\351\x0eF\360\"\202\237\x03\x0eD\361=\203u\x01\351\x0eF\362\"\202\237\x03\x0eD\363=\203\204\x01\351\x0eF\364\"\202\237\x03\x0eD\365=\203\223\x01\351\x0eF\366\"\202\237\x03\x0eD\367=\203\242\x01\351\x0eF\370\"\202\237\x03\x0eD\371=\203\264\x01\372
\210\351\x0eF\373\"\202\237\x03\x0eD\374=\203\306\x01\372
\210\351\x0eF\375\"\202\237\x03\x0eD\376=\203\330\x01\372
\210\351\x0eF\377\"\202\237\x03\343\x0eD!\203\351\x01\351\x0eF\201S\"\202\237\x03\201T\x0eD!\203\374\x01\351\x0eF\201U\"\202\237\x03\201V\201W\x0eD\"\202\237\x03\201X\x0eBA@
\x0eB\211AA\262\x01\"\202\237\x03\x0eM\201Y\232\203-\x02\f\x13\201Z\303!\202\237\x03\x0eM\201[\232\203@\x02\201\\\201]!\202\237\x03\x0eM\201^\232\203S\x02\201\\\201_!\202\237\x03\x0eM\201`\232\203y\x02\201_\x0eP\206g\x02\201a\x1eP\x1eQ\x0eP\x1eR\201\\\x0eQ!+\202\237\x03\x0eM\201b\232\203\214\x02\201\\\201c!\202\237\x03\x0eM\201d\232\203\262\x02\201c\x0eP\206\240\x02\201e\x1eP\x1eQ\x0eP\x1eR\201\\\x0eQ!+\202\237\x03\x0eM\201f\232\203\305\x02\201\\\201g!\202\237\x03\x0eM\201h\232\203\353\x02\201g\x0eP\206\331\x02\201i\x1eP\x1eQ\x0eP\x1eR\201\\\x0eQ!+\202\237\x03\x0eM\201j\232\203\376\x02\201\\\201k!\202\237\x03\x0eM\201l\232\203\x1f\x03\201g\306\201m\"\210\201n\201o\201p\337\211$\202\237\x03\x0eM\201q\232\203_\x03\201r\201s!\204:\x03\201V\201t!\210\x0eN?\205\237\x03\321\322\323\x0eAC#\210\201u\x0eP\x1eP\x1eQ\x0eP\x1eR\201\\\x0eQ!+\202\237\x03\x0eM\201v\232\203r\x03\201\\\201w!\202\237\x03\x0eM\201x\232\203\205\x03\201\\\201y!\202\237\x03\x0eM\201z\232\203\230\x03\201Z\201{!\202\237\x03\201V\201|!.\x0e\207"
[prefix-descriptions org-agenda-buffer-name org-agenda-window-setup
org-agenda-custom-commands org-agenda-custom-commands-orig
org-agenda-custom-commands-contexts nil buffer-name current-window delq
mapcar #[(x) "\bA;\203\f\b
B\x11\302\207\bA@;\203\x15\b\207\bA@\204'\b@\303\b\211AA\262\x01BB\207\b@\303\bABB\207"
[x prefix-descriptions nil ""] 4] org-contextualize-keys buffer-file-name
buffer-base-buffer boundp org-agenda-keep-restricted-file-list put
org-agenda-files org-restrict org-agenda-redo-command org-lprops last-args
org-agenda-get-restriction-and-command format "*Org Agenda(%s)*" region
region-beginning region-end subtree org-back-to-heading t
org-end-of-subtree assoc 2 functionp eval 3 4 "*Org Agenda(%s:%s)*" agenda
org-let (org-agenda-list current-prefix-arg) agenda* (org-agenda-list
current-prefix-arg nil nil t) alltodo (org-todo-list current-prefix-arg)
search (org-search-view current-prefix-arg org-match nil) stuck ...] 6)
  org-agenda(nil)
  call-interactively(org-agenda nil nil)
  command-execute(org-agenda)

[-- Attachment #2: Type: text/html, Size: 6894 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-agenda error
  2016-03-06  3:49 org-agenda error Peter Salazar
@ 2016-03-07 11:09 ` Nicolas Goaziou
  2016-03-07 15:40   ` Peter Salazar
  0 siblings, 1 reply; 7+ messages in thread
From: Nicolas Goaziou @ 2016-03-07 11:09 UTC (permalink / raw)
  To: Peter Salazar; +Cc: org-mode

Hello,

Peter Salazar <cycleofsong@gmail.com> writes:

> I'm suddenly getting "byte-code: Wrong type argument: number-or-marker-p,
> nil" when I try to call org-agenda. This happens even when org-agenda-files
> is set to nil. Here's the backtrace. Any thoughts on how I can track down
> the source of the problem?

Could you provide the backtrace running un-compiled Org? It is just
a matter of calling C-u M-x org-reload.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-agenda error
  2016-03-07 11:09 ` Nicolas Goaziou
@ 2016-03-07 15:40   ` Peter Salazar
  2016-03-10  3:44     ` Peter Salazar
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Salazar @ 2016-03-07 15:40 UTC (permalink / raw)
  To: org-mode, Nicolas Goaziou

[-- Attachment #1: Type: text/plain, Size: 829 bytes --]

Well that's interesting. When I do C-u M-x org-reload and then call
org-agenda, it displays correctly with no error.

How do I debug? I already went into my config files and commented out all
the code containing the word org-agenda, but the error still happens.


On Mon, Mar 7, 2016 at 6:09 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Peter Salazar <cycleofsong@gmail.com> writes:
>
> > I'm suddenly getting "byte-code: Wrong type argument: number-or-marker-p,
> > nil" when I try to call org-agenda. This happens even when
> org-agenda-files
> > is set to nil. Here's the backtrace. Any thoughts on how I can track down
> > the source of the problem?
>
> Could you provide the backtrace running un-compiled Org? It is just
> a matter of calling C-u M-x org-reload.
>
> Regards,
>
> --
> Nicolas Goaziou
>

[-- Attachment #2: Type: text/html, Size: 1377 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-agenda error
  2016-03-07 15:40   ` Peter Salazar
@ 2016-03-10  3:44     ` Peter Salazar
  2016-03-10  8:21       ` Nicolas Goaziou
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Salazar @ 2016-03-10  3:44 UTC (permalink / raw)
  To: org-mode, Nicolas Goaziou

[-- Attachment #1: Type: text/plain, Size: 1177 bytes --]

Any thoughts on that? I'm not sure if it's related, but I also get errors
when I try to call helm-org-in-buffer-headings. Somehow the backtrace gets
immediately erased, so here's a screenshot:
http://i.imgur.com/FoTiwoq.png

On Mon, Mar 7, 2016 at 10:40 AM, Peter Salazar <cycleofsong@gmail.com>
wrote:

> Well that's interesting. When I do C-u M-x org-reload and then call
> org-agenda, it displays correctly with no error.
>
> How do I debug? I already went into my config files and commented out all
> the code containing the word org-agenda, but the error still happens.
>
>
> On Mon, Mar 7, 2016 at 6:09 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
> wrote:
>
>> Hello,
>>
>> Peter Salazar <cycleofsong@gmail.com> writes:
>>
>> > I'm suddenly getting "byte-code: Wrong type argument:
>> number-or-marker-p,
>> > nil" when I try to call org-agenda. This happens even when
>> org-agenda-files
>> > is set to nil. Here's the backtrace. Any thoughts on how I can track
>> down
>> > the source of the problem?
>>
>> Could you provide the backtrace running un-compiled Org? It is just
>> a matter of calling C-u M-x org-reload.
>>
>> Regards,
>>
>> --
>> Nicolas Goaziou
>>
>
>

[-- Attachment #2: Type: text/html, Size: 2088 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-agenda error
  2016-03-10  3:44     ` Peter Salazar
@ 2016-03-10  8:21       ` Nicolas Goaziou
  2016-03-15 23:58         ` Peter Salazar
  0 siblings, 1 reply; 7+ messages in thread
From: Nicolas Goaziou @ 2016-03-10  8:21 UTC (permalink / raw)
  To: Peter Salazar; +Cc: org-mode

Hello,

Peter Salazar <cycleofsong@gmail.com> writes:

> Any thoughts on that? I'm not sure if it's related, but I also get errors
> when I try to call helm-org-in-buffer-headings. Somehow the backtrace gets
> immediately erased, so here's a screenshot:
> http://i.imgur.com/FoTiwoq.png

From the above, it looks like `helm-org--get-candidate-in-file' is
erroneously called from a non-Org buffer (here, "*Backtrace*").  Outside
Org, `org-complex-heading-regexp' is nil, hence the result.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-agenda error
  2016-03-10  8:21       ` Nicolas Goaziou
@ 2016-03-15 23:58         ` Peter Salazar
  2016-03-16  1:11           ` Peter Salazar
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Salazar @ 2016-03-15 23:58 UTC (permalink / raw)
  To: Peter Salazar, org-mode

[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]

Unfortunately, that's not the case (that helm-org-in-buffer-headings) is
called in a non-org buffer. It happens whenever I call it from within any
org-file. I also tried calling it from within a short, minimal org-file
with just a few headings of various levels, and I get the same error.

The error, once again, is this:
http://i.imgur.com/FoTiwoq.png

And again, the error I get when I call org-agenda is this:
http://pastebin.com/wCBgAQLp

On Thu, Mar 10, 2016 at 3:21 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Peter Salazar <cycleofsong@gmail.com> writes:
>
> > Any thoughts on that? I'm not sure if it's related, but I also get errors
> > when I try to call helm-org-in-buffer-headings. Somehow the backtrace
> gets
> > immediately erased, so here's a screenshot:
> > http://i.imgur.com/FoTiwoq.png
>
> From the above, it looks like `helm-org--get-candidate-in-file' is
> erroneously called from a non-Org buffer (here, "*Backtrace*").  Outside
> Org, `org-complex-heading-regexp' is nil, hence the result.
>
> Regards,
>
> --
> Nicolas Goaziou
>

[-- Attachment #2: Type: text/html, Size: 1955 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-agenda error
  2016-03-15 23:58         ` Peter Salazar
@ 2016-03-16  1:11           ` Peter Salazar
  0 siblings, 0 replies; 7+ messages in thread
From: Peter Salazar @ 2016-03-16  1:11 UTC (permalink / raw)
  To: org-mode

[-- Attachment #1: Type: text/plain, Size: 1453 bytes --]

Update: I fixed the org-agenda problem. Turns out the problem was that I'd
created my own custom defun called org-today, and it was interfering with
org-agenda.

The helm-org-in-buffer-headings error is still occurring. Thanks for any
thoughts.

On Tue, Mar 15, 2016 at 7:58 PM, Peter Salazar <cycleofsong@gmail.com>
wrote:

> Unfortunately, that's not the case (that helm-org-in-buffer-headings) is
> called in a non-org buffer. It happens whenever I call it from within any
> org-file. I also tried calling it from within a short, minimal org-file
> with just a few headings of various levels, and I get the same error.
>
> The error, once again, is this:
> http://i.imgur.com/FoTiwoq.png
>
> And again, the error I get when I call org-agenda is this:
> http://pastebin.com/wCBgAQLp
>
>
> On Thu, Mar 10, 2016 at 3:21 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
> wrote:
>
>> Hello,
>>
>> Peter Salazar <cycleofsong@gmail.com> writes:
>>
>> > Any thoughts on that? I'm not sure if it's related, but I also get
>> errors
>> > when I try to call helm-org-in-buffer-headings. Somehow the backtrace
>> gets
>> > immediately erased, so here's a screenshot:
>> > http://i.imgur.com/FoTiwoq.png
>>
>> From the above, it looks like `helm-org--get-candidate-in-file' is
>> erroneously called from a non-Org buffer (here, "*Backtrace*").  Outside
>> Org, `org-complex-heading-regexp' is nil, hence the result.
>>
>> Regards,
>>
>> --
>> Nicolas Goaziou
>>
>
>

[-- Attachment #2: Type: text/html, Size: 2645 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-03-16  1:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-06  3:49 org-agenda error Peter Salazar
2016-03-07 11:09 ` Nicolas Goaziou
2016-03-07 15:40   ` Peter Salazar
2016-03-10  3:44     ` Peter Salazar
2016-03-10  8:21       ` Nicolas Goaziou
2016-03-15 23:58         ` Peter Salazar
2016-03-16  1:11           ` Peter Salazar

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).