Skip to content

Cannot run cfw:open-org-calendar: (wrong-type-argument stringp nil) #161

@drivet

Description

@drivet

Hello,

When I try to run cfw:open-org-calendar I get a (wrong-type-argument stringp nil) error.

I won't paste the whole stack trace here, but I did trace the problem back to cfw:org-summary-format and cfw:org-get-timerange, in particular, this let* clause in cfw:org-summary-format:

(extra (cfw:org-tp item 'extra)))

And this one in cfw:org-get-timerange:

(extra (cfw:org-tp text 'extra)))

The problem is that the "extra" variable, in both cases, ends up being nil and is used as part of a string-match call afterwards. The string-match call is expecting a string, not a nil, and so it blows up.

I don't know what the "extra" property is or why it's returning nil or whether it's always done that...if you force the value or extra to be the empty string instead of nil then things seem to load properly, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions