[ZCM] [ZC] 1640/ 4 Comment "Windows XP Pro SP2 Install"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Sat Jan 1 09:55:41 EST 2005


Issue #1640 Update (Comment) "Windows XP Pro SP2 Install"
 Status Pending, Zope/bug medium
To followup, visit:
  http://zope.org/Collectors/Zope/1640

==============================================================
= Comment - Entry #4 by tlipp on Jan 1, 2005 9:55 am

I had the same problems as described by finrod.
First I tried the plone windows installer, then I tried to install zope 2.7.3 and 2.7.2 with the same results.

For presentations it would be helpful to have zope running on my notebook. 
________________________________________
= Comment - Entry #3 by finrod on Dec 29, 2004 2:40 pm

I also tried to completely remove 2.7.3 and install 2.8.0.a1 and I get the exact same problem...I think. At least I get the same error messages. 

Is there some way to get Zope to dump out more information on the console or to error logs?

finrod
________________________________________
= Comment - Entry #2 by finrod on Dec 29, 2004 9:13 am

I did some followup on this. I figured out how to get my service to start in debug mode, but I get these errors and it never starts up successfully:

C:\Zope-Instance\bin>"c:\Zope\bin\python.exe" zopeservice.py debug
Debugging service Zope_-1444516661 - press Ctrl+C to stop.
Info 0x40001002 - The Zope_-1444516661 service has started (Zope instance at C:\
Zope-Instance).
Warning 0x400000FF - Zope_-1444516661 (Zope instance at C:\Zope-Instance): proce
ss died unexpectedly.  Will attempt restart after 5 seconds.
Info 0x400000FF - Zope_-1444516661 (Zope instance at C:\Zope-Instance): recoveri
ng from died process, new process started
Warning 0x400000FF - Zope_-1444516661 (Zope instance at C:\Zope-Instance): proce
ss died unexpectedly.  Will attempt restart after 10 seconds.
Info 0x400000FF - Zope_-1444516661 (Zope instance at C:\Zope-Instance): recoveri
ng from died process, new process started
Warning 0x400000FF - Zope_-1444516661 (Zope instance at C:\Zope-Instance): proce
ss died unexpectedly.  Will attempt restart after 20 seconds.
Info 0x400000FF - Zope_-1444516661 (Zope instance at C:\Zope-Instance): recoveri
ng from died process, new process started
Warning 0x400000FF - Zope_-1444516661 (Zope instance at C:\Zope-Instance): proce
ss died unexpectedly.  Will attempt restart after 40 seconds.
Info 0x400000FF - Zope_-1444516661 (Zope instance at C:\Zope-Instance): recoveri
ng from died process, new process started
Warning 0x400000FF - Zope_-1444516661 (Zope instance at C:\Zope-Instance): proce
ss died unexpectedly.  Will attempt restart after 80 seconds.
Info 0x400000FF - Zope_-1444516661 (Zope instance at C:\Zope-Instance): recoveri
ng from died process, new process started
Warning 0x400000FF - Zope_-1444516661 (Zope instance at C:\Zope-Instance): proce
ss died unexpectedly.  Will attempt restart after 160 seconds.
Stopping debug service.
Error 0xC0000003 - The instance's SvcRun() method failed

  File "C:\Zope\bin\Lib\site-packages\win32serviceutil.py", line 670, in SvcRun
    self.SvcDoRun()
  File "C:\Zope\lib\python\nt_svcutils\service.py", line 163, in SvcDoRun
    time.sleep(backoff_interval)

exceptions.IOError: (4, 'Interrupted function call')

C:\Zope-Instance\bin>

The final errors is from my CTRL-C

I also gound some test scripts in the Zope-Instance folder and ran these. Two of these complete ok (test_scheme.py and test_warnfilter.py) the third (testStarter.py) throws this error:

C:\Zope-Instance\bin>c:\zope\bin\python.exe c:\zope\lib\python\Zope\startup\test
s\testStarter.py
c:\zope\bin\lib\fcntl.py:7: DeprecationWarning: the FCNTL module is deprecated;
please use fcntl
  DeprecationWarning)
.E.......
======================================================================
ERROR: testMakeLockFile (__main__.ZopeStarterTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\zope\lib\python\Zope\startup\tests\testStarter.py", line 313, in test
MakeLockFile
    starter.makeLockFile()
  File "C:\Zope\lib\python\Zope\Startup\__init__.py", line 251, in makeLockFile
    lock_file(self.lockfile)
  File "C:\Zope\lib\python\Zope\Startup\misc\lock_file.py", line 40, in lock_fil
e
    fcntl.flock(file, fcntl.LOCK_EX | fcntl.LOCK_NB)
AttributeError: 'module' object has no attribute 'flock'

----------------------------------------------------------------------
Ran 9 tests in 3.855s

FAILED (errors=1)
________________________________________
= Request - Entry #1 by finrod on Dec 28, 2004 10:56 pm

I'm hoping this is the right place to place this. I did a full install of Zope 2.7.3 onto Windows XP Pro SP2. 

Zope does not start. The install finishes without any errors. When I try to start Zope, it says its successful but when I try to access the management console, I get a "connection refused" message. 

When I try to start Zope from a console using the shortcut placed on the start menu I get the following error:

C:\Zope-Instance\bin>runzope.bat

C:\Zope-Instance\bin>"C:\Zope\bin\python.exe" "C:\Zope\lib\python\Zope\Startup\r
un.py" -C "C:\Zope-Instance\etc\zope.conf"
C:\Zope\bin\lib\fcntl.py:7: DeprecationWarning: the FCNTL module is deprecated;
please use fcntl
  DeprecationWarning)
------
2004-12-28T22:25:49 INFO(0) ZServer HTTP server started at Tue Dec 28 22:25:49 2
004
        Hostname: wrndusitrd95.rndus.na.jnj.com
        Port: 8080
------
2004-12-28T22:25:49 INFO(0) ZServer FTP server started at Tue Dec 28 22:25:49 20
04
        Hostname: wrndusitrd95
        Port: 8021
Traceback (most recent call last):
  File "C:\Zope\lib\python\Zope\Startup\run.py", line 50, in ?
    run()
  File "C:\Zope\lib\python\Zope\Startup\run.py", line 19, in run
    start_zope(opts.configroot)
  File "C:\Zope\lib\python\Zope\Startup\__init__.py", line 49, in start_zope
    starter.makeLockFile()
  File "C:\Zope\lib\python\Zope\Startup\__init__.py", line 251, in makeLockFile
    lock_file(self.lockfile)
  File "C:\Zope\lib\python\Zope\Startup\misc\lock_file.py", line 40, in lock_fil
e
    fcntl.flock(file, fcntl.LOCK_EX | fcntl.LOCK_NB)
AttributeError: 'module' object has no attribute 'flock'

Is there a debug mode or some way to ge tmore information as to what the problem is? I've tried the install on several different machines - all with XP SP2 and I get the exact same message.

Any help would be great!

Finrod Felagund
==============================================================



More information about the Zope-Collector-Monitor mailing list