PyCegui boost::python::error_already_set and Python errors
Posted: 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
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