Hi Bray,

Thank you so much!  The problem fixed!

It is a reason you said.

But I have another reason. 
My trac is version 0.11, but I download previously "testmanagementplugin0.4.0" 
for trac0.10.
 
So I download "testManagmentPluginGenshi" and installed it successfully. 

But I do not understand what "Genshi" means for this plug-in name. Anyway, my 
server can run now.

Best Regards
Billy

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Erik Bray
Sent: Wednesday, February 25, 2009 12:14 AM
To: [email protected]
Subject: [Trac] Re: Install TestCaseManagementPlugin failed


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.



**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not 
to copy, disclose, or distribute this e-mail or its contents to any other 
person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken 
every reasonable precaution to minimize this risk, but is not liable for any 
damage 
you may sustain as a result of any virus in this e-mail. You should carry out 
your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this 
e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
--~--~---------~--~----~------------~-------~--~----~
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