nutra Posted February 4, 2020 Posted February 4, 2020 (edited) Hi, I found a guide saying to post if we received a general 500 error: http://nutra.heliohost.org/api/ I have this dependency list, we should not need to be exact versions. But I'm not sure which one(s) are missing, thanks. gunicorn==20.0.4 psycopg2==2.8.4 pytest==5.3.4 stripe==2.42.0 Flask_Cors==3.0.8 Flask==1.1.1 PyJWT==1.7.1 python-dotenv==0.10.5 bcrypt==3.1.7 fuzzywuzzy==0.17.0 python-Levenshtein==0.12.0 ujson==1.35 python-dateutil==2.8.1 python-crontab==2.4.0 Edited February 4, 2020 by nutra
nutra Posted February 4, 2020 Author Posted February 4, 2020 i believe when i set the demo up (the one Krydos provided in the Wiki), it said it was the 3.7 server My code should be compatible 3.6.5 thru 3.8+ I'm assuming it is missing some of the requirements. Krydos has posted a list of what is installed in an old post [below], but the links are now brokenhttps://www.helionet.org/index/topic/29540-solved-total-beginner-need-help-running-a-python-script/?p=133810
wolstech Posted February 4, 2020 Posted February 4, 2020 Installed Python modules on Johnny can be found here: https://krydos2.heliohost.org/cgi-bin/modules37.py Most of your list is missing from this one. Krydos will need to install them.
Krydos Posted February 5, 2020 Posted February 5, 2020 There you go https://krydos2.heliohost.org/cgi-bin/modules37.py Keep in mind that cronjobs are limited to 2 per day. So you can run one cronjob every 12 hours, or you can run two cronjobs each every 24 hours. Using python instead of cpanel to create the cronjob doesn't get around this limitation. If you exceed 2 cronjobs in a day all of your cronjobs will be deleted. If you continue trying to exceed the limit your account may be suspended. If you need more than 2 cron job runs per day we can set up an external cron job that can run as often as every 5 minutes if you wish.
Recommended Posts