Ticket #3752 (closed defect: fixed)
Unable to browse source in sub project
| Reported by: | andreas.l@… | Owned by: | cboos |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.9.7 |
| Component: | version control | Version: | 0.9.6 |
| Severity: | major | Keywords: | browse source timeline error |
| Cc: | daniel.l@… |
Description
Config We have a problem browsing the source on one of our sub projects. Currently we are running subversion with just one repository and all projects are stored in a hierarki. There are multiple Trac-config and just one Trac-installation. We are running:
- Apache/2.0.58 (Win32)
- SVN/1.4.0
- DAV/2
- mod_auth_sspi/1.0.4
- mod_ssl/2.0.58
- OpenSSL/0.9.8b
- mod_python/3.2.8
- Python/2.3.5
Problem During the night, access via Trac to the source is lost. When pressing "Browse source" the following error message is shown:
Trac detected an internal error: list.index(x): x not in list
Same thing happens when clicking on Timeline
(Python traceback for both errors is attached to this ticket)
Temporary workaround In trac.ini the following line defines the path to the project:
repository_dir = d:/www/svn/repository/customer/project/subproject/
d:/www/svn/repository is the path to the repository directory. In order to get it working temporarily i just delete "/customer/project/subproject/" and saves the ini-file. Browsing will now work although all customer's projects are now visible. Changing it back to "d:/www/svn/repository/customer/project/subproject/", the system then works as it intended to. The ini-file is exactly the same as before but the system is running without a problem until the next day. (I am not sure for how many hours the system is working but it is always broken in the morning.)


