Hi, I can't get zope2.7b1 starting on winxp after installing the binary for running *not* as a service (the other option i did't try). I have installed it parallel to a zope2.6., Plone and Active Python 2.2. but that shouldn't be a problem? Any hints what could be wrong, fixed, configured etc. There are no error messages, just the cmd-window closes directly after starting runzope.bat. -- Thanx Elena
Elena, Can you try running Zope manually by: - navigating to the start menu "run" option - typing "cmd" into the Run box - typing 'cd "c:\Zope-Instance"' (or wherever you chose to put your instance files during install). - typing bin\runzope.bat You should get an error message back indicating what the problem is. On Tue, 22 Jul 2003 12:41:54 +0200 "Elena Schulz" <elena.schulz@gmx.net> wrote:
Hi,
I can't get zope2.7b1 starting on winxp after installing the binary for running *not* as a service (the other option i did't try). I have installed it parallel to a zope2.6., Plone and Active Python 2.2. but that shouldn't be a problem? Any hints what could be wrong, fixed, configured etc.
There are no error messages, just the cmd-window closes directly after starting runzope.bat.
-- Thanx Elena
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Hi Chris, thanks for your reply.
- typing bin\runzope.bat L:\Zope\Zope27\ZopeInstanceFiles>bin\runzope.bat
ok, I did it ... and see nothing but the run.py_call and the prompt: L:\Zope\Zope27\ZopeInstanceFiles>"L:\Zope\Zope27\Zope-2.7.0-b1\bin\pythonw.e xe" "L:\Zope\Zope27\Zope -2.7.0-b1\lib\python\Zope\Startup\run.py" -C "L:\Zope\Zope27\ZopeInstanceFiles\etc\zope.conf" L:\Zope\Zope27\ZopeInstanceFiles> what to do? --Elena
- typing bin\runzope.bat L:\Zope\Zope27\ZopeInstanceFiles>bin\runzope.bat
ok, I did it ... and see nothing but the run.py_call and the prompt:
Hi Elena, You don't by any chance happen to have any kind of proxy server running on your machine, do you? Like an ad filter or a pop-up blocker? I run WebWasher on my laptop, and I noticed the same kind of behavior trying to start zope - my proxy runs on port 8080, the same one zope tries to use. It might be worth changing the config file to set the zope port to some other value like 9080 and see if that changes anything... Hope this helps, Brian Lloyd brian@zope.com V.P. Engineering 540.361.1716 Zope Corporation http://www.zope.com
Hi Chris, Reading your hint from the thread: "How to install a new product in Zope 2.7" to run python.exe instead of pythonw.exe in the runzope.bat now I can provide some error messages that indicate the problem of an ImportError. May be because of some "old" python relicts in the code? -- Still being curious how to get zope 2.7 starting on my WinXP-box, Elena The error-details from the console: L:\Zope\Zope27\ZopeInstanceFiles\bin>runzope L:\Zope\Zope27\ZopeInstanceFiles\bin>"L:\Zope\Zope27\Zope-2.7.0-b1\bin\pytho n.exe" "L:\Zope\Zope27\Z ope-2.7.0-b1\lib\python\Zope\Startup\run.py" -C "L:\Zope\Zope27\ZopeInstanceFiles\etc\zope.conf" Traceback (most recent call last): File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\Zope\Startup\run.py", line 27, in ? run() File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\Zope\Startup\run.py", line 21, in run opts.realize(doc="Sorry, no option docs yet.") File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\zdaemon\zdoptions.py", line 257, in realize self.load_schema() File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\zdaemon\zdoptions.py", line 298, in load_schema self.schema = ZConfig.loadSchema(self.schemafile) File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\loader.py", line 36, in loadSchema return SchemaLoader().loadURL(url) File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\loader.py", line 70, in loadURL return self.loadResource(r) File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\loader.py", line 134, in loadResource self.registry, self) File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\schema.py", line 43, in parseResource xml.sax.parse(resource.file, parser) File "L:\Zope\Zope27\Zope-2.7.0-b1\bin\Lib\xml\sax\__init__.py", line 33, in parse parser.parse(source) File "L:\Zope\Zope27\Zope-2.7.0-b1\bin\Lib\xml\sax\expatreader.py", line 91, in parse xmlreader.IncrementalParser.parse(self, source) File "L:\Zope\Zope27\Zope-2.7.0-b1\bin\Lib\xml\sax\xmlreader.py", line 123, in parse self.feed(buffer) File "L:\Zope\Zope27\Zope-2.7.0-b1\bin\Lib\xml\sax\expatreader.py", line 144, in feed self._parser.Parse(data, isFinal) File "L:\Zope\Zope27\Zope-2.7.0-b1\bin\Lib\xml\sax\expatreader.py", line 218, in start_element self._cont_handler.startElement(name, AttributesImpl(attrs)) File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\schema.py", line 115, in startElement getattr(self, "start_" + name)(attrs) File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\schema.py", line 305, in start_import self.loadComponent(src) File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\schema.py", line 313, in loadComponent xml.sax.parse(r.file, parser) File "L:\Zope\Zope27\Zope-2.7.0-b1\bin\Lib\xml\sax\__init__.py", line 33, in parse parser.parse(source) File "L:\Zope\Zope27\Zope-2.7.0-b1\bin\Lib\xml\sax\expatreader.py", line 91, in parse xmlreader.IncrementalParser.parse(self, source) File "L:\Zope\Zope27\Zope-2.7.0-b1\bin\Lib\xml\sax\xmlreader.py", line 123, in parse self.feed(buffer) File "L:\Zope\Zope27\Zope-2.7.0-b1\bin\Lib\xml\sax\expatreader.py", line 144, in feed self._parser.Parse(data, isFinal) File "L:\Zope\Zope27\Zope-2.7.0-b1\bin\Lib\xml\sax\expatreader.py", line 218, in start_element self._cont_handler.startElement(name, AttributesImpl(attrs)) File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\schema.py", line 115, in startElement getattr(self, "start_" + name)(attrs) File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\schema.py", line 326, in start_sectiontype keytype, valuetype, datatype = self.get_sect_typeinfo(attrs) File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\schema.py", line 203, in get_sect_typeinfo datatype = self.get_datatype(attrs, "datatype", "null") File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\schema.py", line 196, in get_datatype return self._registry.get(dtname) File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\datatypes.py", line 296, in get t = self.search(name) File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\datatypes.py", line 313, in search package = __import__(start, g, g) File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZServer\__init__.py", line 36, in ? from HTTPServer import zhttp_server, zhttp_handler File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZServer\HTTPServer.py", line 44, in ? from PubCore import handle File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZServer\PubCore\__init__.py", line 14, in ? import ZRendezvous File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZServer\PubCore\ZRendezvous.py", line 15, in ? from ZServerPublisher import ZServerPublisher File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZServer\PubCore\ZServerPublisher.py ", line 13, in ? from ZPublisher import publish_module File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZPublisher\__init__.py", line 23, in ? from Publish import publish_module, Retry File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZPublisher\Publish.py", line 19, in ? from Response import Response File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZPublisher\Response.py", line 13, in ? import HTTPResponse File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZPublisher\HTTPResponse.py", line 19, in ? import zlib, struct ImportError: Module use of python21.dll conflicts with this version of Python. L:\Zope\Zope27\ZopeInstanceFiles\bin>
--On Dienstag, 19. August 2003 10:12 Uhr +0200 Elena Schulz <elena.schulz@gmx.net> wrote:
line 13, in ? import HTTPResponse File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZPublisher\HTTPResponse.py", line 19, in ? import zlib, struct ImportError: Module use of python21.dll conflicts with this version of Python.
Somehow your installation is borked since Zope 2.7 requires Python 2.2.3 and you are using 2.1.... or so. -aj
Hi Andreas,
Somehow your installation is borked since Zope 2.7 requires Python 2.2.3 and you are using 2.1.... or so.
yes, it looks like that but my question is, how comes since my runzope.bat (my Zope-starter) is configured to use the default zope 2.7 python? Is there any use of the registry for the decision which dll's to use? -- Elena It looks like this: @set PYTHON=L:\Zope\Zope27\Zope-2.7.0-b1\bin\python.exe @set ZOPE_HOME=L:\Zope\Zope27\Zope-2.7.0-b1 @set INSTANCE_HOME=L:\Zope\Zope27\ZopeInstanceFiles @set CONFIG_FILE=%INSTANCE_HOME%\etc\zope.conf @set PYTHONPATH=%ZOPE_HOME%\lib\python @set ZOPE_RUN=%ZOPE_HOME%\lib\python\Zope\Startup\run.py "%PYTHON%" "%ZOPE_RUN%" -C "%CONFIG_FILE%" %1 %2 %3 %4 %5 %6 %7
This sounds strange. I will try to install Python 2.1 on my system alongside of Zope and see if I can replicate it. On Tue, 2003-08-19 at 11:42, Elena Schulz wrote:
Hi Andreas,
Somehow your installation is borked since Zope 2.7 requires Python 2.2.3 and you are using 2.1.... or so.
yes, it looks like that but my question is, how comes since my runzope.bat (my Zope-starter) is configured to use the default zope 2.7 python? Is there any use of the registry for the decision which dll's to use?
-- Elena
It looks like this:
@set PYTHON=L:\Zope\Zope27\Zope-2.7.0-b1\bin\python.exe @set ZOPE_HOME=L:\Zope\Zope27\Zope-2.7.0-b1 @set INSTANCE_HOME=L:\Zope\Zope27\ZopeInstanceFiles @set CONFIG_FILE=%INSTANCE_HOME%\etc\zope.conf @set PYTHONPATH=%ZOPE_HOME%\lib\python @set ZOPE_RUN=%ZOPE_HOME%\lib\python\Zope\Startup\run.py "%PYTHON%" "%ZOPE_RUN%" -C "%CONFIG_FILE%" %1 %2 %3 %4 %5 %6 %7
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
I'm afraid I can't replicate this. Something on your system is borked, I think. I suspected that Python itself looked for its library in the registry on Windows, but this doesn't appear to be the case. Is it feasible to uninstall Python 2.1 and try it again? On Tue, 2003-08-19 at 16:52, Chris McDonough wrote:
This sounds strange. I will try to install Python 2.1 on my system alongside of Zope and see if I can replicate it.
On Tue, 2003-08-19 at 11:42, Elena Schulz wrote:
Hi Andreas,
Somehow your installation is borked since Zope 2.7 requires Python 2.2.3 and you are using 2.1.... or so.
yes, it looks like that but my question is, how comes since my runzope.bat (my Zope-starter) is configured to use the default zope 2.7 python? Is there any use of the registry for the decision which dll's to use?
-- Elena
It looks like this:
@set PYTHON=L:\Zope\Zope27\Zope-2.7.0-b1\bin\python.exe @set ZOPE_HOME=L:\Zope\Zope27\Zope-2.7.0-b1 @set INSTANCE_HOME=L:\Zope\Zope27\ZopeInstanceFiles @set CONFIG_FILE=%INSTANCE_HOME%\etc\zope.conf @set PYTHONPATH=%ZOPE_HOME%\lib\python @set ZOPE_RUN=%ZOPE_HOME%\lib\python\Zope\Startup\run.py "%PYTHON%" "%ZOPE_RUN%" -C "%CONFIG_FILE%" %1 %2 %3 %4 %5 %6 %7
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Chris McDonough <chrism@zope.com> Zope Corporation
participants (4)
-
Andreas Jung -
Brian Lloyd -
Chris McDonough -
Elena Schulz