keiffster / program-y

Python 3.x based AIML 2.0 Chatbot interpreter, framework, related programs and knowledge files
https://keiffster.github.io/program-y/
Other
349 stars 137 forks source link

WARNING:root:[Console] [bot] [brain] [testuser] - System command node disabled in config #297

Open bartods opened 2 years ago

bartods commented 2 years ago

Hello, I am new user of program-y, thank You keiffster for amazing job You done. I have a problem with basicbot, I've edited file basicbot.yaml with python code:

`import subprocess files = {'aiml': ['./'], 'sets': ['./'], }

from programy.clients.embed.basic import EmbeddedDataFileBot

my_bot = EmbeddedDataFileBot(files)

print("%s" % my_bot.ask_question("TEST"))`

yaml:

`

overrides:

        allow_system_aiml: true

        allow_learn_aiml: true

        allow_learnf_aiml: true

`

AIML i have

`

TEST

`

but console tells me System command node disabled. I am trying to run simple python commands like print in AIML but I can't. What I am doing wrong? I am using python 3.7 on windows 10 and I have tried few versions of program-y white no result. I have spend 3 days and nothing...