Problem with Plone OS X installer on OS X 10.4.11

5 messages Options
Embed this post
Permalink
zif () Problem with Plone OS X installer on OS X 10.4.11
Reply Threaded More More options
Print post
Permalink
Hi,

I just downloaded the OS X dmg installer for Plone.  When I run the installer, on the "Installation Type" stage, it indicates the installed "Size" for both the "Stand-Alone Instance" (which I checked) and the "Zeo Cluster" (which I unchecked) is "0 bytes".  When I click "Install" it runs for a moment and comes back with the message: "There were errors installing the software", "Please try installing again".

No matter how many times I try, I get the same thing.  Re-booting my machine doesn't help.  This seems to be a very odd but fundamental problem.  I looked in the system logs to see what errors might be there and all I see is this:

Jul 12 12:05:40 plone-test : Hardware: MacBook1,1 @ 2000 MHz (x2), 2048 MB
Jul 12 12:05:40 plone-test : Running OS Build: 8S2167
Jul 12 12:05:41 plone-test : Plone 3.2.3 Installation Log
Jul 12 12:05:41 plone-test : Opened from: /Volumes/Plone-3.2.3/Plone-3.2.3.mpkg
Jul 12 12:05:41 plone-test : Distribution: Plone 3.2.3
Jul 12 12:05:41 plone-test : It took 0.261107 seconds to finish launching.
Jul 12 12:05:41 plone-test : Installation checks completed successfully.
Jul 12 12:05:42 plone-test : Package Authoring Error: Infinite loop between <choice> attributes and mixed state aborted.
Jul 12 12:05:47 plone-test : ================================================================================
Jul 12 12:05:47 plone-test : User picked Custom Install
Jul 12 12:05:47 plone-test : Choices selected for installation:
Jul 12 12:05:47 plone-test : Install: "Plone 3.2.3"
Jul 12 12:05:47 plone-test : Install: "Plone" at path "//Applications/Plone"
Jul 12 12:05:47 plone-test : pythonZopePloneBase.pkg : org.plone.plone-3.2.1.plone321.base.pkg : 1
Jul 12 12:05:47 plone-test : Install: "Stand-Alone Instance"
Jul 12 12:05:47 plone-test : standaloneZope.pkg : org.plone.plone-3.2.1.zinstance_nr.pkg : 1
Jul 12 12:05:47 plone-test :
================================================================================
Jul 12 12:05:47 plone-test : It took 0.001424 seconds to summarize the package selections.
Jul 12 12:05:47 plone-test : NOT Installing into home /Users/plone-test
Jul 12 12:05:47 plone-test : NOT Installing into home /Users/plone-test
Jul 12 12:05:47 plone-test : Starting installation:
Jul 12 12:05:47 plone-test : Preparing volume "Macintosh HD" for installation
Jul 12 12:05:47 plone-test : Configuring volume "Macintosh HD"
Jul 12 12:05:48 plone-test : Preparing local booted disk
Jul 12 12:05:48 plone-test : Create temporary directory "/private/tmp/pythonZopePloneBase.pkg.397iwMuYS"
Jul 12 12:05:48 plone-test : run preflight script for Standalone Zope
Jul 12 12:05:48 plone-test : preflight[400]: PACKAGE_PATH: /Volumes/Plone-3.2.3/Plone-3.2.3.mpkg/Contents/Packages/standaloneZope.pkg
Jul 12 12:05:48 plone-test : preflight[400]: PLONE_HOME: /Applications/Plone
Jul 12 12:05:48 plone-test : preflight[400]: BASE_RESOURCES: /Volumes/Plone-3.2.3/Plone-3.2.3.mpkg/Contents/Packages/pythonZopePloneBase.pkg/Contents/Resources
Jul 12 12:05:48 plone-test : preflight[400]: Traceback (most recent call last):
Jul 12 12:05:48 plone-test : preflight[400]:
Jul 12 12:05:48 plone-test : Install failed: The following install step failed: run preflight script for Standalone Zope
Jul 12 12:05:48 plone-test : preflight[400]:   File "/Volumes/Plone-3.2.3/Plone-3.2.3.mpkg/Contents/Packages/standaloneZope.pkg/Contents/Resources/preflight", line 58, in <module>
Jul 12 12:05:48 plone-test : preflight[400]:     import alertDialog
Jul 12 12:05:48 plone-test : preflight[400]:   File "/Volumes/Plone-3.2.3/Plone-3.2.3.mpkg/Contents/Packages/pythonZopePloneBase.pkg/Contents/Resources/alertDialog.py", line 10, in <module>
Jul 12 12:05:48 plone-test : preflight[400]:     import sys, wx
Jul 12 12:05:48 plone-test : preflight[400]: ImportError: No module named wx
Jul 12 12:05:48 plone-test : preflight[400]:
Jul 12 12:05:48 plone-test : Private/Total = (4.2MB, 62.9MB),  Heap/Total = (1.1MB, 16.5MB),  Regions(malloc, private) = (23, 26)
Jul 12 12:05:48 plone-test : It took 1.054197 seconds to unsuccessfully install "Plone 3.2.3" (2 pkg(s))
Jul 12 12:05:48 plone-test : It took 1.004876 seconds to Configuring volume "Macintosh HD" (dm prepare*disk)
Jul 12 12:05:48 plone-test : It took 0.045142 seconds to run preflight script for Standalone Zope
Jul 12 12:05:48 plone-test : Jul 12 12:05:48 plone-test : Summary Information
Jul 12 12:05:48 plone-test : Type           Elapsed time (sec)
Jul 12 12:05:48 plone-test :          script           0.045142
Jul 12 12:05:48 plone-test :            disk           1.004886
Jul 12 12:05:48 plone-test :         install           0.000000
Jul 12 12:05:48 plone-test :            zero           0.004169
Jul 12 12:05:48 plone-test :


I couldn't find anything on this forum describing this problem.  I'm running on OS X (10.4.11) with native Python 2.5.2.  (I realize Plone installs it's own copy of Python).

Any help would be appreciated, I really want to investigate whether Plone is suited for a project I'm doing.

Thanks
Steve McMahon () Re: Problem with Plone OS X installer on OS X 10.4.11
Reply Threaded More More options
Print post
Permalink
The real error here is:

Jul 12 12:05:48 plone-test : preflight[400]: ImportError: No module named wx

This means that the system Python didn't have wxwidgets available, which should be a part of the standard system Python on a 10.4.11 install. Is there any chance you've replaced the system Python? (There's also some chance that there's been a regression in the installer. I don't check every release on a 10.4.x machine.)

If the problem is a change in the system Python, the thing to do would be to install the XCode tools and use the Unified Installer rather than the interactive binary installer.

Steve


On Sun, Jul 12, 2009 at 1:29 PM, zif <[hidden email]> wrote:

Hi,

I just downloaded the OS X dmg installer for Plone.  When I run the
installer, on the "Installation Type" stage, it indicates the installed
"Size" for both the "Stand-Alone Instance" (which I checked) and the "Zeo
Cluster" (which I unchecked) is "0 bytes".  When I click "Install" it runs
for a moment and comes back with the message: "There were errors installing
the software", "Please try installing again".

No matter how many times I try, I get the same thing.  Re-booting my machine
doesn't help.  This seems to be a very odd but fundamental problem.  I
looked in the system logs to see what errors might be there and all I see is
this:

Jul 12 12:05:40 plone-test : Hardware: MacBook1,1 @ 2000 MHz (x2), 2048 MB
Jul 12 12:05:40 plone-test : Running OS Build: 8S2167
Jul 12 12:05:41 plone-test : Plone 3.2.3 Installation Log
Jul 12 12:05:41 plone-test : Opened from:
/Volumes/Plone-3.2.3/Plone-3.2.3.mpkg
Jul 12 12:05:41 plone-test : Distribution: Plone 3.2.3
Jul 12 12:05:41 plone-test : It took 0.261107 seconds to finish launching.
Jul 12 12:05:41 plone-test : Installation checks completed successfully.
Jul 12 12:05:42 plone-test : Package Authoring Error: Infinite loop between
<choice> attributes and mixed state aborted.
Jul 12 12:05:47 plone-test :
================================================================================
Jul 12 12:05:47 plone-test : User picked Custom Install
Jul 12 12:05:47 plone-test : Choices selected for installation:
Jul 12 12:05:47 plone-test :    Install: "Plone 3.2.3"
Jul 12 12:05:47 plone-test :    Install: "Plone" at path
"//Applications/Plone"
Jul 12 12:05:47 plone-test :            pythonZopePloneBase.pkg :
org.plone.plone-3.2.1.plone321.base.pkg : 1
Jul 12 12:05:47 plone-test :    Install: "Stand-Alone Instance"
Jul 12 12:05:47 plone-test :            standaloneZope.pkg :
org.plone.plone-3.2.1.zinstance_nr.pkg : 1
Jul 12 12:05:47 plone-test :
================================================================================
Jul 12 12:05:47 plone-test : It took 0.001424 seconds to summarize the
package selections.
Jul 12 12:05:47 plone-test : NOT Installing into home /Users/plone-test
Jul 12 12:05:47 plone-test : NOT Installing into home /Users/plone-test
Jul 12 12:05:47 plone-test : Starting installation:
Jul 12 12:05:47 plone-test : Preparing volume "Macintosh HD" for
installation
Jul 12 12:05:47 plone-test : Configuring volume "Macintosh HD"
Jul 12 12:05:48 plone-test : Preparing local booted disk
Jul 12 12:05:48 plone-test : Create temporary directory
"/private/tmp/pythonZopePloneBase.pkg.397iwMuYS"
Jul 12 12:05:48 plone-test : run preflight script for Standalone Zope
Jul 12 12:05:48 plone-test : preflight[400]: PACKAGE_PATH:
/Volumes/Plone-3.2.3/Plone-3.2.3.mpkg/Contents/Packages/standaloneZope.pkg
Jul 12 12:05:48 plone-test : preflight[400]: PLONE_HOME: /Applications/Plone
Jul 12 12:05:48 plone-test : preflight[400]: BASE_RESOURCES:
/Volumes/Plone-3.2.3/Plone-3.2.3.mpkg/Contents/Packages/pythonZopePloneBase.pkg/Contents/Resources
Jul 12 12:05:48 plone-test : preflight[400]: Traceback (most recent call
last):
Jul 12 12:05:48 plone-test : preflight[400]:
Jul 12 12:05:48 plone-test : Install failed: The following install step
failed: run preflight script for Standalone Zope
Jul 12 12:05:48 plone-test : preflight[400]:   File
"/Volumes/Plone-3.2.3/Plone-3.2.3.mpkg/Contents/Packages/standaloneZope.pkg/Contents/Resources/preflight",
line 58, in <module>
Jul 12 12:05:48 plone-test : preflight[400]:     import alertDialog
Jul 12 12:05:48 plone-test : preflight[400]:   File
"/Volumes/Plone-3.2.3/Plone-3.2.3.mpkg/Contents/Packages/pythonZopePloneBase.pkg/Contents/Resources/alertDialog.py",
line 10, in <module>
Jul 12 12:05:48 plone-test : preflight[400]:     import sys, wx
Jul 12 12:05:48 plone-test : preflight[400]: ImportError: No module named wx
Jul 12 12:05:48 plone-test : preflight[400]:
Jul 12 12:05:48 plone-test : Private/Total = (4.2MB, 62.9MB),  Heap/Total =
(1.1MB, 16.5MB),  Regions(malloc, private) = (23, 26)
Jul 12 12:05:48 plone-test : It took 1.054197 seconds to unsuccessfully
install "Plone 3.2.3" (2 pkg(s))
Jul 12 12:05:48 plone-test : It took 1.004876 seconds to Configuring volume
"Macintosh HD" (dm prepare*disk)
Jul 12 12:05:48 plone-test : It took 0.045142 seconds to run preflight
script for Standalone Zope
Jul 12 12:05:48 plone-test : Jul 12 12:05:48 plone-test : Summary
Information
Jul 12 12:05:48 plone-test : Type           Elapsed time (sec)
Jul 12 12:05:48 plone-test :          script           0.045142
Jul 12 12:05:48 plone-test :            disk           1.004886
Jul 12 12:05:48 plone-test :         install           0.000000
Jul 12 12:05:48 plone-test :            zero           0.004169
Jul 12 12:05:48 plone-test :

I couldn't find anything on this forum describing this problem.  I'm running
on OS X (10.4.11) with native Python 2.5.2.  (I realize Plone installs it's
own copy of Python).

Any help would be appreciated, I really want to investigate whether Plone is
suited for a project I'm doing.

Thanks
--
View this message in context: http://n2.nabble.com/Problem-with-Plone-OS-X-installer-on-OS-X-10.4.11-tp3247174p3247174.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

_______________________________________________
Setup mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/setup



--

Steve McMahon
Reid-McMahon, LLC
[hidden email]
[hidden email]

_______________________________________________
Setup mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/setup
zif () Re: Problem with Plone OS X installer on OS X 10.4.11
Reply Threaded More More options
Print post
Permalink
Thanks Steve.

The Python install should be the OS X 10.4.11 system install, as it came on the machine with any OS X patches Apple may have made.  When Python starts up, it prints:

plone-test:~plone-user$ python
Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
Type "help", "copyright", "credits" or "license" for more information.


I have XCode installed on this test machine.  But I kind of was hoping I wouldn't have to use the Universal installer, maybe I'll try to figure out if there is some way to get the wxwidgets tools installed on this system so I can still use the OS X binary installer.


> The real error here is:
>
> Jul 12 12:05:48 plone-test : preflight[400]: ImportError: No module named wx
>
> This means that the system Python didn't have wxwidgets available, which
> should be a part of the standard system Python on a 10.4.11 install. Is
> there any chance you've replaced the system Python? (There's also some
> chance that there's been a regression in the installer. I don't check every
> release on a 10.4.x machine.)
>
> If the problem is a change in the system Python, the thing to do would be to
> install the XCode tools and use the Unified Installer rather than the
> interactive binary installer.
>
> Steve
Steve McMahon () Re: Problem with Plone OS X installer on OS X 10.4.11
Reply Threaded More More options
Print post
Permalink
I'm away from my office, and don't have access to a 10.4 machine at the moment. But, the 10.4 machines I've tested with in the past all have wx in the library for the included Python.

http://www.python.org/download/mac/

might be a source for a build that should have wx.

On Sun, Jul 12, 2009 at 3:01 PM, zif <[hidden email]> wrote:

Thanks Steve.

The Python install should be the OS X 10.4.11 system install, as it came on
the machine with any OS X patches Apple may have made.  When Python starts
up, it prints:

plone-test:~plone-user$ python
Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

I have XCode installed on this test machine.  But I kind of was hoping I
wouldn't have to use the Universal installer, maybe I'll try to figure out
if there is some way to get the wxwidgets tools installed on this system so
I can still use the OS X binary installer.


> The real error here is:
>
> Jul 12 12:05:48 plone-test : preflight[400]: ImportError: No module named
> wx
>
> This means that the system Python didn't have wxwidgets available, which
> should be a part of the standard system Python on a 10.4.11 install. Is
> there any chance you've replaced the system Python? (There's also some
> chance that there's been a regression in the installer. I don't check
> every
> release on a 10.4.x machine.)
>
> If the problem is a change in the system Python, the thing to do would be
> to
> install the XCode tools and use the Unified Installer rather than the
> interactive binary installer.
>
> Steve

--
View this message in context: http://n2.nabble.com/Problem-with-Plone-OS-X-installer-on-OS-X-10.4.11-tp3247174p3247725.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

_______________________________________________
Setup mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/setup



--

Steve McMahon
Reid-McMahon, LLC
[hidden email]
[hidden email]

_______________________________________________
Setup mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/setup
zif () Re: [Setup] Problem with Plone OS X installer on OS X 10.4.11
Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hi Steve,

Turns out this machine had that download of Python 2.5.2 installed locally for testing some other apps.  Python 2.3 is the default system install.

So I decided to try to install wxPython from wxpython.org in that local Python 2.5.2 install just to see if I might get lucky before reverting the machine back to the default system Python 2.3 (which indeed does have wx installed as you indicate).

Fortunately, I did get lucky and Plone installed just fine, running on it's own copy of Python 2.4 after that of course.  I apologize for not checking this out more fully before posting.  But I guess at least now we have another data point showing just how robust the Plone Mac installer is.  I complement you on that good work.

Thanks very much.


From: Steve McMahon (via Nabble) <[hidden email]>
To: zif <[hidden email]>
Sent: Sunday, July 12, 2009 3:38:08 PM
Subject: Re: [Setup] Problem with Plone OS X installer on OS X 10.4.11

I'm away from my office, and don't have access to a 10.4 machine at the moment. But, the 10.4 machines I've tested with in the past all have wx in the library for the included Python.

http://www.python.org/download/mac/

might be a source for a build that should have wx.

On Sun, Jul 12, 2009 at 3:01 PM, zif <ziffel09@...> wrote:

Thanks Steve.

The Python install should be the OS X 10.4.11 system install, as it came on
the machine with any OS X patches Apple may have made.  When Python starts
up, it prints:

plone-test:~plone-user$ python
Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

I have XCode installed on this test machine.  But I kind of was hoping I
wouldn't have to use the Universal installer, maybe I'll try to figure out
if there is some way to get the wxwidgets tools installed on this system so
I can still use the OS X binary installer.


> The real error here is:
>
> Jul 12 12:05:48 plone-test : preflight[400]: ImportError: No module named
> wx
>
> This means that the system Python didn't have wxwidgets available, which
> should be a part of the standard system Python on a 10.4.11 install. Is
> there any chance you've replaced the system Python? (There's also some
> chance that there's been a regression in the installer. I don't check
> every
> release on a 10.4.x machine.)
>
> If the problem is a change in the system Python, the thing to do would be
> to
> install the XCode tools and use the Unified Installer rather than the
> interactive binary installer.
>
> Steve

--
View this message in context: http://n2.nabble.com/Problem-with-Plone-OS-X-installer-on-OS-X-10.4.11-tp3247174p3247725.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

_______________________________________________
Setup mailing list
Setup@...
http://lists.plone.org/mailman/listinfo/setup



--

Steve McMahon
Reid-McMahon, LLC
steve@...
steve@...

_______________________________________________
Setup mailing list
Setup@....
http://lists.plone.org/mailman/listinfo/setup



View message @ http://n2.nabble.com/Problem-with-Plone-OS-X-installer-on-OS-X-10.4.11-tp3247174p3247872.html
To unsubscribe from Re: Problem with Plone OS X installer on OS X 10.4.11, click here..