[PyQt] BUG: Qwt widgets in uic files

Arne Schmitz arne.schmitz at gmx.net
Mon Jan 24 16:42:00 GMT 2011


Am 24.01.2011 um 16:06 schrieb Phil Thompson:

>> line 30, in search
>>   self._module = __import__(self._moduleName, {}, {}, self._classes)
>> TypeError: 'set' object does not support indexing
>> === Cut here ===
> 
> I suspect that that is a problem with the Qwt module being imported.
> Otherwise can you reproduce the problem without the dependency on an
> external module?


I don't quite understand your question. Can you elaborate on that? 

I found a discussion on gmane which seems to cover the same topic:

	http://comments.gmane.org/gmane.comp.python.xy.devel/419

The proposed "fix" in there works for me as well, however, I am also not sure, what the removal of the set() implies. But my progam works well so far.

Best regards,

Arne Schmitz

-- 
Dipl.-Inform. Arne Schmitz              Phone   +49 (0)241 80-21817
Computer Graphics Group                 Mobile  +49 (0)151 29145947
RWTH Aachen University                  Fax     +49 (0)241 80-22899
Ahornstrasse 55, 52074 Aachen, Germany  http://www.rwth-graphics.de



More information about the PyQt mailing list