Re: [Zope3-Users] Zope3 winXP service not working

2006-07-28 Thread Tim Peters

[Eusebius]

Nobody has encountered this problem before?
Maybe nobody runs Zope on Windows...


Probably more that nobody else has had a problem here, and can't guess
exactly what you did.  Testing Zope3 as a Windows service is a normal
part of the Zope3 release process, as described here:

http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/ZopeWindowsRelease

You didn't say which version of Zope3 you're running, and perhaps
whoever built that specific Windows release skipped the service
testing -- can't guess.

Which version of Zope3?  Exactly what did you do to register  start
the service?  Are there relevant messages in the instance log?  In the
Windows System log?  In the Windows Application log?  What happens if
you follow the instructions in the Wiki page above?

[Eusebius]

I installed Zope3 on a Windows XP machine, and configured it as a
service. The service is properly registered, and seems to be
starting/stopping normally. Nevertheless it's not working: Zope does
not listen on 8080 (no python process listening in a netstat output),
or any other port.

The Zope3 server, started manually (not as a service), works fine.

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Running Zope3 as a Windows XP Service

2006-06-22 Thread Tim Peters

[Daniel Roberson]

How do you, or can you, run Zope 3 as a Windows XP service?
I only see or read about using the runzope command from the bin directory.
I want to register it as a Windows XP service.
Any suggestions???


I don't know the current state of the Zope3 docs, but if you can't
find anything there, you could follow the last part of the developer
instructions for testing a Zope3 Windows installer before it's
released:

http://www.zope.org/DevHome/Wikis/DevSite/Projects/ComponentArchitecture/ZopeWindowsRelease

Look for Try running Zope as a Windows Service.  It's not hard, and
especially not the second time you do it ;-)
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Running Zope3 as a Windows XP Service

2006-06-22 Thread Tim Peters

I have tried to go the c:\zope\bin directory and run the
zopeservice.py.  It aborts with the message:

C:\zope\binzopeservice.py
Traceback (most recent call last):
  File C:\zope\bin\zopeservice.py, line 84, in ?
from zope.app.winservice.service import Service
  File C:\Python24\Lib\site-packages\zope\app\winservice\service.py,
line 20,
in ?
import pywintypes
ImportError: No module named pywintypes

C:\zope\bin

Any idea on where to get the missing file and where to install it


Ah, looks like you need to install the Python pywin32 extensions
first.  Any recent release should work fine:

   http://starship.python.net/crew/skippy/win32/Downloads.html

That's actually a link to the author's page, which asks you to go to
SourceForge.  I would have given you the SourceForge link directly,
except SourceForge is dead at the moment :-( so I couldn't verify the
link.

When SourceForge is up again, download a recent pywin32 installer and
run it.  Then try zopeservice.py again.  You shouldn't do that the way
you showed above, but the way shown in the instructions referenced
before:

   zopeservice.py --startup auto install

Then use the Windows Services GUI to start the service, or use

   zopeservice.py start

Etc.
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: [Zope3-dev] [ANN] win32-trunk-pyds

2006-05-19 Thread Tim Peters

[Stephan Richter]

Tim has not been updating them recently. After Jim updated the C code in the
adapter lookup code, they were invalid. Adam has picked up Tim's work there.


[Benji York]

As of 5/1 Tim was still willing to build them (as stated in a message to
zope3-dev).  I don't think that's changed.  If he happened to miss a
change requiring a recompile, just drop him a line and I'm sure he'll
update them.


I'm no longer routinely building, or running, Zope3 on Windows, so
I'll indeed only update Zope3 .pyds if/when someone emails me saying
that's needed.  And right, I'm happy to do so.

If Adam is paying more attention to Zope3, and especially if has an
automated way to keep his Windows Trunk zipfile release up to date,
that's probably better all around.  If that is the case, then I should
remove the old pyd .zip files from my member page, and plant a link
there to Adam's gimmick instead.

Adam, do you intend to keep Trunk up to date now?
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: [Zope3-dev] Zope 3.2.0b3 released

2006-01-02 Thread Tim Peters
[Jim Fulton]
 I've made a source release of Zope 3.2.0 beta 3.  I plan to make a
 Windows release tomorrow, when I have access to a windows machine with
 a compiler, unless someone beats me to it.

I gave it a try, but it dies near the start of the process:

$ \python24\python.exe ..\zpkg\bin\zpkg -C releases\Zope.cfg -v
3.2.0b3 -t Zope-win
'version.txt' doesn't match any files in collection
(in C:\Code\Zope3.2\src\zope\app\PACKAGE.cfg)

I _suppose_ this is because there's no file named version.txt in
src/zope/app/ under

svn+ssh://svn.zope.org/repos/main/Zope3/tags/Zope-3.2.0b3

Did you miss step #3 from

http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/MakingARelease

?  Assuming that's all there is to it, I'll add it myself ...
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: [Zope3-dev] Zope 3.2.0b3 released

2006-01-02 Thread Tim Peters
A Windows installer is also available now:

http://www.zope.org/Products/Zope3/3.2.0b3
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Installing Zope3 on Redhat AS 4 has make check problems

2005-11-28 Thread Tim Peters
[Peter Sun, about
http://mail.zope.org/pipermail/zope/2005-August/161025.html
]
 Ahh.. .. I'm so sorry that I did not check that mail archive.

Not a problem -- it was a different list, and not necessarily easy to
find that old thread.

 Thanks for taking the time to reply and point me in the right direction.  
 Their
 discussion is right on point.

Except it didn't reach a conclusion, so eventually bit you too.  If
you figure out what's really happening, please let us know!  The old
thread not only didn't resolve it, it never (IIRC) even generated a
likely theory for the waitpid() failures.

BTW, you had another test (testRunIgnoresParentSignals) fail with
spawned process failed to start in a minute.  For that one, look for
file donothing.sh and make sure its execute bit is set.  In some
combinations of Zope + Python, the execute bit on donothing.sh is
getting cleared, and then testRunIgnoresParentSignals spins its wheels
for a minute wating for donothing.sh to (despite its name wink) do
something.  donothing.sh won't exist in the next Zope3 release.
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] problems with installation of zope3

2005-07-20 Thread Tim Peters
[gf [EMAIL PROTECTED]]
...
 FAIL: testUmask (zdaemon.tests.testzdrun.ZDaemonTests)
 --
 Traceback (most recent call last):
  File 
 /usr2/local/buildirs/zope_plone/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zdaemon/tests/testzdrun.py,
 line 244, in testUmask
self.assert_(not os.access(path, os.W_OK))
  File /usr/lib/python2.3/unittest.py, line 278, in failUnless
if not expr: raise self.failureException, msg
 AssertionError

Each time this one has been reported in the past, turned out the tests
were being run as root.  Were you running as root?  If so, don't.
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] problems with installation of zope3

2005-07-20 Thread Tim Peters
[gf [EMAIL PROTECTED]]
 Thanks for the response. I did google (and searched the list archives)
 for previous similar errors, but apparently didn't try the right words
 (I found a lot of OSX issues that seemed similar).

 In any case, I just reinstalled as an 'ordinary' user, ran 'make
 check', and had what look to be similar errors (although there are now
 more of them).

If it wasn't clear, I was talking specifically (and only) about the
one test I quoted:

 FAIL: testUmask (zdaemon.tests.testzdrun.ZDaemonTests)
 --
 Traceback (most recent call last):
  File 
 /usr2/local/buildirs/zope_plone/ZopeX3-3.0.0/build/lib.linux-i686-2.3/zdaemon/tests/testzdrun.py,
 line 244, in testUmask
self.assert_(not os.access(path, os.W_OK))
  File /usr/lib/python2.3/unittest.py, line 278, in failUnless
if not expr: raise self.failureException, msg
 AssertionError

If that failure in testUmask went away, then you accomplished all I
hoped to accomplish by not running as root.
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] ZDaemonTests testUmask error

2005-06-21 Thread Tim Peters
[Alen Stanisic]
 I managed to download Zope 3.1b (thanks Tim and Stephan),

Thank Stephan and Jim -- I just built the Windows installers, and I
can guarantee testUmask doesn't fail on Windows wink -- it's not even
tried on Windows.

 when running 'make check' I get the following error:

 Failure in test testUmask (zdaemon.tests.testzdrun.ZDaemonTests)
 Traceback (most recent call last):
  File
 /usr/local/zope3/install/Zope-3.1.0b1/build/lib.linux-i686-2.3/zdaemon/
 tests/testzdrun.py, line 260, in testUmask
self.assert_(not os.access(path, os.W_OK))
  File /usr/lib/python2.3/unittest.py, line 278, in failUnless
if not expr: raise self.failureException, msg
 AssertionError
 
 It seems to be a problem with permissions on a temp file created during
 the test.

 I then tried installing ZopeX3-3.0.0 and got exactly the same error.

 This is the only error I get when running 'make check' should this be of
 major concern?

 (Running: Python 2.3.5, GCC 3.3.5, Debian, Intel Pentium III)

The only other report of this I recall is here:

http://www.zope.org/Collectors/Zope/1453

The cause was that the poster ran the tests as root.  If that's what
you did, don't run the tests (or Zope!) as root.  If that's not what
you did, it will take some digging on your end.
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users