|
|
|
Michael Graf-2
|
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: [hidden email] 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 [hidden email] https://mail.dzug.org/mailman/listinfo/zope |
||||||||||||||||
|
ajung
|
On 14.05.09 08:30, Michael Graf wrote:
> 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 Dein Zope ist nicht richtig gebaut/compiliert worden. Allerdings keine Ahnung wie man dies unter Windows weiter debuggt. -aj [lists.vcf] 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:[hidden email] 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 _______________________________________________ zope mailing list [hidden email] https://mail.dzug.org/mailman/listinfo/zope |
||||||||||||||||
|
Raphael Ritz
|
In reply to this post
by Michael Graf-2
Michael Graf wrote:
> [..] > > [instance] > recipe = plone.recipe.zope2instance > zope2-location = ${zope2:location} > user = admin:admin > http-address = 8080 > debug-mode = on > verbose-security = on Setze das mal auf 'off' Keine Lösung Deines Problems, aber Dein Zope sollte zumindest starten, weil es dann die Pythonimplementierung der Security nicht braucht (sondern die C-basierte verwendet). Warum Du den Fehler ueberhaupt bekommst, kann ich bislang auch nicht erkennen. :-( Raphael > > 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 > _______________________________________________ zope mailing list [hidden email] https://mail.dzug.org/mailman/listinfo/zope |
||||||||||||||||
|
Michael Graf-2
|
Soweit ich im Inet gefunden habe, ist " zope.component" schuld, diese ist mit 3.6 aktuell. Plone braucht aber "3.5.1"
Ich dachte, das hätte ich mit > [versions] > zope.component=3.5.1 Im buildout.cfg behoben, scheinbar ist dem aber nicht so... 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: [hidden email] -----Ursprüngliche Nachricht----- Von: [hidden email] [mailto:[hidden email]] Im Auftrag von Raphael Ritz Gesendet: Donnerstag, 14. Mai 2009 08:41 An: Deutschsprachige Zope-Benutzer-Liste Betreff: Re: [dzug-zope] plone buildout: ImportError: No module named ImplPython Michael Graf wrote: > [..] > > [instance] > recipe = plone.recipe.zope2instance > zope2-location = ${zope2:location} > user = admin:admin > http-address = 8080 > debug-mode = on > verbose-security = on Setze das mal auf 'off' Keine Lösung Deines Problems, aber Dein Zope sollte zumindest starten, weil es dann die Pythonimplementierung der Security nicht braucht (sondern die C-basierte verwendet). Warum Du den Fehler ueberhaupt bekommst, kann ich bislang auch nicht erkennen. :-( Raphael > > 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 > _______________________________________________ zope mailing list [hidden email] https://mail.dzug.org/mailman/listinfo/zope 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 [hidden email] https://mail.dzug.org/mailman/listinfo/zope |
||||||||||||||||
|
Raphael Ritz
|
Michael Graf wrote:
> Soweit ich im Inet gefunden habe, ist " zope.component" schuld, diese ist mit 3.6 aktuell. Plone braucht aber "3.5.1" > > Ich dachte, das hätte ich mit >> [versions] >> zope.component=3.5.1 > > Im buildout.cfg behoben, scheinbar ist dem aber nicht so... > Hast Du danach auch buildout nochmal aufgerufen? Nur so ... Raphael _______________________________________________ zope mailing list [hidden email] https://mail.dzug.org/mailman/listinfo/zope |
||||||||||||||||
|
Michael Graf-2
|
Ja, hab ich... ich hab auch alles entfernt und wieder von vorne begonnen, mit der neuen buildout.cfg
Der Fehler bleibt der gleiche, aber vielleicht vergesse ich etwas, oder überseh ich was... Mein Vorgangsweise: paster create -t plone3_buildout dev >debug-mode:off >verbose-security:off kopiere >[versions] >zope.component=3.5.1 in buildout.cfg python bootstrap.py bin\buildout ... bin\instance fg -> ImportError: No module named ImplPython 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: [hidden email] -----Ursprüngliche Nachricht----- Von: [hidden email] [mailto:[hidden email]] Im Auftrag von Raphael Ritz Gesendet: Donnerstag, 14. Mai 2009 09:15 An: Deutschsprachige Zope-Benutzer-Liste Betreff: Re: AW: [dzug-zope] plone buildout: ImportError: No module named ImplPython Michael Graf wrote: > Soweit ich im Inet gefunden habe, ist " zope.component" schuld, diese ist mit 3.6 aktuell. Plone braucht aber "3.5.1" > > Ich dachte, das hätte ich mit >> [versions] >> zope.component=3.5.1 > > Im buildout.cfg behoben, scheinbar ist dem aber nicht so... > Hast Du danach auch buildout nochmal aufgerufen? Nur so ... Raphael _______________________________________________ zope mailing list [hidden email] https://mail.dzug.org/mailman/listinfo/zope 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 [hidden email] https://mail.dzug.org/mailman/listinfo/zope |
||||||||||||||||
|
robert rottermann
|
ich vermute dein buildoutprozess erwischt das falsche python. (> 2.4x)
robert Michael Graf schrieb: > Ja, hab ich... ich hab auch alles entfernt und wieder von vorne begonnen, mit der neuen buildout.cfg > > Der Fehler bleibt der gleiche, aber vielleicht vergesse ich etwas, oder überseh ich was... > > Mein Vorgangsweise: > paster create -t plone3_buildout dev >> debug-mode:off >> verbose-security:off > > kopiere >> [versions] >> zope.component=3.5.1 > in buildout.cfg > > python bootstrap.py > bin\buildout > ... > bin\instance fg > -> ImportError: No module named ImplPython > > > > 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: [hidden email] > > > -----Ursprüngliche Nachricht----- > Von: [hidden email] [mailto:[hidden email]] Im Auftrag von Raphael Ritz > Gesendet: Donnerstag, 14. Mai 2009 09:15 > An: Deutschsprachige Zope-Benutzer-Liste > Betreff: Re: AW: [dzug-zope] plone buildout: ImportError: No module named ImplPython > > Michael Graf wrote: >> Soweit ich im Inet gefunden habe, ist " zope.component" schuld, diese ist mit 3.6 aktuell. Plone braucht aber "3.5.1" >> >> Ich dachte, das hätte ich mit >>> [versions] >>> zope.component=3.5.1 >> Im buildout.cfg behoben, scheinbar ist dem aber nicht so... >> > > Hast Du danach auch buildout nochmal aufgerufen? > > Nur so ... > > Raphael > > > _______________________________________________ > zope mailing list > [hidden email] > https://mail.dzug.org/mailman/listinfo/zope > > 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 > [hidden email] > https://mail.dzug.org/mailman/listinfo/zope > > _______________________________________________ zope mailing list [hidden email] https://mail.dzug.org/mailman/listinfo/zope |
||||||||||||||||
|
Michael Graf-2
|
Ich hab nur py2.4.4 installiert...
>Python -V >Python 2.4.4 War auch eine komplett frische VirtuellPC installation von windows Die buildouts haben ja auch funktioniert, bis Dienstag nachmittag... 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: [hidden email] -----Ursprüngliche Nachricht----- Von: [hidden email] [mailto:[hidden email]] Im Auftrag von robert rottermann Gesendet: Donnerstag, 14. Mai 2009 10:41 An: Deutschsprachige Zope-Benutzer-Liste Betreff: Re: AW: AW: [dzug-zope] plone buildout: ImportError: No module named ImplPython ich vermute dein buildoutprozess erwischt das falsche python. (> 2.4x) robert Michael Graf schrieb: > Ja, hab ich... ich hab auch alles entfernt und wieder von vorne begonnen, mit der neuen buildout.cfg > > Der Fehler bleibt der gleiche, aber vielleicht vergesse ich etwas, oder überseh ich was... > > Mein Vorgangsweise: > paster create -t plone3_buildout dev >> debug-mode:off >> verbose-security:off > > kopiere >> [versions] >> zope.component=3.5.1 > in buildout.cfg > > python bootstrap.py > bin\buildout > ... > bin\instance fg > -> ImportError: No module named ImplPython > > > > 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: [hidden email] > > > -----Ursprüngliche Nachricht----- > Von: [hidden email] [mailto:[hidden email]] Im Auftrag von Raphael Ritz > Gesendet: Donnerstag, 14. Mai 2009 09:15 > An: Deutschsprachige Zope-Benutzer-Liste > Betreff: Re: AW: [dzug-zope] plone buildout: ImportError: No module named ImplPython > > Michael Graf wrote: >> Soweit ich im Inet gefunden habe, ist " zope.component" schuld, diese ist mit 3.6 aktuell. Plone braucht aber "3.5.1" >> >> Ich dachte, das hätte ich mit >>> [versions] >>> zope.component=3.5.1 >> Im buildout.cfg behoben, scheinbar ist dem aber nicht so... >> > > Hast Du danach auch buildout nochmal aufgerufen? > > Nur so ... > > Raphael > > > _______________________________________________ > zope mailing list > [hidden email] > https://mail.dzug.org/mailman/listinfo/zope > > 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 > [hidden email] > https://mail.dzug.org/mailman/listinfo/zope > > _______________________________________________ zope mailing list [hidden email] https://mail.dzug.org/mailman/listinfo/zope 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 [hidden email] https://mail.dzug.org/mailman/listinfo/zope |
||||||||||||||||
|
ajung
|
In reply to this post
by Michael Graf-2
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: [hidden email] > > > 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 > [hidden email] > https://mail.dzug.org/mailman/listinfo/zope > -- ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: [hidden email] - 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 [lists.vcf] 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:[hidden email] 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 _______________________________________________ zope mailing list [hidden email] https://mail.dzug.org/mailman/listinfo/zope |
||||||||||||||||
|
Raphael Ritz
|
Andreas Jung wrote:
> 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. > Versucht mal rauszufinden, ob das nicht vielleicht an was ganz anderem liegt. Z.B. so wie von Mikko hier http://plone.org/documentation/error/importerror-no-module-named-implpython beschrieben: This error may also mask other errors. Edit parts/zope2/lib/python/AccessControl/ImplC.py: try: from cAccessControl import rolesForPermissionOn, \ PermissionRole, imPermissionRole, _what_not_even_god_should_do, \ RestrictedDTMLMixin, aq_validate, guarded_getattr, \ setDefaultBehaviors from cAccessControl import ZopeSecurityPolicy as cZopeSecurityPolicy from cAccessControl import SecurityManager as cSecurityManager except ImportError: raise # THIS LINE HAS BEEN ADDED TO SEE THE ACTUAL EXCEPTION And restart instance. Now you should get a different exception. Raphael > 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: [hidden email] >> >> >> 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 >> [hidden email] >> https://mail.dzug.org/mailman/listinfo/zope >> > > > > _______________________________________________ > zope mailing list > [hidden email] > https://mail.dzug.org/mailman/listinfo/zope _______________________________________________ zope mailing list [hidden email] https://mail.dzug.org/mailman/listinfo/zope |
||||||||||||||||
|
ajung
|
On 14.05.09 10:56, Raphael Ritz wrote:
> Andreas Jung wrote: >> 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. >> > > Versucht mal rauszufinden, ob das nicht vielleicht an was ganz anderem > liegt. Z.B. so wie von Mikko hier > > http://plone.org/documentation/error/importerror-no-module-named-implpython > > > beschrieben: Andreas [lists.vcf] 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:[hidden email] 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 _______________________________________________ zope mailing list [hidden email] https://mail.dzug.org/mailman/listinfo/zope |
||||||||||||||||
|
Michael Graf-2
|
Bingo - funktioniert :-)
Zu buildout.cfg hinzugefügt >[versions] >zope.component = 3.5.1 >zope.publisher = 3.6.1 Danke Lg 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: [hidden email] -----Ursprüngliche Nachricht----- Von: [hidden email] [mailto:[hidden email]] Im Auftrag von Andreas Jung Gesendet: Donnerstag, 14. Mai 2009 11:04 An: Raphael Ritz Cc: Deutschsprachige Zope-Benutzer-Liste Betreff: Re: [dzug-zope] plone buildout: ImportError: No module named ImplPython On 14.05.09 10:56, Raphael Ritz wrote: > Andreas Jung wrote: >> 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. >> > > Versucht mal rauszufinden, ob das nicht vielleicht an was ganz anderem > liegt. Z.B. so wie von Mikko hier > > http://plone.org/documentation/error/importerror-no-module-named-implp > ython > > > beschrieben: Bingo - funktioniert. Andreas 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 [hidden email] https://mail.dzug.org/mailman/listinfo/zope |
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |