Jump to content

wmenezes

Members
  • Posts

    12
  • Joined

  • Last visited

Posts posted by wmenezes

  1. hi,

     

    i use this one:

    https://wmenezes.heliohost.org/

     

    I don't understand why Errors not rolling anymore.

     

    Also,

    I checked these 2 posts:

    http://www.heliohost.org/classic/features/languages/python

    https://wiki.helionet.org/tutorials/django

     

    Tried different configuration for dispatch.wsgi, both script and file place tests, results always http error 500.

    I've checked my local python dependencies (just in case), and project is good with same level of packages version from https://krydos.helio...in/modules37.py.

     

    I saw on internet that 500 error can be even due project routing (python urls set) when wsgi mode enabled, so many possibilities to check for this 500 error, any log would help a lot to find the issue.

     

    Thank you once again.

  2. Hi,

     

    kindly ask you help to know what are logs available to do troubleshooting for the mentioned server (Django application deployed).

     

    Is there any hint?

     

    I could see Cpanel "Errors" link only (and seems that logs are not rotating).

    https://tommy.heliohost.org:2083/cpsess6084660524/frontend/paper_lantern/stats/errlog.html

     

     

    Thanks in advance!

    [Thu Dec 24 23:01:14.125197 2020] [wsgi:error] [pid 84559] [client 179.213.17.154:61125]   File "/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi", line 6, in <module>
    [Thu Dec 24 23:01:14.123531 2020] [wsgi:error] [pid 84559] [client 179.213.17.154:61125] mod_wsgi (pid=84559): Exception occurred processing WSGI script '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'.
    [Thu Dec 24 23:01:14.123429 2020] [wsgi:error] [pid 84559] [client 179.213.17.154:61125] mod_wsgi (pid=84559): Failed to exec Python script file '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'.
    [Thu Dec 24 23:01:11.054090 2020] [wsgi:error] [pid 116822] [client 179.213.17.154:61124]   File "/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi", line 6, in <module>
    [Thu Dec 24 23:01:11.053183 2020] [wsgi:error] [pid 116822] [client 179.213.17.154:61124] mod_wsgi (pid=116822): Exception occurred processing WSGI script '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'.
    [Thu Dec 24 23:01:11.053002 2020] [wsgi:error] [pid 116822] [client 179.213.17.154:61124] mod_wsgi (pid=116822): Failed to exec Python script file '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'.
    [Thu Dec 24 22:59:28.929943 2020] [wsgi:error] [pid 116822] [client 179.213.17.154:61104]   File "/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi", line 6, in <module>
    [Thu Dec 24 22:59:28.928270 2020] [wsgi:error] [pid 116822] [client 179.213.17.154:61104] mod_wsgi (pid=116822): Exception occurred processing WSGI script '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'.
    [Thu Dec 24 22:59:28.928180 2020] [wsgi:error] [pid 116822] [client 179.213.17.154:61104] mod_wsgi (pid=116822): Failed to exec Python script file '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'.
    [Thu Dec 24 22:51:22.601478 2020] [wsgi:error] [pid 54385] [client 179.213.17.154:60964]   File "/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi", line 6, in <module>
    [Thu Dec 24 22:51:22.599221 2020] [wsgi:error] [pid 54385] [client 179.213.17.154:60964] mod_wsgi (pid=54385): Exception occurred processing WSGI script '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'.
    [Thu Dec 24 22:51:22.599097 2020] [wsgi:error] [pid 54385] [client 179.213.17.154:60964] mod_wsgi (pid=54385): Failed to exec Python script file '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'.
    [Thu Dec 24 22:50:45.159537 2020] [wsgi:error] [pid 122416] [client 179.213.17.154:60947]   File "/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi", line 6, in <module>
    [Thu Dec 24 22:50:45.157859 2020] [wsgi:error] [pid 122416] [client 179.213.17.154:60947] mod_wsgi (pid=122416): Exception occurred processing WSGI script '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'.
    [Thu Dec 24 22:50:45.157749 2020] [wsgi:error] [pid 122416] [client 179.213.17.154:60947] mod_wsgi (pid=122416): Failed to exec Python script file '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'.
    [Thu Dec 24 22:50:11.681841 2020] [wsgi:error] [pid 18304] [client 179.213.17.154:60949]   File "/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi", line 6, in <module>
    [Thu Dec 24 22:50:11.680269 2020] [wsgi:error] [pid 18304] [client 179.213.17.154:60949] mod_wsgi (pid=18304): Exception occurred processing WSGI script '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'.
    [Thu Dec 24 22:50:11.680172 2020] [wsgi:error] [pid 18304] [client 179.213.17.154:60949] mod_wsgi (pid=18304): Failed to exec Python script file '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'.
    [Thu Dec 24 22:49:50.774155 2020] [wsgi:error] [pid 96128] [client 179.213.17.154:60933]   File "/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi", line 6, in <module>
    [Thu Dec 24 22:49:50.591516 2020] [wsgi:error] [pid 96128] [client 179.213.17.154:60933] mod_wsgi (pid=96128): Exception occurred processing WSGI script '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'.
    [Thu Dec 24 22:49:50.591404 2020] [wsgi:error] [pid 96128] [client 179.213.17.154:60933] mod_wsgi (pid=96128): Failed to exec Python script file '/home/wmenezes/public_html/InvestDjangoWebProject/dispatch.wsgi'.                    
    
  3. server:

    wmenezes.heliohost.org 

     

    Python version is 3.7

     

     

    Please, also kindly ask you one clarification.

    While reading Helio tutorial here https://wiki.helionet.org/tutorials/django I saw that current configuration for Apacha wsgi mode is embedded mode.

     

    So, how is Python source code life cycle / reload on Helio?

    Does Helio restart Apache once a day? or for instance, play with  MaxRequestsPerChild as per https://code.google.com/archive/p/modwsgi/wikis/ReloadingSourceCode.wiki .

     

     

    Thank you

  4. Hi,

     

    please, could you install required Python libraries as of below:

    asgiref==3.2.10
    atomicwrites==1.4.0
    attrs==19.3.0
    certifi==2020.6.20
    chardet==3.0.4
    colorama==0.4.3
    cssselect==1.1.0
    Django==2.2.15
    idna==2.10
    importlib-metadata==1.7.0
    iniconfig==1.0.1
    lxml==4.5.2
    more-itertools==8.4.0
    numpy==1.19.3
    packaging==20.4
    pluggy==0.13.1
    psycopg2==2.8.5
    psycopg2-binary==2.8.5
    py==1.9.0
    pyparsing==2.4.7
    pyquery==1.4.1
    pytest==6.0.1
    python-dateutil==2.8.1
    pytz==2020.1
    requests==2.24.0
    six==1.15.0
    sqlparse==0.3.1
    toml==0.10.1
    urllib3==1.25.10
    zipp==3.1.0
     

    Thank you

×
×
  • Create New...