Kevin Dangoor wrote:

> On 5/29/06, Ben Sizer <[EMAIL PROTECTED]> wrote:
> >
> > I know you can make a backup, but what's the point of an update script
> > if it does such a poor job at actually updating? For example, all it
> > wanted to do to model.py was add "from turbogears import identity",
> > give me a useless "YourDataClass" class, and remove the rest of my
> > file! That's no upgrade!
>
> The upgrade instructions were pretty explicit about how you'll likely
> want to answer for each file.

The problem here is the 'likely' qualifier. Or the "It is probably
easiest" qualifier in the text. If there's virtually no chance that
this upgrade is going to work effectively on model.py and
controllers.py, why even ask about applying it?

The implication given by providing an upgrade script is, "this upgrade
may be a little tedious and perhaps complex to do by hand, so we've
automated the process for you." This covers the "number of changes that
will need to be made to your project in order to upgrade to TurboGears
0.9". So people feel they can trust the script and in fact come to
believe it is necessary. But then the instructions cast doubt on this,
saying perhaps you shouldn't use it on certain files. It's a usability
nightmare. I know we're all programmers here, and a bit more tolerant
of such things, but not everybody follows this group closely enough to
know how to make any necessary adjustments by hand - especially not
those upgrading from one official release to another - and this
half-working script is likely to confuse more people than just me.

I think that when providing upgrade instructions, and especially a
script to do it that seems to carry some sort of official weight, the
large element of doubt needs to be avoided.

> > ImportError: No module named elementtree.ElementTree
> >
> > No idea why that has happened, since I've just upgraded TG as specified
> > and everything it needs should be there, if the setup script is doing
> > its job. Right?
>
> That's pretty odd. Are you able to run a TurboGears app?

My previous app appeared to run, and a couple of pages worked fine,
though I didn't get around to testing all of it.

I've just reinstalled Windows and copied some Python files across
manually, so perhaps there is some inconsistency there. Still, it
should be quite trivial for Python/setuptools/whatever to see whether
elementtree is present or not, so I don't see why it should have an
effect here.

-- 
Ben Sizer


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

Reply via email to