Opened 12 years ago
Closed 11 years ago
#10759 closed defect (worksforme)
TemplateNotFound: Template "smp_admin_components.html" not found
Reported by: | Ben Finn | Owned by: | falkb |
---|---|---|---|
Priority: | low | Component: | SimpleMultiProjectPlugin |
Severity: | critical | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
On a fresh installation of the plugin, whenever I go to my admin pages, I get this error:
http://www.staging.pixton.com/trac-js
The Python traceback is as follows:
File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/web/main.py", line 497, in _dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/web/main.py", line 233, in dispatch content_type) File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/web/chrome.py", line 960, in render_template template = self.load_template(filename, method=method) File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/web/chrome.py", line 931, in load_template return self.templates.load(filename, cls=cls) File "/usr/lib/python2.7/dist-packages/genshi/template/loader.py", line 246, in load raise TemplateNotFound(filename, search_path)
System info:
Trac 1.0 Babel 0.9.6 (translations unavailable) Docutils 0.8.1 Genshi 0.6 (with speedups) GIT 1.7.9.5 mod_wsgi 3.3 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL}) MySQL server: "5.5.27-log", client: "5.5.28", thread-safe: 1 MySQLdb 1.2.4c1 Pygments 1.4 Python 2.7.3 (default, Aug 1 2012, 05:27:35) [GCC 4.6.3] pytz 2011k setuptools 0.6 jQuery 1.7.2
Enabled plugins:
SimpleMultiProject 0.0.3dev /usr/local/lib/python2.7/dist-packages/SimpleMultiProject-0.0.3dev-py2.7.egg TicketLastCommentJumpPlugin 0.1 /usr/local/lib/python2.7/dist-packages/TicketLastCommentJumpPlugin-0.1-py2.7.egg TracSubTicketsPlugin 0.2.0.dev-20130104 /usr/local/lib/python2.7/dist-packages/TracSubTicketsPlugin-0.2.0.dev_20130104-py2.7.egg TracWysiwyg 0.12.0.4-r11158 /usr/local/lib/python2.7/dist-packages/TracWysiwyg-0.12.0.4_r11158-py2.7.egg
Attachments (0)
Change History (10)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Priority: | high → low |
---|
I resolved the issue by manually copying the templates in.
comment:3 Changed 12 years ago by
How did you install the plugin?
I created an egg file with python setup.py bdist_egg
and copied the .egg file to Trac's plugin dir, and that always works well.
Does installation work for other plugins which also provide template files? If not, it may be a configuration problem with your installation.
comment:4 follow-up: 5 Changed 12 years ago by
comment:5 Changed 12 years ago by
comment:6 Changed 12 years ago by
Unfortunately, my contract ended before I had a chance to try the update. Sorry!
comment:8 Changed 12 years ago by
Certainly.
For installation, I followed the exact steps listed in the http://trac-hacks.org/wiki/SimpleMultiProjectPlugin under "Installation."
Other plugins which also provide template files worked properly.
comment:9 Changed 12 years ago by
Owner: | changed from Christopher Paredes to falkb |
---|
comment:10 Changed 11 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Not reproducable, ticket originator not available for tests anymore. Please, reopen if still an issue.
Sorry, two edits to that:
TemplateNotFound: Template "smp_admin_components.html" not found
Admin -> Manage Projects
when I click on Components or Projects.