USE OF REVPIPYLOAD TO LAUNCH PYTHON PROGRAM ON STARTUP
Posted: 24 Sep 2021, 20:18
Hi Everyone,
I am new to Revpipyload, and I was told that I could use the service to launch my python program right after my Revpi Connect starts up.
I followed what I though was the right procedure to do it and configured revpipyload.conf file and changed the configuration per my needs as follows, but I get nothing: My Python is not launched. Please point out my problems so that I can achieve the results I want.
For clarification purposes my program is developed on TKINTER, and my Connect starts the GUI by default. Maybe this is what is wrong??
My revpipyload.conf file follows (ONLY the DEFAULT section), I did not modify the other sections.
autoreload = 1
autoreloaddelay = 15
autostart = 1
plcworkdir = /home/pi/Documents/PROGRAMS/TKINTER/GMCO/VERSION17
plcworkdir_set_uid = 1
plcprogram = GMCO17.py
plcprogram_watchdog = 0
plcarguments =
plcuid = 1000
plcgid = 1000
pythonversion = 3
replace_ios = /etc/revpipyload/replace_ios.conf
reset_driver_action = 2
rtlevel = 0
zeroonerror = 1
zeroonexit = 0
Thanks in advance...
I am new to Revpipyload, and I was told that I could use the service to launch my python program right after my Revpi Connect starts up.
I followed what I though was the right procedure to do it and configured revpipyload.conf file and changed the configuration per my needs as follows, but I get nothing: My Python is not launched. Please point out my problems so that I can achieve the results I want.
For clarification purposes my program is developed on TKINTER, and my Connect starts the GUI by default. Maybe this is what is wrong??
My revpipyload.conf file follows (ONLY the DEFAULT section), I did not modify the other sections.
autoreload = 1
autoreloaddelay = 15
autostart = 1
plcworkdir = /home/pi/Documents/PROGRAMS/TKINTER/GMCO/VERSION17
plcworkdir_set_uid = 1
plcprogram = GMCO17.py
plcprogram_watchdog = 0
plcarguments =
plcuid = 1000
plcgid = 1000
pythonversion = 3
replace_ios = /etc/revpipyload/replace_ios.conf
reset_driver_action = 2
rtlevel = 0
zeroonerror = 1
zeroonexit = 0
Thanks in advance...