K thanks. Sorry for being lazy and not reading back. Just grabbed my coffee. :D
-------------------------------------------- Eric Thivierge http://www.ethivierge.com On Thu, Oct 25, 2012 at 10:00 AM, Tony Barbieri <[email protected]> wrote: > Yea it's a couple emails back. It's a simple Widget that presents the > issue. > > -tony > > > On Wed, Oct 24, 2012 at 6:19 PM, Eric Thivierge <[email protected]>wrote: > >> Did you already post some repro code? I can try after work tonight (9hrs >> from now) if you want. >> >> >> -------------------------------------------- >> Eric Thivierge >> http://www.ethivierge.com >> >> >> On Thu, Oct 25, 2012 at 9:14 AM, Tony Barbieri <[email protected]>wrote: >> >>> Hey Eric, >>> >>> Thanks for the response. We are actually using PySide so I'm more >>> curious if the current issue we are having is the same in PyQt. I can't >>> say if it relates to QStrings necessarily. Basically it seems you can put >>> Soft in an unstable state and if any Python exception gets thrown while in >>> that state, you'll see the desktop. >>> >>> -tony >>> >>> >>> On Wed, Oct 24, 2012 at 5:59 PM, Eric Thivierge <[email protected]>wrote: >>> >>>> While developing my latest renamer in PyQt with the PyQtForSoftimage >>>> addon it became apparent that I needed to type cast my strings otherwise >>>> they come through as the QString instances. In Maya you can set how it >>>> translates them by setting a few variables in the header using sip. Can't >>>> remember them off the top of my head. As I posted in the past, you have to >>>> do this before anything imports the sip modules otherwise its set >>>> automatically. Hacking the PyQtForSoftimage plugin makes this possible if I >>>> remember correctly. >>>> >>>> Not sure if this relates to what you're having issues with Tony. >>>> >>>> -------------------------------------------- >>>> Eric Thivierge >>>> http://www.ethivierge.com >>>> >>>> >>>> >>>> On Thu, Oct 25, 2012 at 8:40 AM, Steven Caron <[email protected]> wrote: >>>> >>>>> ill try it tonight after i swap the pyside imports for pyqt ones. >>>>> >>>>> >>>>> On Wed, Oct 24, 2012 at 2:34 PM, Tony Barbieri <[email protected]>wrote: >>>>> >>>>>> Here is an example file. We raise AttributeError after we have added >>>>>> the layout by passing the result of the _get_output_layout method result >>>>>> directly into addLayout (#34). >>>>>> >>>>>> -tony >>>>>> >>>>>> >>>>>> On Wed, Oct 24, 2012 at 5:16 PM, Steven Caron <[email protected]>wrote: >>>>>> >>>>>>> hmm i thought pyqt addressed this, guess i was wrong? >>>>>>> >>>>>>> On Wed, Oct 24, 2012 at 2:08 PM, Tim Crowson < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> I know Eric T. has mentioned this before, and I can confirm: >>>>>>>> Softimage will crash to desktop if you try to run standard python >>>>>>>> string >>>>>>>> methods on a QString. In some cases, you can use the QString >>>>>>>> equivalent, >>>>>>>> for example '*endswith*' (Python) vs '*endsWith*' (Qt), but in >>>>>>>> other cases you may just have to wrap it all in a str(). >>>>>>>> -Tim C. >>>>>>>> >>>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> -tony >>>>>> >>>>> >>>>> >>>> >>> >>> >>> -- >>> -tony >>> >> >> > > > -- > -tony >

