Yet another snow leopard installation issue with 1.7.0

My problem is somehow different from the rest. I just download 1.7.0 run the installation mpkg and it simply pops out a window saying:

"The installation failed.

The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance".

I’d like to give more information about my problem, but this is all I get. Is there anyway to know what did exactly go wrong? any log or anything?

thanks in advance,

santi

(btw, 1.6.2 worked fine for me even in Snow Leopard)

That sure doesn’t provide a lot for us to go on. Are you sure the .dmg file downloaded completely?

David

Well, that’s why I’m asking here. The error doesn’t give me any information. So, I just wanted to know if there’s any way I can check where did the installer found the error.

The dmg is fine, I downloaded it 3 times actually. And the 3 times I got the same problem. If I download 1.6.2, it works nicely.

Hmm, a little Googling tells me that Snow Leopard writes its installation logs to /var/log/install.log. When I check that log file myself after a successful installation of Panda3D 1.7.0 on Snow Leopard, the relevant parts look like this:

Feb 22 14:52:23 odysseus Installer[42515]: Panda3D  Installation Log
Feb 22 14:52:23 odysseus Installer[42515]: Opened from: /Volumes/Panda3D/Panda3D.mpkg
Feb 22 14:52:29 odysseus Installer[42515]: IFJS: *** exception: TypeError: Result of expression 'my.target' [null] is not an object.
Feb 22 14:52:43: --- last message repeated 2 times ---
Feb 22 14:52:43 odysseus Installer[42515]: ================================================================================
Feb 22 14:52:43 odysseus Installer[42515]: User picked Custom Install
Feb 22 14:52:43 odysseus Installer[42515]: Choices selected for installation:
Feb 22 14:52:43 odysseus Installer[42515]: 	Install: "Panda3D"
Feb 22 14:52:43 odysseus Installer[42515]: 	Install: "Panda3D Base Installation"
Feb 22 14:52:43 odysseus Installer[42515]: 		base.pkg : org.panda3d.panda3d.base.pkg : 1
Feb 22 14:52:43 odysseus Installer[42515]: 	Install: "Tools"
Feb 22 14:52:43 odysseus Installer[42515]: 		tools.pkg : org.panda3d.panda3d.tools.pkg : 1
Feb 22 14:52:43 odysseus Installer[42515]: 	Install: "Python Code"
Feb 22 14:52:43 odysseus Installer[42515]: 		pythoncode.pkg : org.panda3d.panda3d.pythoncode.pkg : 1
Feb 22 14:52:43 odysseus Installer[42515]: 	Install: "Sample Programs"
Feb 22 14:52:43 odysseus Installer[42515]: 		samples.pkg : org.panda3d.panda3d.samples.pkg : 1
Feb 22 14:52:43 odysseus Installer[42515]: ================================================================================
Feb 22 14:52:43 odysseus Installer[42515]: It took 0.00 seconds to summarize the package selections.
Feb 22 14:52:50 odysseus runner[42521]: Administrator authorization granted.
Feb 22 14:52:56 odysseus Installer[42515]: ================================================================================
Feb 22 14:52:56 odysseus Installer[42515]: User picked Standard Install
Feb 22 14:52:56 odysseus Installer[42515]: Choices selected for installation:
Feb 22 14:52:56 odysseus Installer[42515]: 	Install: "Panda3D"
Feb 22 14:52:56 odysseus Installer[42515]: 	Install: "Panda3D Base Installation"
Feb 22 14:52:56 odysseus Installer[42515]: 		base.pkg : org.panda3d.panda3d.base.pkg : 1
Feb 22 14:52:56 odysseus Installer[42515]: 	Install: "Tools"
Feb 22 14:52:56 odysseus Installer[42515]: 		tools.pkg : org.panda3d.panda3d.tools.pkg : 1
Feb 22 14:52:56 odysseus Installer[42515]: 	Install: "Python Code"
Feb 22 14:52:56 odysseus Installer[42515]: 		pythoncode.pkg : org.panda3d.panda3d.pythoncode.pkg : 1
Feb 22 14:52:56 odysseus Installer[42515]: 	Install: "Sample Programs"
Feb 22 14:52:56 odysseus Installer[42515]: 		samples.pkg : org.panda3d.panda3d.samples.pkg : 1
Feb 22 14:52:56 odysseus Installer[42515]: ================================================================================
Feb 22 14:52:56 odysseus Installer[42515]: It took 0.00 seconds to summarize the package selections.
Feb 22 14:52:56 odysseus Installer[42515]: -[IFDInstallController(Private) _buildInstallPlan]: location = file://localhost
Feb 22 14:52:56 odysseus Installer[42515]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/base.pkg
Feb 22 14:52:56 odysseus Installer[42515]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/tools.pkg
Feb 22 14:52:56 odysseus Installer[42515]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/pythoncode.pkg
Feb 22 14:52:56 odysseus Installer[42515]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/samples.pkg
Feb 22 14:52:57 odysseus Installer[42515]: Will use PK session
Feb 22 14:52:57 odysseus Installer[42515]: Starting installation:
Feb 22 14:52:57 odysseus Installer[42515]: Configuring volume "Macintosh HD"
Feb 22 14:52:57 odysseus Installer[42515]: Preparing disk for local booted install.
Feb 22 14:52:57 odysseus Installer[42515]: Free space on "Macintosh HD": 121.11 GB (121113481216 bytes).
Feb 22 14:52:57 odysseus Installer[42515]: Create temporary directory "/var/folders/fj/fjnrDxThHTKA8tZcsqUPpE+++TI/-Tmp-//Install.42515rnSLru"
Feb 22 14:52:57 odysseus Installer[42515]: IFPKInstallElement (4 packages)
Feb 22 14:52:57 odysseus installd[42547]: PackageKit: ----- Begin install -----
Feb 22 14:52:57 odysseus installd[42547]: PackageKit: request=PKInstallRequest <4 packages, destination=/>
Feb 22 14:52:57 odysseus installd[42547]: PackageKit: packages=(\n    "PKJaguarPackage <file://localhost/Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/base.pkg>",\n    "PKJaguarPackage <file://localhost/Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/tools.pkg>",\n    "PKJaguarPackage <file://localhost/Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/pythoncode.pkg>",\n    "PKJaguarPackage <file://localhost/Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/samples.pkg>"\n)
Feb 22 14:52:57 odysseus installd[42547]: PackageKit: Extracting /Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/base.pkg/Contents/Archive.pax.gz (destination=/var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-/PKInstallSandbox-tmp/Root, uid=0)
Feb 22 14:53:04 odysseus installd[42547]: PackageKit: Extracting /Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/tools.pkg/Contents/Archive.pax.gz (destination=/var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-/PKInstallSandbox-tmp/Root, uid=0)
Feb 22 14:53:06 odysseus installd[42547]: PackageKit: Extracting /Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/pythoncode.pkg/Contents/Archive.pax.gz (destination=/var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-/PKInstallSandbox-tmp/Root, uid=0)
Feb 22 14:53:08 odysseus installd[42547]: PackageKit: Extracting /Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/samples.pkg/Contents/Archive.pax.gz (destination=/var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-/PKInstallSandbox-tmp/Root, uid=0)
Feb 22 14:53:10 odysseus installd[42547]: PackageKit: Shoving /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-/PKInstallSandbox-tmp/Root (2 items) to /
Feb 22 14:53:11 odysseus installd[42547]: PackageKit: Executing script "./postinstall" in /Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/base.pkg/Contents/Resources
Feb 22 14:53:11 odysseus installd[42547]: PackageKit: Executing script "./postflight" in /Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/base.pkg/Contents/Resources
Feb 22 14:53:13 odysseus installd[42547]: Installed "Panda3D" ()
Feb 22 14:53:13 odysseus installd[42547]: PackageKit: ----- End install -----
Feb 22 14:53:14 odysseus Installer[42515]: Running install actions
Feb 22 14:53:14 odysseus Installer[42515]: Removing temporary directory "/var/folders/fj/fjnrDxThHTKA8tZcsqUPpE+++TI/-Tmp-//Install.42515rnSLru"
Feb 22 14:53:14 odysseus Installer[42515]: Finalize disk "Macintosh HD"
Feb 22 14:53:14 odysseus Installer[42515]: Notifying system of updated components
Feb 22 14:53:15 odysseus Installer[42515]: 
Feb 22 14:53:15 odysseus Installer[42515]: **** Summary Information ****
Feb 22 14:53:15 odysseus Installer[42515]:   Operation      Elapsed time
Feb 22 14:53:15 odysseus Installer[42515]: -----------------------------
Feb 22 14:53:15 odysseus Installer[42515]:        disk      0.02 seconds
Feb 22 14:53:15 odysseus Installer[42515]:      script      0.05 seconds
Feb 22 14:53:15 odysseus Installer[42515]:        zero      0.01 seconds
Feb 22 14:53:15 odysseus Installer[42515]:     install      17.08 seconds
Feb 22 14:53:15 odysseus Installer[42515]:     -total-      17.15 seconds
Feb 22 14:53:15 odysseus Installer[42515]: 
Feb 22 14:53:15 odysseus Installer[42515]: IFDInstallController 6D4C760 state = 5
Feb 22 14:53:15 odysseus Installer[42515]: Displaying 'Install Succeeded' UI.

Cool, thanks. With I can see that the last lines of my install.log say:

Feb 22 21:57:51 ShaoMacBook installd[14640]: PackageKit: ----- Begin install -----
Feb 22 21:57:51 ShaoMacBook installd[14640]: PackageKit: request=PKInstallRequest <5 packages, destination=/>
Feb 22 21:57:51 ShaoMacBook installd[14640]: PackageKit: packages=(\n    "PKJaguarPackage <file://localhost/Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/uninstall16.pkg>",\n    "PKJaguarPackage <file://localhost/Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/base.pkg>",\n    "PKJaguarPackage <file://localhost/Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/tools.pkg>",\n    "PKJaguarPackage <file://localhost/Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/pythoncode.pkg>",\n    "PKJaguarPackage <file://localhost/Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/samples.pkg>"\n)
Feb 22 21:57:52 ShaoMacBook installd[14640]: PackageKit: Extracting /Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/uninstall16.pkg/Contents/Archive.pax.gz (destination=/var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-/PKInstallSandbox-tmp/Root, uid=0)
Feb 22 21:57:52 ShaoMacBook installd[14640]: PackageKit: Extracting /Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/base.pkg/Contents/Archive.pax.gz (destination=/var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-/PKInstallSandbox-tmp/Root, uid=0)
Feb 22 21:58:02 ShaoMacBook installd[14640]: PackageKit: Extracting /Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/tools.pkg/Contents/Archive.pax.gz (destination=/var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-/PKInstallSandbox-tmp/Root, uid=0)
Feb 22 21:58:04 ShaoMacBook installd[14640]: PackageKit: Extracting /Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/pythoncode.pkg/Contents/Archive.pax.gz (destination=/var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-/PKInstallSandbox-tmp/Root, uid=0)
Feb 22 21:58:06 ShaoMacBook installd[14640]: PackageKit: Extracting /Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/samples.pkg/Contents/Archive.pax.gz (destination=/var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-/PKInstallSandbox-tmp/Root, uid=0)
Feb 22 21:58:10 ShaoMacBook installd[14640]: PackageKit: Executing script "./preflight" in /Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/uninstall16.pkg/Contents/Resources
Feb 22 21:58:13 ShaoMacBook installd[14640]: PackageKit: Shoving /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-/PKInstallSandbox-tmp/Root (2 items) to /
Feb 22 21:58:15 ShaoMacBook installd[14640]: PackageKit: Executing script "./postinstall" in /Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/base.pkg/Contents/Resources
Feb 22 21:58:16 ShaoMacBook installd[14640]: ./postinstall: Traceback (most recent call last):
Feb 22 21:58:16 ShaoMacBook installd[14640]: ./postinstall:   File "/Volumes/Panda3D/Panda3D.mpkg/Contents/Packages/base.pkg/Contents/Resources/postinstall", line 9, in <module>
Feb 22 21:58:16 ShaoMacBook installd[14640]: ./postinstall:     plist = plistlib.readPlist(envfile)
Feb 22 21:58:16 ShaoMacBook installd[14640]: ./postinstall:   File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plistlib.py", line 78, in readPlist
Feb 22 21:58:16 ShaoMacBook installd[14640]: ./postinstall:     rootObject = p.parse(pathOrFile)
Feb 22 21:58:16 ShaoMacBook installd[14640]: ./postinstall:   File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plistlib.py", line 405, in parse
Feb 22 21:58:16 ShaoMacBook installd[14640]: ./postinstall:     parser.ParseFile(fileobj)
Feb 22 21:58:16 ShaoMacBook installd[14640]: ./postinstall: xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 0
Feb 22 21:58:16 ShaoMacBook installd[14640]: PackageKit: Install Failed: PKG: post-install scripts for "org.panda3d.panda3d.base.pkg"\nError Domain=PKInstallErrorDomain Code=112 UserInfo=0x10019e690 "An error occurred while running scripts from the package “base.pkg”." {\n    NSFilePath = "./postinstall";\n    NSLocalizedDescription = "An error occurred while running scripts from the package \U201cbase.pkg\U201d.";\n    NSURL = "./Contents/Packages/base.pkg -- file://localhost/Volumes/Panda3D/Panda3D.mpkg/";\n    PKInstallPackageIdentifier = "org.panda3d.panda3d.base.pkg";\n}
Feb 22 21:58:16 ShaoMacBook Installer[14625]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 UserInfo=0x11a660580 "An error occurred while running scripts from the package “base.pkg”."
Feb 22 21:58:16 ShaoMacBook Installer[14625]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Feb 22 21:58:16 ShaoMacBook Installer[14625]: IFDInstallController 358440 state = 7
Feb 22 21:58:16 ShaoMacBook Installer[14625]: Displaying 'Install Failed' UI.
Feb 22 21:58:16 ShaoMacBook Installer[14625]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.

Hm, this looks like your ~/.MacOSX/environment.plist is malformed, somehow.

I’m going to revisit the installer for 1.7.1 - I don’t like that it changes the environment.plist file at all.

Thanks a lot. That was exactly it. I just removed the plist and logged out and in, and then I could install Panda 1.7.0 without any issues, and my apps run fine! :slight_smile:

Thanks again!!!

Should we remove the 1.7 OSX dmg for now until this is resolved, so that more people don’t get bitten by this?

When I installed the dmg on my own computer, in researching this thread, I picked up the environment.plist poison too, which is pretty bad. I didn’t realize the problem at first, because everything appeared to be working, but hours later I was pounding my head into a wall trying to figure out why my whole computer seemed to have destablized. Certain apps no longer launched at all, I was getting reams of error messages in system.log, and the machine eventually hard crashed when left overnight.

It all turned out to be due to environment.plist. Removing it and rebooting cleared everything right up.

David

Ouch. Sorry to hear that. I never experienced these issues when I tested this, neither did the people that tested it before 1.7.0 came out.

I’ve removed it for the download page. I’ll try to fix it tomorrow or the day after, and I’ll rebuild the 1.7.0 dmg when I do so, picking up my patches.

Okay:
discourse.panda3d.org/viewtopic … 2715#52715

popolon: I advise you remove your environment.plist file again and install the new .dmg installer.

Nice, thanks!

David