2016-08-04 16:30:10 |
Yaio |
description |
On OSX (it works on the other systems), if I try to redirect logging to a file, when the application finishes it opens a window which contains "P3DPython quit unexpectedly...". Sometimes it doesn't happen at the first time that you launch the application, but from the second one. To replicate the issue, here is a main.py file:
from panda3d.core import MultiplexStream, Notify
nout = MultiplexStream()
Notify.ptr().setOstreamPtr(nout, 0)
nout.addFile('log.txt')
import direct.directbase.DirectStart
base.run()
Then, submit these commands and close the application:
packp3d -o log_issue.p3d
panda3d log_issue.p3d |
On OSX (it works on the other systems), if I try to redirect logging to a file, when the application finishes it opens a window which contains "P3DPython quit unexpectedly...". Sometimes it doesn't happen at the first time that you launch the application, but from the second one. To replicate the issue, here is a main.py file:
from panda3d.core import MultiplexStream, Notify
nout = MultiplexStream()
Notify.ptr().setOstreamPtr(nout, 0)
nout.addFile('log.txt')
import direct.directbase.DirectStart
base.run()
Then, submit these commands and close the application:
packp3d -o log_issue.p3d
panda3d log_issue.p3d
Observed with Panda3D 1.9.2, OSX 10.9.5. |
|