Opened 17 years ago
Closed 17 years ago
#2491 closed defect (invalid)
Trac detected an internal error for install fullblog
Reported by: | jackie | Owned by: | osimons |
---|---|---|---|
Priority: | high | Component: | FullBlogPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Trac detected an internal error:
TemplateNotFound: Template "fullblog_admin.html" not found
If you think this should work you can reproduce the problem, you should consider reporting this to the Trac team.
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, please try the mailing list instead of filing a ticket.
Trac | 0.11b1 | Python | 2.4.3 (#1, Mar 14 2007, 19:01:42) [GCC 4.1.1 20070105 (Red Hat 4.1.1-52)] | setuptools | 0.6c7 | SQLite | 3.3.6 | pysqlite | 1.1.7 | Genshi | 0.5dev-r789 | Pygments | 0.9 | Subversion | 1.4.2 (r22196) | ==== Python Traceback ==== Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/main.py", line 398, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/main.py", line 217, in dispatch data, content_type) File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/chrome.py", line 651, in render_template template = self.load_template(filename, method=method) File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/chrome.py", line 635, in load_template return self.templates.load(filename, cls=cls) File "build/bdist.linux-x86_64/egg/genshi/template/loader.py", line 227, in load TemplateNotFound: Template "fullblog_admin.html" not found a new ticket at the Trac project site, where you can describe the problem and explain how to reproduce it.
|
Python Traceback Most recent call last:
- File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/main.py", line 398, in _dispatch_request
Code fragment:
- try:
- if not env and env_error:
- raise HTTPInternalError(env_error)
- try:
- dispatcher = RequestDispatcher(env)
- dispatcher.dispatch(req)
- except RequestDone:
- pass
- resp = req._response or []
- except HTTPException, e:
- File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/main.py", line 217, in dispatch
Code fragment:
- out = StringIO()
- pprint(data, out)
- req.send(out.getvalue(), 'text/plain')
- else:
- output = chrome.render_template(req, template,
- data, content_type)
- # Give the session a chance to persist changes
- if req.session:
- req.session.save()
- req.send(output, content_type or 'text/html')
- File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/chrome.py", line 651, in render_template
Code fragment:
- if content_type is None:
- content_type = 'text/html'
- method = {'text/html': 'xhtml',
- 'text/plain': 'text'}.get(content_type, 'xml')
- template = self.load_template(filename, method=method)
- data = self.populate_data(req, data)
- stream = template.generate(data)
- # Filter through ITemplateStreamFilter plugins
- File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/chrome.py", line 635, in load_template
Code fragment:
- if method == 'text':
- cls = TextTemplate
- else:
- cls = MarkupTemplate
- return self.templates.load(filename, cls=cls)
- def render_template(self, req, filename, data, content_type=None,
- fragment=False):
- """Render the
filename
using thedata
for the context.
- File "build/bdist.linux-x86_64/egg/genshi/template/loader.py", line 227, in load Local variables: Name Value OSError <exceptions.KeyError instance at 0x2ad5d3cc90e0> cls <class 'genshi.template.markup.MarkupTemplate'> dirname '/var/www/.python-eggs/IniAdmin-0.2-py2.4.egg-tmp/iniadmin/templates' encoding None filename 'fullblog_admin.html' filepath '/var/www/.python-eggs/IniAdmin-0.2-py2.4.egg-tmp/iniadmin/templates/fullbl ... isabs False relative_to None search_path ['/var/www/trac/DNI-Applications/templates', ... self <genshi.template.loader.TemplateLoader object at 0x2ad5d2048390>
File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/main.py", line 398, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/main.py", line 217, in dispatch
data, content_type)
File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/chrome.py", line 651, in render_template
template = self.load_template(filename, method=method)
File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/chrome.py", line 635, in load_template
return self.templates.load(filename, cls=cls)
File "build/bdist.linux-x86_64/egg/genshi/template/loader.py", line 227, in load
System Information:
User Agent: Mozilla/5.0 (X11; U; Linux x86_64; zh-TW; rv:1.8.0.12) Gecko/20071130 CentOS/1.5.0.12-7.el5.centos Firefox/1.5.0.12 Trac: 0.11b1 Python: 2.4.3 (#1, Mar 14 2007, 19:01:42) [GCC 4.1.1 20070105 (Red Hat 4.1.1-52)] setuptools: 0.6c7 SQLite: 3.3.6 pysqlite: 1.1.7 Genshi: 0.5dev-r789 Pygments: 0.9 Subversion: 1.4.2 (r22196) jQuery: 1.2.1
Attachments (0)
Change History (5)
comment:1 Changed 17 years ago by
Component: | TracHacks → FullBlogPlugin |
---|---|
Owner: | changed from Alec Thomas to osimons |
comment:2 Changed 17 years ago by
Type: | enhancement → defect |
---|
comment:3 Changed 17 years ago by
iam getting exactly the same erroras reported by jackie, i even tried disabling the iniadmin plugin but made no difference
comment:4 Changed 17 years ago by
just to add the previous ticket i wrotem i checked by trac error logs, and it gives me an error : cant import add_notice, if that helps
comment:5 Changed 17 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
add_notice
was added to Trac trunk in t:r6379. You will need at least that version.
Assuming the original posters problem was the same, closing. If this is not the case, feel free to reopen the ticket.
Strange. Looks like it tries to find the template inside your IniAdminPlugin? It really should work.
Could you try this:
Does it work?