ppython.cxx fails to locate the root of the panda tree
Bug #263067 reported by
rdb
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/
Upon further inspection it seems there is rubbish after the path in the variable, could that be the problem?
http://
In line 184 it goes wrong.
Changed in panda3d: | |
importance: | Undecided → High |
Changed in panda3d: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.