Skip to content

AttributeError: 'NoneType' object has no attribute 'call_eval' #22

@hankcs

Description

@hankcs

Dear authors,

OpenDF failed to execute this dialog, which might deserve a fix:

Dialog 75

GUID: 47c6ad36-cf06-4240-85ac-efd59d21390a OpenDF:

  • U1: Tell me when I have something to do again
  • A1: I found 1 matching event on your calendar. It's "lunch with Maggie" on Tuesday the 19th from 1:00 to 2:00 PM.
  • U2: Anything after that?
  • A2: No, I didn't find any events on Tuesday the 19th after 2:00 PM.
  • U3: I thought my next event wasn't until Tuesday
  • A3: The "lunch with Maggie" on Tuesday the 19th from 1:00 to 2:00 PM.

Program:

 FindEvents(
    Event?(
       ) ) 

If the calendar is empty, OpenDF raises:

Traceback (most recent call last):
File "OpenDF/opendf/graph/eval.py", line 87, in recursive_eval
node.evaluate(prev_nodes, prev_goals)
File "OpenDF/opendf/graph/nodes/node.py", line 945, in evaluate
self.exec(all_nodes, goals)
File "OpenDF/opendf/applications/smcalflow/nodes/functions.py", line 1286, in exec
r.call_eval(add_goal=False)  # pedantic
AttributeError: 'NoneType' object has no attribute 'call_eval'

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