ppython.cxx fails to locate the root of the panda tree

Bug #263067 reported by rdb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Panda3D
Fix Released
High
rdb
1.7.x
Fix Released
High
rdb

Bug Description

On 64-bits ubuntu linux hardy heron, there is a bug in direct/src/directbase/ppython.cxx , making it fail to "locate the root of the panda tree" at the genpycode step in makepanda.
Upon further inspection it seems there is rubbish after the path in the variable, could that be the problem?
http://panda3d.cvs.sourceforge.net/panda3d/direct/src/directbase/ppython.cxx?revision=1.12&view=markup
In line 184 it goes wrong.

rdb (rdb)
Changed in panda3d:
importance: Undecided → High
Revision history for this message
rdb (rdb) wrote :

Problem is fixed. I've just checked in a fix to the cvs head with a rewrite of ppython. And as the commit message states:

Full rewrite of ppython. Instead of invoking the python interpreter by launching it's process, it interfaces to the Python API to import the script as module.
Basically, it's a hybrid between what it used to be and what the scripts would be, frozen.
The advantage of the first is that ppython is now a very small wrapper instead of the hacky problematic mess it used to be.
The advantage of the second is that the scripts are not as big as if they would be frozen. And they can be modified.

rdb (rdb)
Changed in panda3d:
status: Fix Committed → Fix Released
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.