0
我得到這個,從Windows7Pro下運行的特徵/ UI應用程序:Traits/UI通知異常處理程序將其日誌文件放在哪裏?
> Exception occurred in traits notification handler. Please check the
> log file for details.
我在哪裏可以找到它講的日誌文件?
我得到這個,從Windows7Pro下運行的特徵/ UI應用程序:Traits/UI通知異常處理程序將其日誌文件放在哪裏?
> Exception occurred in traits notification handler. Please check the
> log file for details.
我在哪裏可以找到它講的日誌文件?
1)如果你的應用程序配置了一個日誌文件,默認情況下,特徵日誌將會在那裏,否則我認爲不會有日誌文件。配置很簡單;請參閱https://docs.python.org/2/howto/logging.html#logging-to-a-file
2)但是該文件中的信息可能實際上對調試沒有多大用處,除非您採取其他措施。見http://traits.readthedocs.io/en/latest/traits_user_manual/debugging.html#re-raising-exceptions-in-change-handlers