Hello,
I'd like to ask for some help.

I'm trying to get ScreenshotsPlugin to work:
http://trac-hacks.org/wiki/ScreenshotsPlugin

I followed the steps of the installation and seemed to work fine, but
when I turn on tracscreenshots.core component
(tracscreenshots.core.screenshotscore = enabled)

I get the following error:

Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\trac\web\api.py", line 436, in
send_error
    data, 'text/html')
  File "C:\Python27\lib\site-packages\trac\web\chrome.py", line 808,
in render_template
    template = self.load_template(filename, method=method)
  File "C:\Python27\lib\site-packages\trac\web\chrome.py", line 769,
in load_template
    self.get_all_templates_dirs(), auto_reload=self.auto_reload,
  File "C:\Python27\lib\site-packages\trac\web\chrome.py", line 481,
in get_all_templates_dirs
    for provider in self.template_providers:
  File "C:\Python27\lib\site-packages\trac\core.py", line 78, in
extensions
    return filter(None, [component.compmgr[cls] for cls in
extensions])
  File "C:\Python27\lib\site-packages\trac\core.py", line 213, in
__getitem__
    component = cls(self)
  File "C:\Python27\lib\site-packages\trac\core.py", line 119, in
maybe_init
    init(self)
  File "build\bdist.win32\egg\tracscreenshots\core.py", line 92, in
__init__
    locale_dir = resource_filename(__name__, 'locale')
  File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg
\pkg_resources.py", line 882, in resource_filename
    self, resource_name
  File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg
\pkg_resources.py", line 1352, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg
\pkg_resources.py", line 1363, in _extract_resource
    zip_stat = self.zipinfo[zip_path]
KeyError: 'tracscreenshots\\locale'

My trac configuration:

System InformationTrac  0.12
Trac    0.12
Babel   0.9.5
FullBlog        0.1.1-r9025
Genshi  0.7dev-r1134
mod_wsgi        3.3 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
pysqlite        2.6.0
Python  2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit
(Intel)]
Python  2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit
(Intel)]
RPC     1.1.0-r8688
setuptools      0.6c11
setuptools      0.6c11
SQLite  3.6.21
jQuery: 1.4.2

I'm pretty new to Trac and not really sure how I should approach the
problem.

Thanks for any advices.
Matt

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

Reply via email to