[RELZ] Wrye Bash -- Thread 66

Post » Wed Mar 30, 2011 4:42 am

ActiveX = the devil, but it's the only way (that I know of) to get good html rendering in wxPython

Arthmoor, I've updated the ITM logic, it should look better now when you check the mods.

EDIT: I take that back. I still need to add in some more checks for WRLD records

EDIT2: Ok, now it should be good.
User avatar
Unstoppable Judge
 
Posts: 3337
Joined: Sat Jul 29, 2006 11:22 pm

Post » Wed Mar 30, 2011 2:14 am

Just found a new tweak snook in to the Tweak Assorted (had a look through the svn log but think I must have missed it somewhere) ..

No Light Fade Value Fix

Sets Lights Fade Values to 1.0 if not set - Every light source in the game?

And is this a new recommended for all users (just considering the Pictorial Guide recommends, like NVidia fog fix is recommended for everyone to use even if you dont have an NVidia card)

hmph looks like someone forgot to update the readme with the newest tweaks *innocent whistling*... readme updated with all the newest tweaks.
and yes that is for all light sources (anything under the LIGH topgroup at anyrate... which is all the lights)

Super, I was really looking forward to this. Finally a reason for me to install the 292 SVN.
Just to check, Phyton Bash is still the way to go, yes?

Waiting patiently for CBash :whistling:

Now if only I could figure out how to make junctions work so I can keep my BAIN mod archive propely divided into subfolders by categories. :banghead:

CBash is getting very close... I only know of 1 or 2 bugs left (one of which is annoying)
Standalone should be fairly functional... certainly less tested but shouldn't have to many bugs hiding in it (I hope).

I tried version 1101 same issue:

recived, thanks... try again - should work now :D
Pacific Morrowind
User avatar
ONLY ME!!!!
 
Posts: 3479
Joined: Tue Aug 28, 2007 12:16 pm

Post » Wed Mar 30, 2011 8:43 am

recived, thanks... try again - should work now :D
Pacific Morrowind

I dropped the new (ver 1105) files:
balt.py
basher.py
bolt.py
bosh.py
into the Mopy folder and now bash will not even open. Nothing - no sign even of a crash.

I have the unicode ini setting to true.

What am I doing wrong? On the sourceforge page it says:
Warning if using Unicode Wrye Bash but using non-unicode wxPython.
... huh what?

I have the ini setting for unicode and installed wxPython for unicode.

No starty
User avatar
jeremey wisor
 
Posts: 3458
Joined: Mon Oct 22, 2007 5:30 pm

Post » Wed Mar 30, 2011 9:03 am

I dropped the new (ver 1105) files:
balt.py
basher.py
bolt.py
bosh.py
into the Mopy folder and now bash will not even open. Nothing - no sign even of a crash.

I have the unicode ini setting to true.

What am I doing wrong? On the sourceforge page it says:... huh what?

I have the ini setting for unicode and installed wxPython for unicode.

No starty

hmm then run it in debug mode to console to get a debug print... it loads fine here so need that (details in the readme)
(that sf log snippet is just part of the changelist - did 3 or 4 changes)
Pacific Morrownd
User avatar
Motionsharp
 
Posts: 3437
Joined: Sun Aug 06, 2006 1:33 am

Post » Wed Mar 30, 2011 1:07 pm

hmm then run it in debug mode to console to get a debug print... it loads fine here so need that (details in the readme)
(that sf log snippet is just part of the changelist - did 3 or 4 changes)
Pacific Morrownd

The only details in the readme that seem even related is this bit:
Debug Mode

? This feature will activate debug printout. Note that there are few commands for which this will have an effect. (E.g. Update Save Levels... will be affected.)

? This feature is not sticky. I.e. it will default to "off" every time you start Bash.
then a few other things about a debug pane (that of course unable to get to due to not being able to open).

I looked in the ini - found nothing related to debug.

Tried clicking on the bat file - a cmd window flashed but can't find any report.

What exactly do I do?
User avatar
Chris Cross Cabaret Man
 
Posts: 3301
Joined: Tue Jun 19, 2007 11:33 pm

Post » Wed Mar 30, 2011 5:50 am

I used latest WryeBash 292 with bEnableUnicode=True on Python 2.6.6, wxPython 2.8.12 (unicode) and Japanese Windows 7 SP1 (x64). I'll post report and the patch because encountered some problems.

When initial open installers tab.
Spoiler

Traceback (most recent call last):
File "D:\Oblivion\Mopy\basher.py", line 4737, in OnShowPage
self.GetPage(event.GetSelection()).OnShow()
File "D:\Oblivion\Mopy\basher.py", line 3238, in OnShow
self.gList.RefreshUI()
File "D:\Oblivion\Mopy\balt.py", line 1459, in RefreshUI
self.UpdateItems(selected=selected)
File "D:\Oblivion\Mopy\balt.py", line 1401, in UpdateItems
self.SortItems()
File "D:\Oblivion\Mopy\balt.py", line 1431, in SortItems
items = self.data.getSorted(column,reverse)
File "D:\Oblivion\Mopy\bosh.py", line 11963, in getSorted
items.sort()
File "D:\Oblivion\Mopy\bolt.py", line 637, in __cmp__
if isinstance(other,Path): return cmp(self._cs, other._cs)
UnicodeDecodeError: 'ascii' codec can't decode byte 0x8f in position 0: ordinal not in range(128)

Patch
Spoiler

--- a/Mopy/bolt.py
+++ b/Mopy/bolt.py
@@ -676,7 +676,11 @@ class Path(object):
def __hash__(self):
return hash(self._cs)
def __cmp__(self, other):
- if isinstance(other,Path): return cmp(self._cs, other._cs)
+ if isinstance(other,Path):
+ try:
+ return cmp(self._cs, other._cs)
+ except UnicodeDecodeError:
+ return cmp(Encode(self._cs), Encode(other._cs))
else: return cmp(self._cs, Path.getCase(other))

When show details of mod in the mods tab.
Spoiler

Traceback (most recent call last):
File "D:\Oblivion\Mopy\basher.py", line 11198, in Execute
progress = balt.Progress(_(modName.s))
File "D:\Oblivion\Mopy\bolt.py", line 121, in _
if encode: text = reEscQuote.sub("'",text.encode('string_escape'))
TypeError: escape_encode() argument 1 must be string, not unicode

Patch
Spoiler

--- a/Mopy/basher.py
+++ b/Mopy/basher.py
@@ -11195,7 +11195,7 @@ class Mod_Details(Link):
def Execute(self,event):
modName = GPath(self.data[0])
modInfo = bosh.modInfos[modName]
- progress = balt.Progress(_(modName.s))
+ progress = balt.Progress(modName.s)
try:
modDetails = bosh.ModDetails()
modDetails.readFromMod(modInfo,SubProgress(progress,0.1,0.7))

When open installers tab.
Spoiler

Traceback (most recent call last):
File "D:\Oblivion\Mopy\basher.py", line 7399, in Execute
gInstallers.OnShow()
File "D:\Oblivion\Mopy\basher.py", line 3237, in OnShow
if data.refresh(progress,what,self.fullRefresh):
File "D:\Oblivion\Mopy\bosh.py", line 11927, in refresh
if 'I' in what: changed |= self.refreshInstallers(progress,fullRefresh)
File "D:\Oblivion\Mopy\bosh.py", line 12126, in refreshInstallers
try: installer.refreshBasic(apath,SubProgress(progress,index,index+1))
File "D:\Oblivion\Mopy\bosh.py", line 10819, in refreshBasic
self.refreshSource(archive,progress,fullRefresh)
File "D:\Oblivion\Mopy\bosh.py", line 11381, in refreshSource
ins = listArchiveContents(archive.s)
File "D:\Oblivion\Mopy\bosh.py", line 118, in listArchiveContents
ins, err = Popen(command, stdout=PIPE, startupinfo=startupinfo).communicate()
File "C:\Python26\lib\subprocess.py", line 623, in __init__
errread, errwrite)

Patch
Spoiler

--- a/Mopy/bosh.py
+++ b/Mopy/bosh.py
@@ -115,6 +115,7 @@ configHelpers = None #--Config Helper files (Boss Master List, etc.)

def listArchiveContents(fileName):
command = r'"%s" l -slt "%s"' % (dirs['mopy'].join('7zUnicode.exe').s, fileName)
+ command = command.encode('mbcs')
ins, err = Popen(command, stdout=PIPE, startupinfo=startupinfo).communicate()
return ins

Filename passed to the shell should be locale-dependent encoding (For backward compatibility. of course, even NT/NTFS. Microsoft svcks:p). Also other place which run 7zUnicode.exe/attrib as a subprocess.

When install a package.
Spoiler

Traceback (most recent call last):
File "D:\Oblivion\Mopy\basher.py", line 8015, in Execute
self.data.install(self.filterInstallables(),progress,last,override)
File "D:\Oblivion\Mopy\bosh.py", line 12400, in install
installer.install(archive,destFiles,self.data_sizeCrcDate,SubProgress(progress,index,index+1))
File "D:\Oblivion\Mopy\bosh.py", line 11509, in install
self.unpackToTemp(archive,dest_src.values(),SubProgress(progress,0,0.9))
File "D:\Oblivion\Mopy\bosh.py", line 11481, in unpackToTemp
progress(index,_("%s\nExtracting files...\n%s") % (archive.s.encode('UTF8'), maExtracting.group(1).strip()))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 12: ordinal not in range(128)

Patch
Spoiler

--- a/Mopy/bosh.py
+++ b/Mopy/bosh.py
@@ -11476,7 +11478,7 @@ class InstallerArchive(Installer):
if maExtracting:
extracted.append(maExtracting.group(1).strip())
if bUseUnicode:
- progress(index,_("%s\nExtracting files...\n%s") % (archive.s.encode('UTF8'), maExtracting.group(1).strip()))
+ progress(index,_("%s\nExtracting files...\n%s") % (archive.s, maExtracting.group(1).strip()))
else:
progress(index,_("%s\nExtracting files...\n%s") % (archive.s, maExtracting.group(1).strip()))
index += 1
@@ -11487,7 +11489,7 @@ class InstallerArchive(Installer):
ins, err = Popen(cmd, stdout=PIPE, startupinfo=startupinfo).communicate()
if result:
if bUseUnicode:
- raise StateError(_("%s: Extraction failed\n%s") % (archive.s.encode('UTF8'),"\n".join(errorLine)))
+ raise StateError(_("%s: Extraction failed\n%s") % (archive.s,"\n".join(errorLine)))
else:
raise StateError(_("%s: Extraction failed\n%s") % (archive.s,"\n".join(errorLine)))
#--Done


When click savedata in saves tab.
Spoiler

Traceback (most recent call last):
File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\_misc.py", line 1358, in Notify
self.notify()
File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 14762, in Notify
self.result = self.callable(*self.args, **self.kwargs)
File "D:\Oblivion\Mopy\basher.py", line 3018, in OnDropFiles
modList.RefreshUI()
File "D:\Oblivion\Mopy\basher.py", line 1532, in RefreshUI
saveList.RefreshUI()
File "D:\Oblivion\Mopy\basher.py", line 2409, in RefreshUI
saveDetails.SetFile(detail)
File "D:\Oblivion\Mopy\basher.py", line 2609, in SetFile
(self.playerNameStr,self.playerLevel,int(self.gameDays),self.playMinutes/60,(self.playMinutes % 60),self.curCellStr))
UnicodeDecodeError: 'ascii' codec can't decode byte 0x8c in position 0: ordinal not in range(128)

Patch
Spoiler

--- a/Mopy/basher.py
+++ b/Mopy/basher.py
@@ -2605,8 +2605,14 @@ class SaveDetails(wx.Window):
self.coSaves = '%s\n%s' % saveInfo.coSaves().getTags()
#--Set Fields
self.file.SetValue(self.fileStr)
- self.playerInfo.SetLabel(_("%s\nLevel %d, Day %d, Play %d:%02d\n%s") %
- (self.playerNameStr,self.playerLevel,int(self.gameDays),self.playMinutes/60,(self.playMinutes % 60),self.curCellStr))
+ if bolt.bUseUnicode:
+ self.playerInfo.SetLabel(_("%s\nLevel %d, Day %d, Play %d:%02d\n%s") %
+ (self.playerNameStr.decode('mbcs'),
+ self.playerLevel,int(self.gameDays),self.playMinutes/60,(self.playMinutes % 60),
+ self.curCellStr.decode('mbcs')))
+ else:
+ self.playerInfo.SetLabel(_("%s\nLevel %d, Day %d, Play %d:%02d\n%s") %
+ (self.playerNameStr,self.playerLevel,int(self.gameDays),self.playMinutes/60,(self.playMinutes % 60),self.curCellStr))
self.gCoSaves.SetLabel(self.coSaves)
self.masters.SetFileInfo(saveInfo)
#--Picture

Should be decode a string obtained from savedata.

When open installers tab.
Spoiler

Traceback (most recent call last):
File "D:\Oblivion\Mopy\basher.py", line 4728, in OnShowPage
self.GetPage(event.GetSelection()).OnShow()
File "D:\Oblivion\Mopy\basher.py", line 3236, in OnShow
if data.refresh(progress,what,self.fullRefresh):
File "D:\Oblivion\Mopy\bosh.py", line 11922, in refresh
settings['bash.installers.removeEmptyDirs'], fullRefresh)
File "D:\Oblivion\Mopy\bosh.py", line 10459, in refreshSizeCrcDate
progress(0,_("%s\nCalculating CRCs...\n") % rootName)
UnicodeDecodeError: 'ascii' codec can't decode byte 0x82 in position 6: ordinal not in range(128)

Patch
Spoiler

--- a/Mopy/bolt.py
+++ b/Mopy/bolt.py
@@ -123,6 +123,8 @@ if os.path.exists(languagePkl):
if core and core in _translator:
text = head+_translator[core]+tail
if encode: text = text.decode('string_escape')
+ if bUseUnicode: text = unicode(text,'mbcs')
return text
else:
def _(text,encode=True): return text

The translated message had better return as unicode.

When pack project to archive.
Spoiler

Traceback (most recent call last):
File "D:\Oblivion\Mopy\basher.py", line 8794, in Execute
installer.packToArchive(project,archive,isSolid,blockSize,SubProgress(progress,0,0.8))
File "D:\Oblivion\Mopy\bosh.py", line 11770, in packToArchive
progress(index,archive.s+_("\nCompressing files...\n%s") % maCompressing.group(1).strip())
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 0: ordinal not in range(128)

Patch
Spoiler

--- a/Mopy/bosh.py
+++ b/Mopy/bosh.py
@@ -11747,7 +11747,8 @@ class InstallerProject(Installer):
out.write('--*\\')
out.close()
#--Compress
- if bosh.inisettings['EnableUnicode']:
+ bUseUnicode = inisettings['EnableUnicode']
+ if bUseUnicode:
command = '"%s" a "%s" -t"%s" %s -y -r -o"%s" -i!"%s\\*" -x@%s -scsWIN' % (dirs['mopy'].join('7zUnicode.exe').s, outFile.temp.s, archiveType, solid, outDir.s, project.s, self.tempList.s)
command = command.encode('mbcs')
else:
@@ -11767,7 +11768,10 @@ class InstallerProject(Installer):
if len(errorLine) or regErrMatch(line):
errorLine.append(line)
if maCompressing:
- progress(index,archive.s+_("\nCompressing files...\n%s") % maCompressing.group(1).strip())
+ if bUseUnicode:
+ progress(index,archive.s+_("\nCompressing files...\n%s") % Unicode(maCompressing.group(1).strip()))
+ else:
+ progress(index,archive.s+_("\nCompressing files...\n%s") % maCompressing.group(1).strip())
index += 1
result = ins.close()
self.tempList.remove()


When delete installer project.
Spoiler

Traceback (most recent call last):
File "D:\Oblivion\Mopy\balt.py", line 1720, in Execute
self.gTank.DeleteSelected()
File "D:\Oblivion\Mopy\balt.py", line 1577, in DeleteSelected
del self.data[item]
File "D:\Oblivion\Mopy\bosh.py", line 12061, in __delitem__
apath.rmtree(safety='Installers')
File "D:\Oblivion\Mopy\bolt.py", line 625, in rmtree
ins, err = Popen(cmd, stdout=PIPE, startupinfo=startupinfo).communicate()
File "C:\Python26\lib\subprocess.py", line 623, in __init__
errread, errwrite)
File "C:\Python26\lib\subprocess.py", line 833, in _execute_child
startupinfo)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 44-48: ordinal not in range(128)

Patch
Spoiler

--- a/Mopy/bolt.py
+++ b/Mopy/bolt.py
@@ -622,6 +622,8 @@ class Path(object):
if self.isdir() and safety and safety.lower() in self._cs:
# Clear ReadOnly flag if set
cmd = r'attrib -R "%s\*" /S /D' % (self._s)
+ if bUseUnicode: cmd = cmd.encode('mbcs')
ins, err = Popen(cmd, stdout=PIPE, startupinfo=startupinfo).communicate()
shutil.rmtree(self._s)


When show list structure in installers tab.
Spoiler

Traceback (most recent call last):
File "C:\Oblivion\Mopy\basher.py", line 8086, in Execute
text = installer.listSource(archive)
File "C:\Oblivion\Mopy\bosh.py", line 11565, in listSource
log.setHeader(_(u'Package Structure:'))
File "C:\Oblivion\Mopy\bolt.py", line 121, in _
if encode: text = reEscQuote.sub("'",text.encode('string_escape'))
TypeError: escape_encode() argument 1 must be str, not unicode

Patch
Spoiler

--- a/Mopy/bolt.py
+++ b/Mopy/bolt.py
@@ -118,6 +118,7 @@ if os.path.exists(languagePkl):
_translator = cPickle.load(pklFile)
pklFile.close()
def _(text,encode=True):
+ if isinstance(text,unicode): text = Encode(text)
if encode: text = reEscQuote.sub("'",text.encode('string_escape'))
head,core,tail = reTrans.match(text).groups()
if core and core in _translator:
diff --git a/Mopy/bosh.py b/Mopy/bosh.py
index a4675a9..17ff664 100644
--- a/Mopy/bosh.py
+++ b/Mopy/bosh.py
@@ -11559,7 +11559,7 @@ class InstallerArchive(Installer):
log = bolt.LogFile(stringBuffer())
if bUseUnicode:
log.out.write(u'[spoiler]')
- log.setHeader(_(u'Package Structure:'))
+ log.setHeader(_('Package Structure:'))
reList = re.compile(u'(Solid|Path|Size|CRC|Attributes|Method) = (.*?)(?:\r\n|\n)')
file = u''
else:

It's fixed by applying either hunk, but just in case.

All patches are here.
https://github.com/valda/wryebash/compare/master...enable_unicode_topic
(Mopy/Data/Japanese.txt is work in progress. Skip please.)

The Unicode-Bash is a very significant improvement for non-English users. 292 becomes great release. Keep up the good work!
I'm sorry for big post and ugly engrish :)
User avatar
CHangohh BOyy
 
Posts: 3462
Joined: Mon Aug 20, 2007 12:12 pm

Post » Wed Mar 30, 2011 1:45 pm

Eureka (I think)

Microsoft Windows [Version 6.0.6002]
Copyright © 2006 Microsoft Corporation. All rights reserved.

C:\Windows\system32>chdir /D "F:\Bethesda Games\Oblivion\Mopy"

F:\Bethesda Games\Oblivion\Mopy>C:\python26\python.exe bash.py -d
Traceback (most recent call last):  File "bash.py", line 36, in     import bolt  File "F:\Bethesda Games\Oblivion\Mopy\bolt.py", line 12        ^SyntaxError: invalid syntax


F:\Bethesda Games\Oblivion\Mopy>

User avatar
Shannon Marie Jones
 
Posts: 3391
Joined: Sun Nov 12, 2006 3:19 pm

Post » Wed Mar 30, 2011 5:06 am

Eureka (I think)

yep that's the ticket... sorry I wasn't clear.
hmm okay that is just totally funky; that line is not in ANY of the Bash sourcecode!... investigating... okay the only thing I can think of is that you downloaded the source off of Sourceforge in an unexpected manner... try downloading the tarball and extracting that with 7z and overwrite yes to all.
Pacific Morrwoind
User avatar
Daniel Holgate
 
Posts: 3538
Joined: Tue May 29, 2007 1:02 am

Post » Wed Mar 30, 2011 6:27 am

Request:

Can the author of the first post please put http://oblivionworks.svn.sourceforge.net/viewvc/oblivionworks/Programs/Wrye%20Bash/ link on the first post.

For the life of me I cannot figure out to navigate to it from a page such as http://sourceforge.net/projects/oblivionworks/develop. Further, I'm diving into testing the latest because I made so many requests for the features that it would be rude of me not to go there. But, normally in would just be waiting for the next version like the rest. So to find that link I had to search back through the last thread.

Having that link with then a comment like "this is the latest full version - use only if you know what you are doing" or some such thing would be most helpful. Then also why is version 287 always so readily linked everywhere?

So I got the latest from the link I was requesting (hope that was right). Bash opened - opening BAIN gave this error:
F:\Bethesda Games\Oblivion\Mopy\bolt.py:680: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal  if isinstance(other,Path): return cmp(self._cs, other._cs)Traceback (most recent call last):  File "F:\Bethesda Games\Oblivion\Mopy\basher.py", line 4727, in OnShowPage    self.GetPage(event.GetSelection()).OnShow()  File "F:\Bethesda Games\Oblivion\Mopy\basher.py", line 3239, in OnShow    if data.refresh(progress,what,self.fullRefresh):  File "F:\Bethesda Games\Oblivion\Mopy\bosh.py", line 11976, in refresh    settings['bash.installers.removeEmptyDirs'], fullRefresh)  File "F:\Bethesda Games\Oblivion\Mopy\bosh.py", line 10476, in refreshSizeCrcDate    oSize,oCrc,oDate = oldGet(rpFile,(0,0,0))  File "F:\Bethesda Games\Oblivion\Mopy\bolt.py", line 680, in __cmp__    if isinstance(other,Path): return cmp(self._cs, other._cs)UnicodeDecodeError: 'ascii' codec can't decode byte 0xfc in position 69: ordinal not in range(128)
Which looks the same.
User avatar
biiibi
 
Posts: 3384
Joined: Sun Apr 08, 2007 4:39 am

Post » Wed Mar 30, 2011 2:40 am

alt3rn1ty can update the OP, I'm fine with it as long as there's a nice big warning, since it can be quite unstable at times.

Looks like valda's patches will probably fix most of your issues Psymon, but alas, I'm not in a state that I can accurately commit those, so you'll have to wait for PM or tomorrow.
User avatar
Jaki Birch
 
Posts: 3379
Joined: Fri Jan 26, 2007 3:16 am

Post » Wed Mar 30, 2011 3:41 am

Looks like the dirty edit checker is working now. It only returned ITM and UDR on what I expected this time.
User avatar
Jessica Stokes
 
Posts: 3315
Joined: Fri Jul 28, 2006 11:01 am

Post » Wed Mar 30, 2011 11:03 am

alt3rn1ty can update the OP, I'm fine with it as long as there's a nice big warning, since it can be quite unstable at times.

Looks like valda's patches will probably fix most of your issues Psymon, but alas, I'm not in a state that I can accurately commit those, so you'll have to wait for PM or tomorrow.

Well I hope so.

Sorry if I'm coming off impatient - although it has been a few days I've been locked out of BAIN - no huge rush. I've got other things (installs and games) to play with. I'm just trying to be as punctual as possible and I get lost at times in the jargon and technical details of managing this creature.

I gotta say though it is mighty impressive the amount of collaboration that goes into this. From Wrye starting this and opening it up for others, PM you and others keeping adding on, Yacoby updating Mash and working on a core set, and here comes Valda with more additions and hopefully fixes.

A real testament to the Cathedral/Open-Source point of view.

I wait patiently for more news from the front. Once I can get multiple installs going well and 292 is released I will write up in my threads (BAIN and Nehrim) how to make use of these features.
User avatar
Dawn Farrell
 
Posts: 3522
Joined: Thu Aug 23, 2007 9:02 am

Post » Wed Mar 30, 2011 1:19 am

i use both obmm and bash. and have had to clean numberious esp file. obmm has no problem removing the mod after the esp has been altered. but if i try to remove a mod that has a cleaned esp that i installed with bash is crashes. so i have to put the dirty one back in before i can uninstall the mod. is this suppose to happen?

fixed my origional issue. though would still like to know about the clean esp crashing the program.
User avatar
A Lo RIkIton'ton
 
Posts: 3404
Joined: Tue Aug 21, 2007 7:22 pm

Post » Wed Mar 30, 2011 9:24 am

Request:

Can the author of the first post please put http://oblivionworks.svn.sourceforge.net/viewvc/oblivionworks/Programs/Wrye%20Bash/ link on the first post.

For the life of me I cannot figure out to navigate to it from a page such as http://sourceforge.net/projects/oblivionworks/develop. Further, I'm diving into testing the latest because I made so many requests for the features that it would be rude of me not to go there. But, normally in would just be waiting for the next version like the rest. So to find that link I had to search back through the last thread.

Having that link with then a comment like "this is the latest full version - use only if you know what you are doing" or some such thing would be most helpful. Then also why is version 287 always so readily linked everywhere?

So I got the latest from the link I was requesting (hope that was right). Bash opened - opening BAIN gave this error:
F:\Bethesda Games\Oblivion\Mopy\bolt.py:680: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal  if isinstance(other,Path): return cmp(self._cs, other._cs)Traceback (most recent call last):  File "F:\Bethesda Games\Oblivion\Mopy\basher.py", line 4727, in OnShowPage    self.GetPage(event.GetSelection()).OnShow()  File "F:\Bethesda Games\Oblivion\Mopy\basher.py", line 3239, in OnShow    if data.refresh(progress,what,self.fullRefresh):  File "F:\Bethesda Games\Oblivion\Mopy\bosh.py", line 11976, in refresh    settings['bash.installers.removeEmptyDirs'], fullRefresh)  File "F:\Bethesda Games\Oblivion\Mopy\bosh.py", line 10476, in refreshSizeCrcDate    oSize,oCrc,oDate = oldGet(rpFile,(0,0,0))  File "F:\Bethesda Games\Oblivion\Mopy\bolt.py", line 680, in __cmp__    if isinstance(other,Path): return cmp(self._cs, other._cs)UnicodeDecodeError: 'ascii' codec can't decode byte 0xfc in position 69: ordinal not in range(128)
Which looks the same.

I'd thoght that that link was in the first post... ah well putting it in now (on the SVN, I didn't start this thread so I can't update the active post myself though).
that looks like the same error for sure... okay try the latest (with extra debug print/skip feature, use the same -d argument to get all the info.
(and hopefully I'll get the time to look at valda's patches hmm probably be monday since I have a BUSY BUSY weekend).
Pacific Morrowind
User avatar
Cheryl Rice
 
Posts: 3412
Joined: Sat Aug 11, 2007 7:44 am

Post » Wed Mar 30, 2011 11:51 am

Drag&Drop in the Installers tab is working Funkey for Me, I can grab a mod, drag it where I want it, but when I release the mouse button, the mod Jumps whoKnowsWhere??. I don't use it very often, because it dosen't seem to Scroll the window, and I generaly want it more tha 1 page away, so "Move To" works well.

(SVN 1105(think it's been that way since the last time it was fixed))
User avatar
Chantelle Walker
 
Posts: 3385
Joined: Mon Oct 16, 2006 5:56 am

Post » Wed Mar 30, 2011 10:14 am

I'd thoght that that link was in the first post... ah well putting it in now (on the SVN, I didn't start this thread so I can't update the active post myself though).

Will update when the starter post is updated (just grabbed 1106 and no change to the last one)

Edit: Update for those "feeling brave" .. done :)
User avatar
Alexxxxxx
 
Posts: 3417
Joined: Mon Jul 31, 2006 10:55 am

Post » Wed Mar 30, 2011 2:26 pm

i use both obmm and bash. and have had to clean numberious esp file. obmm has no problem removing the mod after the esp has been altered. but if i try to remove a mod that has a cleaned esp that i installed with bash is crashes. so i have to put the dirty one back in before i can uninstall the mod. is this suppose to happen?

fixed my origional issue. though would still like to know about the clean esp crashing the program.
Nope, not supposed to happen (just once I want to say 'Yes! This program is supposed to crash!" ;)) Were there any errors printed out to the "stdout/stderr" window? Can you generate a bugdump and post it?


Drag&Drop in the Installers tab is working Funkey for Me, I can grab a mod, drag it where I want it, but when I release the mouse button, the mod Jumps whoKnowsWhere??. I don't use it very often, because it dosen't seem to Scroll the window, and I generaly want it more tha 1 page away, so "Move To" works well.

(SVN 1105(think it's been that way since the last time it was fixed))
Hmm, is it always, or just randomly? I'll probably have to add some debug prints in there to figure out what's going on for you. Also, does it work on the Mods tab?
Oh, and you could always scroll the window with the mouse wheel while dragging, but I added auto-scrolling when you drag past the first/last item in the window for you.
EDIT2: Found what's probably causing your problems. Try it now, if it still doesn't work right, see my first edit below.
EDIT3: Actually, I just broke it more...so hold off on the latest rev, or wait while I fix er up.
EDIT4: Ok, so it should work better, but looks like there's some more work I need to do to make it perfect
EDIT: debug prints added. Just activate debug mode (Mods tab, right click on column->Debug Mode), then do a drag and drop. If you could get a screen shot of before/after as well, and show where you dropped it.


Will update when the starter post is updated (just grabbed 1106 and no change to the last one)
Updated.
User avatar
Guinevere Wood
 
Posts: 3368
Joined: Mon Dec 04, 2006 3:06 pm

Post » Wed Mar 30, 2011 9:22 am

I'd thoght that that link was in the first post... ah well putting it in now (on the SVN, I didn't start this thread so I can't update the active post myself though).
that looks like the same error for sure... okay try the latest (with extra debug print/skip feature, use the same -d argument to get all the info.
(and hopefully I'll get the time to look at valda's patches hmm probably be monday since I have a BUSY BUSY weekend).
Pacific Morrowind

WORKS!!! yay

Though the first time I opened it with the offending mod installed I got this new error:
F:\Bethesda Games\Oblivion\Mopy\bolt.py:679: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal  if isinstance(other,Path): return cmp(self._cs, other._cs)

But not since.

Thank you PM! I'm back in the game.

First thing done - remove that mod.
User avatar
Dalia
 
Posts: 3488
Joined: Mon Oct 23, 2006 12:29 pm

Post » Wed Mar 30, 2011 4:55 am

Lojack is the following another possible svn bug http://www.gamesas.com/index.php?/topic/1179974-relz-boss-better-oblivion-sorting-software/page__view__findpost__p__17764730

Using svn 1106 at the moment.
User avatar
Andres Lechuga
 
Posts: 3406
Joined: Sun Aug 12, 2007 8:47 pm

Post » Wed Mar 30, 2011 2:38 am

Lojack is the following another possible svn bug http://www.gamesas.com/index.php?/topic/1179974-relz-boss-better-oblivion-sorting-software/page__view__findpost__p__17764730

Using svn 1106 at the moment.
Try a test real quick: on one of the offending mods, right click on the bash tags box, deselect Automatic, then reselect Automatic. If the tags get updated, then it's what I think it is: bash cashes the bashed tags so that if they're in the description, it doesn't have to keep reading the file (file I/O is slow) to get the tags.
User avatar
Tiff Clark
 
Posts: 3297
Joined: Wed Aug 09, 2006 2:23 am

Post » Wed Mar 30, 2011 12:26 pm

:thumbsup: Although automatic was already de-selected for all of them. So just selecting automatic for each has acquired the NoMerge tag.

Strangely, Automatic was only un-checked for those three sensual walks files, all others still have automatic checked.

Edit: Just a thought - Not sure if this may be relevant, but prior to the linked post in the previous BOSS thread I had recently started using Ghosting (enabled Auto-Ghost before installing the new Sensual Walks BAIN). When I found the problem of the missing tags I disabled ghosting for all mods (turn off auto ghost, selected all mods and right click - Ghosting - DisAllow Ghosting).

So would it be possible for all other mods tags on automatic, then I choose auto-ghost, install the three Sensual walks, and tags not being on automatic for those three is tied in with having auto-ghost turned on prior to installation?
User avatar
victoria johnstone
 
Posts: 3424
Joined: Sat Oct 14, 2006 9:56 am

Post » Wed Mar 30, 2011 2:33 am

:thumbsup: Although automatic was already de-selected for all of them. So just selecting automatic for each has acquired the NoMerge tag.

Strangely, Automatic was only un-checked for those three sensual walks files, all others still have automatic checked.
Ah, that would do it. As far as ghosting interfering with auto-tags, nope you're fine. The sections that deal with this already use the unghosted name for storing those bits of info.
User avatar
Ebony Lawson
 
Posts: 3504
Joined: Fri Feb 16, 2007 11:00 am

Post » Wed Mar 30, 2011 4:12 pm

Nope, not supposed to happen (just once I want to say 'Yes! This program is supposed to crash!" ) Were there any errors printed out to the "stdout/stderr" window? Can you generate a bugdump and post it?

actually i didnt get one of those nice little pop up windows with errors in it. and in fact a couple time it crashed so bad. that the program would no longer run untill i rebooted my system. i only tried removing a mod with a cleaned esp. a couple times before i saw the corralation bettween how the mod appears in the installs tab a mod that used to be GREEN turns orange once the esp has been cleaned. so i noticed when i put a dirty esp back in its place it turned green again and let me uninstall it with no issues at all . so i really didnt try to reproduce the error after i figured out how to solve the problem . and here i thought for sure someone would be telling me yeah we know about this or yeah thats suppose to happen.
User avatar
neil slattery
 
Posts: 3358
Joined: Wed May 16, 2007 4:57 am

Post » Wed Mar 30, 2011 4:56 am

Sorry to take so long to reply, 1106 seems to have solved the problem with Drag&Drop, :thumbsup:
I'm Still having the problem with the progress window disappearing when initializing the Installers. (3/4 way through the CRC calculations) :shrug:
User avatar
Mistress trades Melissa
 
Posts: 3464
Joined: Mon Jun 19, 2006 9:28 pm

Post » Wed Mar 30, 2011 12:01 pm

I wish there was something like olods for BAIN. Olods are used with OBMM to save and back up your load order with OBMM. They are pretty much deprecated by BOSS.

Still it would be great to be able to back up the install order and markers and be able to just import that order again. Not so much what is installed in each package as the order.

This feature is on the list for BAIT. You will be able to back up/restore your BAIN configuration. Moreover, I hope to implement a feature that will "guess" what your configuration looked like based on what is installed (use if you ever lose your configuration)

I'm just stabbing in the dark her, so protect your nether regions - If there is a python library that wraps the Win32 C++ API (or if you can call Win32 API functions in someway), you could use the ShellExecute function to open an URL in the client's default browser.

In BOSS we shell out to "start" on windows and "xdg-open" on linux, which does the same thing.

Big shout out to lojack, btw. You've been crankin' some crazy code recently. You're awesome, man!
User avatar
Marine Arrègle
 
Posts: 3423
Joined: Sat Mar 24, 2007 5:19 am

PreviousNext

Return to IV - Oblivion