I did a new/clean install of Trac 1.0.1 on FreeBSD 9.1. The install was 
from the FreeBSD ports and I followed the setup instructions from the Trac 
website. Everything is working fine except for anything to do with tickets. 
I get this error when I click on "View Tickets" and similar errors when I 
try to view anything to do with the tickets:

Oops…
>
> Trac detected an internal error:
>
> TemplateNotFound: Template "report_list.html" not found
>
> This is probably a local installation issue.
>
>
>> Found a bug in Trac?
>
>
>> If you think this should work and you can reproduce the problem, you 
>> should consider creating a bug report.
>
>
>> Before you do that, though, please first try searching for similar 
>> issues, as it is quite likely that this problem has been reported before. 
>> For questions about installation and configuration of Trac or its plugins, 
>> please try the mailing list instead of creating a ticket.
>
>
>> Otherwise, please   a new bug report describing the problem and explain 
>> how to reproduce it.
>
>
>> Python Traceback
>
>
>> Most recent call last:
>
> File "build/bdist.freebsd-9-amd64/egg/trac/web/main.py", line 497, in 
>> _dispatch_request
>
> File "build/bdist.freebsd-9-amd64/egg/trac/web/main.py", line 233, in 
>> dispatch
>
> File "build/bdist.freebsd-9-amd64/egg/trac/web/chrome.py", line 975, in 
>> render_template
>
> File "build/bdist.freebsd-9-amd64/egg/trac/web/chrome.py", line 944, in 
>> load_template
>
> File 
>> "/usr/local/lib/python2.7/site-packages/Genshi-0.7-py2.7-freebsd-9-amd64.egg/genshi/template/loader.py",
>>  
>> line 246, in load
>
>

I noticed that the "trac/ticket" folder is missing from the 
PYTHON_EGG_CACHE so I enabled debugging in the Trac logs and found this 
which seems related:

2013-11-04 20:07:22,192 Trac[env] INFO: -------------------------------- 
>> environment startup [Trac 1.0.1] --------------------------------
>
> 2013-11-04 20:07:22,212 Trac[loader] DEBUG: Loading trac.about from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,214 Trac[loader] DEBUG: Loading trac.admin.console 
>> from /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,226 Trac[loader] DEBUG: Loading trac.admin.web_ui from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,229 Trac[loader] DEBUG: Loading trac.attachment from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,229 Trac[loader] DEBUG: Loading trac.db.mysql from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,257 Trac[loader] DEBUG: Loading trac.db.postgres from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,259 Trac[loader] DEBUG: Loading trac.db.sqlite from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,267 Trac[loader] DEBUG: Loading trac.mimeview.patch 
>> from /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,268 Trac[loader] DEBUG: Loading trac.mimeview.pygments 
>> from /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,286 Trac[loader] DEBUG: Loading trac.mimeview.rst from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,386 Trac[loader] DEBUG: Loading trac.mimeview.txtl 
>> from /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,397 Trac[loader] DEBUG: Skipping "trac.mimeview.txtl = 
>> trac.mimeview.txtl [textile]": ("DistributionNotFound: textile>=2.0" not 
>> found)
>
> 2013-11-04 20:07:22,398 Trac[loader] DEBUG: Loading trac.prefs from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,399 Trac[loader] DEBUG: Loading trac.search from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,400 Trac[loader] DEBUG: Loading trac.ticket.admin from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,401 Trac[loader] DEBUG: Loading trac.ticket.batch from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,407 Trac[loader] ERROR: Skipping "trac.ticket.batch = 
>> trac.ticket.batch": 
>
> Traceback (most recent call last):
>
>   File "build/bdist.freebsd-9-amd64/egg/trac/loader.py", line 68, in 
>> _load_eggs
>
>     entry.load(require=True)
>
>   File "build/bdist.freebsd-9-amd64/egg/pkg_resources.py", line 2015, in 
>> load
>
>     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
>
>   File "build/bdist.freebsd-9-amd64/egg/trac/ticket/batch.py", line 25, in 
>> <module>
>
>   File 
>> "/usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg/trac/ticket/notification.py",
>>  
>> line 249
>
>     self.ambiwidth)
>
>        ^
>
> SyntaxError: invalid syntax (notification.py, line 249)
>
> 2013-11-04 20:07:22,407 Trac[loader] DEBUG: Loading trac.ticket.query from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,410 Trac[loader] DEBUG: Loading trac.ticket.report 
>> from /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,413 Trac[loader] DEBUG: Loading trac.ticket.roadmap 
>> from /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,415 Trac[loader] DEBUG: Loading trac.ticket.web_ui 
>> from /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,419 Trac[loader] ERROR: Skipping "trac.ticket.web_ui = 
>> trac.ticket.web_ui": 
>
> Traceback (most recent call last):
>
>   File "build/bdist.freebsd-9-amd64/egg/trac/loader.py", line 68, in 
>> _load_eggs
>
>     entry.load(require=True)
>
>   File "build/bdist.freebsd-9-amd64/egg/pkg_resources.py", line 2015, in 
>> load
>
>     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
>
>   File "build/bdist.freebsd-9-amd64/egg/trac/ticket/web_ui.py", line 39, 
>> in <module>
>
>   File 
>> "/usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg/trac/ticket/notification.py",
>>  
>> line 249
>
>     self.ambiwidth)
>
>        ^
>
> SyntaxError: invalid syntax (notification.py, line 249)
>
> 2013-11-04 20:07:22,420 Trac[loader] DEBUG: Loading trac.timeline from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,421 Trac[loader] DEBUG: Loading 
>> trac.versioncontrol.admin from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,422 Trac[loader] DEBUG: Loading 
>> trac.versioncontrol.svn_authz from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,423 Trac[loader] DEBUG: Loading 
>> trac.versioncontrol.web_ui from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,435 Trac[loader] DEBUG: Loading trac.web.auth from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,440 Trac[loader] DEBUG: Loading trac.web.session from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,440 Trac[loader] DEBUG: Loading trac.wiki.admin from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,441 Trac[loader] DEBUG: Loading trac.wiki.interwiki 
>> from /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,442 Trac[loader] DEBUG: Loading trac.wiki.macros from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,443 Trac[loader] DEBUG: Loading trac.wiki.web_api from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,443 Trac[loader] DEBUG: Loading trac.wiki.web_ui from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,445 Trac[loader] DEBUG: Loading 
>> tracopt.mimeview.enscript from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,446 Trac[loader] DEBUG: Loading tracopt.mimeview.php 
>> from /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,447 Trac[loader] DEBUG: Loading 
>> tracopt.mimeview.silvercity from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,460 Trac[loader] DEBUG: Loading 
>> tracopt.perm.authz_policy from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,462 Trac[loader] DEBUG: Loading 
>> tracopt.perm.config_perm_provider from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,462 Trac[loader] DEBUG: Loading tracopt.ticket.clone 
>> from /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,463 Trac[loader] DEBUG: Loading 
>> tracopt.ticket.commit_updater from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,467 Trac[loader] ERROR: Skipping 
>> "tracopt.ticket.commit_updater = tracopt.ticket.commit_updater": 
>
> Traceback (most recent call last):
>
>   File "build/bdist.freebsd-9-amd64/egg/trac/loader.py", line 68, in 
>> _load_eggs
>
>     entry.load(require=True)
>
>   File "build/bdist.freebsd-9-amd64/egg/pkg_resources.py", line 2015, in 
>> load
>
>     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
>
>   File "build/bdist.freebsd-9-amd64/egg/tracopt/ticket/commit_updater.py", 
>> line 50, in <module>
>
>   File 
>> "/usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg/trac/ticket/notification.py",
>>  
>> line 249
>
>     self.ambiwidth)
>
>        ^
>
> SyntaxError: invalid syntax (notification.py, line 249)
>
> 2013-11-04 20:07:22,467 Trac[loader] DEBUG: Loading tracopt.ticket.deleter 
>> from /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,472 Trac[loader] ERROR: Skipping 
>> "tracopt.ticket.deleter = tracopt.ticket.deleter": 
>
> Traceback (most recent call last):
>
>   File "build/bdist.freebsd-9-amd64/egg/trac/loader.py", line 68, in 
>> _load_eggs
>
>     entry.load(require=True)
>
>   File "build/bdist.freebsd-9-amd64/egg/pkg_resources.py", line 2015, in 
>> load
>
>     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
>
>   File "build/bdist.freebsd-9-amd64/egg/tracopt/ticket/deleter.py", line 
>> 20, in <module>
>
>   File "build/bdist.freebsd-9-amd64/egg/trac/ticket/web_ui.py", line 39, 
>> in <module>
>
>   File 
>> "/usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg/trac/ticket/notification.py",
>>  
>> line 249
>
>     self.ambiwidth)
>
>        ^
>
> SyntaxError: invalid syntax (notification.py, line 249)
>
> 2013-11-04 20:07:22,472 Trac[loader] DEBUG: Loading 
>> tracopt.versioncontrol.git.git_fs from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,478 Trac[loader] DEBUG: Loading 
>> tracopt.versioncontrol.svn.svn_fs from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,485 Trac[loader] DEBUG: Loading 
>> tracopt.versioncontrol.svn.svn_prop from 
>> /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg
>
> 2013-11-04 20:07:22,488 Trac[default_workflow] DEBUG: Workflow actions at 
>> initialization: {u'resolve': {u'operations': [u'set_resolution'], 'name': 
>> u'resolve', 'default': 0, 'newstate': u'closed', 'oldstates': [u'new', 
>> u'assigned', u'accepted', u'reopened'], u'permissions': 
>> [u'TICKET_MODIFY']}, u'accept': {u'operations': [u'set_owner_to_self'], 
>> 'name': u'accept', 'default': 0, 'newstate': u'accepted', 'oldstates': 
>> [u'new', u'assigned', u'accepted', u'reopened'], u'permissions': 
>> [u'TICKET_MODIFY']}, u'leave': {u'operations': [u'leave_status'], 'name': 
>> u'leave', u'default': 1, 'newstate': u'*', 'oldstates': [u'*'], 
>> 'permissions': []}, u'reopen': {u'operations': [u'del_resolution'], 'name': 
>> u'reopen', 'default': 0, 'newstate': u'reopened', 'oldstates': [u'closed'], 
>> u'permissions': [u'TICKET_CREATE']}, u'reassign': {u'operations': 
>> [u'set_owner'], 'name': u'reassign', 'default': 0, 'newstate': u'assigned', 
>> 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], 
>> u'permissions': [u'TICKET_MODIFY']}, '_reset': {'operations': 
>> ['reset_workflow'], 'name': 'reset', 'default': 0, 'newstate': 'new', 
>> 'oldstates': [], 'permissions': []}}
>
>
>> 2013-11-04 20:07:22,564 Trac[main] DEBUG: Dispatching <RequestWithSession 
>> "GET '/report'">
>
> 2013-11-04 20:07:22,579 Trac[session] DEBUG: Retrieving session for ID 
>> u'test'
>
> 2013-11-04 20:07:22,582 Trac[main] DEBUG: Negotiated locale: None -> None
>
> 2013-11-04 20:07:22,584 Trac[api] WARNING: Unable to find repository 
>> '(default)' for synchronization
>
> 2013-11-04 20:07:22,585 Trac[api] DEBUG: action controllers for ticket 
>> workflow: ['ConfigurableTicketWorkflow']
>
> 2013-11-04 20:07:22,588 Trac[chrome] DEBUG: Prepare chrome data for request
>
> 2013-11-04 20:07:22,651 Trac[main] ERROR: Internal Server Error: 
>
> Traceback (most recent call last):
>
>   File "build/bdist.freebsd-9-amd64/egg/trac/web/main.py", line 497, in 
>> _dispatch_request
>
>     dispatcher.dispatch(req)
>
>   File "build/bdist.freebsd-9-amd64/egg/trac/web/main.py", line 233, in 
>> dispatch
>
>     content_type)
>
>   File "build/bdist.freebsd-9-amd64/egg/trac/web/chrome.py", line 975, in 
>> render_template
>
>     template = self.load_template(filename, method=method)
>
>   File "build/bdist.freebsd-9-amd64/egg/trac/web/chrome.py", line 944, in 
>> load_template
>
>     return self.templates.load(filename, cls=cls)
>
>   File 
>> "/usr/local/lib/python2.7/site-packages/Genshi-0.7-py2.7-freebsd-9-amd64.egg/genshi/template/loader.py",
>>  
>> line 246, in load
>
>     raise TemplateNotFound(filename, search_path)
>
> TemplateNotFound: Template "report_list.html" not found
>
>

Trac 0.12.x seems to install and work fine so I'm wondering if there's 
possibly something wrong with the FreeBSD port or maybe I'm missing some 
new dependency of Trac 1.0.1? Any idea what might be wrong and how I can 
fix it?

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to