I’m attempting to create a custom build of 1.9.4, including an attempted back-porting of 1.10’s vertex-colour handling. Thus far, the SDK and runtime seem to build successfully (although I’ve neither tested nor installed either yet, I believe). The “rtdist”, however, is giving me trouble.
Specifically, the build is exiting with an “IndexError”, noting that a list index is out of range, in FreezeTool.py, line 633. Here’s the full error:
Traceback (most recent call last): File "direct/src/p3d/ppackage.py", line 254, in <module> packages = packager.readPackageDef(packageDef, packageNames = packageNames) File "/home/thaumaturge/panda3d-release-1.9.x/built_thaumaturge/direct/p3d/Packager.py", line 2811, in readPackageDef solo = solo) File "/home/thaumaturge/panda3d-release-1.9.x/built_thaumaturge/direct/p3d/Packager.py", line 2915, in beginPackage package = self.Package(packageName, self) File "/home/thaumaturge/panda3d-release-1.9.x/built_thaumaturge/direct/p3d/Packager.py", line 381, in __init__ self.freezer = FreezeTool.Freezer(platform = self.packager.platform) File "/home/thaumaturge/panda3d-release-1.9.x/built_thaumaturge/direct/showutil/FreezeTool.py", line 633, in __init__ modulefinder.AddPackagePath(moduleName, path) IndexError: list index out of range
I added some simple “print” statements above the offending line, and it looks like the problem is happening when it attempts to run the above for “pkg_resources._vendor.six.moves.urllib”. The module itself is loaded, but “path” seems to contain an empty list–hence the IndexError.
What’s going wrong here? It’s entirely possible that I’m missing some dependency–I’ve never quite gotten the hang of figuring out which complaints in the build output are relevant, I’m afraid–but which one?
My thanks for any help given!