[Qgis-developer] Customization
Borys Jurgiel
lists at borysjurgiel.pl
Wed Jun 12 10:04:29 PDT 2013
I managed to get this script running, but it still crashes at some stage.
Unfiortunately I won't have time next days (weeks?) to investigate it deeper :(
Loading /mag/svn/qgis/src/ui/qgspointdisplacementrendererwidgetbase.ui
Loading /mag/svn/qgis/src/ui/qgswfssourceselectbase.ui
Loading /mag/svn/qgis/src/ui/qgscompositionwidgetbase.ui
No module named qgscollapsiblegroupbox
Loading /mag/svn/qgis/src/ui/qgisapp.ui
Loading /mag/svn/qgis/src/ui/qgstipguibase.ui
Traceback (most recent call last):
File "scripts/widgets_tree.py", line 140, in <module>
xml = inspector.xml()
File "scripts/widgets_tree.py", line 131, in xml
string = tostring ( element, 'utf-8' )
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1126, in tostring
ElementTree(element).write(file, encoding, method=method)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 820, in write
serialize(write, self._root, encoding, qnames, namespaces)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 939, in
_serialize_xml
_serialize_xml(write, e, encoding, qnames, None)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 932, in
_serialize_xml
v = _escape_attrib(v, encoding)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1092, in
_escape_attrib
_raise_serialization_error(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1052, in
_raise_serialization_error
"cannot serialize %r (type %s)" % (text, type(text).__name__)
TypeError: cannot serialize
PyQt4.QtCore.QString(u'QgsSmartGroupEditorDialogBase') (type QString)
More information about the Qgis-developer
mailing list