[PySide] About the next PySide release

Jason McCampbell jmccampbell at enthought.com
Thu Mar 15 21:26:58 CET 2012


Running on Mac OS (10.6) using a debug build of PySide against Qt-4.7.4 I
get a single test failure in the phonon package.  It's hard abort
complaining about "QWidget: Cannot create a QWidget when no GUI is being
used", see below.  I haven't looked into it any further than this thus far
as I figure someone is likely a lot more familiar with what this test case
should do than I am.

Jason



Program received signal SIGABRT, Aborted.
0x972f4c5a in __kill ()
(gdb) where
#0  0x972f4c5a in __kill ()
#1  0x972f4c4c in kill$UNIX2003 ()
#2  0x973875a5 in raise ()
#3  0x9739d6e4 in abort ()
#4  0x0101eb59 in qt_message_output (msgType=QtFatalMsg, buf=0x42185c0
"QWidget: Cannot create a QWidget when no GUI is being used") at
global/qglobal.cpp:2291
#5  0x0101ed17 in qt_message (msgType=QtFatalMsg, msg=0x1bf1e1c "QWidget:
Cannot create a QWidget when no GUI is being used", ap=0xbfffbd64
"??\a\001") at global/qglobal.cpp:2337
#6  0x0101ed70 in qFatal (msg=0x1bf1e1c "QWidget: Cannot create a QWidget
when no GUI is being used") at global/qglobal.cpp:2520
#7  0x0159604e in QWidgetPrivate::init ()
#8  0x015962c4 in QWidget::QWidget ()
#9  0x0790b180 in QGLWidget::QGLWidget ()
#10 0x04733534 in Phonon::QT7::PhononSharedQGLWidget ()
#11 0x04706dc7 in Phonon::QT7::QuickTimeVideoPlayer::createVisualContext ()
#12 0x047082f8 in Phonon::QT7::QuickTimeVideoPlayer::QuickTimeVideoPlayer ()
#13 0x0471bccc in Phonon::QT7::MediaObject::MediaObject ()
#14 0x04719000 in Phonon::QT7::Backend::createObject ()
#15 0x00675b16 in Phonon::Factory::createMediaObject (parent=0x45de650) at
../3rdparty/phonon/phonon/factory.cpp:330
#16 0x006849d9 in Phonon::MediaObjectPrivate::createBackendObject
(this=0x45de800) at ../3rdparty/phonon/phonon/mediaobject.cpp:47
#17 0x00680d72 in Phonon::MediaNodePrivate::backendObject (this=0x45de800)
at ../3rdparty/phonon/phonon/medianode.cpp:63
#18 0x00683916 in Phonon::MediaObject::setCurrentSource (this=0x45de650,
newSource=@0x45ccdc0) at ../3rdparty/phonon/phonon/mediaobject.cpp:230
#19 0x00548ea3 in Sbk_Phonon_MediaObjectFunc_setCurrentSource
(self=0x45de610, pyArg=0x45ddbd0) at
/Users/jmccampbell/packages/PySide/BuildScripts/pyside/build/PySide/phonon/PySide/phonon/phonon_mediaobject_wrapper.cpp:987
#20 0x000cc5a6 in call_function (pp_stack=0xbfffc350, oparg=1) at
Python/ceval.c:4001
#21 0x000c9211 in PyEval_EvalFrameEx (f=0x45d4740, throwflag=0) at
Python/ceval.c:2666
#22 0x000cca12 in fast_function (func=0x45cb090, pp_stack=0xbfffc580, n=1,
na=1, nk=0) at Python/ceval.c:4099
#23 0x000cc856 in call_function (pp_stack=0xbfffc580, oparg=0) at
Python/ceval.c:4034
#24 0x000c9211 in PyEval_EvalFrameEx (f=0x45d42e0, throwflag=0) at
Python/ceval.c:2666
#25 0x000cac2e in PyEval_EvalCodeEx (co=0x3e9130, globals=0x3ed6c0,
locals=0x0, args=0x45cfcdc, argcount=2, kws=0x302bcc, kwcount=0,
defs=0x4070fc, defcount=1, closure=0x0) at Python/ceval.c:3253
#26 0x0003b49d in function_call (func=0x406e50, arg=0x45cfcd0,
kw=0x45cfad0) at Objects/funcobject.c:526
#27 0x0000d530 in PyObject_Call (func=0x406e50, arg=0x45cfcd0,
kw=0x45cfad0) at Objects/abstract.c:2529
#28 0x000cd4b9 in ext_do_call (func=0x406e50, pp_stack=0xbfffc8cc, flags=3,
na=1, nk=0) at Python/ceval.c:4326
#29 0x000c9376 in PyEval_EvalFrameEx (f=0x45d4170, throwflag=0) at
Python/ceval.c:2705
#30 0x000cac2e in PyEval_EvalCodeEx (co=0x3e9470, globals=0x3ed6c0,
locals=0x0, args=0x45d176c, argcount=2, kws=0x0, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at Python/ceval.c:3253
#31 0x0003b49d in function_call (func=0x406ed0, arg=0x45d1760, kw=0x0) at
Objects/funcobject.c:526
#32 0x0000d530 in PyObject_Call (func=0x406ed0, arg=0x45d1760, kw=0x0) at
Objects/abstract.c:2529
#33 0x00020bfb in instancemethod_call (func=0x406ed0, arg=0x45d1760,
kw=0x0) at Objects/classobject.c:2578
#34 0x0000d530 in PyObject_Call (func=0x45d19a0, arg=0x45d1740, kw=0x0) at
Objects/abstract.c:2529
#35 0x0007cbaf in slot_tp_call (self=0x45ce2c0, args=0x45d1740, kwds=0x0)
at Objects/typeobject.c:5397
#36 0x0000d530 in PyObject_Call (func=0x45ce2c0, arg=0x45d1740, kw=0x0) at
Objects/abstract.c:2529
#37 0x000cd023 in do_call (func=0x45ce2c0, pp_stack=0xbfffcf90, na=1, nk=0)
at Python/ceval.c:4231
#38 0x000cc87b in call_function (pp_stack=0xbfffcf90, oparg=1) at
Python/ceval.c:4036
#39 0x000c9211 in PyEval_EvalFrameEx (f=0x45cf8e0, throwflag=0) at
Python/ceval.c:2666
#40 0x000cac2e in PyEval_EvalCodeEx (co=0x409960, globals=0x3e2330,
locals=0x0, args=0x45c783c, argcount=2, kws=0x302bcc, kwcount=0,
defs=0x40c25c, defcount=1, closure=0x0) at Python/ceval.c:3253
#41 0x0003b49d in function_call (func=0x406620, arg=0x45c7830,
kw=0x45d1cc0) at Objects/funcobject.c:526
#42 0x0000d530 in PyObject_Call (func=0x406620, arg=0x45c7830,
kw=0x45d1cc0) at Objects/abstract.c:2529
#43 0x000cd4b9 in ext_do_call (func=0x406620, pp_stack=0xbfffd2dc, flags=3,
na=1, nk=0) at Python/ceval.c:4326
#44 0x000c9376 in PyEval_EvalFrameEx (f=0x45d1ad0, throwflag=0) at
Python/ceval.c:2705
#45 0x000cac2e in PyEval_EvalCodeEx (co=0x3f3a50, globals=0x3e2330,
locals=0x0, args=0x45c7d6c, argcount=2, kws=0x0, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at Python/ceval.c:3253
#46 0x0003b49d in function_call (func=0x3f3ba0, arg=0x45c7d60, kw=0x0) at
Objects/funcobject.c:526
#47 0x0000d530 in PyObject_Call (func=0x3f3ba0, arg=0x45c7d60, kw=0x0) at
Objects/abstract.c:2529
#48 0x00020bfb in instancemethod_call (func=0x3f3ba0, arg=0x45c7d60,
kw=0x0) at Objects/classobject.c:2578
#49 0x0000d530 in PyObject_Call (func=0x45cc910, arg=0x45d3090, kw=0x0) at
Objects/abstract.c:2529
#50 0x0007cbaf in slot_tp_call (self=0x45cf810, args=0x45d3090, kwds=0x0)
at Objects/typeobject.c:5397
#51 0x0000d530 in PyObject_Call (func=0x45cf810, arg=0x45d3090, kw=0x0) at
Objects/abstract.c:2529
#52 0x000cd023 in do_call (func=0x45cf810, pp_stack=0xbfffd9a0, na=1, nk=0)
at Python/ceval.c:4231
#53 0x000cc87b in call_function (pp_stack=0xbfffd9a0, oparg=1) at
Python/ceval.c:4036
#54 0x000c9211 in PyEval_EvalFrameEx (f=0x45d32b0, throwflag=0) at
Python/ceval.c:2666
#55 0x000cac2e in PyEval_EvalCodeEx (co=0x409960, globals=0x3e2330,
locals=0x0, args=0x4370bfc, argcount=2, kws=0x302bcc, kwcount=0,
defs=0x40c25c, defcount=1, closure=0x0) at Python/ceval.c:3253
#56 0x0003b49d in function_call (func=0x406620, arg=0x4370bf0,
kw=0x45d3220) at Objects/funcobject.c:526
#57 0x0000d530 in PyObject_Call (func=0x406620, arg=0x4370bf0,
kw=0x45d3220) at Objects/abstract.c:2529
#58 0x000cd4b9 in ext_do_call (func=0x406620, pp_stack=0xbfffdcec, flags=3,
na=1, nk=0) at Python/ceval.c:4326
#59 0x000c9376 in PyEval_EvalFrameEx (f=0x45d30b0, throwflag=0) at
Python/ceval.c:2705
#60 0x000cac2e in PyEval_EvalCodeEx (co=0x3f3a50, globals=0x3e2330,
locals=0x0, args=0x220278c, argcount=2, kws=0x0, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at Python/ceval.c:3253
#61 0x0003b49d in function_call (func=0x3f3ba0, arg=0x2202780, kw=0x0) at
Objects/funcobject.c:526
#62 0x0000d530 in PyObject_Call (func=0x3f3ba0, arg=0x2202780, kw=0x0) at
Objects/abstract.c:2529
#63 0x00020bfb in instancemethod_call (func=0x3f3ba0, arg=0x2202780,
kw=0x0) at Objects/classobject.c:2578
#64 0x0000d530 in PyObject_Call (func=0x45cfdd0, arg=0x45d1ab0, kw=0x0) at
Objects/abstract.c:2529
#65 0x0007cbaf in slot_tp_call (self=0x45ccbf0, args=0x45d1ab0, kwds=0x0)
at Objects/typeobject.c:5397
#66 0x0000d530 in PyObject_Call (func=0x45ccbf0, arg=0x45d1ab0, kw=0x0) at
Objects/abstract.c:2529
#67 0x000cd023 in do_call (func=0x45ccbf0, pp_stack=0xbfffe3b0, na=1, nk=0)
at Python/ceval.c:4231
#68 0x000cc87b in call_function (pp_stack=0xbfffe3b0, oparg=1) at
Python/ceval.c:4036
#69 0x000c9211 in PyEval_EvalFrameEx (f=0x45d24f0, throwflag=0) at
Python/ceval.c:2666
#70 0x000cca12 in fast_function (func=0x421a40, pp_stack=0xbfffe5e0, n=2,
na=2, nk=0) at Python/ceval.c:4099
#71 0x000cc856 in call_function (pp_stack=0xbfffe5e0, oparg=1) at
Python/ceval.c:4034
#72 0x000c9211 in PyEval_EvalFrameEx (f=0x45d1f90, throwflag=0) at
Python/ceval.c:2666
#73 0x000cca12 in fast_function (func=0x4159f0, pp_stack=0xbfffe810, n=1,
na=1, nk=0) at Python/ceval.c:4099
#74 0x000cc856 in call_function (pp_stack=0xbfffe810, oparg=0) at
Python/ceval.c:4034
#75 0x000c9211 in PyEval_EvalFrameEx (f=0x45cc4e0, throwflag=0) at
Python/ceval.c:2666
#76 0x000cac2e in PyEval_EvalCodeEx (co=0x4118f0, globals=0x40d850,
locals=0x0, args=0x437275c, argcount=1, kws=0x0, kwcount=0, defs=0x41679c,
defcount=10, closure=0x0) at Python/ceval.c:3253
#77 0x0003b49d in function_call (func=0x415980, arg=0x4372750, kw=0x0) at
Objects/funcobject.c:526
#78 0x0000d530 in PyObject_Call (func=0x415980, arg=0x4372750, kw=0x0) at
Objects/abstract.c:2529
#79 0x00020bfb in instancemethod_call (func=0x415980, arg=0x4372750,
kw=0x0) at Objects/classobject.c:2578
#80 0x0000d530 in PyObject_Call (func=0x45cb6a0, arg=0x302bc0, kw=0x0) at
Objects/abstract.c:2529
#81 0x0007d58c in slot_tp_init (self=0x45c9a50, args=0x302bc0, kwds=0x0) at
Objects/typeobject.c:5657
#82 0x00070198 in type_call (type=0x422000, args=0x302bc0, kwds=0x0) at
Objects/typeobject.c:735
#83 0x0000d530 in PyObject_Call (func=0x422000, arg=0x302bc0, kw=0x0) at
Objects/abstract.c:2529
#84 0x000cd023 in do_call (func=0x422000, pp_stack=0xbfffef10, na=0, nk=0)
at Python/ceval.c:4231
#85 0x000cc87b in call_function (pp_stack=0xbfffef10, oparg=0) at
Python/ceval.c:4036
#86 0x000c9211 in PyEval_EvalFrameEx (f=0x3c4ae0, throwflag=0) at
Python/ceval.c:2666
#87 0x000cac2e in PyEval_EvalCodeEx (co=0x3c5880, globals=0x329f80,
locals=0x329f80, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at Python/ceval.c:3253
#88 0x000c31c8 in PyEval_EvalCode (co=0x3c5880, globals=0x329f80,
locals=0x329f80) at Python/ceval.c:667
#89 0x000f2631 in run_mod (mod=0x895b70, filename=0xbffff4ae
"/Users/jmccampbell/packages/PySide/BuildScripts/pyside/tests/phonon/basic_playing_test.py",
globals=0x329f80, locals=0x329f80, flags=0xbffff2b8, arena=0x3c1370) at
Python/pythonrun.c:1346
#90 0x000f25c7 in PyRun_FileExFlags (fp=0xa08f48e0, filename=0xbffff4ae
"/Users/jmccampbell/packages/PySide/BuildScripts/pyside/tests/phonon/basic_playing_test.py",
start=257, globals=0x329f80, locals=0x329f80, closeit=1, flags=0xbffff2b8)
at Python/pythonrun.c:1332
#91 0x000f1467 in PyRun_SimpleFileExFlags (fp=0xa08f48e0,
filename=0xbffff4ae
"/Users/jmccampbell/packages/PySide/BuildScripts/pyside/tests/phonon/basic_playing_test.py",
closeit=1, flags=0xbffff2b8) at Python/pythonrun.c:936
#92 0x000f0d24 in PyRun_AnyFileExFlags (fp=0xa08f48e0, filename=0xbffff4ae
"/Users/jmccampbell/packages/PySide/BuildScripts/pyside/tests/phonon/basic_playing_test.py",
closeit=1, flags=0xbffff2b8) at Python/pythonrun.c:740
#93 0x0010afcd in Py_Main (argc=2, argv=0xbffff3a4) at Modules/main.c:599
#94 0x00002532 in main (argc=2, argv=0xbffff3a4) at ./Modules/python.c:23
(gdb) pystack
Current language:  auto; currently c++
Current language:  auto; currently c
/Users/jmccampbell/packages/PySide/BuildScripts/pyside/tests/phonon/basic_playing_test.py
(26): setUp
/Users/jmccampbell/Library/EPD/7.2-i386/lib/python2.7/unittest/case.py
(319): run
/Users/jmccampbell/Library/EPD/7.2-i386/lib/python2.7/unittest/case.py
(391): __call__
/Users/jmccampbell/Library/EPD/7.2-i386/lib/python2.7/unittest/suite.py
(110): run
/Users/jmccampbell/Library/EPD/7.2-i386/lib/python2.7/unittest/suite.py
(70): __call__
/Users/jmccampbell/Library/EPD/7.2-i386/lib/python2.7/unittest/suite.py
(110): run
/Users/jmccampbell/Library/EPD/7.2-i386/lib/python2.7/unittest/suite.py
(70): __call__
/Users/jmccampbell/Library/EPD/7.2-i386/lib/python2.7/unittest/runner.py
(153): run
/Users/jmccampbell/Library/EPD/7.2-i386/lib/python2.7/unittest/main.py
(230): runTests
/Users/jmccampbell/Library/EPD/7.2-i386/lib/python2.7/unittest/main.py
(95): __init__
/Users/jmccampbell/packages/PySide/BuildScripts/pyside/tests/phonon/basic_playing_test.py
(67): <module>


On Thu, Mar 15, 2012 at 1:03 PM, Hugo Parente Lima
<hugo.lima at openbossa.org>wrote:

> On Thursday 15 March 2012 12:28:52 Matti Airas wrote:
> > On 15.03.2012 17:01, ext Tim Doty wrote:
> > > What is actually involved for testing on the mac? Is there a test
> > > suite to run or what?
> >
> > Hugo might want to correct me, but just go to the build directory and
> > run "ctest" and report the results together with your configuration
> > details on the mailing list.
>
> just ctest works, but "ctest -V" is better because it prints a lot of
> things
> useful to know what failed.
>
> > Cheers,
> >
> > ma.
>
> --
> Hugo Parente Lima
> INdT - Instituto Nokia de Tecnologia
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
>
>


-- 
*Jason McCampbell*
Enthought, Inc.
512.536.1057 (Office)
512.850.6069 (Mobile)
jmccampbell at enthought.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20120315/8ed2cb11/attachment.html>


More information about the PySide mailing list