Hi Leendert, hi Steven,
* Did you try creating and setting the environment variable "PYTHONHOME" to
> the path of your "external" Python?*
>
Oh, is that supposed to be necessary? Having to set that sort of defies the
usefulness of the Soft preferences checkbox, doesn't it?
*Anyway, I gave it a try:*
a.) With PYTHONHOME set to my external Python and 'use external Python' *off
*I don't have Python support at all anymore inside Soft.
b.) But with PYTHONHOME set to my external Python and 'use external
Python' *on
*I can sucessfully use my external Python inside Soft.
( verified by calling *import os; LogMessage(os.__file__) *
)
----
*Now that I have that part up and running I did:*
a.) install *PySide 1.2.2 *into my external Python (verified by running *from
PySide.QtCore import ** in a standalone Python shell)
b.) verify that Pyside can be imported inside Softimage (again verified by
running *from PySide.QtCore import ** in the Script Editor)
c.) installed* PyQtForSoftimage_beta6.xsiaddon* into a fresh workgroup, and
restarted Soft.
d.) After startup verified that there are no errors on load, checked the
Plugin Manager to make sure that all plugins got loaded without errors
e.) Called *Application.ExampleDialog().*
*This fails with this error on my side as well: *
*# ERROR : Traceback (most recent call last):*
*# File "<Script Block 2>", line 156, in ExampleDialog_Execute*
*# sianchor = Application.getQtSoftimageAnchor()*
*# File "<COMObject Application>", line 2, in getQtSoftimageAnchor*
*# COM Error: Out of present range. (0x-7ffdfff6) - [line 155
in C:\TEMP\DBG_WG\Addons\PyQtForSoftimage\Application\Plugins\pyqt_example.py]*
*# ERROR : OLE error 0x80020101*
*Application.ExampleDialog()*
*# ERROR : Traceback (most recent call last):*
*# File "<Script Block >", line 1, in <module>*
*# Application.ExampleDialog()*
*# File "<COMObject Application>", line 2, in ExampleDialog*
*# COM Error: Exception occurred. (0x-7ffdfff7) - [line 1]*
Cheers, -M
--
Martin Chatterjee
[ Freelance Technical Director ]
[ http://www.chatterjee.de ]
[ https://vimeo.com/chatterjee ]
------
Softimage Mailing List.
To unsubscribe, send a mail to [email protected] with
"unsubscribe" in the subject, and reply to confirm.