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

Open
opened 2025-10-14 17:27:44 -06:00 by navan · 0 comments
Owner

Originally created by @bartods on 9/16/2021

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

<category> <pattern>TEST</pattern> <template> TEST <system> import os print("TEST") </system> </template> </category>

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...

*Originally created by @bartods on 9/16/2021* 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 ` <category> <pattern>TEST</pattern> <template> TEST <system> import os print("TEST") </system> </template> </category> ` 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...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/program-y#29
No description provided.