Jump to content


Photo

Vague errors when installing


  • Please log in to reply
50 replies to this topic

#41 Setharnas

Setharnas
  • Member
  • 55 posts

Posted 20 February 2010 - 01:56 AM

I can tell you Avira does not falsely report WeiDU (at least not on medium heuristic), it just trips over those sound files in Tashia or Amber or whatever it was, which, IIRC, is a known problem. And web protection is what FF + AdBlock Plus + NoScript + cookie and referrer solutions of your preference are for. ;)

#42 Lollorian

Lollorian

    smiley addict

  • Member
  • 4150 posts

Posted 23 February 2010 - 06:07 AM

Ok, now this is really wierd :wacko: Looking at Calliea's install with Aurora and avast, I gave it another go today (same thing - just stopped the antivir, no memory mumbo-jumbo :lol:) and well ... Aurora installed just fine now :o (I have NO idea what changed from 2 days ago and today ... just the definition updates ... but I doubt that affects heuristics :unsure:)

WeiDU.log: (the main component is at the end cause I intentionally skipped them through the install.bat :P)
Spoiler

"I am the smiley addict, yellow and round, this is my grin :D when I'm usually around :P.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"

BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST

GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod


#43 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 23 February 2010 - 01:56 PM

Aurora installed just fine now

Hate to say I told you so, but... :P. You probably just think you disabled Avast before, but didn't :lol:.

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#44 ScuD

ScuD
  • Member
  • 492 posts

Posted 13 March 2010 - 05:04 PM

Miloch, I've added RoT to my install and encountered exactly the same problem - Aurora install choked at the beginning of t-goblin.tpa (ACTION_FOR_EACH bm IN ~mgo4a2~ ~mgo4a2e~ ~mgo4ca~ ~mgo4cae~ ~mgo4sp~ ~mgo4spe~ BEGIN).
It appears the problem is indeed in the MOVE. Everything started to work properly after I changed line 3 from
MOVE ~override/%bm%.bam~ ~aurora/backup~
to
MOVE ~override/%bm%.bam~ ~aurora/backup/%bm%.bam~
I'm using non-biffing version of RoT which leaves everything in the override. I experimented by deleting the reported problematic files one by one. It started working after all 6 aforementioned files were deleted from override. That means MOVE was indeed the culprit. Having checked the link provided by Mike1072 I assumed there should be a filename as the second parameter.
Ah, line 10 should be fixed the same way.

Edit: And sure, my antivirus was disabled for the installation.

Edited by ScuD, 13 March 2010 - 05:08 PM.


#45 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 13 March 2010 - 05:37 PM

Miloch, I've added RoT to my install and encountered exactly the same problem - Aurora install choked at the beginning of t-goblin.tpa (ACTION_FOR_EACH bm IN ~mgo4a2~ ~mgo4a2e~ ~mgo4ca~ ~mgo4cae~ ~mgo4sp~ ~mgo4spe~ BEGIN).
It appears the problem is indeed in the MOVE. Everything started to work properly after I changed line 3 from

MOVE ~override/%bm%.bam~ ~aurora/backup~
to
MOVE ~override/%bm%.bam~ ~aurora/backup/%bm%.bam~
I'm using non-biffing version of RoT which leaves everything in the override. I experimented by deleting the reported problematic files one by one. It started working after all 6 aforementioned files were deleted from override. That means MOVE was indeed the culprit. Having checked the link provided by Mike1072 I assumed there should be a filename as the second parameter.

That really makes no sense, because those two commands are exactly the same. If you don't provide a target filename, the source filename is assumed - pretty much everything in WeiDU is coded the same. Leonardo and Leomar reported this same thing above and also reported it went away when they disabled Avast completely. Apparently, it doesn't get disabled if you just right click it, so you have to go into msconfig or something as described in the third point here. Also, attach your setup-aurora.debug file, or at least the lines around the ERROR message. If the message is one like in that link (i.e. does not point to anything specific), it's almost certainly memory-resident software interfering, because that's been the case on this issue thus far.

Can anyone reproduce it with just RoT and Aurora (and absolutely no memory-resident software)? I'd assume not, because Leonardo said it went away with both when he disabled antivirus.

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#46 ScuD

ScuD
  • Member
  • 492 posts

Posted 13 March 2010 - 06:06 PM

OK, that makes no sense, but it worked for me. My NOD32 was disabled for the installation time. I'm using Windows 7 64-bit.
And please, do not try to reproduce with just RoT. It won't result in an error after biffing. I'm using non-biffing version of it which dumps everything to override after the installation. And having these 6 files in the override results in an error during Aurora install.
Right now I'm finishing the full reinstall so I'll send you the logs later. But the error message pointed to a certain BAM file each time I deleted previous one.

Ah, the issue was reproduced on clean BG2, Fixpack, RoT (no biffing), Aurora main component. My installation will take at least an hour more. I can send you the fixed batch file for RoT if you want to try that yourself.

Edited by ScuD, 13 March 2010 - 06:08 PM.


#47 Lollorian

Lollorian

    smiley addict

  • Member
  • 4150 posts

Posted 13 March 2010 - 06:44 PM

Woah! :woot: Awesome stuff! Lemme get me popcorn :D But seriously ScuD, great that you've hunted down that line ... It also looks plausible since Leomar reported that the error happened only when they're using the biffmeister package (which also creates non-biffy versions of megamods)

Leonardo and Leomar reported this same thing above and also reported it went away when they disabled Avast completely. Apparently, it doesn't get disabled if you just right click it, so you have to go into msconfig or something

Well, first off, Leonardo Watson never mentioned that he was using avast! (atleast publicly :unsure:)

And then, apparently avast! can also be disabled without the msconfig stuff :) The recent update to avastv5 separated the heuristic real-time scanner from the Standard Shield (which I used to disable before) into a new module called Behavior shield (which is also disable-able like the other Shields :lol:) So, in all of my errors, I had the standard shield disabled but the behavior shield on (the errors vanished immediately after I started to turn both off :doh:)

Which means only one thing - you were right and I was wrong about just thinking of disabling it :devil:

Anyway, if the errors go away by adding just 8-chars to the .tp2, why not? :) I'll try an install soon with this...

Edited by Lollorian, 13 March 2010 - 07:55 PM.

"I am the smiley addict, yellow and round, this is my grin :D when I'm usually around :P.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"

BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST

GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod


#48 ScuD

ScuD
  • Member
  • 492 posts

Posted 13 March 2010 - 07:09 PM

OK, I was too lazy to reinstall RoT. I took BG2, Fixpack, Aurora. After Fixpack I just created 6 BAM files in the override with names mgo4a2.bam, mgo4a2e.bam, mgo4ca.bam, mgo4cae.bam, mgo4sp.bam, mgo4spe.bam. Aurora choked with message:
ERROR Installing [Aurora's Shoes and Boots], rolling back to previous state
Will uninstall 177 files for [AURORA/SETUP-AURORA.TP2] component 0.
Uninstalled    177 files for [AURORA/SETUP-AURORA.TP2] component 0.
ERROR: Unix.Unix_error(1, "rename", "override/mgo4a2.bam")
PLEASE email the file SETUP-AURORA.DEBUG to www.shsforums.net/forum/418-auroras-shoes/
Using Language [English]
The issue was indeed caused by MOVE. I suspect, as it is a new feature, it has some glitches (thebigg has marked it as "Do not use!" in the changelist obviously for some reason).

And BTW, it is NOT antivirus (at least not NOD32). I have performed the same actions with the same results a) with antivirus enabled b) on a machine with no antivirus at all.

Edited by ScuD, 13 March 2010 - 07:29 PM.


#49 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 13 March 2010 - 07:41 PM

I suspect, as it is a new feature, it has some glitches (thebigg has marked it as "Do not use!" in the changelist obviously for some reason).

Half the features in the WeiDU documentation say "do not use." But yes, there could be some glitches in it (one at least is already known) - I asked about it here. I don't think it is a great fix to use the command at all if it *is* suspect. I'll probably recode it to use batch files, as much as I hate them. We use them already to do the same thing in Infinity Animations and at least no one's reported issues with them. And there's the known issue with MOVE which may or may not be fixed in the next WeiDU release, but who knows when that'll be out.

The question is, if you add the target %bm%.bam, does it actually move those files to the backup folder? And does it move them back if you uninstall? Apparently it gets glitchy (glitchier) if there's another mod that operates on them somewhere in between.

And BTW, it is NOT antivirus (at least not NOD32). I have performed the same actions with the same results a) with antivirus enabled b) on a machine with no antivirus at all.

Maybe so, but it doesn't mean antivirus isn't suspect also. We've confirmed it is in several cases (just read the history of this thread and see the folks who've said disabling it fixes these types of issues).

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#50 ScuD

ScuD
  • Member
  • 492 posts

Posted 13 March 2010 - 07:49 PM

Please check in the Generalized Biffing TP2. I see thebigg uses MOVE the same way I've corrected your code. So basically I don't think you need to recode with batches (bit let's wait for thebigg's reply). I checked Infinity Animations code - the batches indeed work there, never had any issues.

And it does move the file to the backup folder. Confirmed: uninstall moves files back to override.

Please try this yourself and report here how it works on your machine.

Edited by ScuD, 13 March 2010 - 08:06 PM.


#51 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 13 March 2010 - 08:33 PM

So basically I don't think you need to recode with batches (bit let's wait for thebigg's reply). I checked Infinity Animations code - the batches indeed work there, never had any issues.

I'd recode it on account of the issues which a hypothetical UNINSTALL_MOVE_AFTER_COPY flag would theoretically resolve, as discussed in the PPG thread. The batch files presumably don't have such an issue. Yes, MOVE would be easier (why I used it in the first place) but why take chances with potential glitches?

Please try this yourself and report here how it works on your machine.

Now why would I do that when you've already done it for me? :P I'm recoding a bunch of stuff in this mod... this is kinda at the bottom of the list (in the hopes there might be a new WeiDU by the time I'm done, but I'm not holding my breath).

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle