After going through the code myself I came to a similar conclusion.

By changing the line in <yourproject>.egg-info/requires.txt from

TurboGears >= 0.9a0

to

TurboGears >= 0.9a0dev-r233

everything works as normal.  As Deepak said, this is only a "get it
working" fix as it may well break on the next SVN commit.

Lee

On 18/11/05, N. C. Deepak Ramesh <[EMAIL PROTECTED]> wrote:
>
> Hi guys,
>
> Dan Jacob wrote:
> > Yes, I get the same error running tg-admin sql create:
> >
> [snip]
> > pkg_resources.VersionConflict: (turbogears 0.9a0dev-r223
> > (c:\python24\lib\site-p
> > ackages\turbogears-0.9a0dev_r223-py2.4.egg),
> > Requirement.parse('TurboGears>=0.9a
> > 0'))
> >
>
> As they say, tracing the problem is easy, but finding the solution is
> difficult.
>
> I did some study of the code and the problem arises because the manager
> from SQLObject does a pkg_resources.require on your project's egg-info.
> If you look in <yourpkg>.egg-info directory you will find a file called
> 'requires' which contains the line 'TurboGears >= 0.9a0'.
>
> Quick fix:
> Till one of the gods from above answer your call you can either remove
> the line and proceed ahead, (But understand, it is only a quick fix),
> and keep your ears to the ground till someone offers the permanent solution.
>
> HTH,
>
> Deepak
>
>

Reply via email to