emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Entering effor estimates in column view of agenda view gives wrong-type-argument stringp, nil
@ 2009-01-13  9:58 Charles Cave
  2009-01-13 10:46 ` Manish Sharma
  0 siblings, 1 reply; 3+ messages in thread
From: Charles Cave @ 2009-01-13  9:58 UTC (permalink / raw)
  To: emacs-orgmode

I recently installed 6.17c org-mode on Windows XP withg GNU Emacs.

When I create an agenda view, switch on column view, then
attempt to modify the effort estimate with shift-right arror
keys I get an error message Wrong type argument stringp, null.

I know this was working the other day but I think it was an earlier version
of org-mode.

This is the configuration of my file:

#+STARTUP: overview
#+STARTUP: hidestars
#+STARTUP: logdone
#+PROPERTY: Effort_ALL  0:10 0:20 0:30 1:00 2:00 4:00 6:00 8:00
#+COLUMNS: %40ITEM(Details) %TAGS(Context) %9TODO(To Do) %5Time{:} 
%6CLOCKSUM{Total}
#+PROPERTY: Effort_ALL 0 0:10 0:20 0:30 1:00 2:q00 3:00 4:00 8:00
#+TAGS: { OFFICE(o) HOME(h) } COMPUTER(c) PROJECT(p) READING(r)
#+TAGS: DVD(d) WAITING(w)
#+SEQ_TODO: TODO(t) STARTED(s) WAITING(w) APPT(a) | DONE(d) CANCELLED(c) 
DEFERRED(f)


And here is the stack trace:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  
string-match("^[[<]\\(\\([0-9]\\{4\\}\\)-\\([0-9]\\{2\\}\\)-\\([0-9]\\{2\\}\\) 
+\\([^]-+0-9>
\n ]*\\)\\( 
\\([0-9]\\{2\\}\\):\\([0-9]\\{2\\}\\)\\)?\\)[^]>\n]\\{0,16\\}[]>]$" nil)
  (if (string-match (concat "^" org-ts-regexp3 "$") s) (progn (let* ... 
... ... ... ... ... ... ... ... ...)))
  (when (string-match (concat "^" org-ts-regexp3 "$") s) (let* (... ... 
... time-before time-after) (unless active ...) (setf ... ...) (setf ... 
...) (setf ... ...) (setq time-before ...) (setq time-after ...) (setf 
... ...) (setf ... ...) (mapcar ... ...)))
  org-colview-construct-allowed-dates(nil)
  (or (org-property-get-allowed-values pom key) (and (memq ... ...) 
(quote ...)) (org-colview-construct-allowed-dates value))
  (let* ((col ...) (key ...) (value ...) (bol ...) (eol ...) (pom ...) 
(line-overlays ...) (allowed ...) nval) (when (integerp nth) (setq nth 
...) (if ... ...)) (when (equal key "ITEM") (error "Cannot edit item 
headline from here")) (unless (or allowed ...) (error "Allowed values 
for this property have not been defined")) (if (member key ...) (setq 
nval ...) (if previous ...) (cond ... ... ...)) (cond (... ... ...) (t 
... ... ...)))
  org-columns-next-allowed-value()
  call-interactively(org-columns-next-allowed-value)

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

* Re: Entering effor estimates in column view of agenda view gives wrong-type-argument stringp, nil
  2009-01-13  9:58 Entering effor estimates in column view of agenda view gives wrong-type-argument stringp, nil Charles Cave
@ 2009-01-13 10:46 ` Manish Sharma
  2009-01-17  8:00   ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Manish Sharma @ 2009-01-13 10:46 UTC (permalink / raw)
  To: emacs-orgmode

>>>>> "Charles" == Charles Cave <charles_cave@optusnet.com.au> writes:

Charles> I recently installed 6.17c org-mode on Windows XP withg GNU
Charles> Emacs.  When I create an agenda view, switch on column view,
Charles> then attempt to modify the effort estimate with shift-right
Charles> arror keys I get an error message Wrong type argument stringp,
Charles> null.

Charles> I know this was working the other day but I think it was an
Charles> earlier version of org-mode.

Charles> This is the configuration of my file:

Charles> #+STARTUP: overview #+STARTUP: hidestars #+STARTUP: logdone
Charles> #+PROPERTY: Effort_ALL 0:10 0:20 0:30 1:00 2:00 4:00 6:00 8:00
Charles> #+COLUMNS: %40ITEM(Details) %TAGS(Context) %9TODO(To Do)
Charles> %5Time{:} %6CLOCKSUM{Total} #+PROPERTY: Effort_ALL 0 0:10 0:20
Charles> 0:30 1:00 2:q00 3:00 4:00 8:00 #+TAGS: { OFFICE(o) HOME(h) }
Charles> COMPUTER(c) PROJECT(p) READING(r) #+TAGS: DVD(d) WAITING(w)
Charles> #+SEQ_TODO: TODO(t) STARTED(s) WAITING(w) APPT(a) | DONE(d)
Charles> CANCELLED(c) DEFERRED(f)

#+COLUMNS: %40ITEM(Details) %TAGS(Context) %9TODO(To Do) %5Effort{:} %6CLOCKSUM{Total}
                                                           ^^^^^^
#+PROPERTY: Effort_ALL 0 0:10 0:20 0:30 1:00 2:00 3:00 4:00 8:00
                                               ^

Two small changes and I hope it should work.

-- 
Manish

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

* Re: Re: Entering effor estimates in column view of agenda view gives wrong-type-argument stringp, nil
  2009-01-13 10:46 ` Manish Sharma
@ 2009-01-17  8:00   ` Carsten Dominik
  0 siblings, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2009-01-17  8:00 UTC (permalink / raw)
  To: Manish, Charles Cave; +Cc: emacs-orgmode


On Jan 13, 2009, at 11:46 AM, Manish Sharma wrote:

>>>>>> "Charles" == Charles Cave <charles_cave@optusnet.com.au> writes:
>
> Charles> I recently installed 6.17c org-mode on Windows XP withg GNU
> Charles> Emacs.  When I create an agenda view, switch on column view,
> Charles> then attempt to modify the effort estimate with shift-right
> Charles> arror keys I get an error message Wrong type argument  
> stringp,
> Charles> null.
>
> Charles> I know this was working the other day but I think it was an
> Charles> earlier version of org-mode.
>
> Charles> This is the configuration of my file:
>
> Charles> #+STARTUP: overview #+STARTUP: hidestars #+STARTUP: logdone
> Charles> #+PROPERTY: Effort_ALL 0:10 0:20 0:30 1:00 2:00 4:00 6:00  
> 8:00
> Charles> #+COLUMNS: %40ITEM(Details) %TAGS(Context) %9TODO(To Do)
> Charles> %5Time{:} %6CLOCKSUM{Total} #+PROPERTY: Effort_ALL 0 0:10  
> 0:20
> Charles> 0:30 1:00 2:q00 3:00 4:00 8:00 #+TAGS: { OFFICE(o) HOME(h) }
> Charles> COMPUTER(c) PROJECT(p) READING(r) #+TAGS: DVD(d) WAITING(w)
> Charles> #+SEQ_TODO: TODO(t) STARTED(s) WAITING(w) APPT(a) | DONE(d)
> Charles> CANCELLED(c) DEFERRED(f)
>
> #+COLUMNS: %40ITEM(Details) %TAGS(Context) %9TODO(To Do) %5Effort{:}  
> %6CLOCKSUM{Total}
>                                                           ^^^^^^
> #+PROPERTY: Effort_ALL 0 0:10 0:20 0:30 1:00 2:00 3:00 4:00 8:00
>                                               ^
>

Thanks Manish,

I have also modified the code to give a better error message in this  
case.

- Carsten



> Two small changes and I hope it should work.
>
> -- 
> Manish
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2009-01-17  8:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-13  9:58 Entering effor estimates in column view of agenda view gives wrong-type-argument stringp, nil Charles Cave
2009-01-13 10:46 ` Manish Sharma
2009-01-17  8:00   ` Carsten Dominik

Code repositories for project(s) associated with this 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).