On 3/10/10, Michele Petrazzo - Unipex <[email protected]> wrote:
> Hi list,
> sometime into my tries I receive an error [1] that I'm trying to debug,
> but since I'm not sure how to reproduce it, I tried to modify
> [email protected].    Seeing that I'm not a c++
> devel, I'm not able to add a simple (python code)
> print typeResolverMap.find(resolver->typeName()), typeResolverMap.end()
> or something like this for understand where the problem appear. So,
> someone can help me? Or is there another solution for debug?

Sometimes this warnings are expected, for example, if you try to get
some QTextCodec, Qt will return a QTextCodec pointer of an instance of
an internal Qt class which inherits QTextCodec, shiboken will try to
find this class type, but as this is an internal and not binded class,
it will fail and show the warning when compiled in debug mode.

If your case is similar to that, dont worry at all, otherwise it´s a
bug. Can you tell us the class and method name that is triggering
this?

> Thanks,
> Michele
>
> [1]
> python2.6: /home/devel/pyside/shiboken/libshiboken/typeresolver.cpp:75:
> void registerTypeResolver(Shiboken::TypeResolver*): Assertion
> `typeResolverMap.find(resolver->typeName()) == typeResolverMap.end()'
> failed.
>
> _______________________________________________
> PySide mailing list
> [email protected]
> http://lists.openbossa.org/listinfo/pyside
>
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to