I have reinstalled PyQtForSoftimage in a Workgroup and now Qtevents.py is 
correctly loaded with no errors. Application.ExampleDialog() and 
Application.ExampleSignalSlot()  do create a window on screen, but Softimage 
kills it before I can see what it is. Application.ExampleMenu() still works. 
But now Application.ExampleUIFile() throws the following error:
 # ERROR : Traceback (most recent call last):
#   File "<Script Block 2>", line 188, in ExampleUIFile_Execute
#     dialog = ExampleUIFile(sianchor, uifilepath)
#   File "<Script Block 2>", line 122, in __init__
#     self.ui = loadUi( uifilepath, self )
# TypeError: 'NoneType' object is not callable
#  - [line 121 in E:\Exordium\workgroups\Hirazi 
Workgroup\Addons\PyQtForSoftimage\Application\Plugins\pyqt_example.py]
# ERROR : OLE error 0x80020101

Greetz
Leendert
AKA Hirazi Blue
Softimage hobbyist, admin at si-community.com & xsiforum.de


On 29/06/2016 11:38:50, Leendert A. Hartog <hirazib...@live.nl> wrote:
I really hope someone will still be able to help me, because this is starting 
to drive me crazy…
I am back on “internal” Python…
I uninstalled PySide 2.2 and installed PySide 2.1, but now Softimage throws a 
whole set of new errors at me. Strangely enough though 
Application.ExampleMenu() now works…
 
Qtevents.py doesn’t get properly loaded, but throws the following error:
# ERROR : Traceback (most recent call last):
#   File "<Script Block 2>", line 281, in XSILoadPlugin
#     from sisignals import EVENT_MAPPING
#   File 
"C:\Users\Leendert\Autodesk\Softimage_2015_R2-SP2\Addons\PyQtForSoftimage\Application\Plugins\sisignals.py",
 line 42, in <module>
#     class SISignals(QObject):
#   File 
"C:\Users\Leendert\Autodesk\Softimage_2015_R2-SP2\Addons\PyQtForSoftimage\Application\Plugins\sisignals.py",
 line 50, in SISignals
#     siActivate = Signal(bool) # siOnActivate
# TypeError: 'NoneType' object is not callable
#  - [line 280 in 
C:\Users\Leendert\Autodesk\Softimage_2015_R2-SP2\Addons\PyQtForSoftimage\Application\Plugins\qtevents.py]
 Application.ExampleDialog() does create a window on screen, but kills it 
before I can see what it is.
 Application.ExampleMenu() works!!!
 Application.ExampleSignalSlot() throws the following error:
 # ERROR : Traceback (most recent call last):
#   File "<Script Block 2>", line 165, in ExampleSignalSlot_Execute
#     dialog = ExampleSignalSlot( sianchor )
#   File "<Script Block 2>", line 59, in __init__
#     from sisignals import signals, muteSIEvent
#   File 
"C:\Users\Leendert\Autodesk\Softimage_2015_R2-SP2\Addons\PyQtForSoftimage\Application\Plugins\sisignals.py",
 line 42, in <module>
#     class SISignals(QObject):
#   File 
"C:\Users\Leendert\Autodesk\Softimage_2015_R2-SP2\Addons\PyQtForSoftimage\Application\Plugins\sisignals.py",
 line 50, in SISignals
#     siActivate = Signal(bool) # siOnActivate
# TypeError: 'NoneType' object is not callable
#  - [line 58 in 
C:\Users\Leendert\Autodesk\Softimage_2015_R2-SP2\Addons\PyQtForSoftimage\Application\Plugins\pyqt_example.py]
# ERROR : OLE error 0x80020101
 Application.ExampleUIFile() throws the following error:
 # ERROR : Traceback (most recent call last):
#   File "<Script Block 2>", line 188, in ExampleUIFile_Execute
#     dialog = ExampleUIFile(sianchor, uifilepath)
#   File "<Script Block 2>", line 122, in __init__
#     self.ui = loadUi( uifilepath, self )
# TypeError: 'NoneType' object is not callable
#  - [line 121 in 
C:\Users\Leendert\Autodesk\Softimage_2015_R2-SP2\Addons\PyQtForSoftimage\Application\Plugins\pyqt_example.py]
# ERROR : OLE error 0x80020101

Greetz
Leendert
AKA Hirazi Blue
Softimage hobbyist, admin at si-community.com & xsiforum.de


On 29/06/2016 00:00:19, Steven Caron <car...@gmail.com> wrote:
I had a feeling from the get go you had some weird install or something not 
finishing during install.

I would remove, python from your machine, remove pyside, and remove pyqt. Make 
sure softimage internal python is working again. until that is the case, don't 
move forward. Remove them using proper uninstallers if you can. Undo anything 
you did to the PATH, PYTHONPATH, or PYTHONHOME.

Install python, I have 2.7.3 at home and 2.7.6 at work. you can try 2.7.11 I 
don't see why it wouldn't work.
Install pywin32 217
Turn off internal python in Softimage, test to make sure this works. If it 
doesn't work... I am lost.
Otherwise...
Install ONLY PySide, I think 1.2.1 is what I have at home but 1.2.4 should work 
too.
In softimage, try to use PySide...
"from PySide import QtCore"
If this works, install the PyQtForSoftimage plugin, beta6 support PySide.
Now run the examples.

On Tue, Jun 28, 2016 at 2:29 PM, Leendert A. Hartog <hirazib...@live.nl 
[mailto:hirazib...@live.nl]> wrote:

I have reverted back to "internal" Python and now Softimage crashes hard when 
invoking the examples...


Greetz
Leendert
AKA Hirazi Blue
Softimage hobbyist, admin at si-community.com [http://si-community.com] & 
xsiforum.de [http://xsiforum.de]


------ Softimage Mailing List. To unsubscribe, send a mail to 
softimage-requ...@listproc.autodesk.com with "unsubscribe" in the subject, and 
reply to confirm.
------ Softimage Mailing List. To unsubscribe, send a mail to 
softimage-requ...@listproc.autodesk.com with "unsubscribe" in the subject, and 
reply to confirm.
------
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Reply via email to