<div dir="ltr">Up until <span style="font-family:arial,sans-serif;font-size:13.333333969116211px">  "'%s' field in %s" % (self.getName(), context.info.file ) that was as expected. I've never seen anything like that last bit.</span></div>

<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 17, 2013 at 9:59 AM, Lee Samuel Finn <span dir="ltr"><<a href="mailto:lsfinn@gwastro.org" target="_blank">lsfinn@gwastro.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Well, I didn't get a socket error; but, I also didn't run successfully: <div>

<br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div>appletree [127] Yeah? Plone/zinstance/bin/plonectl fg</div><div>instance: 2013-06-17 12:50:20 INFO ZServer HTTP server started at Mon Jun 17 12:50:20 2013</div>

<div><span style="white-space:pre-wrap">  </span>Hostname: 0.0.0.0</div><div><span style="white-space:pre-wrap">        </span>Port: 8080</div><div>2013-06-17 12:50:45 INFO ZODB.blob (31988) Blob directory `/Users/lsf/Plone/zinstance/var/blobstorage` is unused and has no layout marker set. Selected `bushy` layout. </div>

<div>2013-06-17 12:50:45 INFO ZODB.blob (31988) Blob temporary directory '/Users/lsf/Plone/zinstance/var/blobstorage/tmp' does not exist. Created new directory.</div><div>2013-06-17 12:50:45 WARNING ZODB.blob (31988) Blob dir /Users/lsf/Plone/zinstance/var/blobstorage/ has insecure mode setting</div>

<div>/Users/lsf/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/fields.py:417: UserWarning: You did not specify an i18n translation domain for the 'title' field in /Users/lsf/Plone/buildout-cache/eggs/Products.CMFDynamicViewFTI-4.0.4-py2.7.egg/Products/CMFDynamicViewFTI/configure.zcml</div>

<div>  "'%s' field in %s" % (self.getName(), context.info.file )</div><div>14.942u 5.926s 1:26.27 24.1%<span style="white-space:pre-wrap"> </span>0+0k 1326+11883io 832pf+0w</div><div>appletree [128] Yeah? </div>

</div></div></blockquote><div><div class="h5"><div><div><div><br></div><div><br></div><div>On Jun 17, 2013, at 12:31 PM, Steve McMahon <<a href="mailto:steve@dcn.org" target="_blank">steve@dcn.org</a>> wrote:</div>
<br>
<blockquote type="cite"><div dir="ltr">Can you run in foreground mode? bin/plonectl fg<div><br></div><div>If that works, you'll have at least narrowed it down to a socket error (and nothing else). We might be able to figure a patch from there.</div>



<div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 17, 2013 at 9:05 AM, Lee Samuel Finn <span dir="ltr"><<a href="mailto:lsfinn@gwastro.org" target="_blank">lsfinn@gwastro.org</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Ahhh . . . no joy. We're back to the socket.error:<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">



<div>appletree [125] Yeah? Plone/zinstance/bin/plonectl start</div><div>instance: . Traceback (most recent call last):</div><div><div><div>  File "/Users/lsf/Plone/zinstance/parts/instance/bin/interpreter", line 264, in <module></div>



</div><div>    execfile(__file__)</div><div>  File "/Users/lsf/Plone/buildout-cache/eggs/zdaemon-2.0.7-py2.7.egg/zdaemon/zdrun.py", line 745, in <module></div><div><div>    main()</div>

</div><div>  File "/Users/lsf/Plone/buildout-cache/eggs/zdaemon-2.0.7-py2.7.egg/zdaemon/zdrun.py", line 742, in main</div><div>    d.main(args)</div><div><div>  File "/Users/lsf/Plone/buildout-cache/eggs/zdaemon-2.0.7-py2.7.egg/zdaemon/zdrun.py", line 241, in main</div>



</div><div>    self.run()</div><div>  File "/Users/lsf/Plone/buildout-cache/eggs/zdaemon-2.0.7-py2.7.egg/zdaemon/zdrun.py", line 245, in run</div><div>    self.opensocket()</div>

<div>  File "/Users/lsf/Plone/buildout-cache/eggs/zdaemon-2.0.7-py2.7.egg/zdaemon/zdrun.py", line 267, in opensocket</div><div>    sock.bind(tempname)</div></div><div><div>  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth</div>



</div><div><div>    return getattr(self._sock,name)(*args)</div><div>socket.error: [Errno 22] Invalid argument</div></div><div>. . . . . . . . . . </div><div><div>daemon manager not running</div>

</div><div>appletree [126] Yeah? </div></blockquote><div><div><br></div><div><br></div><div>The install did grab the macports v2.7.5 python</div><div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">



<div>appletree [120] Yeah? install.sh standalone</div><div>install.sh: Command not found.</div><div>appletree [121] Yeah? ./install.sh standalone</div><div>

<div><br></div></div><div>Testing /opt/local/bin/python2.7 for Zope/Plone requirements....</div><div>/opt/local/bin/python2.7 looks OK. We'll try to use it.</div>

</blockquote><div><br><div><div><div><br></div><div><br></div><div>On Jun 17, 2013, at 11:11 AM, Steve McMahon <<a href="mailto:steve@dcn.org" target="_blank">steve@dcn.org</a>> wrote:</div><br></div>

<div><div><blockquote type="cite"><div dir="ltr">The attachment didn't make it through. It's possible the mailing list drops all attachments.<div><br></div><div>It looks like pyexpat wasn't built with Python. That would mean that the python install could not find the expat headers or libraries. Those are normally included with XCode, so I don't know why they wouldn't be found. Perhaps what was found was out-of-date, and the python build didn't use it. Expat is also available in MacPorts.</div>





<div><br></div><div>My memory is dim, but I'm pretty sure I remember that socket error. It may have been a problem with particular versions of Python on OS X. A later Python 2.7.x might cure it (which was why I suggested the manual Python build).</div>





<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 17, 2013 at 7:46 AM, lsfinn <span dir="ltr"><<a href="mailto:lsfinn@gwastro.org" target="_blank">lsfinn@gwastro.org</a>></span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Steve, <div><br></div><div>The install.log (attached to the previous note; contents copied below) shows that the failure was the absence of the pyexpat module: </div>





<div><br></div><div><div>Detailed installation log</div><div>Starting at Sun Jun 16 23:04:11 EDT 2013</div><div>Traceback (most recent call last):</div><div>  File "/Users/lsf/Plone/zinstance/bin/buildout", line 9, in <module></div>





<div>    import zc.buildout.buildout</div><div>  File "/Users/lsf/Plone/buildout-cache/eggs/zc.buildout-1.7.1-py2.7.egg/zc/buildout/buildout.py", line 31, in <module></div><div>    import pkg_resources</div>





<div>  File "/Users/lsf/Plone/buildout-cache/eggs/distribute-0.6.28-py2.7.egg/pkg_resources.py", line 724, in <module></div><div>    class Environment(object):</div><div>  File "/Users/lsf/Plone/buildout-cache/eggs/distribute-0.6.28-py2.7.egg/pkg_resources.py", line 727, in Environment</div>





<div>    def __init__(self, search_path=None, platform=get_supported_platform(), python=PY_MAJOR):</div><div>  File "/Users/lsf/Plone/buildout-cache/eggs/distribute-0.6.28-py2.7.egg/pkg_resources.py", line 109, in get_supported_platform</div>





<div>    plat = 'macosx-%s-%s' % ('.'.join(_macosx_vers()[:2]), m.group(3))</div><div>  File "/Users/lsf/Plone/buildout-cache/eggs/distribute-0.6.28-py2.7.egg/pkg_resources.py", line 221, in _macosx_vers</div>





<div>    version = platform.mac_ver()[0]</div><div>  File "/Users/lsf/Plone/Python-2.7/lib/python2.7/platform.py", line 804, in mac_ver</div><div>    info = _mac_ver_xml()</div><div>  File "/Users/lsf/Plone/Python-2.7/lib/python2.7/platform.py", line 781, in _mac_ver_xml</div>





<div>    pl = plistlib.readPlist(fn)</div><div>  File "/Users/lsf/Plone/Python-2.7/lib/python2.7/plistlib.py", line 78, in readPlist</div><div>    rootObject = p.parse(pathOrFile)</div><div>  File "/Users/lsf/Plone/Python-2.7/lib/python2.7/plistlib.py", line 401, in parse</div>





<div>    from xml.parsers.expat import ParserCreate</div><div>  File "/Users/lsf/Plone/Python-2.7/lib/python2.7/xml/parsers/expat.py", line 4, in <module></div><div>    from pyexpat import *</div><div>ImportError: No module named pyexpat</div>





<div> </div><div>Best, </div><div><br></div><div>Sam</div><div><br><div><div><div>On Jun 17, 2013, at 10:18 AM, Steve McMahon [via Plone] <<a href="http://user/SendEmail.jtp?type=node&node=7565952&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>> wrote:</div>





<br></div><blockquote style="border-left:2px solid #cccccc;padding:0 1em" type="cite"><div>

        <div dir="ltr">Can you check the install.log (pointed to in the error message) and determine where it failed?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Sun, Jun 16, 2013 at 8:10 PM, lsfinn <span dir="ltr"><<a href="<a>x-msg://263/user/SendEmail.jtp?type=node&amp;node=7565951&amp;i=0</a>" target="_top" rel="nofollow" link="external">[hidden email]></span> wrote:<br>







</div><blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div>Dear Steve, <div><br></div><div>Thanks much for your stepping-in to help. </div><div><br></div><div>I tried with the --build-python flag; however, the install failed. Following are the status messages; attached is the install.log file. </div>







<div><br></div><div>Best, </div><div><br></div><div>Sam</div><div><br></div><div><br></div><div><div>appletree [113] Yeah? ./install.sh --build-python standalone</div><div><br></div><div>We already have a Python environment for this target; ignoring --build-python.</div>







<div>Rootless install method chosen. Will install for use by system user lsf</div><div><br></div><div>Detailed installation log being written to /Users/lsf/Desktop/Plone-4.3-UnifiedInstaller/install.log</div><div>Installing Plone 4.3 at /Users/lsf/Plone</div>







<div><br></div><div>Skipping libjpeg build</div><div>Unpacking buildout cache to /Users/lsf/Plone/buildout-cache</div><div>Copying Plone-docs</div><div>Copying buildout skeleton</div><div>Fixing up bin/buildout</div><div>







Building Zope/Plone; this takes a while...</div><div>Buildout returned an error code: 1; Aborting.</div><div>Buildout failed. Unable to continue</div><div><br></div><div>Installation has failed.</div><div>See the detailed installation log at /Users/lsf/Desktop/Plone-4.3-UnifiedInstaller/install.log</div>







<div>to determine the cause.</div><div>11.451u 10.034s 1:52.69 19.0%<span style="white-space:pre-wrap">       </span>0+0k 923+50740io 608pf+0w</div><div><br></div><div><div></div></div></div><br></div><div><div><div>



<div><div>
</div>
<div><br></div><div>On Jun 16, 2013, at 8:54 PM, Steve McMahon [via Plone] <<a href="http://user/SendEmail.jtp?type=node&node=7565938&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>> wrote:</div>







<br></div></div><blockquote style="border-left:2px solid #cccccc;padding:0 1em" type="cite"><div><div>

        <div dir="ltr">Sam,<div><br></div><div>Could you try reinstalling using the "--build-python" flag for ./install.sh. I'd like to see if it it's the OS X python that's troubled.</div></div></div>

</div><div class="gmail_extra">



<br><br><div class="gmail_quote"><div>On Sun, Jun 16, 2013 at 4:16 PM, lsfinn <span dir="ltr"><<a href="<a href="<a>x-msg://5/user/SendEmail.jtp?type=node&amp;amp;node=7565937&amp;amp;i=0</a>"><a>x-msg://5/user/SendEmail.jtp?type=node&amp;node=7565937&amp;i=0</a>" target="_top" rel="nofollow" link="external">[hidden email]></span> wrote:<br>







</div><blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div>

Hi,<br>
<br>
I've the 4.3-UnifiedInstaller (rootless standalone) on OS X 10.4. Apache2 is<br>
running. I'm using the OS X python (v2.7.2). When I try to start plone using<br>
plonectl I get the following error message.<br>
<br>
appletree [158] Yeah? bin/plonectl start<br>
instance: . . . Traceback (most recent call last):<br>
  File "/Users/lsf/Plone/zinstance/parts/instance/bin/interpreter", line<br>
264, in <module><br>
    execfile(__file__)<br>
  File<br>
"/Users/lsf/Plone/buildout-cache/eggs/zdaemon-2.0.7-py2.7.egg/zdaemon/zdrun.py",<br>
line 745, in <module><br>
    main()<br>
  File<br>
"/Users/lsf/Plone/buildout-cache/eggs/zdaemon-2.0.7-py2.7.egg/zdaemon/zdrun.py",<br>
line 742, in main<br>
    d.main(args)<br>
  File<br>
"/Users/lsf/Plone/buildout-cache/eggs/zdaemon-2.0.7-py2.7.egg/zdaemon/zdrun.py",<br>
line 241, in main<br>
    self.run()<br>
  File<br>
"/Users/lsf/Plone/buildout-cache/eggs/zdaemon-2.0.7-py2.7.egg/zdaemon/zdrun.py",<br>
line 245, in run<br>
    self.opensocket()<br>
  File<br>
"/Users/lsf/Plone/buildout-cache/eggs/zdaemon-2.0.7-py2.7.egg/zdaemon/zdrun.py",<br>
line 267, in opensocket<br>
    sock.bind(tempname)<br>
  File<br>
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py",<br>
line 224, in meth<br>
    return getattr(self._sock,name)(*args)<br>
socket.error: [Errno 22] Invalid argument<br>
. . . . . . . .<br>
daemon manager not running<br>
<br>
The same (i.e., identical) error messages arise when I try to start via<br>
instance.<br>
<br>
I'd appreciate any help or suggestions on things to try. Thanks much,<br>
<br>
Sam<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://plone.293351.n2.nabble.com/plonectl-start-socket-error-Errno-22-Invalid-argument-tp7565936.html" rel="nofollow" link="external" target="_blank">http://plone.293351.n2.nabble.com/plonectl-start-socket-error-Errno-22-Invalid-argument-tp7565936.html</a><br>










Sent from the Installation, Setup, Upgrades mailing list archive at <a href="http://nabble.com/" rel="nofollow" link="external" target="_blank">Nabble.com</a>.<br>
_______________________________________________<br>
Setup mailing list<br></div>
<a href="<a href="<a>x-msg://5/user/SendEmail.jtp?type=node&amp;amp;node=7565937&amp;amp;i=1</a>"><a>x-msg://5/user/SendEmail.jtp?type=node&amp;node=7565937&amp;i=1</a>" target="_top" rel="nofollow" link="external">[hidden email]<br>






<a href="https://lists.plone.org/mailman/listinfo/plone-setup" rel="nofollow" link="external" target="_blank">https://lists.plone.org/mailman/listinfo/plone-setup</a><br>
</blockquote></div><br></div>
<br>_______________________________________________
<br>Setup mailing list
<br><a href="<a href="<a>x-msg://5/user/SendEmail.jtp?type=node&amp;amp;node=7565937&amp;amp;i=2</a>"><a>x-msg://5/user/SendEmail.jtp?type=node&amp;node=7565937&amp;i=2</a>" target="_top" rel="nofollow" link="external">[hidden email]
<br><div><a href="https://lists.plone.org/mailman/listinfo/plone-setup" rel="nofollow" link="external" target="_blank">https://lists.plone.org/mailman/listinfo/plone-setup</a><br>

        
        
        
        <br>
        <br>
        <hr noshade size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://plone.293351.n2.nabble.com/plonectl-start-socket-error-Errno-22-Invalid-argument-tp7565936p7565937.html" rel="nofollow" link="external" target="_blank">http://plone.293351.n2.nabble.com/plonectl-start-socket-error-Errno-22-Invalid-argument-tp7565936p7565937.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from plonectl start -> socket.error: [Errno 22] Invalid argument, <a rel="nofollow" link="external">click here</a>.<br>
                <a href="http://plone.293351.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" link="external" target="_blank">NAML</a>
        </div></div></blockquote></div><div><br><div>
<div><span style="border-collapse:separate;border-spacing:0px"><div>--</div><div>Lee Samuel Finn</div><div>Professor, Dept Physics; </div><div>  Dept Astronomy & Astrophysics</div><div>The Pennsylvania State University</div>







<div>104 Davey Laboratory</div><div>University Park, PA 16802</div></span></div>

</div>
<br></div></div><div><div><br><img> <strong>install.log</strong> (1K) <a href="http://plone.293351.n2.nabble.com/attachment/7565938/0/install.log" rel="nofollow" link="external" target="_blank">Download Attachment</a></div>







        
        
        
<br><hr align="left" width="300">
View this message in context: <a href="http://plone.293351.n2.nabble.com/plonectl-start-socket-error-Errno-22-Invalid-argument-tp7565936p7565938.html" rel="nofollow" link="external" target="_blank">Re: plonectl start -> socket.error: [Errno 22] Invalid argument</a><div>







<div><br>
Sent from the <a href="http://plone.293351.n2.nabble.com/Installation-Setup-Upgrades-f293353.html" rel="nofollow" link="external" target="_blank">Installation, Setup, Upgrades mailing list archive</a> at <a href="http://nabble.com/" rel="nofollow" link="external" target="_blank">Nabble.com</a>.<br>





</div></div><br>_______________________________________________<br>


Setup mailing list<br></div>
<a href="<a>x-msg://263/user/SendEmail.jtp?type=node&amp;node=7565951&amp;i=1</a>" target="_top" rel="nofollow" link="external">[hidden email]<br>
<a href="https://lists.plone.org/mailman/listinfo/plone-setup" rel="nofollow" link="external" target="_blank">https://lists.plone.org/mailman/listinfo/plone-setup</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________
<br>Setup mailing list
<br><a href="<a>x-msg://263/user/SendEmail.jtp?type=node&amp;node=7565951&amp;i=2</a>" target="_top" rel="nofollow" link="external">[hidden email]
<br><a href="https://lists.plone.org/mailman/listinfo/plone-setup" rel="nofollow" link="external" target="_blank">https://lists.plone.org/mailman/listinfo/plone-setup</a><br>

        
        
        
        <br>
        <br>
        <hr noshade size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div>
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://plone.293351.n2.nabble.com/plonectl-start-socket-error-Errno-22-Invalid-argument-tp7565936p7565951.html" rel="nofollow" link="external" target="_blank">http://plone.293351.n2.nabble.com/plonectl-start-socket-error-Errno-22-Invalid-argument-tp7565936p7565951.html</a>
        </div><div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from plonectl start -> socket.error: [Errno 22] Invalid argument, <a rel="nofollow" link="external">click here</a>.<br>
                <a href="http://plone.293351.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" link="external" target="_blank">NAML</a>
        </div></div></blockquote></div><div><br><div>
<div><span style="border-collapse:separate;border-spacing:0px"><div>--</div><div>Lee Samuel Finn</div><div>Professor, Dept Physics; </div><div>  Dept Astronomy & Astrophysics</div><div>The Pennsylvania State University</div>





<div>104 Davey Laboratory</div><div>University Park, PA 16802</div></span></div>

</div>
<br></div></div></div><div>

        
        
        
<br><hr align="left" width="300">
View this message in context: <a href="http://plone.293351.n2.nabble.com/plonectl-start-socket-error-Errno-22-Invalid-argument-tp7565936p7565952.html" target="_blank">Re: plonectl start -> socket.error: [Errno 22] Invalid argument</a><br>






Sent from the <a href="http://plone.293351.n2.nabble.com/Installation-Setup-Upgrades-f293353.html" target="_blank">Installation, Setup, Upgrades mailing list archive</a> at <a href="http://nabble.com/" target="_blank">Nabble.com</a>.<br>



</div><br>_______________________________________________<br>


Setup mailing list<br>
<a href="mailto:Setup@lists.plone.org" target="_blank">Setup@lists.plone.org</a><br>
<a href="https://lists.plone.org/mailman/listinfo/plone-setup" target="_blank">https://lists.plone.org/mailman/listinfo/plone-setup</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>Setup mailing list<br><a href="mailto:Setup@lists.plone.org" target="_blank">Setup@lists.plone.org</a><br><a href="https://lists.plone.org/mailman/listinfo/plone-setup" target="_blank">https://lists.plone.org/mailman/listinfo/plone-setup</a><br>



</blockquote></div></div></div><div><div><br><div>
<div><span style="border-collapse:separate;border-spacing:0px"><div>--</div><div>Lee Samuel Finn</div><div>Professor, Dept Physics; </div><div>  Dept Astronomy & Astrophysics</div><div>The Pennsylvania State University</div>



<div>104 Davey Laboratory</div><div>University Park, PA 16802</div></span></div>

</div>
<br></div></div></div></div></blockquote></div><br></div>
</blockquote></div><br><div>
<div><span style="border-collapse:separate;border-spacing:0px"><div>--</div><div>Lee Samuel Finn</div><div>Professor, Dept Physics; </div><div>  Dept Astronomy & Astrophysics</div><div>The Pennsylvania State University</div>

<div>104 Davey Laboratory</div><div>University Park, PA 16802</div></span></div>

</div>
<br></div></div></div></div></blockquote></div><br></div>