Wrye Bash vs. Blender

Post » Tue May 17, 2011 5:12 am

So I had Wrye Bash working properly, and then I installed Blender - and the version of Python that it required - and all of a sudden I couldn't get it to work. After a bit of troubleshooting, I managed to get it to work by changing the command line of the Wrye Bash icon to:
C:\Python25\pythonw.exe "C:\Games\Bethesda Softworks\Oblivion\Mopy\Wrye Bash Launcher.pyw" -d
(it was originally "C:\Games\Bethesda Softworks\Oblivion\Mopy\Wrye Bash Launcher.pyw"). I was just curious if this was normal, or if there's something I missed along the way that caused the issue. Also, will running Wrye Bash this way have any adverse effects?
User avatar
emma sweeney
 
Posts: 3396
Joined: Fri Sep 22, 2006 7:02 pm

Post » Tue May 17, 2011 7:47 am

PYW is normal. Which version of Python did you install for blender? Did you install the ComTypes dependency? I am guessing you installed Python 26, the PYW uses the latest version of Python by default, and you did not install that requirement for Wrye Bash to run with Python 26.

Edit: http://sourceforge.net/projects/comtypes/files/ <-- v0.61 is the requirement posted in the Bash thread, but some users have reported that the later version works fine too.
User avatar
Chase McAbee
 
Posts: 3315
Joined: Sat Sep 08, 2007 5:59 am

Post » Tue May 17, 2011 4:29 am

I wasn't sure if I had Comtypes so I downloaded it. I first tried the 0.6.2 version (comtypes-0.6.2.win32) and when that didn't work I tried 0.6.1 (comtypes-0.6.1.win32-py3). I tested it by running Wrye Bash with the original command line that just pointed to the Wrye Bash Launcher.pyw file. In each case, nothing happened when I tried to start Wrye Bash but the program window would load when I changed the command line back to the one that specifies the Python 2.5 executable.

Python 2.6 is required for Blender to work, I tried getting it to work with 2.5 but it wouldn't go.

EDIT: more info, I also had Python 2.6.5 (64-bit) which I just now removed, but that didn't solve the issue. I left the 32-bit version of 2.6.5 installed. I thought the 64-bit version was intended for all applications running on a 64-bit system but Blender didn't validate based on it so I installed the 32-bit version, and didn't bother removing the 64-bit version until now.
User avatar
Sarah Edmunds
 
Posts: 3461
Joined: Sat Jul 08, 2006 8:03 pm

Post » Tue May 17, 2011 9:22 am

Wrye Bash definitely supports Python 26. Are you running Wrye Bash v283?

Edit: Try a new shortcut. I have both Pythong 2.5 and 2.6 installed, both 32-bit (on XP here.) Right-click on the the PYW launcher, copy and "paste shortcut" somewhere. Are you able to launch by double-clicking on the PYW file directly?

Edit: Some http://www.gamesas.com/index.php?/topic/1089021-relz-wrye-bash-thread-no-41/ have been added, and they seem to pertain to Blender as well. I had not seen the other two requirements until just now. I have to go update my website now too.

Edit: I think you should be okay to run the 64-bit version of Python too. Hopefully, the problem is just a missing requirement. Maybe the Python Win32 thing...
User avatar
Vera Maslar
 
Posts: 3468
Joined: Wed Sep 27, 2006 2:32 pm

Post » Tue May 17, 2011 11:28 am

I've got 282, I'll update it.

After updating and installing wxpython 2.8.10.1 ansi, psyco 1.6 for Python 2.6, and PyWin32 for Python 2.6 as per the requirements, it'll now run from the new shortcut but it crashes. It gets to "Initializing Windows" then a window labeled "wxPython: stdout/stderr" pops up, throws up some errors (e.g. File "C:\Games\Bethesda Softworks\Oblivion\Mopy\basher.py", line 4262, in OnInit size=settings['bashframeSize']) then at the bottom says "Syntax Error: invalid syntax" and then the windows error dialog box pops up, preventing me from copying/pasting the text in the window.
User avatar
CSar L
 
Posts: 3404
Joined: Fri Nov 09, 2007 9:36 pm

Post » Tue May 17, 2011 8:12 am

Update to Wrye Bash v283. That version's main focus was to fix bugs that existed in v282. The most annoying but in v283 is mainly an aesthetic issue that confuses the newer Bash users, but it is definitely worth updating from v282.

Edit: Did you ever modify the bash.ini file? See if you can find a file called "bash.ini" (not the default_bash.ini) in your Mopy folder, and remove it if it is there.
User avatar
Ysabelle
 
Posts: 3413
Joined: Sat Jul 08, 2006 5:58 pm

Post » Tue May 17, 2011 5:18 am

bash.ini doesn't exist. I'm removing Python 2.6.5 right now and downloading 2.6.4 to install that, since it was specifically mentioned.

EDIT: I installed 2.6.4, reinstalled all the tools that were installed in the python26 folder before, and the problem came back - it crashes when it gets to the spot where it loads the windows. I'm gonna try one thing that would indicate a PEBCAK error on my part, I hope it works :D
User avatar
Mandi Norton
 
Posts: 3451
Joined: Tue Jan 30, 2007 2:43 pm

Post » Tue May 17, 2011 12:09 am

If you try uninstalling all of Python and the dependent mods and Blender, then install Wrye Bash with the Python 26 setup, the full thing, does it work. Try restarting your computer after doing the clean sweep uninstall before adding Python 26 and Bash back.
User avatar
Laura-Jayne Lee
 
Posts: 3474
Joined: Sun Jul 02, 2006 4:35 pm

Post » Tue May 17, 2011 3:08 pm

comtypes-0.6.1.win32-py3 is a package for Python 3.0. You don't want to use those with Bash/Blender because they're built against Python 2.6x. You need to be sure you're using comtypes-0.6.1 for Python 2.6 instead.
User avatar
Ludivine Poussineau
 
Posts: 3353
Joined: Fri Mar 30, 2007 2:49 pm

Post » Tue May 17, 2011 2:21 pm

What about the ComTypes 0.6.2 Win32 EXE download? It has the Vista (or newer Windows) icon...
User avatar
Zualett
 
Posts: 3567
Joined: Mon Aug 20, 2007 6:36 pm

Post » Tue May 17, 2011 3:30 am

Thanks Arth Moor ;) That was the cause of the crashing. I installed the comtypes 0.6.2 for Python 2.6 (figured I'd try that before downloading the 0.6.1 for 2.6 since I already had it) and now the new icon launches Wrye Bash without crashing.

EDIT: I figured I'd check and see if Blender still worked, and it does. Now if I could only figure out how to use it :D
User avatar
Hot
 
Posts: 3433
Joined: Sat Dec 01, 2007 6:22 pm

Post » Tue May 17, 2011 1:19 pm

Have you seen these? http://en.wikibooks.org/wiki/Blender_3D:_Noob_to_Pro, http://wiki.blender.org/index.php/Main_Page
User avatar
Melissa De Thomasis
 
Posts: 3412
Joined: Tue Feb 27, 2007 6:52 pm


Return to IV - Oblivion