Hi.
I’m running the latest version cloned from https://github.com/bwilcox-1234/ChatScript.git on Mac OS Sierra.
After testing chatting with Harry I tried to build it and I’m getting errors related with json:
>:build Harry
ChatScript Version 6.91 compiled Dec 14 2016 23:03:25
>>Reading folder RAWDATA/HARRY/
——Reading file childhood.top
Reading topic ~childhood
——Reading file introductions.top
Reading topic ~introductions
——Reading file keywordless.top
Reading topic ~keywordless
*** Error- line 18 of keywordless.top:
in keywordless.top at 18: $$tmp = ^jsonopen(GET $$url “” $$user_agent)
OUTPUT-5 Apparent call to ^jsonopen is not yet defined*** Error- line 27 of keywordless.top:
in keywordless.top at 27: $$tmp = ^jsonopen(GET $$url “” $$user_agent)
OUTPUT-5 Apparent call to ^jsonopen is not yet defined*** Error- line 36 of keywordless.top:
in keywordless.top at 36: $$tmp = ^jsonopen(GET $$url “” $$user_agent)
OUTPUT-5 Apparent call to ^jsonopen is not yet defined
——Reading file simplecontrol.top
Reading outputmacro: ^harry
Reading table tbl:defaultbot
Locals: ^name,
Reading topic ~control
*** Warning- line 26 of simplecontrol.top: loopback is not a known word. Is it misspelled?
Reading topic ~xpostprocess
<<end folder RAWDATA/HARRY
>>Reading folder RAWDATA/QUIBBLE/
——Reading file eliza_because.top
Reading topic ~quibble_because
——Reading file eliza_can.top
Reading topic ~quibble_will
Reading topic ~quibble_can
——Reading file eliza_do.top
Reading topic ~quibble_do
——Reading file eliza_how.top
Reading topic ~quibble_howmuch
Reading topic ~quibble_how
——Reading file eliza_misc.top
Reading topic ~quibble_misc
*** Warning- line 400 of eliza_misc.top: shoulds is not a known word. Is it misspelled?
——Reading file eliza_not.top
Reading topic ~quibble_not
——Reading file eliza_or.top
Reading topic ~quibble_or
——Reading file eliza_what.top
Reading topic ~quibble_what
——Reading file eliza_when.top
Reading topic ~quibble_when
——Reading file eliza_where.top
Reading topic ~quibble_where
——Reading file eliza_who.top
Reading topic ~quibble_who
——Reading file eliza_why.top
Reading topic ~quibble_why
——Reading file honest.top
Reading topic ~intent
Reading topic ~honest_response
——Reading file quibble.top
Reading topic ~quibble_all
<<end folder RAWDATA/QUIBBLE
ERROR SUMMARY:
line 18 of keywordless.top:
OUTPUT-5 Apparent call to ^jsonopen is not yet defined
line 27 of keywordless.top:
OUTPUT-5 Apparent call to ^jsonopen is not yet defined
line 36 of keywordless.top:
OUTPUT-5 Apparent call to ^jsonopen is not yet defined
r
3 errors - press Enter to quit. Then fix and try again.
when I run MacChatScript local I’m getting these:
Dictionary building disabled.
JSON access disabled.
do I need to compile enabling Dictionary and JSON?, I don’t know where to look exactly for that, also I’m not sure if I should compile with the make script or using the Xcode project. Thank you in advance for your help.