PyCegui boost::python::error_already_set and Python errors

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Sejten
Just popping in
Just popping in
Posts: 3
Joined: Mon Feb 11, 2013 21:21

PyCegui boost::python::error_already_set and Python errors

Postby Sejten » Sun Feb 17, 2013 15:15

Hi,
while using PyCegui many times I came across a situation in which I subscribed a method to the gui object event but when that method threw exception, PyCegui always returned error_already_set error.This is unclear and very difficult to debug because is is just a signal indicating that something happened, but it doesn't tell you what happened (i.e. the type of the exception.) Is there a way to translate it to actual Python exception types or at least get traceback?

Thanks

Return to “Help”

Who is online

Users browsing this forum: No registered users and 18 guests