Edgewall Software
Modify

Opened 15 years ago

Closed 15 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

Attachments (0)

Change History (1)

comment:1 by Matthew Good, 15 years ago

Resolution: worksforme
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.