Log redirect on OSX
Bug #1609880 reported by
Yaio
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Won't Fix
|
Undecided
|
Unassigned |
Bug 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.
nout.addFile(
import direct.
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.
packp3d is no longer supported in 1.10 (in favour of the new setuptools-based deployment system), so I'm closing this. The new deploy-stub has built-in support for logging to a file. Please file an issue on GitHub if you find issues with the logging support in deploy-ng.