On Tue, Feb 24, 2009 at 5:22 AM, Billy Zhu <[email protected]> wrote:
> Hi all,
>
>
>
> I am trying to install “testmanagementplugin0.4.0” into
> TSVN(Trac0.11+SVN1.5.5+Apache2.2.11).
>
>
>
> I followed the section “Configuration steps required” to setup the plugin,
> which is mentioned by https://trac-hacks.org/wiki/TestCaseManagementPlugin
>
>
>
> The following error happened when I finished above steps and log on my trac
> server.
>
>
>
> ===============================
>
> Traceback (most recent call last):
>
>   File "C:\Python25\Lib\site-packages\trac\web\api.py", line 339, in
> send_error
>
>     'text/html')
>
>   File "C:\Python25\Lib\site-packages\trac\web\chrome.py", line 683, in
> render_template
>
>     template = self.load_template(filename, method=method)
>
>   File "C:\Python25\Lib\site-packages\trac\web\chrome.py", line 659, in
> load_template
>
>     self.templates = TemplateLoader(self.get_all_templates_dirs(),
>
>   File "C:\Python25\Lib\site-packages\trac\web\chrome.py", line 406, in
> get_all_templates_dirs
>
>     dirs += provider.get_templates_dirs()
>
>   File "build\bdist.win32\egg\testManagementPlugin\testManager.py", line
> 116, in get_templates_dirs
>
>     return [resource_filename(__name__, 'templates')]
>
>   File "C:\Python25\Lib\site-packages\pkg_resources.py", line 841, in
> resource_filename
>
>     self, resource_name
>
>   File "C:\Python25\Lib\site-packages\pkg_resources.py", line 1311, in
> get_resource_filename
>
>     return self._extract_resource(manager, zip_path)
>
>   File "C:\Python25\Lib\site-packages\pkg_resources.py", line 1322, in
> _extract_resource
>
>     zip_stat = self.zipinfo[zip_path]
>
> KeyError: 'testManagementPlugin\\templates'

You should reinstall the plugin.  However you installed it before, the
templates/ directory wasn't included in the installation (in
particular, it sounds like you installed a .egg file that for some
reason was missing this directory).  Probably your best bet is to use
easy_install with the the path to the trunk of this plugin's SVN
repository.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to