sleyzerzon / soar

Automatically exported from code.google.com/p/soar
1 stars 0 forks source link

smem fails to print LTI after loading database #148

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1) Start Soar debugger
2) smem --set learning on
3) smem --set path test2.smem (file is attached)
4) smem --set database file
5) smem -p a1

Expected: LTI object A1 prints
Actual: "Error: Invalid attribute."

As a workaround, if I print all of the LTIs ("smem -p"), then "smem -p a1" 
works properly.

JSoar has the same bug, and the workaround also works.

FYI, the attached smem file is just the result of the "smem --add" example on 
the smem command's wiki page.

Original issue reported on code.google.com by bob.mari...@soartech.com on 27 Sep 2013 at 2:01

Attachments:

GoogleCodeExporter commented 9 years ago
Caused by the smem db not being connected when checking the identifier. Fixed 
by connecting the db first (r13927).

Original comment by justinn...@gmail.com on 27 Sep 2013 at 2:21

GoogleCodeExporter commented 9 years ago

Original comment by justinn...@gmail.com on 27 Sep 2013 at 2:21

GoogleCodeExporter commented 9 years ago
Just fyi, also happens in 9.3.1 and 9.3.2.

Original comment by maz...@gmail.com on 27 Sep 2013 at 2:51