[Zope] Re: Zope won't start on Windows XP

Tres Seaver tseaver at palladion.com
Tue Feb 14 11:35:14 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Holger Butschek wrote:
> I'am triing to install Zope 2.9 on my laptop to work withit when not
> connected the the internet. The installation-routine runs through without
> any errors. An instance is created in the folder C:\instance.
> 
> When I now want to start zope in c:\instance\bin by typing runzope.bat the
> only thing that happens is a big exception thrown by zope.
> 
> Do you have any ideas what to do? No other service is actually running on
> port 8080. The service of zope is not installed/activated.
> 
> Many thanks,
> Holger Butschek
> 
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
> 
> C:\Zope-Instance\bin>runzope.bat
> 
> C:\Zope-Instance\bin>"C:\Programme\Zope-2.9.0\bin\python.exe"
> "C:\Programme\Zope
> -2.9.0\lib\python\Zope2\Startup\run.py" -C "C:\Zope-Instance\etc\zope.conf"
> 
> Traceback (most recent call last):
>   File "C:\Programme\Zope-2.9.0\lib\python\Zope2\Startup\run.py", line 56,
> in ?
>     run()
>   File "C:\Programme\Zope-2.9.0\lib\python\Zope2\Startup\run.py", line 19,
> in ru
> n
>     opts = _setconfig()
>   File "C:\Programme\Zope-2.9.0\lib\python\Zope2\Startup\run.py", line 48,
> in _s
> etconfig
>     opts.realize(doc="Sorry, no option docs yet.")
>   File "C:\Programme\Zope-2.9.0\lib\python\zdaemon\zdoptions.py", line 273,
> in r
> ealize
>     self.load_schema()
>   File "C:\Programme\Zope-2.9.0\lib\python\zdaemon\zdoptions.py", line 321,
> in l
> oad_schema
>     self.schema = ZConfig.loadSchema(self.schemafile)
>   File "C:\Programme\Zope-2.9.0\lib\python\ZConfig\loader.py", line 31, in
> loadS
> chema
>     return SchemaLoader().loadURL(url)
>   File "C:\Programme\Zope-2.9.0\lib\python\ZConfig\loader.py", line 65, in
> loadU
> RL
>     return self.loadResource(r)
>   File "C:\Programme\Zope-2.9.0\lib\python\ZConfig\loader.py", line 159, in
> load
> Resource
>     schema = ZConfig.schema.parseResource(resource, self)
>   File "C:\Programme\Zope-2.9.0\lib\python\ZConfig\schema.py", line 27, in
> parse
> Resource
>     xml.sax.parse(resource.file, parser)
>   File "C:\Programme\Zope-2.9.0\bin\Lib\xml\sax\__init__.py", line 33, in
> parse
>     parser.parse(source)
>   File "C:\Programme\Zope-2.9.0\bin\Lib\xml\sax\expatreader.py", line 107,
> in pa
> rse
>     xmlreader.IncrementalParser.parse(self, source)
>   File "C:\Programme\Zope-2.9.0\bin\Lib\xml\sax\xmlreader.py", line 123, in
> pars
> e
>     self.feed(buffer)
>   File "C:\Programme\Zope-2.9.0\bin\Lib\xml\sax\expatreader.py", line 207,
> in fe
> ed
>     self._parser.Parse(data, isFinal)
>   File "C:\Programme\Zope-2.9.0\bin\Lib\xml\sax\expatreader.py", line 300,
> in st
> art_element
>     self._cont_handler.startElement(name, AttributesImpl(attrs))
>   File "C:\Programme\Zope-2.9.0\lib\python\ZConfig\schema.py", line 99, in
> start
> Element
>     getattr(self, "start_" + name)(attrs)
>   File "C:\Programme\Zope-2.9.0\lib\python\ZConfig\schema.py", line 475, in
> star
> t_schema
>     keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
>   File "C:\Programme\Zope-2.9.0\lib\python\ZConfig\schema.py", line 201, in
> get_
> sect_typeinfo
>     datatype = self.get_datatype(attrs, "datatype", "null", base)
>   File "C:\Programme\Zope-2.9.0\lib\python\ZConfig\schema.py", line 194, in
> get_
> datatype
>     return self._registry.get(dtname)
>   File "C:\Programme\Zope-2.9.0\lib\python\ZConfig\datatypes.py", line 398,
> in g
> et
>     t = self.search(name)
>   File "C:\Programme\Zope-2.9.0\lib\python\ZConfig\datatypes.py", line 423,
> in s
> earch
>     package = __import__(n, g, g, component)
>   File "C:\Programme\Zope-2.9.0\lib\python\Zope2\Startup\datatypes.py", line
> 21,
>  in ?
>     import OFS.Uninstalled
>   File "C:\Programme\Zope-2.9.0\lib\python\OFS\Uninstalled.py", line 16, in
> ?
>     import  SimpleItem, Globals, Acquisition
>   File "C:\Programme\Zope-2.9.0\lib\python\OFS\SimpleItem.py", line 26, in ?
>     import AccessControl.Role, AccessControl.Owned, App.Common
>   File "C:\Programme\Zope-2.9.0\lib\python\AccessControl\__init__.py", line
> 17,
> in ?
>     from Implementation import setImplementation
>   File "C:\Programme\Zope-2.9.0\lib\python\AccessControl\Implementation.py",
> lin
> e 98, in ?
>     setImplementation("C")
>   File "C:\Programme\Zope-2.9.0\lib\python\AccessControl\Implementation.py",
> lin
> e 51, in setImplementation
>     from AccessControl import ImplC as impl
>   File "C:\Programme\Zope-2.9.0\lib\python\AccessControl\ImplC.py", line 30,
> in
> ?
>     from ImplPython import RestrictedDTML, SecurityManager,
> ZopeSecurityPolicy
> ImportError: No module named ImplPython
> 
> C:\Zope-Instance\bin>

It looks as though you have a borked Zope installation:  how did you
install Zope?


Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD8gbC+gerLs4ltQ4RAsjmAKCfqfk1r3P+yFEbBtTM0zeHEOEiVACfXVlT
8Rpk0I11/t2k0S1MzSxGnB0=
=NQIr
-----END PGP SIGNATURE-----



More information about the Zope mailing list