Failing to roll-back properly
#1
Posted 05 August 2002 - 05:04 PM
Anyway, I re-install a mod, part of this is compiling the dialogue A and then the dialogue B. B fails to install and throws up an error and it uninstalls the mod. I go in, fix the problem and return to the command window. From there I choose "Yes" I want to install the mod. however, now it complains that dialogue A starts with a BEGIN, but A already exists... even thought A is unique to this mod and should have been removed when it rolled back.
If I No my way past everything and restart setup, everything works properly.
Past: Ascension, Return to Windspear, Imoen Relationship, The Broken Hourglass
"Perfection has no deadline"
#2
Posted 05 August 2002 - 07:37 PM
I'm having trouble following your error report.Running under v61 (untested under v62, but unless you've changed this...).
Anyway, I re-install a mod, part of this is compiling the dialogue A and then the dialogue B. B fails to install and throws up an error and it uninstalls the mod. I go in, fix the problem and return to the command window. From there I choose "Yes" I want to install the mod. however, now it complains that dialogue A starts with a BEGIN, but A already exists... even thought A is unique to this mod and should have been removed when it rolled back.
If I No my way past everything and restart setup, everything works properly.
Are you saying that if you change the D file *while Setup-Foo is running* there are problems? I'd believe that, but my current answer is "don't do that then". :-) Such a problem can only strike eager developers.
If you are saying something else about repeatably making the roll-back fail, can you help me to understand you better? Perhaps youc an provide a simple TP2 file and two .D files and a set of keypresses that cause the problem to recur? From that it will be a short step to me fixing it.
#3
Posted 06 August 2002 - 04:39 AM
Don't do it... sure. Just add a feature so that it asks you to press enter to quit once an install fails. There's no point asking if you want to install if it's simply going to generate a false bug over and over until you quit and restart it yourself.
This is what happens:
Run setup
Choose to Re-install MOD
Mod elements install
Mod compiles dialogue A
Mod trips over on dialogue B
Mod uninstalls
Complains of error in B
Do you wish to install MOD? Yes or No?
*Quitch corrects problem in dialogue B*
*Quitch chooses Yes*
Mod elements install
Mod trips over on dialogue A
Mod uninstalls
Complains A uses BEGIN command when A already exists
Do you wish to install MOD? Yes or No?
*Quitch says no and exits setup*
*Quitch restarts setup*
Mod elements install
Mod compiles A
Mod compiles B
Mod is installed
Past: Ascension, Return to Windspear, Imoen Relationship, The Broken Hourglass
"Perfection has no deadline"
#4
Posted 06 August 2002 - 06:25 AM
Complains A uses BEGIN command when A already exists
Thank you for posting the entire sequence. I now understand what the problem is. ( When an install fails, I was forgetting to clear the internal state of loaded dialogues. ) It will be fixed in the next version.
#5
Posted 06 August 2002 - 06:29 AM
However, I'm not sure this explains everything, because I cannot imagine all that many people having a transient install error.
#6
Posted 06 August 2002 - 06:59 AM
#7
Posted 06 August 2002 - 12:25 PM
Past: Ascension, Return to Windspear, Imoen Relationship, The Broken Hourglass
"Perfection has no deadline"
#8
Posted 06 August 2002 - 07:59 PM
Anyway, if you have a spare moment, I have yet another new version of WeiDU that claims to fix the now-notorious "Quitch-reported bug". Would you be so kind as to run your A-B test on it and let me know?
#9
Posted 07 August 2002 - 01:36 AM
I also tried uninstalling the mod and all components before running the test to see if working from scratch made a difference. It didn't.
Past: Ascension, Return to Windspear, Imoen Relationship, The Broken Hourglass
"Perfection has no deadline"
#10
Posted 07 August 2002 - 11:28 AM
And thanks for reporting this evil bug. :-)
#11
Posted 07 August 2002 - 01:10 PM
Past: Ascension, Return to Windspear, Imoen Relationship, The Broken Hourglass
"Perfection has no deadline"