zc.async unter Zope 3.4.0

Alexander Drees <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <1233602967.12648.38.camel@alex-amd64>
Hallo,

ich habe Zope 3.4.0 mit dem Windows Installer installiert. Wenn ich
versuche zc.async mit "easy_install -i
http://download.zope.org/zope3.4/3.4.0/index zc.async" zu installieren,
dann kann ich meine Zope Instance nicht mehr starten. Die Batchdatei
ended dann mit:

Traceback (most recent call last):
  File "c:\zope\bin\runzope", line 48, in ?
    run()
  File "c:\zope\bin\runzope", line 43, in run
    from zope.app.twisted.main import main
  File "C:\Python24\Lib\site-packages\zope\app\twisted\main.py", line
25, in ?
    import twisted.web2.wsgi
ImportError: No module named web2.wsgi

Ich habe Python 2.4.3 installiert; mit 2.4.4 ist es das Verhalten das
selbe. Außer Python 2.4.3 habe ich noch Setuptools 0.6c9 und
Pywin32-212, sowie Zope 3.4.0 Installiert, alles mit dem Windows
Installer. Wenn ich das Egg für zc.async installiere tauchen bei der
Installation folgende Fehler auf:

Installed c:\python24\lib\site-packages\zope.bforest-1.2-py2.4.egg
Searching for Twisted>=8.0.1
Reading http://download.zope.org/zope3.4/3.4.0/index/Twisted/
Reading http://twistedmatrix.com/
Reading http://www.twistedmatrix.com
Reading http://twistedmatrix.com/products/download
Reading http://twistedmatrix.com/projects/core/
Best match: Twisted 8.2.0
Downloading
http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/Twisted-8.2.0.tar.bz2
#md5=c85f151999df3ecf04c49a781b4438d2
Processing Twisted-8.2.0.tar.bz2
Running Twisted-8.2.0\setup.py -q bdist_egg --dist-dir c:\dokume~1\alex
\lokale~1
\temp\easy_install-g5jw-l\Twisted-8.2.0\egg-dist-tmp-hrqa8h
conftest.c
conftest.c(1) : fatal error C1083: Cannot open include file:
'rpc/rpc.h': No suc
h file or directory
conftest.c
conftest.c(1) : fatal error C1083: Cannot open include file:
'sys/epoll.h': No s
uch file or directory
_c_urlarg.c
   Creating library build\temp.win32-2.4\Release\twisted/protocols
\_c_urlarg.lib
 and object build\temp.win32-2.4\Release\twisted/protocols
\_c_urlarg.exp
raiser.c
   Creating library build\temp.win32-2.4\Release\twisted/test\raiser.lib
and obj
ect build\temp.win32-2.4\Release\twisted/test\raiser.exp
iocpsupport.c
twisted\internet\iocpreactor\iocpsupport\iocpsupport.c(305) : warning
C4047: '='
 : '__pyx_t_11iocpsupport_HANDLE' differs in levels of indirection from
'HANDLE'

twisted\internet\iocpreactor\iocpsupport\iocpsupport.c(342) : warning
C4022: 'Cr
eateIoCompletionPort' : pointer mismatch for actual parameter 1
twisted\internet\iocpreactor\iocpsupport\iocpsupport.c(342) : warning
C4022: 'Cr
eateIoCompletionPort' : pointer mismatch for actual parameter 2
twisted\internet\iocpreactor\iocpsupport\iocpsupport.c(342) : warning
C4047: '='
 : '__pyx_t_11iocpsupport_HANDLE' differs in levels of indirection from
'HANDLE'

twisted\internet\iocpreactor\iocpsupport\iocpsupport.c(383) : warning
C4133: '='
 : incompatible types - from 'PyThreadState *' to 'PyThreadState *'
twisted\internet\iocpreactor\iocpsupport\iocpsupport.c(386) : warning
C4022: 'Ge
tQueuedCompletionStatus' : pointer mismatch for actual parameter 1
twisted\internet\iocpreactor\iocpsupport\iocpsupport.c(389) : warning
C4133: 'fu
nction' : incompatible types - from 'PyThreadState *' to 'PyThreadState
*'
twisted\internet\iocpreactor\iocpsupport\iocpsupport.c(505) : warning
C4022: 'Po
stQueuedCompletionStatus' : pointer mismatch for actual parameter 1
twisted\internet\iocpreactor\iocpsupport\iocpsupport.c(532) : warning
C4022: 'Cl
oseHandle' : pointer mismatch for actual parameter 1
twisted\internet\iocpreactor\iocpsupport\iocpsupport.c(654) : warning
C4244: '='
 : conversion from 'long' to 'short', possible loss of data
twisted\internet\iocpreactor\iocpsupport\iocpsupport.c(1089) : warning
C4133: '=
' : incompatible types - from 'PyObject ** ' to 'PyObject ** '
winsock_pointers.c
   Creating library build\temp.win32-2.4\Release
\twisted/internet/iocpreactor/io
cpsupport\iocpsupport.lib and object build\temp.win32-2.4\Release
\twisted/intern
et/iocpreactor/iocpsupport\iocpsupport.exp
  File "build\bdist.win32\egg\twisted\test\generator_failure_tests.py",
line 66
    yield
         ^
SyntaxError: invalid syntax
  File "c:\python24\lib\site-packages\twisted-8.2.0-py2.4-win32.egg
\twisted\test
\generator_failure_tests.py", line 66
    yield
         ^
SyntaxError: invalid syntax
Adding twisted 8.2.0 to easy-install.pth file

Alles weitere läuft ganz normal durch. Wenn ich dann die runzope.bat in
meinem Projekt starte dann kommt der obige Traceback. Was habe ich nun
falsch gemacht? Also kennt jemand das Problem und eventuell eine Lösung
dafür? Das Zope Projekt ist einfach mit mkzopeinstance.bat ausgecheckt
und beinhaltet noch nichts spezielles. Ich bin dankbar für jede Anregung
die mir weiterhilft.
  
Viele Grüße
Alexander



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.