[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] SIP versions. possible crash issues
From:       James Polk <jpolk5001 () yahoo ! com>
Date:       2011-05-31 20:52:01
Message-ID: 370749.52635.qm () web38302 ! mail ! mud ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Howdy,
I'm using PyQt mostly in conjunction with Maya, but also for standalone applications.
I have a situation where from within Maya, I launch a PyQt app that uses sip's
"wrapinstance" command.  I'm creating a Maya-derived graphical entity and parenting
it into the PyQt window.  I've done this before, and this technique is current "conventional
practice" amongst many in the uh, Maya/PyQt community shall we say.  It's worked
many times for me before, but now it's crashing.  The *only* difference is that when it
crashes now, it's when a really large object has been loaded into Maya.

After Maya launch, run the tool, everything's fine.
Load really large database, run the tool, it crashes...always at the "sip" line...

So, I tried an experiment, I did everything as normal, but I didn't call sip, and it
didn't crash.

So my first thought was can I install a new version of SIP, or is the version
I'm using "locked" into compatibility with the versions of Python and PyQt I'm on...
Or would downloading a newer version possibly fix the problem?
My environ is:
    Python 2.6.4 
    PyQt 4.5.3  (or 4.5.5, I forget)
    SIP  (how to get the version?)

What kind of conflicts could occur with large memory usage?
I'm running XP Pro 64-bit with 8G memory,..the large database is about
1.4G on the drive

Also open to any other thoughts, suggestions, or advice,...
Cheers,
-Jim


[Attachment #5 (text/html)]

<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: \
inherit;">Howdy,<br>I'm using PyQt mostly in conjunction with Maya, but also for \
standalone applications.<br>I have a situation where from within Maya, I launch a \
PyQt app that uses sip's<br>"wrapinstance" command.&nbsp; I'm creating a Maya-derived \
graphical entity and parenting<br>it into the PyQt window.&nbsp; I've done this \
before, and this technique is current "conventional<br>practice" amongst many in the \
uh, Maya/PyQt community shall we say.&nbsp; It's worked<br>many times for me before, \
but now it's crashing.&nbsp; The *only* difference is that when it<br>crashes now, \
it's when a really large object has been loaded into Maya.<br><br>After Maya launch, \
run the tool, everything's fine.<br>Load really large database, run the tool, it \
crashes...always at the "sip" line...<br><br>So, I tried an experiment, I did \
everything as normal, but I didn't call sip, and  it<br>didn't crash.<br><br>So my \
first thought was can I install a new version of SIP, or is the version<br>I'm using \
"locked" into compatibility with the versions of Python and PyQt I'm on...<br>Or \
would downloading a newer version possibly fix the problem?<br>My environ \
is:<br>&nbsp; &nbsp; Python 2.6.4 <br>&nbsp; &nbsp; PyQt 4.5.3&nbsp; (or 4.5.5, I \
forget)<br>&nbsp; &nbsp; SIP&nbsp; (how to get the version?)<br><br>What kind of \
conflicts could occur with large memory usage?<br>I'm running XP Pro 64-bit with 8G \
memory,..the large database is about<br>1.4G on the drive<br><br>Also open to any \
other thoughts, suggestions, or \
advice,...<br>Cheers,<br>-Jim<br><br></td></tr></table>



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic