#12700 closed defect (fixed)
Installation Error
| Reported by: | DarkShadow1015 | Owned by: | Ryan J Ollos |
|---|---|---|---|
| Priority: | normal | Component: | TracTicketTemplatePlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 1.2 |
Description
I'm having an issue getting this plugin installed and working. I get the following error:
2016-03-08 17:06:05,859 Trac[loader] ERROR: Skipping "tickettemplate = tickettemplate.ttadmin":
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/trac/loader.py", line 68, in _load_eggs
entry.load(require=True)
File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", line 2202, in load
return self.resolve()
File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", line 2208, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python2.6/site-packages/TracTicketTemplate-1.0.dev0-py2.6.egg/tickettemplate/ttadmin.py", line 36, in <module>
from tickettemplate.model import TT_Template, schema, schema_version
File "/usr/lib/python2.6/site-packages/TracTicketTemplate-1.0.dev0-py2.6.egg/tickettemplate/model.py", line 17, in <module>
class TT_Template(object):
File "/usr/lib/python2.6/site-packages/TracTicketTemplate-1.0.dev0-py2.6.egg/tickettemplate/model.py", line 151, in TT_Template
getCustomTemplate = classmethod(getCustomTemplate)
TypeError: 'classmethod' object is not callable
I'm installing version 1.0 of this plugin under Trac 1.1.6 on RHEL 6.6 (Santiago), using Apache 2.2.15 and Python 2.6. I installed it using the command:
sudo -E easy_install -U -Z https://trac-hacks.org/svn/tractickettemplateplugin/1.0
I don't see Python 2.7 listed as a prerequisite of this plugin, but for what it's worth, I do have another instance of Trac 1.1.6 running on Ubuntu server, with Apache and Python 2.7 that works just fine with version 1.0 of this plugin. If Python 2.7 is a requirement, please let me know.
Attachments (0)
Change History (5)
comment:1 Changed 10 years ago by
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
comment:2 Changed 10 years ago by
| Resolution: | worksforme |
|---|---|
| Status: | closed → reopened |
Thank you Richard. However, I believe I've downloaded the latest revision. I'm using the link on the main page of this hack. If I'm getting an outdated version, I guess I don't know how to get the latest.
The svn page I'm copying says "Revision 15413" at the top. I get 3 folders, "0.10", "0.11", and "1.0"... I'm using the files under "1.0" to install.
I've even tried downloading the zip version using the link on the main page, extracting, and installing from the source.
comment:3 Changed 10 years ago by
| Owner: | changed from Richard Liao to Ryan J Ollos |
|---|---|
| Status: | reopened → accepted |
comment:5 Changed 10 years ago by
Should be fixed now. Please try the latest from tractickettemplateplugin/1.0.



You aren't running the latest. The line you refer to was changed in r14729. Please upgrade.