Yeah, I should have checked this before, but the preference on his machine was set to not use the Python installed with Softimage. I checked that and tried again and all is well.
Please ignore all the noise and thanks for all your help Tony! Mitch On Wed, Jan 15, 2014 at 12:44 PM, Tony Barbieri <[email protected]> wrote: > Oh and if that is the case then importing QtCore would throw an exception > which would cause Toolkit to default back to the included PySide thus > causing the crash. If you want to ensure you are importing the correct > version inside the script editor you can run: from PySide import QtCore, > QtGui then print the path from the modules that imported. > > > On Wed, Jan 15, 2014 at 1:43 PM, Tony Barbieri <[email protected]> wrote: > >> Are you sure 2012 uses 2.7? I believe the python that ships with 2012 is >> python 2.6....I could be wrong about that. >> >> >> On Wed, Jan 15, 2014 at 1:39 PM, Mitchell Lotierzo < >> [email protected]> wrote: >> >>> Cool. Thanks for the add. info. Tony! >>> I tried installing 'PySide-1.1.1qt474.win-amd64-py2.7.exe' from the >>> downloads page you provided (which I believe was the version that you said >>> worked for you) and Softimage still crashes. It seems to be crashing after >>> it creates the Qt parent window (according to the log in script editor). >>> I'll try other versions and see if that doesn't remedy the situation. If >>> all else fails, I suppose I'll make a build from scratch and try that. >>> >>> Thanks! >>> Mitch >>> >>> >>> On Wed, Jan 15, 2014 at 11:23 AM, Tony Barbieri <[email protected]>wrote: >>> >>>> I did a hack quickly to test by replacing the ones in the Engine. If >>>> PySide is found in your environment then Toolkit will use that one over the >>>> included versions. >>>> >>>> We have a "bootstrap" process that all users funnel through so we can >>>> deploy code globally and setup the user's environment. We essentially use >>>> a combination of sitecustomize.py and PYTHONPATH to accomplish this. >>>> Unfortunatly Softimage ships with a sitecustomize.py ( a python >>>> environment can only ever have one and the first one found will be >>>> executed) so we had to write a wrapper around how we launch Softimage so >>>> the sitecustomize they ship with is never found in the path. >>>> >>>> No problem about the questions! This stuff is intricate... >>>> >>>> -tony >>>> >>>> >>>> On Wed, Jan 15, 2014 at 12:10 PM, Mitchell Lotierzo < >>>> [email protected]> wrote: >>>> >>>>> Thanks for that Tony! :) >>>>> >>>>> So, the version that worked for you (PySide with Qt 4.7.4), did you >>>>> replace the PySide and Qt libraries in the "tk-softimage" resources folder >>>>> or did you strip them from the engine and just install your build of >>>>> PySide >>>>> per user? >>>>> >>>>> (Sorry for any newbie questions. I'm still new to the whole Qt world.) >>>>> >>>>> Thanks again! I totally appreciate it. >>>>> Mitch >>>>> >>>>> >>>>> On Wed, Jan 15, 2014 at 10:15 AM, Tony Barbieri <[email protected]>wrote: >>>>> >>>>>> You could try using one of these downloads (which I ended up doing >>>>>> for python 2.7 and Softimage 2014 just so I could get something to test >>>>>> where our crashes were coming from): >>>>>> >>>>>> http://download.qt-project.org/official_releases/pyside/ >>>>>> >>>>>> -tony >>>>>> >>>>>> >>>>>> On Wed, Jan 15, 2014 at 10:58 AM, Mitchell Lotierzo < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Hey guys, >>>>>>> >>>>>>> Thanks for replies. Yeah, we're on Windows. I'll look into compiling >>>>>>> our own version of PySide and looking at our QT version. >>>>>>> >>>>>>> Thanks! >>>>>>> >>>>>>> >>>>>>> On Wed, Jan 15, 2014 at 9:11 AM, Tony Barbieri >>>>>>> <[email protected]>wrote: >>>>>>> >>>>>>>> I did notify the folks at Shotgun about the issue and they will be >>>>>>>> fixing it. I assume you guys are on Windows? >>>>>>>> >>>>>>>> -tony >>>>>>>> >>>>>>>> >>>>>>>> On Wed, Jan 15, 2014 at 5:14 AM, Oscar Juarez < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> I had issues with crashes, also with the provided libraries, I >>>>>>>>> compiled our own PySide and that way it works perfectly, it's for >>>>>>>>> python >>>>>>>>> 2.7.3 >>>>>>>>> >>>>>>>>> >>>>>>>>> On Wed, Jan 15, 2014 at 5:24 AM, Tony Barbieri <[email protected] >>>>>>>>> > wrote: >>>>>>>>> >>>>>>>>>> Hey Mitchell, >>>>>>>>>> >>>>>>>>>> I had some issues with Softimage 2014 and the included PySide >>>>>>>>>> build. It may be something similar with Softimage 2012. We had our >>>>>>>>>> own >>>>>>>>>> build of PySide for python 2.6 so I can't say for sure if that's the >>>>>>>>>> issue. >>>>>>>>>> The version that has been most stable for us is PySide with Qt >>>>>>>>>> 4.7.4. >>>>>>>>>> Might be worth trying that out to see if it stabilizes. >>>>>>>>>> >>>>>>>>>> Best, >>>>>>>>>> >>>>>>>>>> -tony >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Tue, Jan 14, 2014 at 3:31 PM, Mitchell Lotierzo < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> >>>>>>>>>>> Hey list, >>>>>>>>>>> >>>>>>>>>>> Any fellow Shotgun users out there? One of my coworkers is >>>>>>>>>>> encountering an issue where launching some of the Shotgun apps' UIs >>>>>>>>>>> cause >>>>>>>>>>> Softimage to crash; specifically the 'Loader' and 'Change Work Area' >>>>>>>>>>> dialogs. The less complex UIs seem to launch fine. I know Shotgun >>>>>>>>>>> has some >>>>>>>>>>> form of PyQT built into it and I have a hunch that some aspect of >>>>>>>>>>> it is >>>>>>>>>>> conflicting with Softimage. >>>>>>>>>>> >>>>>>>>>>> We've tried running a 'runonce.bat' and nuking his user folder; >>>>>>>>>>> neither seemed to make a difference. We're running the version of >>>>>>>>>>> Python >>>>>>>>>>> included with Softimage 2012.SAP. >>>>>>>>>>> >>>>>>>>>>> Just looking to see if any of you Shotgun users out there have >>>>>>>>>>> stumbled across a similar problem. >>>>>>>>>>> >>>>>>>>>>> Thanks y'all, >>>>>>>>>>> Mitch >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> -tony >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> -tony >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> -tony >>>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> -tony >>>> >>> >>> >> >> >> -- >> -tony >> > > > > -- > -tony >

