Modify

Opened 2 years ago

Closed 10 months ago

#10759 closed defect (worksforme)

TemplateNotFound: Template "smp_admin_components.html" not found

Reported by: benjaminzfinn@… 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 in reply to: ↑ description Changed 2 years ago 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.

comment:2 Changed 2 years ago by benfinn

  • Priority changed from high to low

I resolved the issue by manually copying the templates in.

comment:3 Changed 2 years ago 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.

comment:4 follow-up: Changed 2 years ago 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]

comment:5 in reply to: ↑ 4 Changed 2 years ago by falkb

Replying to falkb:

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

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

comment:6 Changed 2 years ago by benfinn

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

comment:7 Changed 2 years ago by anonymous

benfinn, could you answer the 2 questions in 3

comment:8 Changed 2 years ago 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.

comment:9 Changed 20 months ago by falkb

  • Owner changed from crossroad to falkb

comment:10 Changed 10 months ago by falkb

  • Resolution set to worksforme
  • Status changed from new to closed

Not reproducable, ticket originator not available for tests anymore. Please, reopen if still an issue.

Add Comment

Modify Ticket

Action
as closed The owner will remain falkb.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.