[csw-maintainers] complex trac issue

Peter FELECAN pfelecan at opencsw.org
Thu Feb 25 18:27:29 CET 2010


"Maciej (Matchek) Blizinski" <maciej at opencsw.org> writes:

> On Tue, Feb 23, 2010 at 3:01 PM, Peter FELECAN <pfelecan at opencsw.org> wrote:
>> Sebastian Kayser <skayser at opencsw.org> writes:
>>
>>> * Maciej (Matchek) Blizinski <maciej at opencsw.org> wrote:
>>>> On Tue, Feb 23, 2010 at 11:14 AM, Peter FELECAN <pfelecan at opencsw.org> wrote:
>>>> > Installed and:
>>>> >
>>>> > trac-admin /tracs/test resync
>>>> > Traceback (most recent call last):
>>>> >  File "/opt/csw/bin/trac-admin", line 5, in <module>
>>>> >    from pkg_resources import load_entry_point
>>>> >  File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 2603, in <module>
>>>> >    working_set.require(__requires__)
>>>> >  File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 666, in require
>>>> >    needed = self.resolve(parse_requirements(requirements))
>>>> >  File "/opt/csw/lib/python/site-packages/pkg_resources.py", line 565, in resolve
>>>> >    raise DistributionNotFound(req)  # XXX put more info here
>>>> > pkg_resources.DistributionNotFound: Trac==0.11.6
>>>>
>>>> This one isn't as obvious.  Setup tools can't find the right version
>>>> of Trac;
>>>
>>> Could it be that our approach of not shipping .egg files is coming into
>>> play here?
>
> Peter, have you tried investigating what is happening in this code?
> If not, can you do that?

Sorry to take time to answer but I was traveling to a customer site...

As you asked me, I investigated the origin of the files in
/opt/csw/lib/python/site-packages and all the files are from the CSWtrac
package. However, I do not understand what do you mean by "right version
of Trac is present in Trac files"...  I didn't found a reference to Trac
version in those files.

Not being a Python expert I can, however, follow instructions of one...

-- 
Peter


More information about the maintainers mailing list