Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#9783 closed defect (cantfix)

Intermittent Trac Internal Errors

Reported by: andy@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.12-stable
Severity: normal Keywords: internal error
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hi,

Frustratingly, Trac keeps reporting internal errors at random, where a page refresh or two will correct the problem.

eg.

Oops… Trac detected an internal error:

TemplateNotFound: Template "report_list.html" not found

This is probably a local installation issue.

the log for this error says:

2010-11-07 14:21:45,525 Trac[main] DEBUG: Dispatching <Request "GET '/report'">
2010-11-07 14:21:45,528 Trac[api] INFO: Synchronized '<projectname>' repository in 0.00 seconds
2010-11-07 14:21:45,530 Trac[session] DEBUG: Retrieving session for ID u'andy'
2010-11-07 14:21:45,538 Trac[chrome] DEBUG: Prepare chrome data for request
2010-11-07 14:21:45,547 Trac[main] ERROR: Internal Server Error: 
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.12-py2.4.egg/trac/web/main.py", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.12-py2.4.egg/trac/web/main.py", line 256, in dispatch
    content_type)
  File "/usr/lib/python2.4/site-packages/Trac-0.12-py2.4.egg/trac/web/chrome.py", line 808, in render_template
    template = self.load_template(filename, method=method)
  File "/usr/lib/python2.4/site-packages/Trac-0.12-py2.4.egg/trac/web/chrome.py", line 779, in load_template
    return self.templates.load(filename, cls=cls)
  File "build/bdist.macosx-10.3-fat/egg/genshi/template/loader.py", line 246, in load
TemplateNotFound: Template "report_list.html" not found

A page refresh removed the error and the log now says:

2010-11-07 14:32:54,495 Trac[main] DEBUG: Dispatching <Request "GET '/report'">
2010-11-07 14:32:54,504 Trac[api] INFO: Synchronized '<projectname>' repository in 0.00 seconds
2010-11-07 14:32:54,506 Trac[session] DEBUG: Retrieving session for ID u'andy'
2010-11-07 14:32:54,513 Trac[chrome] DEBUG: Prepare chrome data for request
2010-11-07 14:32:54,792 Trac[main] DEBUG: Dispatching <Request "GET '/chrome/common/css/trac.css'">
2010-11-07 14:32:54,803 Trac[main] DEBUG: Dispatching <Request "GET '/chrome/common/js/jquery.js'">
...etc

All I did was reload.

This happens about 1:5 page loads, refresh always clears the issue.

Same with tickets:

Error: Not Found

No handler matched request to /ticket/46

the log says:

2010-11-07 14:35:41,928 Trac[main] DEBUG: Dispatching <Request "GET '/ticket/46'">
2010-11-07 14:35:41,932 Trac[api] INFO: Synchronized 'aeinternal' repository in 0.00 seconds
2010-11-07 14:35:41,932 Trac[main] WARNING: HTTPNotFound: 404 Not Found (No handler matched request to /ticket/46)

page refresh loads the ticket - log now says:

2010-11-07 14:35:42,219 Trac[chrome] DEBUG: Prepare chrome data for request
2010-11-07 14:37:14,025 Trac[main] DEBUG: Dispatching <Request "GET '/ticket/46'">
2010-11-07 14:37:14,030 Trac[api] INFO: Synchronized 'aeinternal' repository in 0.00 seconds
2010-11-07 14:37:14,032 Trac[session] DEBUG: Retrieving session for ID u'andy'
2010-11-07 14:37:14,058 Trac[default_workflow] DEBUG: render_ticket_action_control: action "leave"
2010-11-07 14:37:14,059 Trac[default_workflow] DEBUG: render_ticket_action_control: action "resolve"
2010-11-07 14:37:14,060 Trac[default_workflow] DEBUG: render_ticket_action_control: action "reassign"
2010-11-07 14:37:14,060 Trac[default_workflow] DEBUG: render_ticket_action_control: action "accept"
2010-11-07 14:37:14,062 Trac[chrome] DEBUG: Prepare chrome data for request
...etc

Why is Trac buggind out every so often??

In the log file when the template couldn't be found, the last traceback call is calling file:

build/bdist.macosx-10.3-fat/egg/genshi/template/loader.py

yet, Trac is installed on CentOS (although I'm interfacing with it through Firefox on the Mac)

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 14 years ago

Resolution: cantfix
Status: newclosed

This looks very much like an InstallationIssue rather than an issue with Trac itself. Please ask such questions on the MailingList and / or IrcChannel.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) 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.