trac broken after changing logging settings

Bug #469641 reported by Bernard François
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Trac Project
Unknown
Unknown
trac (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: trac

- open trac
- click the Admin button
- click on 'Loggin' under 'General'
- choose Type = file, Log level = DEBUG
- note that the 'Log file' is set to 'trac.log'
- click the 'Apply changes' button
- observe that you get an 'Internal Server Error' screen when you browse to any trac page

I managed to fix the bug by changing 'trac.log' to '/tmp/trac.log' in the trac.ini file.
This is probably a file permission issue.

trac should properly handle the case in which it cannot create a file. Even if the user would enter some arbitrary values (or make a typo) in the log file text field, this should not render trac unusable.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: trac 0.11.1-2.1
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 LANG=C
 SHELL=/bin/bash
SourcePackage: trac
Uname: Linux 2.6.28-15-generic i686

Revision history for this message
Bernard François (bernardfrancois-gmail) wrote :
Revision history for this message
Bernard François (bernardfrancois-gmail) wrote :

Note that I encountered this issue when I wanted to check what gets logged while reproducing the following bug:
https://bugs.launchpad.net/ubuntu/+source/trac/+bug/469526

Revision history for this message
Bernard François (bernardfrancois-gmail) wrote :

In the meantime, I also added the bug to trac's trac:
http://trac.edgewall.org/ticket/8790

Revision history for this message
Maarten Bezemer (veger) wrote :

Thanks for taking the time to report this bug in the upstream bug tracking system this is a tremendous help. Launchpad has the ability to watch lots of upstream bug trackers and this can be done by following the procedure documented at https://wiki.ubuntu.com/Bugs/Watches. I've added the bug watch for this bug report.

Robie Basak (racb)
Changed in trac (Ubuntu):
status: New → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.