Discussion:
mfabrik distribution
fasith
2012-03-07 11:45:10 UTC
Permalink
i exeute bin\buidout -v ,i get error(ParsingError: File contains
parsing errors: C:\Plone41\buildout.cfg
[line 17]: 'mfabrik.webandmobile\n'
[line 70]: 'PasteScript\n')

buildout.cfg here

please give me soultion


[buildout]
extends=
http://dist.plone.org/release/4.1.3/versions.cfg
http://good-py.appspot.com/release/dexterity/1.0b2?plone=4.0.1
versions = versions
eggs-directory = eggs
unzip = true
newest = false
extensions = buildout.dumppickedversions

eggs =
PIL
Products.CMFPlone
plone.app.iterate
plone.app.openid
Products.CMFPlacefulWorkflow
mfabrik.webandmobile
zcml =

parts =
zeo
instance
run-instance
run-zeo
service
service-zeo

index = http://pypi.python.org/simple/

find-links =
http://dist.plone.org/release/4.1.3/
http://dist.enfoldsystems.com/simple/
http://effbot.org/downloads/

[versions]
distribute = 0.6.24
PIL = 1.1.7-enfold2

[shared]
user = admin:admin
http-address = 8080
zeo-address = 8099
debug-mode = off
verbose-security = off

[zeo]
recipe = plone.recipe.zeoserver
zeo-address = ${shared:zeo-address}
eggs = ${buildout:eggs}
blob-storage = ${buildout:directory}/var/blobstorage

[instance]
recipe = plone.recipe.zope2instance
user = ${shared:user}
http-address = ${shared:http-address}
debug-mode = ${shared:debug-mode}
verbose-security = ${shared:verbose-security}
deprecation-warnings = off
eggs = ${buildout:eggs}
zcml = ${buildout:zcml}
zeo-client = true
zeo-address = ${shared:zeo-address}
blob-storage = ${zeo:blob-storage}
shared-blob = on

[run-instance]
recipe = zc.recipe.egg
entry-points = run-instance=Zope2.Startup.run:run
eggs =
PasteScript
gomobile.templates
${instance:eggs}
plone.recipe.zope2instance
initialization = import sys
sys.argv[1:] = ['-C', r'${buildout:directory}\parts\instance\etc
\zope.conf'] + sys.argv[1:]

[run-zeo]
recipe = zc.recipe.egg
entry-points = run-zeo=ZEO.runzeo:main
eggs = ${buildout:eggs}
initialization = import sys
sys.argv[1:] = ['-C', r'${buildout:directory}\parts\zeo\etc
\zeo.conf'] + sys.argv[1:]

[service]
recipe = enfold.recipe.winservice:service
name = Plone 4.1
runzope = run-instance

[service-zeo]
recipe = enfold.recipe.winservice:service
name = Plone 4.1 Zeo
runzope = run-zeo
Maurits van Rees
2012-03-07 12:46:28 UTC
Permalink
Hi,
Post by fasith
i exeute bin\buidout -v ,i get error(ParsingError: File contains
parsing errors: C:\Plone41\buildout.cfg
[line 17]: 'mfabrik.webandmobile\n'
[line 70]: 'PasteScript\n')
Those lines should be indented. The way that you have it now means for the option parser that you start a new option but it does not have an '=' sign, so it cannot parse the file.

To give the example of the line with PasteScript, you currently have this:

eggs =
PasteScript
gomobile.templates

That should be:

eggs =
PasteScript
gomobile.templates

(preferrably with four spaces in front, but the exact amount does not really matter, as long as it is the same for all option values.)

Alternatively, list all eggs on one line, separated by a space. So in this case:

eggs = PasteScript gomobile.templates

Personally, I prefer the 'one egg per line' approach.

Kind regards,

Maurits van Rees

Loading...