On 5/29/06, Ben Sizer <[EMAIL PROTECTED]> wrote:

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?

did you saw the interactive merge?

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.

it is necessary, and the upgrade instructions clearly state that not all the change can be applied automatically.

But then the instructions cast doubt on this,saying perhaps you shouldn't use it on certain files.

 

It's a usabilitynightmare.

I agree on that  

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'm sorry but did you forgot what the alpha is? so far the last official release of TG is at 0.8

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.

how about a big sign that says read the upgrade instructions and backup your code?

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

some? so maybe you copy half the dependancies. if you install with easy_install and it didn't get you element tree
either you .pth file says there is one and there isn't (cause the file is broken) or your setuptools or TG install is broken.

Still, it should be quite trivial for Python/setuptools/whatever to see whether
elementtree is present or not,

no it's not first of all is setuptools that takes care of that, and I wont spec a program to be sure that what it install is still there. you probably have your python path file(s) broken, or your instalation is.

so I don't see why it should have an effect here.

because software breaks
--
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