Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#1738 closed defect (invalid)

IndexError after removing and re-adding all permissions from user anonymous

Reported by: deuterium 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

This resulted in an Apache Error 500 (Internal Server Error)

Couldn't solve it even when adding all the permissions to anonymous it had previously.

  File "/usr/lib/python2.3/site-packages/trac/ModPythonHandler.py", line 195, in handler
    core.dispatch_request(mpr.path_info, args, mpr, env)
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 441, in dispatch_request
    module.run()
  File "/usr/lib/python2.3/site-packages/trac/Module.py", line 36, in run
    core.populate_hdf(self.req.hdf, self.env, self.db, self.req)
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 208, in populate_hdf
    if htdocs_location[-1] != '/':
IndexError: string index out of range

Attachments (0)

Change History (2)

comment:1 by deuterium, 19 years ago

Resolution: invalid
Status: newclosed

i've just tried to reproduce this error with a plain new project, but this time, it didn't appear. i suggest treating it as a strange coincidence and marking it as "invalid".

comment:2 by Matthew Good, 19 years ago

This is not a permissions problem. This occurs if the htdocs_location is not set in the TracIni. This should not be a problem in development since 0.9 will serve the docments itself if this is not set.

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.