You are not logged in.
Pages: 1
Topic closed
Good Day,
Currently, I am building a small project with raspberry pi at my work.
I have tested all the blocks functioning properly as required except EPC block.
The *.py code for the email notification is working fine with python.
However, it seems that EPC block does not commence the *.py code as it is supposed to.
I have purchased the license for advanced blocks. And I double checked that the license is associated with the system.
Furthermore, I have reinstalled the whole system a couple of times, but I am still stuck with the same issue.
One thing to point out here; there are warning messages that I have never seen before. I am not sure what to make out of it.
I have attached *.mdl files and *.py of the project and a screenshot of the warning messages from system log, RexView.
Any idea or inputs?
Your help will be greatly appreciated, and many thank in advance.
ORP.mdlexport_archive_task.mdlemail_notification.pyemail_notification_task.mdlCurrent_Transformer.mdlAclarus_task.mdlAclarus_exec.mdl
Offline
Hi Kevin,
how did you tested out the *.py code? Which command did you use?
I didn't try your source files yet, but it seems that the command in EPC block is missing "python" prefix. It should look like the following command:
python /rex/rexcore/email_notification.py
I hope the above will solve your issue. If not, feel free to contact me.
Regards, Tomas
Offline
That's it! Everything is working as how they should be!
Thank you so much.
Offline
You are welcome. I'm glad it's working now
Cheers, Tomas
Offline
Pages: 1
Topic closed