Windows 2003 Server, Blender 248.1, Panda 1.5.4
Blender configured to use Panda's python (2.5).
Export and egg2bam works fine, but Pview always fails if the path contains a dot. eg: c:\somepath\whatever\object.blend is fine, but not c:\somepath\whatever-v1.5.5\object.blend is not.
For example, exporting the file c:\Panda3D-1.5.4\artwork\wolfmech\wolfmech.blend. On export, with the Pview option checked, it always fails to spawn Pview with this error:
Known pipe types:
wglGraphicsPipe
(all display modules loaded.)
Loading /c/Panda3D-1.5.bam
:loader(error): Couldn't load file /c/Panda3D-1.5.bam: does not exist.
Unable to load /c/Panda3D-1.5.bam
:framework(warning): Empty bounding volume for models
10919 frames in 7.41179 seconds.
1473.19 fps average (0.678797ms)
Possible fix: In chicken_exportR61.py, line 406:
argsPview.append('"%s"'%makename(plainName,ext=pviewExt))
plainName is the path+filename with no extension. makename uses the last dot in a filename to figure out what is the extension, and since plainName contains a dot in the path, it picks up on that first.
Simple changing this line to:
argsPview.append('"%s"'%makename(self.filename,ext=pviewExt))
works, as now there is an extension ("c:\Panda3D-1.5.4\artwork\wolfmech\wolfmech.blend" versus just "c:\Panda3D-1.5.4\artwork\wolfmech\wolfmech") for makename to replace.