On Jul 5, 2010, at 6:22 AM, Itamar O wrote:

> On Mon, Jul 5, 2010 at 1:15 PM, Roger Oberholtzer 
> <[email protected]> wrote:
> On Sun, 2010-07-04 at 16:22 -0700, Noah Kantrowitz wrote:
> > Because this particular plugin has come up here recently, MasterTickets 3.0 
> > has been pushed to PyPI (http://pypi.python.org/pypi/TracMasterTickets). 
> > This fixes the long standing Postgres issues (I think, don't have a PG 
> > server to test with on here) and fixes 0.12 compat for the basic features 
> > at least (haven't tested the depgraph on my laptop yet). Also it now lives 
> > on github (http://github.com/coderanger/trac-mastertickets) which should 
> > make it easier for people to fork and work on (and make it easier to get 
> > patches back to me in a way that they actually apply).
> 
> 
> I just did this install on a 0.12 system, and it has made things very
> unhappy:
> 
> Traceback (most recent call last):
>  File "build/bdist.linux-i686/egg/trac/web/api.py", line 436, in send_error
>    data, 'text/html')
>  File "build/bdist.linux-i686/egg/trac/web/chrome.py", line 808, in 
> render_template
>    template = self.load_template(filename, method=method)
>  File "build/bdist.linux-i686/egg/trac/web/chrome.py", line 769, in 
> load_template
>    self.get_all_templates_dirs(), auto_reload=self.auto_reload,
>  File "build/bdist.linux-i686/egg/trac/web/chrome.py", line 482, in 
> get_all_templates_dirs
>    dirs.extend(provider.get_templates_dirs() or [])
>  File "build/bdist.linux-i686/egg/mastertickets/web_ui.py", line 122, in 
> get_templates_dirs
>    return [resource_filename(__name__, 'templates')]
>  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 841, in 
> resource_filename
>    self, resource_name
>  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1311, in 
> get_resource_filename
>    return self._extract_resource(manager, zip_path)
>  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1322, in 
> _extract_resource
>    zip_stat = self.zipinfo[zip_path]
> KeyError: 'mastertickets/templates'
> 
> I had to disable mastertickets to get the site back.

Needed to install setuptools_git so it actually included the non-code files. 
3.0.1 pushed with the correct stuffs (and 2 fixes contributed by Niels Reedijk, 
fork&merge ftw).

--Noah

-- 
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