tws0002 / blur-dev

Automatically exported from code.google.com/p/blur-dev
0 stars 0 forks source link

Setup for Python24 and Softimage75 #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Open XSI
2.Python > Open
3.

What is the expected output? What do you see instead?

I have no Blur menu, only a Python menu, when I click on Python > Open  I 
get the following error message:

=========================================================================
# ERROR : Traceback (most recent call last):
#   File "<Script Block >", line 348, in Python_Eval
#     blur.wingui.openScript()
#   File "C:\Python24\lib\site-packages\blur\wingui\__init__.py", line 83, 
in openScript
#     fileName = str( QFileDialog.getOpenFileName( PyQWinHook.core, 'Open 
Script File', LAST_FILENAME, 'Python Files (*.py);;All Files (*.*)' ) )
# NameError: global name 'PyQWinHook' is not defined
==========================================================================

What version of the product are you using? On what operating system?
Windows 7 x32
Intalled the following Items:
-Python2.4.4
-qt-win-opensource-4.5.0-mingw
-qt_install_4.5.2-1_win32-msvc2008
-blur_pyqt_modules_install_8851_win32-msvc2008
-blur_libs_install_8851_win32-msvc2008
-PySoftimage_x32_install_8666
-PyQt4-gpl-snapshot-20090412_win32-msvc2008
-pywin32-214.win32-py2.4

Please provide any additional information below.

This is my first install from your new DevCode website, me previous 
installers were done from the BlurBeta web site.

Thanks guys and I'm looking forward to get the tools working.

Antonio

Original issue reported on code.google.com by agov...@gmail.com on 28 Jan 2010 at 8:40

GoogleCodeExporter commented 9 years ago
I fixed the 'PyQWinHoo" error as stated in the known issues page, but still 
dont get a 
Blur menu in XSI.

Thanks in advance!

Antonio

Original comment by agov...@gmail.com on 28 Jan 2010 at 8:56

GoogleCodeExporter commented 9 years ago
I Downloaded and installed the following file from the ftp: 
BlurSoftimage_python24_x32_install_8275.exe

I connected to this workgroup: 
C:\blur\dev\offline\code\maxscript\treegrunt\XSIWorkgroup

And finally got the Blur menu to appear in the XSI toolbar, and launch the tree 
grunt.
But I can't run the commands form the Treegrunt:
=====================================================================
# ERROR : Traceback (most recent call last):
#   File "<Script Block >", line 1179, in ?
#     tFeedback = blurSceneManager.BlurUIFeedbackClass()
#   File 
"C:\blur\dev\offline\code\maxscript\treegrunt\lib\blurSceneManager.py", line 
803, in __init__
#     self.origCmdLogEnabled = xsi.Preferences.Categories( "scripting" 
).cmdlog.Value
#   File "C:\Python24\Lib\site-packages\win32com\client\__init__.py", line 462, 
in 
__getattr__
#     raise AttributeError("'%s' object has no attribute '%s'" % (repr(self), 
attr))
# AttributeError: '<win32com.gen_py.Softimage|XSI Object Model Library 
v1.5.ProjectItem instance at 0x402304296>' object has no attribute 'cmdlog'
#  - [line 1179 in 
c:\blur\dev\offline\code\maxscript\treegrunt\Main\General_Use_Tools\Rigging/Fina
lRig.
py]
# INFO : Could not run script.
=============================================================================

Also the XSI>Views>Toolbars> _Blur_Standard_Shelf is all Grayed out...

Thanks!

Original comment by agov...@gmail.com on 28 Jan 2010 at 9:14

GoogleCodeExporter commented 9 years ago
can you try the python dispatch hack, outlined here?

http://www.xsi-blog.com/archives/24

Original comment by car...@gmail.com on 24 Feb 2010 at 12:49