Log redirect on OSX

Bug #1609880 reported by Yaio
8
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.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.

Tags: macos runtime
Yaio (yaio79)
description: updated
rdb (rdb)
tags: added: macos runtime
Revision history for this message
rdb (rdb) wrote :

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.

Changed in panda3d:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.