Hey, on your latest revison found a couple bugs, some really small others look to be a bit bigger.
This is an error I get weather with cbash or not whenever I shift click all of my mods. Well more then anymore then 20 or 30. I think it may even have to do with the filename cause I've gotten pretty long shift clicks before that pops up but it does always pop up if I select them all at once.
E:\Oblivion Mods\Utilities\Wrye bash svn\597\Mopy\basher.py:1645: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal def OnTextEdit(self,event):
I haven't really seen any adverse effects from it other then that message popping up.
Second bug I noticed without cbash active is when making a bashed patch with Races. Wheenver races is ticked, reguardless of mods actually being checked inside of it. You'll get this error message
File "E:\Oblivion Mods\Utilities\Wrye bash svn\597\Mopy\basher.py", line 4959, in Execute raise File "E:\Oblivion Mods\Utilities\Wrye bash svn\597\Mopy\basher.py", line 4918, in Execute patchFile.buildPatch(log,SubProgress(progress,0.8,0.9))#no speeding needed/really possible (less than 1/4 second even with large LO) File "E:\Oblivion Mods\Utilities\Wrye bash svn\597\Mopy\bosh.py", line 15122, in buildPatch patcher.buildPatch(log,SubProgress(subProgress,index)) File "E:\Oblivion Mods\Utilities\Wrye bash svn\597\Mopy\bosh.py", line 26630, in buildPatch raceHair = ((defaultMaleHair,defaultFemaleHair)[npc.flags.female]).get(npc.race) File "E:\Oblivion Mods\Utilities\Wrye bash svn\597\Mopy\bolt.py", line 629, in __getattr__ raise AttributeError(name)AttributeError: female
Other than that the bashed patch appears to work fine with everything else. I could rebuild the patch just fine with everything else selected and got no error. But not with the race box checked.
Edit: Just thought I'd let you know both of those were done without cbash.
Now onto the real reason I made this edit with cbsah theres a pretty big bug happening
Any mod you click on and select Mark Mergable you get this
Traceback (most recent call last): File "E:\Oblivion Mods\Utilities\Wrye bash svn\597\Mopy\basher.py", line 8833, in Execute canMerge = bosh.CBash_PatchFile.modIsMergeable(fileInfo) File "E:\Oblivion Mods\Utilities\Wrye bash svn\597\Mopy\bosh.py", line 15172, in modIsMergeable for master in modFile.TES4.masters:AttributeError: 'NoneType' object has no attribute 'TES4'
Another is when you right click and rebuild the patch you get this
Traceback (most recent call last): File "E:\Oblivion Mods\Utilities\Wrye bash svn\597\Mopy\basher.py", line 9526, in Execute bosh.modInfos.rescanMergeable(bosh.modInfos.data,nullProgress) File "E:\Oblivion Mods\Utilities\Wrye bash svn\597\Mopy\bosh.py", line 8183, in rescanMergeable canMerge = CBash_PatchFile.modIsMergeable(modInfo,verbose=False) == True File "E:\Oblivion Mods\Utilities\Wrye bash svn\597\Mopy\bosh.py", line 15172, in modIsMergeable for master in modFile.TES4.masters:AttributeError: 'NoneType' object has no attribute 'TES4'
I was peeking around the code just looking at stuff seems like it might have something to do with the if else statment you added recently to cint.py. Where you changed how cbash was defined
Only mentioning that cause I took out the if statment you put there for cbash and put it back to cbash = None with the lines on top commented out and that problem when away.
Probally wrong on that though.. I really don't knwo what I'm doing lol I just like to look around code it's fun and you know you pick up as you go along.
I did do a small test with that tweak to the cint.py to see if was disabling cbsah or something. With that tweak I built a bashed patch in 3 minutes with the cbash.dll named cbash.dll.
Then clsoed wrye renamed teh cbash dll and ran the same test again and it took me 4 minutes 27 seocnds to build. So I assume that means cbash was still being used