Erfahrungen mit Twisted und MoinMoinWiki und Win XP?
Hallo, hat hier schon jemand MoinMoinWiki mit dem Twisted Server unter Win XP zum laufen gebracht? Ich habe es mit den einschlägigen Anleitungen (http://moinmoin.wikiwikiweb.de/HilfeZurInstallation, http://moinmoin.wikiwikiweb.de/HelpOnInstalling/TwistedWeb) versucht, leider ohne Erfolg. Python und MoinMoin Installation sind wohl ok. Der letzte Schritt ("Starting the Server on Windows") scheitert. Leider wird das Terminal Window so schnell wieder geschlossen, daß man den kurz aufblitzenden Text nicht lesen kann. Ich könnte mir vorstellen, daß evtl. die Pfade nicht richtig gesetzt sind. Die Anleitungen geben dazu aber nicht besonders viel Info. Google hat mich auch nicht weiter erhellen können. Irgendeine Idee (außer Apatche zu verwenden)? Danke! Thomas _______________________________________________ python-de maillist - python-de@python.net http://python.net/mailman/listinfo/python-de
On Thursday 08 December 2005 10:58, Thomas Hennemann wrote:
Hallo,
hat hier schon jemand MoinMoinWiki mit dem Twisted Server unter Win XP zum laufen gebracht? Ich habe es mit den einschlägigen Anleitungen (http://moinmoin.wikiwikiweb.de/HilfeZurInstallation, http://moinmoin.wikiwikiweb.de/HelpOnInstalling/TwistedWeb) versucht, leider ohne Erfolg. Python und MoinMoin Installation sind wohl ok. Der letzte Schritt ("Starting the Server on Windows") scheitert. Leider wird das Terminal Window so schnell wieder geschlossen, daß man den kurz aufblitzenden Text nicht lesen kann. Ich könnte mir vorstellen, daß evtl. die Pfade nicht richtig gesetzt sind. Die Anleitungen geben dazu aber nicht besonders viel Info.
Google hat mich auch nicht weiter erhellen können.
Irgendeine Idee (außer Apatche zu verwenden)?
Cygwin installieren - ohne die ist Windows eh nicht einsatzfaehig :) Dann startest du den Kram aus der Shell - und schon siehst du die Fehlermeldung. Diez _______________________________________________ python-de maillist - python-de@python.net http://python.net/mailman/listinfo/python-de
Diez B. Roggisch wrote:
Cygwin installieren - ohne die ist Windows eh nicht einsatzfaehig :) Ok, habe ich eh schon drauf :)
Dann startest du den Kram aus der Shell - und schon siehst du die Fehlermeldung.
Die Originalanleitung sagt zum Thema "Starting the server on Windows" "Copy wiki/server/mointwisted.cmd to your wiki directory. You might have to change the path pointing to the python-scripts directory. Double click mointwisted.cmd to start the server. It will create a new terminal window. To stop the server, close the terminal window." Doppelclicken geht nunmal schlecht aus 'ner Shell. Ich vermute, daß "python mointwisted.py" aus der Shell zum gleichen Ergebnis führt? Dies ist die Meldung, die ich erhalte.... Traceback (most recent call last): File "mointwisted.py", line 27, in ? from MoinMoin.server.twistedmoin import TwistedConfig, makeApp File "C:\Python24\Lib\site-packages\MoinMoin\server\twistedmoin.py", line 27, in ? from twisted.internet import threads, reactor, ssl File "C:\Python24\lib\site-packages\twisted\internet\ssl.py", line 47, in ? from OpenSSL import SSL ImportError: No module named OpenSSL
Diez
_______________________________________________ python-de maillist - python-de@python.net http://python.net/mailman/listinfo/python-de
_______________________________________________ python-de maillist - python-de@python.net http://python.net/mailman/listinfo/python-de
"Copy wiki/server/mointwisted.cmd to your wiki directory. You might have to change the path pointing to the python-scripts directory. Double click mointwisted.cmd to start the server. It will create a new terminal window. To stop the server, close the terminal window." Doppelclicken geht nunmal schlecht aus 'ner Shell. Ich vermute, daß "python mointwisted.py" aus der Shell zum gleichen Ergebnis führt?
Wenn das in mointwisted.cmd steht, ja.
Dies ist die Meldung, die ich erhalte....
Traceback (most recent call last): File "mointwisted.py", line 27, in ? from MoinMoin.server.twistedmoin import TwistedConfig, makeApp File "C:\Python24\Lib\site-packages\MoinMoin\server\twistedmoin.py", line 27, in ? from twisted.internet import threads, reactor, ssl File "C:\Python24\lib\site-packages\twisted\internet\ssl.py", line 47, in ? from OpenSSL import SSL ImportError: No module named OpenSSL
Und danach googlest du mal und findest http://twistedmatrix.com/pipermail/twisted-python/2005-November/011951.html Soooo einfach kann debuggen sein :) Diez _______________________________________________ python-de maillist - python-de@python.net http://python.net/mailman/listinfo/python-de
Und danach googlest du mal und findest
http://twistedmatrix.com/pipermail/twisted-python/2005-November/011951.html
Soooo einfach kann debuggen sein :)
Vielen Dank! Thomas _______________________________________________ python-de maillist - python-de@python.net http://python.net/mailman/listinfo/python-de
Thomas Hennemann wrote:
Diez B. Roggisch wrote:
Cygwin installieren - ohne die ist Windows eh nicht einsatzfaehig :) Ok, habe ich eh schon drauf :)
Dann startest du den Kram aus der Shell - und schon siehst du die Fehlermeldung.
Die Originalanleitung sagt zum Thema "Starting the server on Windows"
"Copy wiki/server/mointwisted.cmd to your wiki directory. You might have to change the path pointing to the python-scripts directory. Double click mointwisted.cmd to start the server. It will create a new terminal window. To stop the server, close the terminal window." Doppelclicken geht nunmal schlecht aus 'ner Shell. Ich vermute, daß "python mointwisted.py" aus der Shell zum gleichen Ergebnis führt?
Ok, die cmd-Datei enthielt: "C:\Program Files\python23\Scripts\twistd" --python mointwisted.py Dies paßt pfadmäßig nicht ganz zu der Python 2.4 installation auf meinem Rechner ;-) Im Verzeichnis C:\Python24\scripts gibt es die Datei "twistd.py" Ändere ich die cmd-Datei auf:D:\wikidir\modem>"C:\Python24\scripts\twistd.py" --python mointwisted.py So erhalte ich folgende Meldung: Traceback (most recent call last): File "C:\Python24\scripts\twistd.py", line 25, in ? run() File "C:\Python24\lib\site-packages\twisted\scripts\_twistw.py", line 51, in run app.run(runApp, ServerOptions) File "C:\Python24\lib\site-packages\twisted\application\app.py", line 275, in run runApp(config) File "C:\Python24\lib\site-packages\twisted\scripts\_twistw.py", line 35, in runApp application = app.getApplication(config, passphrase) --- <exception caught here> --- File "C:\Python24\lib\site-packages\twisted\application\app.py", line 157, in getApplication application = service.loadApplication(filename, style, passphrase) File "C:\Python24\lib\site-packages\twisted\application\service.py", line 304, in loadApplication application = sob.loadValueFromFile(filename, 'application', passphrase) File "C:\Python24\lib\site-packages\twisted\persisted\sob.py", line 208, in lo adValueFromFile exec fileObj in d, d File "mointwisted.py", line 28, in ? from MoinMoin.server.twistedmoin import TwistedConfig, makeApp File "C:\Python24\Lib\site-packages\MoinMoin\server\twistedmoin.py", line 27, in ? from twisted.internet import threads, reactor, ssl File "C:\Python24\lib\site-packages\twisted\internet\ssl.py", line 47, in ? from OpenSSL import SSL exceptions.ImportError: No module named OpenSSL Failed to load application: No module named OpenSSL Kann hiermit jemand etwas anfangen und mich in die richtige Richtung weisen? Danke! Thomas _______________________________________________ python-de maillist - python-de@python.net http://python.net/mailman/listinfo/python-de
Kann hiermit jemand etwas anfangen und mich in die richtige Richtung weisen?
Siehe meinen anderen Post.... Diez _______________________________________________ python-de maillist - python-de@python.net http://python.net/mailman/listinfo/python-de
Thomas Hennemann wrote:
Python und MoinMoin Installation sind wohl ok. Der letzte Schritt ("Starting the Server on Windows") scheitert. Leider wird das Terminal Window so schnell wieder geschlossen, daß man den kurz aufblitzenden Text nicht lesen kann.
Warum öffnest du nicht ein Terminal und startest dort den Server? mfg Daniel _______________________________________________ python-de maillist - python-de@python.net http://python.net/mailman/listinfo/python-de
participants (3)
-
Daniel Marcel Eichler
-
Diez B. Roggisch
-
Thomas Hennemann