I'm not *sure* this is the problem. But it sounds similar to other
problems with eggs I've had. There's some debate over whether the
egg-info files should be version-controlled at all because they change
every time you install the app.
The egg-info files are text-readable, so you could look through them
to see where the old path is being stored and why.
--Mike
On Sat, May 10, 2008 at 4:32 PM, SamDonaldson <[EMAIL PROTECTED]> wrote:
>
> Is there any other way? Because this method will require me to
> recreate the app and then recheckout files and then recheckin the
> entire app. Is there any way I could run some script to recreate the
> egg with the new path location? I would imagine someone's run into
> this problem before?
>
> Thanks,
> Sam
>
> On May 10, 1:11 am, "Mike Orr" <[EMAIL PROTECTED]> wrote:
>> On Fri, May 9, 2008 at 10:15 PM, SamDonaldson <[EMAIL PROTECTED]> wrote:
>>
>> > Hi,
>>
>> > I have the following problem that I'm not understanding. I created my
>> > package under some path some time ago and then svn checked in all the
>> > files. Now, I create a new branch, and check that branch out (under a
>> > different path of course), and when I try to load my package, I get
>> > some errors. The problem is the following:
>>
>> > import pkg_resources
>>
>> > pkg_resources.require('pylons')
>> > DEV_CONFIG_PATH = pkg_resources.resource_filename("<name>", "")
>>
>> > I find that the DEV_CONFIG_PATH points to the old path under which the
>> > package was created. So it ends up pointing to my old source code.
>>
>> > How do I fix the pkg_resources pylons dist?
>>
>> You probably have to reinstall the app to fix up the egg-info stuff.
>>
>> --
>> Mike Orr <[EMAIL PROTECTED]>- Hide quoted text -
>>
>> - Show quoted text -
> >
>
--
Mike Orr <[EMAIL PROTECTED]>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---