Re: [PyQt] My app crashed every time after upgrading to PyQt4.9

2011-12-28 Thread Detlev Offenbach
Hello,

I tried using Qt 4.8.0 on Mac as well. Trying to start Qt Designer resulted in 
a crash (Seg Fault). According to the Qt bug tracker their is an issue related 
to dbus not being present on Mac. I guess, that one has to install dubs (don't 
know yet how) or continue to use Qt 4.7.4. The last solution did the trick for 
me and made eric4/5 work again.

Regards,
Detlev

Am 27.12.2011 um 16:50 schrieb zw g:

 And, my previous compiled Eric4.4.19 can not fired up either which was 
 running perfectly well under PyQt4.8.6.
 
 As a reference, here is the error info:
 
 
 
 
 2011-12-27, 23:15:00
 
 type 'exceptions.TypeError': 
 QsciLexerBash(QObject parent=None): argument 1 has unexpected type 'Terminal'
 
   File 
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/eric4/eric4.py,
  line 294, in module
 main()
   File 
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/eric4/eric4.py,
  line 291, in main
 raise err
 
 
 Version Numbers:
   Python 2.7.2
   Qt 4.8.0
   PyQt4 4.9
   sip 4.13.1
   QScintilla 2.6
   eric4 4.4.19 (r4205)
 
 Platform: darwin
 2.7.2 (default, Nov 22 2011, 23:21:04) 
 [GCC 4.2.1 Compatible Apple Clang 3.0 (tags/Apple/clang-211.10.1)]
 
 
 
 
 
 
 
 On Tue, Dec 27, 2011 at 11:45 PM, zw g pekingmas...@gmail.com wrote:
 Oh, i forgot to mention that, the last information leave in the Terminal.app 
 is:
 
 Segmentation fault: 11
 
 Hope it helps.
 
 
 
 On Tue, Dec 27, 2011 at 11:44 PM, zw g pekingmas...@gmail.com wrote:
 Dear List,
 
 
 I need help.
 
 My app behaved perfect well under Python2.7.2 + PyQt4.8.6 + SIP 4.13 + Mac OS 
 X 10.7.2.
 
 After the new PyQt4.9 released, i compiled SIP4.13.1 and PyQt4.9 in the first 
 time. (I like to be latest state!)
 Now everything is a mess.
 
 Every time i fired up my app in the Terminal.app like this:
 
 $python my_app.py
 
 I got the crash window popped up, i copied the content of the crash 
 information and attached it in this mail.
 Hope someone could help.
 
 Thanks.
 
 Gui
 
 
 ___
 PyQt mailing listPyQt@riverbankcomputing.com
 http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Detlev Offenbach
det...@die-offenbachs.de





signature.asc
Description: Message signed with OpenPGP using GPGMail
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] My app crashed every time after upgrading to PyQt4.9

2011-12-28 Thread Phil Thompson
On Wed, 28 Dec 2011 13:41:08 +0100, Detlev Offenbach
det...@die-offenbachs.de wrote:
 Hello,
 
 I tried using Qt 4.8.0 on Mac as well. Trying to start Qt Designer
 resulted in a crash (Seg Fault). According to the Qt bug tracker their
is
 an issue related to dbus not being present on Mac. I guess, that one has
to
 install dubs (don't know yet how) or continue to use Qt 4.7.4. The last
 solution did the trick for me and made eric4/5 work again.

I have DBus installed on Mac so that might explain why I haven't seen a
problem.

Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] My app crashed every time after upgrading to PyQt4.9

2011-12-28 Thread Detlev Offenbach
Hi,

do you have a short recipe on how to get DBus on Mac?

Detlev

Am 28.12.2011 um 13:55 schrieb Phil Thompson:

 On Wed, 28 Dec 2011 13:41:08 +0100, Detlev Offenbach
 det...@die-offenbachs.de wrote:
 Hello,
 
 I tried using Qt 4.8.0 on Mac as well. Trying to start Qt Designer
 resulted in a crash (Seg Fault). According to the Qt bug tracker their
 is
 an issue related to dbus not being present on Mac. I guess, that one has
 to
 install dubs (don't know yet how) or continue to use Qt 4.7.4. The last
 solution did the trick for me and made eric4/5 work again.
 
 I have DBus installed on Mac so that might explain why I haven't seen a
 problem.
 
 Phil
 ___
 PyQt mailing listPyQt@riverbankcomputing.com
 http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Detlev Offenbach
det...@die-offenbachs.de





signature.asc
Description: Message signed with OpenPGP using GPGMail
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] My app crashed every time after upgrading to PyQt4.9

2011-12-28 Thread Phil Thompson
On Wed, 28 Dec 2011 15:29:00 +0100, Detlev Offenbach
det...@die-offenbachs.de wrote:
 Hi,
 
 do you have a short recipe on how to get DBus on Mac?

Install MacPorts.

Install dbus...

sudo port install dbus

When you run Qt's configure pass it the -dbus-linked flag.

Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] My app crashed every time after upgrading to PyQt4.9

2011-12-28 Thread Detlev Offenbach

Am 28.12.2011 um 19:34 schrieb Phil Thompson:

 On Wed, 28 Dec 2011 15:29:00 +0100, Detlev Offenbach
 det...@die-offenbachs.de wrote:
 Hi,
 
 do you have a short recipe on how to get DBus on Mac?
 
 Install MacPorts.
 
 Install dbus...
 
 sudo port install dbus
 
 When you run Qt's configure pass it the -dbus-linked flag.
 

Does this work with the .dmg installer as well? Does this recognize the 
installed DBus?

Detlev Offenbach
det...@die-offenbachs.de





signature.asc
Description: Message signed with OpenPGP using GPGMail
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] My app crashed every time after upgrading to PyQt4.9

2011-12-28 Thread Phil Thompson
On Wed, 28 Dec 2011 19:47:29 +0100, Detlev Offenbach
det...@die-offenbachs.de wrote:
 Am 28.12.2011 um 19:34 schrieb Phil Thompson:
 
 On Wed, 28 Dec 2011 15:29:00 +0100, Detlev Offenbach
 det...@die-offenbachs.de wrote:
 Hi,
 
 do you have a short recipe on how to get DBus on Mac?
 
 Install MacPorts.
 
 Install dbus...
 
 sudo port install dbus
 
 When you run Qt's configure pass it the -dbus-linked flag.
 
 
 Does this work with the .dmg installer as well? Does this recognize the
 installed DBus?

No idea - my guess would be no.

Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] My app crashed every time after upgrading to PyQt4.9

2011-12-27 Thread zw g
Oh, i forgot to mention that, the last information leave in the
Terminal.app is:

*Segmentation fault: 11*

Hope it helps.


On Tue, Dec 27, 2011 at 11:44 PM, zw g pekingmas...@gmail.com wrote:

 Dear List,


 I need help.

 My app behaved perfect well under Python2.7.2 + PyQt4.8.6 + SIP 4.13 + Mac
 OS X 10.7.2.

 After the new PyQt4.9 released, i compiled SIP4.13.1 and PyQt4.9 in the
 first time. (I like to be latest state!)
 Now everything is a mess.

 Every time i fired up my app in the Terminal.app like this:

 *$python my_app.py*

 I got the crash window popped up, i copied the content of the crash
 information and attached it in this mail.
 Hope someone could help.

 Thanks.

 Gui

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] My app crashed every time after upgrading to PyQt4.9

2011-12-27 Thread zw g
And, my previous compiled *Eric4.4.19* can not fired up either which was
running perfectly well under PyQt4.8.6.

As a reference, here is the error info:




2011-12-27, 23:15:00

type 'exceptions.TypeError':
QsciLexerBash(QObject parent=None): argument 1 has unexpected type
'Terminal'

  File
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/eric4/eric4.py,
line 294, in module
main()
  File
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/eric4/eric4.py,
line 291, in main
raise err


Version Numbers:
  Python 2.7.2
  Qt 4.8.0
  PyQt4 4.9
  sip 4.13.1
  QScintilla 2.6
  eric4 4.4.19 (r4205)

Platform: darwin
2.7.2 (default, Nov 22 2011, 23:21:04)
[GCC 4.2.1 Compatible Apple Clang 3.0 (tags/Apple/clang-211.10.1)]







On Tue, Dec 27, 2011 at 11:45 PM, zw g pekingmas...@gmail.com wrote:

 Oh, i forgot to mention that, the last information leave in the
 Terminal.app is:

 *Segmentation fault: 11*

 Hope it helps.



 On Tue, Dec 27, 2011 at 11:44 PM, zw g pekingmas...@gmail.com wrote:

 Dear List,


 I need help.

 My app behaved perfect well under Python2.7.2 + PyQt4.8.6 + SIP 4.13 +
 Mac OS X 10.7.2.

 After the new PyQt4.9 released, i compiled SIP4.13.1 and PyQt4.9 in the
 first time. (I like to be latest state!)
 Now everything is a mess.

 Every time i fired up my app in the Terminal.app like this:

 *$python my_app.py*

 I got the crash window popped up, i copied the content of the crash
 information and attached it in this mail.
 Hope someone could help.

 Thanks.

 Gui



___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] My app crashed every time after upgrading to PyQt4.9

2011-12-27 Thread Rex Dieter
zw g wrote:

 Hope someone could help.

Rebuild/recompile your apps against PyQt4.9?

-- rex


___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt