Ticket #10759 (new defect)

Opened 5 months ago

Last modified 1 month ago

TemplateNotFound: Template "smp_admin_components.html" not found

Reported by: benjaminzfinn@gmail.com Assigned to: 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

Change History

(in reply to: ↑ description ) 01/05/13 00:43:41 changed by benfinn

Sorry, two edits to that:

  1. - The actual error is this: TemplateNotFound: Template "smp_admin_components.html" not found
  1. - And it only happens in Admin -> Manage Projects when I click on Components or Projects.

01/08/13 19:13:06 changed by benfinn

  • priority changed from high to low.

I resolved the issue by manually copying the templates in.

01/16/13 13:58:17 changed by falkb

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.

(follow-up: ↓ 5 ) 01/18/13 21:58:57 changed by falkb

Not sure if it maybe a side effect of what was reported in #10798 and #10514. Please, try to update this plugin to >= [12535]

(in reply to: ↑ 4 ) 01/22/13 08:32:38 changed by falkb

Replying to falkb:

...Please, try to update this plugin to >= [12535]

benfinn, have you tried to update? What is your result?

01/23/13 11:42:49 changed by benfinn

Unfortunately, my contract ended before I had a chance to try the update. Sorry!

01/23/13 11:45:15 changed by anonymous

benfinn, could you answer the 2 questions in 3

01/23/13 11:50:02 changed by benfinn

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.

04/23/13 08:10:33 changed by falkb

  • owner changed from crossroad to falkb.

Add/Change #10759 (TemplateNotFound: Template "smp_admin_components.html" not found)




Change Properties
Action