PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 1007 - Width and height absence in QML causes crash on N900
: Width and height absence in QML causes crash on N900
Status: NEW
Product: PySide
Classification: Unclassified
Component: QtDeclarative
: 1.0.5
: N900 Linux
: P4 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-09-19 18:12 EEST by Сергій Загорія
Modified: 2012-03-08 16:57 EET (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Сергій Загорія 2011-09-19 18:12:23 EEST
Just took an example from
http://developer.qt.nokia.com/wiki/Using_QtMobility_sensors_and_QML_from_PySide
and deleted Rectangle width and height in the QML.
Now it behaves as the width and height are 0 and doesn't show any window:

$ python UnderMeSensi.py
loaded the Generic plugin 
loaded the N900 plugin 
loaded the Generic plugin 
loaded the grue plugin 
loaded the N900 plugin 
A backend with type "QAccelerometer" and identifier "n900.accelerometer" has
already been registered! 
A backend with type "QProximitySensor" and identifier "n900.proximity" has
already been registered! 
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode: 42 (X_SetInputFocus)
  Resource id:  0x440000a
^C



P.S. I had to:

$ sudo apt-get install python-qtmobility12
$ export PYTHONPATH=/opt/qtm12/lib/python2.5/site-packages:${PYTHONPATH}

as suggested in the http://bugs.pyside.org/show_bug.cgi?id=948 and add 

import signal
signal.signal(signal.SIGINT, signal.SIG_DFL)

to use Ctrl+C.
Comment 1 Hugo Parente Lima 2011-10-06 21:45:26 EEST
It's probably a Qt 4.7.0/QML bug rather than a PySide one, anyway we need to
check.
Comment 2 Matti Airas 2012-03-08 16:57:31 EET
PySide is now a Qt-addon and uses Qt Project's JIRA tool for tracking bugs.
Please verify that the bug is still valid and re-submit it in the address
below:

https://bugreports.qt-project.org/

Sorry for the inconvenience!