On Dec 30, 10:09 pm, "Mark Ramm" <[email protected]> wrote:
> On Tue, Dec 30, 2008 at 3:06 PM, Aigarius <[email protected]> wrote:
>
> > On Dec 30, 5:42 pm, "Mark Ramm" <[email protected]> wrote:
> >> On Tue, Dec 30, 2008 at 10:38 AM, Aigarius <[email protected]> wrote:
>
> >> > On Dec 29, 3:54 pm, "Mark Ramm" <[email protected]> wrote:
> >> > > To download 2.0 beta 1, simply follow the instructions here:
>
> >> > >http://turbogears.org/2.0/docs/main/DownloadInstall.html
>
> >> > People with existing 1.9.7 virtualenv installations can just do:
>
> >> > $ tg2env/bin/activate
> >> > $ easy_install -ihttp://www.turbogears.org/2.0/downloads/current/index
> >> > -U <http://www.turbogears.org/2.0/downloads/current/index-U> tg.devtools
>
> >> Looks correct to me.
>
> > Unfortunately that did not work too well. TG 1.9.7 folder was still
> > there after the upgrade and paster still used the old version
> > producing weird errors with the new quickstart code. Had to nuke it
> > and reinstall.
>
> Were you using a development install of 1.9.7, did you get any errors
> during the easy_install upgrade?

I installed 1.9.7 in virtualenv as a user using the same command a few
weeks ago following the same install manual. There were no errors
during the upgrade.

> I'm just hoping to figure out what happened so we can make sure nobody
> else has trouble....

The symptom that I saw was that after creating a new quickstart
project it failed to start with a huge error message (listing all
members of tg variable in template context and complaining that there
is no tg.auth_stack_enabled) and the stack trace of that error showed
that TG 1.9.7 components were still used. At that point I deleted the
tg2env folder and started the installation from scratch and the error
went away

It looks like easy_install -U does not remove the old versions of the
packages. It is pretty absurd to me (spoiled by apt-get), but it looks
like removing and recreating the virtulenv might be the safest way to
upgrade.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to