Re: plone buildout: ImportError: No module named ImplPython

Andreas Jung <[email protected]>
Newsgroups gmane.comp.web.zope.german
Organization ZOPYX Ltd & Co. KG
Message-ID <[email protected]>
Interessanterweise bekomme ich den gleichen Fehler aktuell bei mir mit
einem Plone Buildout - reproduzierbar nach dem ich ein neues Package
(z3c.unconfigure)
unter 'eggs' und 'zcml' eingetragen habe. Nach Entfernen des Package aus
der buildout.cfg
verschwindet das Problem wieder - bizarr.

Andreas

On 14.05.09 08:30, Michael Graf wrote:
> Hallo Liste,
> schön langsam werde ich "warm" mit den Plone buildouts...
>
> Allerdings bekomme ich ungefähr seit vorgestern beim Starten der Instanz immer den gleichen Fehler:
> Bin auch schon etwas leicht genervt, also sehe ich wahrscheinlich den Wald vor lauter Bäumen nicht mehr...
>
> ------------------------------------------------------------------------------
>
> C:\Server\instance\dev>bin\instance fg
> C:\Server\instance\dev\parts\instance\bin\runzope -X debug-mode=on
>
> C:\Server\instance\dev>"C:\Server\Python24\python.exe" "C:\Server\instance\dev\parts\instance\bin\se
> rvicewrapper.py" -C "C:\Server\instance\dev\parts\instance\etc\zope.conf" "-X" "debug-mode=on"
>
> Traceback (most recent call last):
>   File "C:\Server\instance\dev\parts\instance\bin\servicewrapper.py", line 97, in ?
>     run.run()
>   File "C:\Server\instance\dev\parts\zope2\lib\python\Zope2\Startup\run.py", line 19, in run
>     opts = _setconfig()
>   File "C:\Server\instance\dev\parts\zope2\lib\python\Zope2\Startup\run.py", line 48, in _setconfig
>     opts.realize(doc="Sorry, no option docs yet.")
>   File "C:\Server\instance\dev\parts\zope2\lib\python\zdaemon\zdoptions.py", line 273, in realize
>     self.load_schema()
>   File "C:\Server\instance\dev\parts\zope2\lib\python\zdaemon\zdoptions.py", line 321, in load_schem
> a
>     self.schema = ZConfig.loadSchema(self.schemafile)
>   File "C:\Server\instance\dev\parts\zope2\lib\python\ZConfig\loader.py", line 31, in loadSchema
>     return SchemaLoader().loadURL(url)
>   File "C:\Server\instance\dev\parts\zope2\lib\python\ZConfig\loader.py", line 65, in loadURL
>     return self.loadResource(r)
>   File "C:\Server\instance\dev\parts\zope2\lib\python\ZConfig\loader.py", line 159, in loadResource
>     schema = ZConfig.schema.parseResource(resource, self)
>   File "C:\Server\instance\dev\parts\zope2\lib\python\ZConfig\schema.py", line 27, in parseResource
>     xml.sax.parse(resource.file, parser)
>   File "C:\Server\Python24\lib\xml\sax\__init__.py", line 33, in parse
>     parser.parse(source)
>   File "C:\Server\Python24\lib\xml\sax\expatreader.py", line 107, in parse
>     xmlreader.IncrementalParser.parse(self, source)
>   File "C:\Server\Python24\lib\xml\sax\xmlreader.py", line 123, in parse
>     self.feed(buffer)
>   File "C:\Server\Python24\lib\xml\sax\expatreader.py", line 207, in feed
>     self._parser.Parse(data, isFinal)
>   File "C:\Server\Python24\lib\xml\sax\expatreader.py", line 300, in start_element
>     self._cont_handler.startElement(name, AttributesImpl(attrs))
>   File "C:\Server\instance\dev\parts\zope2\lib\python\ZConfig\schema.py", line 99, in startElement
>     getattr(self, "start_" + name)(attrs)
>   File "C:\Server\instance\dev\parts\zope2\lib\python\ZConfig\schema.py", line 475, in start_schema
>     keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
>   File "C:\Server\instance\dev\parts\zope2\lib\python\ZConfig\schema.py", line 201, in get_sect_type
> info
>     datatype = self.get_datatype(attrs, "datatype", "null", base)
>   File "C:\Server\instance\dev\parts\zope2\lib\python\ZConfig\schema.py", line 194, in get_datatype
>     return self._registry.get(dtname)
>   File "C:\Server\instance\dev\parts\zope2\lib\python\ZConfig\datatypes.py", line 398, in get
>     t = self.search(name)
>   File "C:\Server\instance\dev\parts\zope2\lib\python\ZConfig\datatypes.py", line 423, in search
>     package = __import__(n, g, g, component)
>   File "C:\Server\instance\dev\parts\zope2\lib\python\Zope2\Startup\datatypes.py", line 21, in ?
>     import OFS.Uninstalled
>   File "C:\Server\instance\dev\parts\zope2\lib\python\OFS\Uninstalled.py", line 16, in ?
>     import  SimpleItem, Globals, Acquisition
>   File "C:\Server\instance\dev\parts\zope2\lib\python\OFS\SimpleItem.py", line 26, in ?
>     import AccessControl.Role, AccessControl.Owned, App.Common
>   File "C:\Server\instance\dev\parts\zope2\lib\python\AccessControl\__init__.py", line 17, in ?
>     from Implementation import setImplementation
>   File "C:\Server\instance\dev\parts\zope2\lib\python\AccessControl\Implementation.py", line 98, in
> ?
>     setImplementation("C")
>   File "C:\Server\instance\dev\parts\zope2\lib\python\AccessControl\Implementation.py", line 51, in
> setImplementation
>     from AccessControl import ImplC as impl
>   File "C:\Server\instance\dev\parts\zope2\lib\python\AccessControl\ImplC.py", line 30, in ?
>     from ImplPython import RestrictedDTML, SecurityManager, ZopeSecurityPolicy
> ImportError: No module named ImplPython
>
> ------------------------------------------------------------------------------
>
>
>
> Dank Google hab ich theoretisch schon eine Lösung gefunden, allerdings funktioniert diese bei mir nicht - oder ich hab irgendwo einen Fehler gemacht. Mein buildout.cfg:
>
> [buildout]
> parts =
>     zope2
>     productdistros
>     instance
>     zopepy
>
> newest = false
>
> extends = http://dist.plone.org/release/3.2.2/versions.cfg
> versions = versions
>
> find-links =
>     http://dist.plone.org/release/3.2.2
>     http://download.zope.org/ppix/
>     http://download.zope.org/distribution/
>     http://effbot.org/downloads
>
> eggs =
>
> develop =
>
> [zope2]
> recipe = plone.recipe.zope2install
> fake-zope-eggs = true
> additional-fake-eggs =
>     ZODB3
> url = ${versions:zope2-url}
>
> [productdistros]
> recipe = plone.recipe.distros
> urls =
> nested-packages =
> version-suffix-packages =
>
> [instance]
> recipe = plone.recipe.zope2instance
> zope2-location = ${zope2:location}
> user = admin:admin
> http-address = 8080
> debug-mode = on
> verbose-security = on
>
> eggs =
>     Plone
>     ${buildout:eggs}
>
> zcml =
>
> products =
>     ${buildout:directory}/products
>     ${productdistros:location}
>
> [zopepy]
> recipe = zc.recipe.egg
> eggs = ${instance:eggs}
> interpreter = zopepy
> extra-paths = ${zope2:location}/lib/python
> scripts = zopepy
>
> [versions]
> zope.component=3.5.1
>
> -----------------------------------------------------------------------
>
>
> Hoffe hier kann mir jemand helfen und Licht ins dunkel zu bringen :-)
>
> Danke, Michi
>
>
>
> Michael Graf
> Webmaster
>
> IMC Fachhochschule Krems
> University of Applied Sciences Krems
> A-3500 Krems, Austria, Europe
>
> Office:
> Campus Krems, Trakt G, Room 4.08
> T: +43-(0)2732-802- ext. 519
> F: +43-(0)2732-802-4
> E-Mail: [email protected]
>
>
> Diese Nachricht erhalten Sie von einem IMC Mitarbeiter.
> Allfallige angehängte Dokumente sind vertraulich und nur für den/die Adressaten bestimmt. Sollten Sie nicht der beabsichtigte Adressat sein, ist jede Offenlegung, Weiterleitung oder sonstige Verwendung dieser Information nicht gestattet. In diesem Fall bitten wir, den Absender zu verstandigen und die Information zu vernichten. Für Übermittlungsfehler oder sonstige Irrtumer bei Übermittlung besteht keine Haftung.
>
> This message is being transmitted by an IMC employee.
> Any attached files are confidential and intended solely for the addressee(s). Any publication, transmission or other use of the information by a person or entity other than the intended addressee is prohibited. If you receive this in error please contact the sender and delete the material. The sender does not accept liability for any errors or omissions as a result of the transmission.
>
> Informationspflicht nach §14 UGB:
>
> IMC Fachhochschule Krems GmbH
> Piaristengasse 1, A-3500 Krems
> Austria, Europe
> ATU: 37552304
> Firmenbuchnummer: 79297 p
> Firmenbuchgericht: Landesgericht Krems an der Donau
> DVR: 0798771
> Fachgruppe Unternehmensberatung
>
>
> _______________________________________________
> zope mailing list
> [email protected]
> https://mail.dzug.org/mailman/listinfo/zope
>   


-- 
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [email protected] - Phone +49 - 7071 - 793376
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK
------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lists.vcf (text/x-vcard, 316 B)
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[email protected]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.