<HTML>
<HEAD>
<TITLE>Re: [Eric] Crash during search</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'>David,<BR>
<BR>
Hmmm, that’s a pickle. According to the docs those are the right commands for sip and PyQt for Snow Leopard. Did you get any errors when installing sip? Test sip via the command line to see if it is working (e.g. sip -V). Did PyQt take a while to compile, then successfully complete without errors? Test it with a python script (run from outside eric, of course).<BR>
<BR>
There seems to be a mismatch of architectures amongst the installs, but you did specify i386 correctly. Try not specifying arch options at all (i.e. python configure.py <instead of> python configure.py --arch i386 , etc.).<BR>
<BR>
Installing QScintilla should start with (from the Qt4 directory)...<BR>
qmake -spec macx-g++ qscintilla.pro<BR>
not<BR>
qmake -spec macx-g++<BR>
<BR>
Also, remember to install the Python bindings for QScintilla, as per eric’s install README and QScintilla’s docs.<BR>
<BR>
Sorry, I don’t have a Snow Leopard Mac currently available to test.<BR>
<BR>
-- <BR>
Larry<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>David Arnold <<a href="dwarnold45@suddenlink.net">dwarnold45@suddenlink.net</a>><BR>
<B>Date: </B>Tue, 9 Feb 2010 17:35:43 -0800<BR>
<B>To: </B>Larry Shaffer <<a href="larrys@dakotacarto.com">larrys@dakotacarto.com</a>><BR>
<B>Cc: </B><<a href="eric@riverbankcomputing.com">eric@riverbankcomputing.com</a>><BR>
<B>Subject: </B>Re: [Eric] Crash during search<BR>
<BR>
Larry,<BR>
<BR>
Now I'm really stuck. <BR>
<BR>
I installed this:<BR>
<BR>
<a href="http://get.qt.nokia.com/qt/source/qt-mac-opensource-4.6.1.dmg">http://get.qt.nokia.com/qt/source/qt-mac-opensource-4.6.1.dmg</a> <BR>
<BR>
I downloaded this:<BR>
<BR>
<a href="http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-4.10.tar.gz">http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-4.10.tar.gz</a> <BR>
<BR>
installed with:<BR>
<BR>
python configure.py --arch i386<BR>
make<BR>
sudo make install<BR>
<BR>
I downloaded this:<BR>
<BR>
<a href="http://www.riverbankcomputing.co.uk/static/Downloads/QScintilla2/QScintilla-gpl-2.4.2.tar.gz">http://www.riverbankcomputing.co.uk/static/Downloads/QScintilla2/QScintilla-gpl-2.4.2.tar.gz</a><BR>
<BR>
Installed with:<BR>
<BR>
qmake -spec macx-g++ <BR>
make<BR>
sudo make install<BR>
<BR>
<BR>
I downloaded this:<BR>
<BR>
<a href="http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-mac-gpl-4.7.tar.gz">http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-mac-gpl-4.7.tar.gz</a><BR>
<BR>
I installed with:<BR>
<BR>
python configure.py --use-arch i386<BR>
make<BR>
sudo make install<BR>
<BR>
<BR>
I downloaded this:<BR>
<BR>
eric4-4.4.1.tar.gz <<a href="http://sourceforge.net/projects/eric-ide/files/eric4/stable/4.4.1/eric4-4.4.1.tar.gz/download">http://sourceforge.net/projects/eric-ide/files/eric4/stable/4.4.1/eric4-4.4.1.tar.gz/download</a>> <BR>
<BR>
But I have a problem:<BR>
<BR>
david-arnolds-macbook-pro-2:eric4-4.4.1 darnold$ sudo python install.py<BR>
Checking dependencies<BR>
Python Version: 2.6.4<BR>
Sorry, please install PyQt4.<BR>
Error: dlopen(/Library/Frameworks/Python.framework/Versions/6.0.0/lib/python2.6/site-packages/sip.so, 2): no suitable image found. Did find:<BR>
/Library/Frameworks/Python.framework/Versions/6.0.0/lib/python2.6/site-packages/sip.so: mach-o, but wrong architecture<BR>
<BR>
Any thoughts?<BR>
<BR>
David<BR>
<BR>
On Feb 9, 2010, at 2:06 PM, Larry Shaffer wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'>David,<BR>
<BR>
<B>Python</B> 2.6.4<BR>
<B>Qt</B> 4.6.0<BR>
<B>PyQt</B> 4.7-snapshot-20100108<BR>
<B>sip</B> 4.10-snapshot-20100108<BR>
<B>QScintilla </B>2.4.1-snapshot-20091222<BR>
<B>eric4</B> 4.4.1 (r3649)<BR>
<BR>
Three of your installed software packages are ‘beta’ (i.e. developer snapshots) and two are older versions. This is what I am running under 10.5.8:<BR>
<BR>
<B>Python</B> 2.6.4 <BR>
<B>Qt</B> 4.6.1 <BR>
<B>PyQt</B> 4.7 <BR>
<B>sip</B> 4.10 <BR>
<B>QScintilla</B> 2.4.2 <BR>
<B>eric4</B> 4.4.1 (r3649)<BR>
<BR>
These are all the stable versions. Unless you are familiar with debugging problems with snapshots, have installed a snapshot to temporarily squash a bug, or are a developer of those packages you should be running stable versions. You should start over and install the stable versions from their appropriate providers (you don’t have to uninstall anything first):<BR>
<BR>
</SPAN></FONT><FONT SIZE="1"><FONT FACE="Lucida Grande"><SPAN STYLE='font-size:9pt'>python-2.6.4_macosx10.3.dmg (Good as is)<BR>
<a href="http://get.qt.nokia.com/qt/source/qt-mac-opensource-4.6.1.dmg">http://get.qt.nokia.com/qt/source/qt-mac-opensource-4.6.1.dmg</a> (<- use to update to stable version)<BR>
<a href="http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-4.10.tar.gz">http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-4.10.tar.gz</a> (<- use to update to stable version)<BR>
<a href="http://www.riverbankcomputing.co.uk/static/Downloads/QScintilla2/QScintilla-gpl-2.4.2.tar.gz">http://www.riverbankcomputing.co.uk/static/Downloads/QScintilla2/QScintilla-gpl-2.4.2.tar.gz</a> (<- use to update to stable version)<BR>
<a href="http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-mac-gpl-4.7.tar.gz">http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-mac-gpl-4.7.tar.gz</a> (<- use to update to stable version)<BR>
eric4-4.4.1.tar.gz (OK, but needs re-installed once others are updated, uncompress new folder and install from there)<BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'><BR>
Developers don’t tend to want to provide support for snapshots, only stable versions. You should upgrade and then re-test. Your eric4 prefs will be remembered, but you might have to re-compile the APIs and re-setup your toolbars, like when moving from 4.4.0 to 4.4.1.<BR>
<BR>
-- <BR>
Larry<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>David Arnold <<a href="dwarnold45@suddenlink.net">dwarnold45@suddenlink.net</a> <x-msg:<a href="//31/dwarnold45@suddenlink.net">//31/dwarnold45@suddenlink.net</a>> ><BR>
<B>Date: </B>Tue, 9 Feb 2010 13:37:36 -0800<BR>
<B>To: </B>Larry Shaffer <<a href="larrys@dakotacarto.com">larrys@dakotacarto.com</a> <x-msg:<a href="//31/larrys@dakotacarto.com">//31/larrys@dakotacarto.com</a>> ><BR>
<B>Subject: </B>Re: [Eric] Crash during search<BR>
<BR>
Larry, I've attached ericcrash.txt.<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><BR>
<BR>
On Feb 9, 2010, at 1:15 PM, Larry Shaffer wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'>Hi David,<BR>
<BR>
You have not provided enough info.<BR>
<BR>
What versions are you running? (Help->Show Versions, can be copy/pasted)<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'><BR>
<BR>
</SPAN><FONT SIZE="4"><SPAN STYLE='font-size:14pt'><B>Version Numbers<BR>
</B></SPAN></FONT><SPAN STYLE='font-size:12pt'><BR>
<B>Python<BR>
</B>2.6.4<BR>
<B>Qt<BR>
</B>4.6.0<BR>
<B>PyQt<BR>
</B>4.7-snapshot-20100108<BR>
<B>sip<BR>
</B>4.10-snapshot-20100108<BR>
<B>QScintilla<BR>
</B>2.4.1-snapshot-20091222<BR>
<B>eric4<BR>
</B>4.4.1 (r3649)<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'>Are you running Leopard or Snow Leopard?<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'><BR>
Yes. Latest updates.<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'><BR>
What specific documentation item are you clicking on (Qt, eric)?<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'><BR>
In the index, I enter addWidget and then double-click addWidget in the box below. This is replicable. It happens every time.<BR>
<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'><BR>
Can you load the help docs into the viewer in another way?<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'><BR>
?<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'><BR>
Do any other features of the viewer fail to work?<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'><BR>
Yes.<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'><BR>
What does Terminal or Console have to report on the crash?<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'><BR>
I've attached.<BR>
<BR>
Here is what is reported in the terminal.<BR>
<BR>
david-arnolds-macbook-pro-2:~ darnold$ eric4<BR>
Bus error<BR>
david-arnolds-macbook-pro-2:~ darnold$ <BR>
<BR>
<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'><BR>
<BR>
It is helpful to investigate and report these types of things before posting<BR>
to any list.<BR>
<BR>
What's crashing for you works fine on my Mac at work, but I do occasionally<BR>
get random crashes with the Help Viewer. I have not been able to track down<BR>
the causes, or get useful crash info.<BR>
<BR>
-- <BR>
Larry<BR>
<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'>From: David Arnold <<a href="dwarnold45@suddenlink.net">dwarnold45@suddenlink.net</a> <x-msg:<a href="//31/dwarnold45@suddenlink.net">//31/dwarnold45@suddenlink.net</a>> ><BR>
Date: Tue, 9 Feb 2010 12:33:58 -0800<BR>
To: <<a href="eric@riverbankcomputing.com">eric@riverbankcomputing.com</a> <x-msg:<a href="//31/eric@riverbankcomputing.com">//31/eric@riverbankcomputing.com</a>> ><BR>
Subject: [Eric] Crash during search<BR>
<BR>
All,<BR>
<BR>
Every time I use the Help->Qt4 Documentation, then enter something in the Look<BR>
for box in the Index, when I double-click a result, eric4 crashes.<BR>
<BR>
D.<BR>
_______________________________________________<BR>
Eric mailing list<BR>
<a href="Eric@riverbankcomputing.com">Eric@riverbankcomputing.com</a> <x-msg:<a href="//31/Eric@riverbankcomputing.com">//31/Eric@riverbankcomputing.com</a>> <BR>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/eric">http://www.riverbankcomputing.com/mailman/listinfo/eric</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'><BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>