Jump to content

Recommended Posts

Posted (edited)

You sure? The "Errors log" should be inside the cPanel.

 

 

EDIT: If you scroll down to "Metrics", you should see the "Errors log".

Edited by Luigi123
Posted

To my knowledge, our instances of Python don't generate any error logs accessible by users.

 

Usually though, it's not a Python issue anyway. Most issues are caused by incorrect shebang line, failure to use the cgi-bin folder (obviously not the issue here), permissions, or line endings (make sure your file has unix line endings)

Posted

You can debug your own cgi scripts using the method I posted here https://www.helionet.org/index/topic/29544-python-27-module-request500-error-troulbeshooting/?p=133824 Using a cron job the error message will get emailed to you.

 

Here's your particular error:

Traceback (most recent call last):
  File "nbatg.py", line 179, in <module>
    from telegram.ext import Updater
ModuleNotFoundError: No module named 'telegram'
Calling random modules that aren't already installed will result in a 500 error. You can check the modules that are installed on Johnny's python 3.6 by going to https://krydos2.heliohost.org/cgi-bin/modules36.py If you don't see a module listed there you won't be able to include it without causing a 500 error. We can install modules for you though. Just post and state username, server, python version, and module requested. Let me know if you'd like telegram or anything else installed.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...