Opened 19 years ago
Closed 19 years ago
#2091 closed defect (worksforme)
cant able run trac.cgi
Reported by: | anonymous | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.8.4 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
File "/home/circleadmin/lib/python2.3/site-packages/trac/web/cgi_frontend.py", line 115, in run
dispatch_request(req.path_info, req, env)
File "/home/circleadmin/lib/python2.3/site-packages/trac/web/main.py", line 128, in dispatch_request
base_url = absolute_url(req)
File "/home/circleadmin/lib/python2.3/site-packages/trac/web/api.py", line 261, in absolute_url
return urlparse.urlunparse((req.scheme, host, path, None, None, None))
File "/home/circleadmin/lib/python2.3/urlparse.py", line 125, in urlunparse
return urlunsplit((scheme, netloc, url, query, fragment))
File "/home/circleadmin/lib/python2.3/urlparse.py", line 128, in urlunsplit
if netloc or (scheme and scheme in uses_netloc and url[:2] != ''):
TypeError: unsubscriptable object
The standard CGI environment variables are not set, so Trac cannot determine the URL you are requesting. This is either because you are trying to directly run trac.cgi from the command line (which is not supported), or your web server is not properly setting these values. If you need help setting up Trac, please use the MailingList. If you still think that this is an error in Trac you can reopen this ticket with more information about your setup, in particular the web server.