erro in apache:
[Fri Nov 10 12:58:35.740842 2023] [wsgi:error] [pid 15986:tid 
140462495180352] [client myIP] mod_wsgi (pid=15986): Failed to exec Python 
script file '/var/www/trac/cgi-bin/trac.wsgi'.
[Fri Nov 10 12:58:35.740891 2023] [wsgi:error] [pid 15986:tid 
140462495180352] [client myIP] mod_wsgi (pid=15986): Exception occurred 
processing WSGI script '/var/www/trac/cgi-bin/trac.wsgi'.
[Fri Nov 10 12:58:35.745253 2023] [wsgi:error] [pid 15986:tid 
140462495180352] [client myIP] Traceback (most recent call last):
[Fri Nov 10 12:58:35.745277 2023] [wsgi:error] [pid 15986:tid 
140462495180352] [client myIP]   File "/var/www/trac/cgi-bin/trac.wsgi", 
line 24, in <module>
[Fri Nov 10 12:58:35.745282 2023] [wsgi:error] [pid 15986:tid 
140462495180352] [client myIP]     from trac.web.main import 
dispatch_request
[Fri Nov 10 12:58:35.745292 2023] [wsgi:error] [pid 15986:tid 
140462495180352] [client myIP] ModuleNotFoundError: No module named 'trac'

archive /var/www/trac/cgi-bin/trac/trac.wsgi


import os

os.environ['TRAC_ENV'] = '/home/deli/trac'
os.environ['PYTHON_EGG_CACHE'] = '/home/deli/trac/eggs'

from trac.web.main import dispatch_request
def application(environ, start_response):
  environ['trac.env_path'] = '/usr/local/trac/mysite'
  return trac.web.main.dispatch_request(environ, start_response)

see problems only this archives in log apache...
Em sexta-feira, 10 de novembro de 2023 às 09:56:30 UTC-3, Jun Omae escreveu:

> On Fri, Nov 10, 2023 at 10:58 AM MARCOS GONÇALVES TEIXEIRA
> <marco...@gmail.com> wrote:
> >
> > this is the project IP: http://20.206.242.97
> >
> > changes applied and persistent problem...
>
> Please describe the "problem" in details.
>
> > if you access the ip you will see that it is incorrect...
>
> Check error.log of apache if you get errors from apache.
>
> -- 
> Jun Omae <jun...@gmail.com> (大前 潤)
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/d718f3d9-4ea3-449f-af8b-d086339ae994n%40googlegroups.com.

Reply via email to