emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* BUG REPORT - problem with org.elc on clocking out
@ 2015-08-09 20:00 Sharon Kimble
  2015-08-09 20:30 ` Kyle Meyer
  0 siblings, 1 reply; 10+ messages in thread
From: Sharon Kimble @ 2015-08-09 20:00 UTC (permalink / raw)
  To: org-mode-email

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


I'm finding that when I clock out now I get the following error report - 

--8<---------------cut here---------------start------------->8---
Clock stopped at [2015-08-09 Sun 20:25] after 1:50
save-excursion: Wrong number of arguments: #[(pos) "rÂ\b!ƒ\0Ã\b!‚\0pqˆŠŒ~ˆ\bbˆÄ Å	!Æ>…=ÇÈ	\"?…=ÇÉ	\"ÇÊ	\"bˆËÌxˆÌyˆ`|,‡" [pos drawer markerp marker-buffer org-element-at-point org-element-type (drawer property-drawer) org-element-property :contents-begin :begin ...] 4 ("/home/boudiccas/.emacs.d/elpa/org-plus-contrib-20150805/org.elc" . 462364)], 2
Saving file /home/boudiccas/.emacs.d/org/organiser.org...
--8<---------------cut here---------------end--------------->8---

Sorry about the long lines, but thats how it shows in my *message* buffer.

Thanks
Sharon
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.3

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

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

* Re: BUG REPORT - problem with org.elc on clocking out
  2015-08-09 20:00 BUG REPORT - problem with org.elc on clocking out Sharon Kimble
@ 2015-08-09 20:30 ` Kyle Meyer
  2015-08-10 17:37   ` Sharon Kimble
  0 siblings, 1 reply; 10+ messages in thread
From: Kyle Meyer @ 2015-08-09 20:30 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: org-mode-email

Hello,

Sharon Kimble <boudiccas@skimble.plus.com> wrote:
> I'm finding that when I clock out now I get the following error report

I cannot reproduce this with 'emacs -Q' and the following test.

Clocking in (C-c C-x C-i) and then out (C-c C-x C-o) on the following
heading

    * h

results in

    * h
      :LOGBOOK:
      CLOCK: [2015-08-09 Sun 16:23]--[2015-08-09 Sun 16:23] =>  0:00
      :END:

Do you still get the error after running 'C-u M-x org-reload'?

--
Kyle

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

* Re: BUG REPORT - problem with org.elc on clocking out
  2015-08-09 20:30 ` Kyle Meyer
@ 2015-08-10 17:37   ` Sharon Kimble
  2015-08-10 17:54     ` Kyle Meyer
                       ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Sharon Kimble @ 2015-08-10 17:37 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: org-mode-email

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

Kyle Meyer <kyle@kyleam.com> writes:

> Hello,
>
> Sharon Kimble <boudiccas@skimble.plus.com> wrote:
>> I'm finding that when I clock out now I get the following error report
>
> I cannot reproduce this with 'emacs -Q' and the following test.
>
> Clocking in (C-c C-x C-i) and then out (C-c C-x C-o) on the following
> heading
>
>     * h
>
> results in
>
>     * h
>       :LOGBOOK:
>       CLOCK: [2015-08-09 Sun 16:23]--[2015-08-09 Sun 16:23] =>  0:00
>       :END:
>
> Do you still get the error after running 'C-u M-x org-reload'?
>
Yes, its still occurring even after closing and restarting emacs. In
fact I've just done this to check for certain, and this time it threw up
a debugger page, which says -

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (wrong-number-of-arguments #[(pos) "r\302\b!\203\0\303\b!\202\0pq\210\212\214~\210\bb\210\304 \305	!\306>\205=\307\310	\"?\205=\307\311	\"\307\312	\"b\210\313\314x\210\314y\210`|,\207" [pos drawer markerp marker-buffer org-element-at-point org-element-type (drawer property-drawer) org-element-property :contents-begin :begin :end " 	
" nil] 4 ("/home/boudiccas/.emacs.d/elpa/org-plus-contrib-20150805/org.elc" . 462364)] 2)
  org-remove-empty-drawer-at("LOGBOOK" 11266)
  (save-excursion (beginning-of-line 0) (org-remove-empty-drawer-at "LOGBOOK" (point)))
  bh/remove-empty-drawer-on-clock-out()
  #[(f) "\b \207" [f] 1](bh/remove-empty-drawer-on-clock-out)
  mapc(#[(f) "\b \207" [f] 1] (org-clock-remove-empty-clock-drawer bh/remove-empty-drawer-on-clock-out bh/clock-out-maybe))
  byte-code("\306 \204\x1f\307\310\b\"	\311 \210\v\203\0\312\313\314\"\210\202\x1f\315\316!\210\f\2035\317\320r\321!q\210@)\322\314\323%\2027\x0eA\324B!\322\211\211\211\211\211CDEFGHIAIJ\212\325 q\210\214~\210b\210\326\327!\210\330\331KP!\203~\332\327!L\232\203~\332\333!H\202\216\v\203\212\312\313\322\"\210\202\216\334\335!\210\336\225b\210`\337 |\210\340c\210\341M\206\242\x0eI\342\343#G\344\345\346\347G!\"!\344\345\346\347H!\"!ZF\350F\351\245!EFE\351_ZF\350F\352\245!DF\211\352_ZF\353\354\355ED#\261\210N\205\364\x0eED\\\336U\211C\203\x01\326\327!\210`\337 |\210\330\356!\203\x01d`TV\203\x01\357\327!\210\322\211\223\210O\322\211\223\210P\2033\360\361\322\211\211\211\362\363\314!\364Q&\210Q\203@\365Q!\210\322QR\203M\365R!\210\322R\307\310\b\"	\x0eA\203\234\212\366\314!\210\314\322ST\367A!\203\205\330U!\210A\332\333!!\211V\203\201\370V!\210)\202\233\x0eA\203\233\330W\331A\371R!\204\233\370A!\210+\311 \210\372\373\374E\352_D\\!\375QGC\203\267\376\202\270\377#\210X\201\\ YEY\203\355\x0eY;\204\355\201] \203\355\x0eZ\201^=\203\355\x0eS\203\355\307\201_\x0eE\"E\201`\201a\x0eE\"\210*\306 ?\205\x02\322\211[.\n\207" [global-mode-string org-frame-title-format-backup frame-title-format fail-quietly switch-to-state org-clock-marker org-clocking-p delq org-mode-line-string force-mode-line-update throw exit t user-error "No active clock" completing-read "Switch to state: " marker-buffer nil "DONE" org-current-time org-clocking-buffer beginning-of-line 1 looking-at "[ 	]*" match-string 2 error "Clock start time is gone" 0 point-at-eol "--" org-insert-time-stamp with-hm inactive org-float-time apply encode-time org-parse-time-string floor 3600 60 " => " format "%2d:%02d" "\n" delete-char org-add-log-setup clock-out ...] 10)
  org-clock-out()
  org-agenda-clock-out()
  #<subr call-interactively>(org-agenda-clock-out nil nil)
  ad-Advice-call-interactively(#<subr call-interactively> org-agenda-clock-out nil nil)
  apply(ad-Advice-call-interactively #<subr call-interactively> (org-agenda-clock-out nil nil))
  call-interactively(org-agenda-clock-out nil nil)
  command-execute(org-agenda-clock-out)
--8<---------------cut here---------------end--------------->8---

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.3

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

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

* Re: BUG REPORT - problem with org.elc on clocking out
  2015-08-10 17:37   ` Sharon Kimble
@ 2015-08-10 17:54     ` Kyle Meyer
  2015-08-10 18:23       ` Achim Gratz
  2015-08-10 18:28       ` Sharon Kimble
  2015-08-10 18:04     ` Nick Dokos
  2015-08-10 21:33     ` Nicolas Goaziou
  2 siblings, 2 replies; 10+ messages in thread
From: Kyle Meyer @ 2015-08-10 17:54 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: org-mode-email

Sharon Kimble <boudiccas@skimble.plus.com> wrote:
[...]
>> Do you still get the error after running 'C-u M-x org-reload'?
>>
> Yes, its still occurring even after closing and restarting emacs.

Just restarting emacs will still use the compiled files.  Did you try
'C-u M-x org-reload' (the C-u prefix loads the *.el files instead of
*.elc)?

--
Kyle

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

* Re: BUG REPORT - problem with org.elc on clocking out
  2015-08-10 17:37   ` Sharon Kimble
  2015-08-10 17:54     ` Kyle Meyer
@ 2015-08-10 18:04     ` Nick Dokos
  2015-08-10 21:33     ` Nicolas Goaziou
  2 siblings, 0 replies; 10+ messages in thread
From: Nick Dokos @ 2015-08-10 18:04 UTC (permalink / raw)
  To: emacs-orgmode

Sharon Kimble <boudiccas@skimble.plus.com> writes:

> Kyle Meyer <kyle@kyleam.com> writes:
>
>> Do you still get the error after running 'C-u M-x org-reload'?
>>
> Yes, its still occurring even after closing and restarting emacs. In
> fact I've just done this to check for certain, and this time it threw up
> a debugger page, which says -
>

The backtrace *may* be enough for somebody to debug but FYI: C-u M-x org-reload
reloads *uncompiled* org-mode which makes the backtrace much more
informative.

> Debugger entered--Lisp error: (wrong-number-of-arguments #[(pos) "r\302\b!\203\303\b!\202pq\210\212\214~\210\bb\210\304 \305	!\306>\205=\307\310	\"?\205=\307\311	\"\307\312	\"b\210\313\314x\210\314y\210`|,\207" [pos drawer markerp marker-buffer org-element-at-point org-element-type (drawer property-drawer) org-element-property :contents-begin :begin :end " 	
> " nil] 4 ("/home/boudiccas/.emacs.d/elpa/org-plus-contrib-20150805/org.elc" . 462364)] 2)
>   org-remove-empty-drawer-at("LOGBOOK" 11266)
>   (save-excursion (beginning-of-line 0) (org-remove-empty-drawer-at "LOGBOOK" (point)))
>   bh/remove-empty-drawer-on-clock-out()
>   #[(f) "\b \207" [f] 1](bh/remove-empty-drawer-on-clock-out)
>   mapc(#[(f) "\b \207" [f] 1] (org-clock-remove-empty-clock-drawer bh/remove-empty-drawer-on-clock-out bh/clock-out-maybe))
>   byte-code("\306 \204\x1f\307\310\b\"	\311 \210\v\203\312\313\314\"\210\202\x1f\315\316!\210\f\2035\317\320r\321!q\210@)\322\314\323%\2027A\324B!\322\211\211\211\211\211CDEFGHIAIJ\212\325 q\210\214~\210b\210\326\327!\210\330\331KP!\203~\332\327!L\232\203~\332\333!H\202\216\v\203\212\312\313\322\"\210\202\216\334\335!\210\336\225b\210`\337 |\210\340c\210\341M\206\242I\342\343#G\344\345\346\347G!\"!\344\345\346\347H!\"!ZF\350F\351\245!EFE\351_ZF\350F\352\245!DF\211\352_ZF\353\354\355ED#\261\210N\205\364ED\\\336U\211C\203\326\327!\210`\337 |\210\330\356!\203d`TV\203\357\327!\210\322\211\223\210O\322\211\223\210P\2033\360\361\322\211\211\211\362\363\314!\364Q&\210Q\203@\365Q!\210\322QR\203M\365R!\210\322R\307\310\b\"	A\203\234\212\366\314!\210\314\322ST\367A!\203\205\330U!\210A\332\333!!\211V\203\201\370V!\210)\202\233A\203\233\330W\331A\371R!\204\233\370A!\210+\311 \210\372\373\374E\352_D\\!\375QGC\203\267\376\202\270\377#\210X\201\\ YEY\203\355Y;\204\355\201] \203\355Z\201^=\203\355S\203\355\307\201_E\"E\201`\201aE\"\210*\306 ?\205\322\211[.\n\207" [global-mode-string org-frame-title-format-backup frame-title-format fail-quietly switch-to-state org-clock-marker org-clocking-p delq org-mode-line-string force-mode-line-update throw exit t user-error "No active clock" completing-read "Switch to state: " marker-buffer nil "DONE" org-current-time org-clocking-buffer beginning-of-line 1 looking-at "[ 	]*" match-string 2 error "Clock start time is gone" 0 point-at-eol "--" org-insert-time-stamp with-hm inactive org-float-time apply encode-time org-parse-time-string floor 3600 60 " => " format "%2d:%02d" "\n" delete-char org-add-log-setup clock-out ...] 10)
>   org-clock-out()
>   org-agenda-clock-out()
>   #<subr call-interactively>(org-agenda-clock-out nil nil)
>   ad-Advice-call-interactively(#<subr call-interactively> org-agenda-clock-out nil nil)
>   apply(ad-Advice-call-interactively #<subr call-interactively> (org-agenda-clock-out nil nil))
>   call-interactively(org-agenda-clock-out nil nil)
>   command-execute(org-agenda-clock-out)
>

A backtrace produced with uncompiled code would have lisp code instead
of the byte-code binary stuff.

Nick

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

* Re: BUG REPORT - problem with org.elc on clocking out
  2015-08-10 17:54     ` Kyle Meyer
@ 2015-08-10 18:23       ` Achim Gratz
  2015-08-10 18:28       ` Sharon Kimble
  1 sibling, 0 replies; 10+ messages in thread
From: Achim Gratz @ 2015-08-10 18:23 UTC (permalink / raw)
  To: emacs-orgmode

Kyle Meyer writes:
> Just restarting emacs will still use the compiled files.  Did you try
> 'C-u M-x org-reload' (the C-u prefix loads the *.el files instead of
> *.elc)?

The org-reload uncompiled command is in the Org menu in Emacs under
Refresh/Reload and bound to "C-u C-c C-x !".


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs

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

* Re: BUG REPORT - problem with org.elc on clocking out
  2015-08-10 17:54     ` Kyle Meyer
  2015-08-10 18:23       ` Achim Gratz
@ 2015-08-10 18:28       ` Sharon Kimble
  2015-08-10 18:38         ` Kyle Meyer
  1 sibling, 1 reply; 10+ messages in thread
From: Sharon Kimble @ 2015-08-10 18:28 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: org-mode-email

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

Kyle Meyer <kyle@kyleam.com> writes:

> Sharon Kimble <boudiccas@skimble.plus.com> wrote:
> [...]
>>> Do you still get the error after running 'C-u M-x org-reload'?
>>>
>> Yes, its still occurring even after closing and restarting emacs.
>
> Just restarting emacs will still use the compiled files.  Did you try
> 'C-u M-x org-reload' (the C-u prefix loads the *.el files instead of
> *.elc)?
>
I've just updated org+contrib to todays release, then done "reload org
after update" from the menu. Then just clocked in on a task, and clocked
out and its still occurred. 

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.3

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

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

* Re: BUG REPORT - problem with org.elc on clocking out
  2015-08-10 18:28       ` Sharon Kimble
@ 2015-08-10 18:38         ` Kyle Meyer
  0 siblings, 0 replies; 10+ messages in thread
From: Kyle Meyer @ 2015-08-10 18:38 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: org-mode-email

Sharon Kimble <boudiccas@skimble.plus.com> wrote:
> Kyle Meyer <kyle@kyleam.com> writes:
[...]
>> Just restarting emacs will still use the compiled files.  Did you try
>> 'C-u M-x org-reload' (the C-u prefix loads the *.el files instead of
>> *.elc)?
>>
> I've just updated org+contrib to todays release, then done "reload org
> after update" from the menu. Then just clocked in on a task, and clocked
> out and its still occurred.

What about when you select the item right under it ("Reload Org
uncompiled")?

--
Kyle

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

* Re: BUG REPORT - problem with org.elc on clocking out
  2015-08-10 17:37   ` Sharon Kimble
  2015-08-10 17:54     ` Kyle Meyer
  2015-08-10 18:04     ` Nick Dokos
@ 2015-08-10 21:33     ` Nicolas Goaziou
  2015-08-11 20:12       ` Sharon Kimble
  2 siblings, 1 reply; 10+ messages in thread
From: Nicolas Goaziou @ 2015-08-10 21:33 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: Kyle Meyer, org-mode-email

Hello,

Sharon Kimble <boudiccas@skimble.plus.com> writes:

> Yes, its still occurring even after closing and restarting emacs. In
> fact I've just done this to check for certain, and this time it threw up
> a debugger page, which says -
>
> Debugger entered--Lisp error: (wrong-number-of-arguments #[(pos) "r\302\b!\203\303\b!\202pq\210\212\214~\210\bb\210\304 \305	!\306>\205=\307\310	\"?\205=\307\311	\"\307\312	\"b\210\313\314x\210\314y\210`|,\207" [pos drawer markerp marker-buffer org-element-at-point org-element-type (drawer property-drawer) org-element-property :contents-begin :begin :end " 	
> " nil] 4 ("/home/boudiccas/.emacs.d/elpa/org-plus-contrib-20150805/org.elc" . 462364)] 2)
>   org-remove-empty-drawer-at("LOGBOOK" 11266)
>   (save-excursion (beginning-of-line 0) (org-remove-empty-drawer-at "LOGBOOK" (point)))
>   bh/remove-empty-drawer-on-clock-out()

The function `bh/remove-empty-drawer-on-clock-out' needs to be modified.

It should call 

  (org-remove-empty-drawer-at (point))

instead of

  (org-remove-empty-drawer-at "LOGBOOK" (point))


Regards,

-- 
Nicolas Goaziou

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

* Re: BUG REPORT - problem with org.elc on clocking out
  2015-08-10 21:33     ` Nicolas Goaziou
@ 2015-08-11 20:12       ` Sharon Kimble
  0 siblings, 0 replies; 10+ messages in thread
From: Sharon Kimble @ 2015-08-11 20:12 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: org-mode-email

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

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Sharon Kimble <boudiccas@skimble.plus.com> writes:
>
>> Yes, its still occurring even after closing and restarting emacs. In
>> fact I've just done this to check for certain, and this time it threw up
>> a debugger page, which says -
>>
>> Debugger entered--Lisp error: (wrong-number-of-arguments #[(pos)
>> "r\302\b!\203\303\b!\202pq\210\212\214~\210\bb\210\304 \305 !\306>\205=\307\310 \"?\205=\307\311 \"\307\312
>> \"b\210\313\314x\210\314y\210`|,\207" [pos drawer markerp marker-buffer org-element-at-point org-element-type (drawer
>> property-drawer) org-element-property :contents-begin :begin :end "
>> " nil] 4 ("/home/boudiccas/.emacs.d/elpa/org-plus-contrib-20150805/org.elc" . 462364)] 2)
>>   org-remove-empty-drawer-at("LOGBOOK" 11266)
>>   (save-excursion (beginning-of-line 0) (org-remove-empty-drawer-at "LOGBOOK" (point)))
>>   bh/remove-empty-drawer-on-clock-out()
>
> The function `bh/remove-empty-drawer-on-clock-out' needs to be modified.
>
> It should call 
>
>   (org-remove-empty-drawer-at (point))
>
> instead of
>
>   (org-remove-empty-drawer-at "LOGBOOK" (point))
>
>
> Regards,

Thanks Nick, that has completely solved the problem, and its running
cleanly and nicely again.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.3

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

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

end of thread, other threads:[~2015-08-11 20:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-09 20:00 BUG REPORT - problem with org.elc on clocking out Sharon Kimble
2015-08-09 20:30 ` Kyle Meyer
2015-08-10 17:37   ` Sharon Kimble
2015-08-10 17:54     ` Kyle Meyer
2015-08-10 18:23       ` Achim Gratz
2015-08-10 18:28       ` Sharon Kimble
2015-08-10 18:38         ` Kyle Meyer
2015-08-10 18:04     ` Nick Dokos
2015-08-10 21:33     ` Nicolas Goaziou
2015-08-11 20:12       ` Sharon Kimble

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).