[SOLVED] egg2bam: Running via os.popen in Windows

Unfortunately, that doesn’t appear to generate any error output. Perhaps the error output is coming through on another pipe (the Windows equivalent to stderr), and popen only grabs the standard out pipe?

I was able to make a bit of forward progress by switching from the popen command to the os.system command. I now see the following errors coming from the program:

:egg2pg(error): Unknown ObjectType customobjtype

The customobjtype tag is where I expect it to be, and I have the following line in my Config.prc file (panda3d1.2.3/etc/Config.prc):

egg-object-type-customobjtype	     <Tag> type { custom }

As I mentioned before, if I manually run egg2bam, everything works with no errors; it is only when I run via the os.popen or os.system commands that I get the errors I am currently seeing.

My hunch is that in this run context, egg2bam fails to find the Config.prc file in the panda install. What method does it use to locate that file?

-Mark