[Zope-dev] Zope 2.12.2 SyntaxError on installation

2009-12-29 Thread Marius Gedminas
Following the guide at http://docs.zope.org/zope2/releases/2.12/INSTALL.html#buildout-instances I get the following error: m...@platonas:~/src/akl-website-z2.12-experiment $ python2.5 bootstrap.py Creating directory '/home/mg/src/akl-website-z2.12-experiment/bin'. Creating directory

Re: [Zope-dev] Zope 2.12.2 SyntaxError on installation

2009-12-29 Thread Hanno Schlichting
2009/12/29 Marius Gedminas mar...@gedmin.as: I get the following error:    File build/bdist.linux-i686/egg/Zope2/utilities/load_site.py, line 248      body = (htmlheadtitledtml-var title_or_id/title                                                               ^  SyntaxError: EOL while

Re: [Zope-dev] Zope 2.12.2 SyntaxError on installation

2009-12-29 Thread Marius Gedminas
On Tue, Dec 29, 2009 at 03:30:20PM +0100, Hanno Schlichting wrote: 2009/12/29 Marius Gedminas mar...@gedmin.as: I get the following error:    File build/bdist.linux-i686/egg/Zope2/utilities/load_site.py, line 248      body = (htmlheadtitledtml-var title_or_id/title                      

Re: [Zope-dev] Zope 2.12.2 SyntaxError on installation

2009-12-29 Thread Chris Withers
Marius Gedminas wrote: Well. You didn't specify a database file in your zope,conf it seems. Without a declaration, there's no database. Makes sense, in a rather user-unfriendly way. May I suggest the documentation be amended to supply a closer-to-working zope.conf? I'm referring to this

Re: [Zope-dev] Zope 2.12.2 SyntaxError on installation

2009-12-29 Thread Marius Gedminas
On Tue, Dec 29, 2009 at 03:59:07PM +, Chris Withers wrote: Marius Gedminas wrote: Well. You didn't specify a database file in your zope,conf it seems. Without a declaration, there's no database. Makes sense, in a rather user-unfriendly way. May I suggest the documentation be

Re: [Zope-dev] Zope 2.12.2 SyntaxError on installation

2009-12-29 Thread Hanno Schlichting
On Tue, Dec 29, 2009 at 9:43 PM, Marius Gedminas mar...@gedmin.as wrote: On Tue, Dec 29, 2009 at 03:59:07PM +, Chris Withers wrote: Marius Gedminas wrote: It'd be even better if there was a command I could run to generate an up-to-date default zope.conf, like mkzopeinstance does.  Is there

Re: [Zope-dev] Zope 2.12.2 SyntaxError on installation

2009-12-29 Thread Marius Gedminas
On Tue, Dec 29, 2009 at 09:56:01PM +0100, Hanno Schlichting wrote: On Tue, Dec 29, 2009 at 9:43 PM, Marius Gedminas mar...@gedmin.as wrote: On Tue, Dec 29, 2009 at 03:59:07PM +, Chris Withers wrote: Marius Gedminas wrote: It'd be even better if there was a command I could run to

Re: [Zope-dev] Zope 2.12.2 SyntaxError on installation

2009-12-29 Thread Hanno Schlichting
On Tue, Dec 29, 2009 at 10:53 PM, Marius Gedminas mar...@gedmin.as wrote: Ah, but then why The Official Zope 2.12 Installation Guide at http://docs.zope.org/zope2/releases/2.12/INSTALL.html#buildout-instances doesn't even mention plone.recipe.zope2instance? Should it?  The namespace of the

Re: [Zope-dev] Zope 2.12.2 SyntaxError on installation

2009-12-29 Thread Marius Gedminas
On Tue, Dec 29, 2009 at 11:11:20PM +0100, Hanno Schlichting wrote: On Tue, Dec 29, 2009 at 10:53 PM, Marius Gedminas mar...@gedmin.as wrote: Ah, but then why The Official Zope 2.12 Installation Guide at http://docs.zope.org/zope2/releases/2.12/INSTALL.html#buildout-instances doesn't even

Re: [Zope-dev] Zope 2.12.2 SyntaxError on installation

2009-12-29 Thread Chris Withers
Marius Gedminas wrote: Or we could put a sample zope.conf somewhere on the web (heck, in svn is fine, using those nice *checkout* urls we've already used for downloading buildout's bootstrap.py or the Zope 2.12.2 versions.cfg). Sphinx also supports the ability to insert a link to a file. Maybe

Re: [Zope-dev] Zope 2.12.2 SyntaxError on installation

2009-12-29 Thread Chris Withers
Hanno Schlichting wrote: Well, either you use mkzopeinstance, which indeed generates an instance for you with all things included, or if you use buildout you use a recipe like plone.recipe.zope2instance, in which case all it takes is: [instance] recipe = plone.recipe.zope2instance eggs =

Re: [Zope-dev] Zope 2.12.2 SyntaxError on installation

2009-12-29 Thread Hanno Schlichting
On Tue, Dec 29, 2009 at 11:28 PM, Marius Gedminas mar...@gedmin.as wrote: What do y'all Zope-2-maintainer-people think about this patch? [...] Looks good. I'll take that as a +0. Please do. Thanks, Hanno ___ Zope-Dev maillist - Zope-Dev@zope.org

Re: [Zope-dev] Zope 2.12.2 SyntaxError on installation

2009-12-29 Thread Chris Withers
Hanno Schlichting wrote: To be honest the reason that recipe isn't mentioned there, is because Chris Withers worked on that section and didn't feel like it belongs there. And nobody else cared a great deal. Exactly. That section is for people who are moving existing Zope instances to 2.12,

Re: [Zope-dev] Zope 2.12.2 SyntaxError on installation

2009-12-29 Thread Chris Withers
Marius Gedminas wrote: What do y'all Zope-2-maintainer-people think about this patch? Index: doc/INSTALL.rst === --- doc/INSTALL.rst (revision 107265) +++ doc/INSTALL.rst (working copy) @@ -136,11 +136,16 @@

Re: [Zope-dev] Zope 2.12.2 SyntaxError on installation

2009-12-29 Thread Marius Gedminas
On Tue, Dec 29, 2009 at 10:50:23PM +, Chris Withers wrote: Marius Gedminas wrote: Now the using buildout section of INSTALL.rst leaves the user to write one completely from scratch Anyone using that section of the docs should be happy doing that ;-) without any tool support or