Help with error "unhashable type"

166 views
Skip to first unread message

Maya BS

unread,
Sep 17, 2015, 5:32:12 AM9/17/15
to Fast Downward
Hey, I have this really short and simple domain and problem files and I'm getting an error "unhashable type: 'list'
Couldn't find where this error is coming from.
files attached.

Thanks!!!!!!
domain.pddl
problem.pddl

Gabi Roeger

unread,
Sep 17, 2015, 5:40:36 AM9/17/15
to fast-d...@googlegroups.com, mayu...@gmail.com
Dear Maya,
You have too many parentheses around the action effect. The action
description should be

(:action printX
:parameters (?x)
:precondition (and (LINE ?x) (not (wasPrinted ?x)))
:effect (wasPrinted ?x)
)

Cheers,
Gabi

Maya BS

unread,
Sep 17, 2015, 12:15:13 PM9/17/15
to Fast Downward
Great I didn't even know that matters. thanks a lot !!

בתאריך יום חמישי, 17 בספטמבר 2015 בשעה 12:32:12 UTC+3, מאת Maya BS:

Malte Helmert

unread,
Sep 17, 2015, 12:20:13 PM9/17/15
to fast-d...@googlegroups.com
On 17.09.2015 15:09, Maya BS wrote:
> Great I didn't even know that matters. thanks a lot !!

Unfortunately, the error messages of the planner are currently quite
poor. We have an open issue for this, and I have referenced your message
from there so that we can hopefully take it into account as an example
when we find time to work on this:

http://issues.fast-downward.org/issue536

In the meantime, VAL by the King's College London planning group and FF
by Jörg Hoffmann offer much better error messages for debugging PDDL
than Fast Downward does. (It may be necessary to use a flag for VAL to
get longer error messages; perhaps "-v"?).

Best regards,
Malte
Reply all
Reply to author
Forward
0 new messages