Details
Description
$ pyside-uic main.ui -o main.py
An unexpected error occurred.
Check that you are using the latest version of PySide and report the error to
http://bugs.openbossa.org, including the ui file used to trigger the error.
Simplified ui file attached. Note this is the same symptom but different cause to PYSIDE-126. The problem is with an <iconset> element that doesn't contain any text because it only specifies a theme name.
Also attached is a patch that fixes it. I don't know what would happen in the pre-Qt v4.4 case where _use_fallback ends up False though, if anyone would care about that anymore.