Hi!
Just updated our 1.9.2 to 1.9.3
Today I tried to import aprox 50 Pages via xmlrpc with some python 2.5
skript after several puts I get an 503, the Server runs well, also after
the xmlrpc terminates, my users can still work with moin.
I even tried some sleep etc. after insertion, but with no success
Here a litte excerpt of the Code:
nmsdoc = xmlrpclib.ServerProxy(Server+"?action=xmlrpc2")
if DEBUG > 7:
logging.debug("funcSendWikiPage(): ServerProxy")
auth_token = nmsdoc.getAuthToken(User,Pass)
if DEBUG > 7:
logging.debug("funcSendWikiPage(): auth_token")
mc = xmlrpclib.MultiCall(nmsdoc)
if DEBUG > 7:
logging.debug("funcSendWikiPage(): MultiCall")
mc.applyAuthToken(auth_token)
if DEBUG > 7:
logging.debug("funcSendWikiPage(): ApplyAuthToken ")
mc.putPage(PageName,PageContend)
if DEBUG > 7:
logging.debug("funcSendWikiPage(): PutPage")
result = mc()
print PageName
print result
mc.close()
With log-output
01.07.2010 - 16:21:18: DEBUG - funcSendWikiPage(): PageName:
fooo->wsasp-sws1-hub->wsasp-sws1->gtw
01.07.2010 - 16:21:18: DEBUG - funcSendWikiPage(): ServerProxy
01.07.2010 - 16:21:18: DEBUG - funcSendWikiPage(): auth_token
01.07.2010 - 16:21:18: DEBUG - funcSendWikiPage(): MultiCall
01.07.2010 - 16:21:18: DEBUG - funcSendWikiPage(): ApplyAuthToken
01.07.2010 - 16:21:18: DEBUG - funcSendWikiPage(): PutPage
And a Stacktrace of:
Traceback (most recent call last):
File "push2wiki.py", line 777, in <module>
funcDeliverPages(QuellPfad)
File "push2wiki.py", line 703, in funcDeliverPages
funcSendWikiPage(I, Seite, ServerURI, ServerName, ServerPass)
File "push2wiki.py", line 297, in funcSendWikiPage
result = mc()
File "c:\python\lib\xmlrpclib.py", line 1042, in __call__
return
MultiCallIterator(self.__server.system.multicall(marshalled_list))
File "c:\python\lib\xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "c:\python\lib\xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "c:\python\lib\xmlrpclib.py", line 1243, in request
headers
xmlrpclib.ProtocolError: <ProtocolError for
lvasp-nmsdoc.metzler.com/nmsdoku/?action=xmlrpc2: 503 SERVICE UNAVAILABLE>
Perhaps any clue for that ?
cheers
Matthias
------------------------------------------------------------------------------------
METZLER
IT-Systems - System-/Network-Administration
Matthias Gruber
Bankhaus B. Metzler seel. Sohn & Co. KGaA
Große Gallusstaße. 18
60311 Frankfurt am Main
Telefon (0 69) 21 04 - 43 30
Telefax (0 69) 21 04 - 40 40
mgru...@metzler.com
http://www.metzler.com
Persönlich haftende Gesellschafter: Friedrich von Metzler, Emmerich Müller
Vorsitzender des Aufsichtsrates: Dr. Christoph Schücking
Sitz der Gesellschaft: Frankfurt am Main, Handelsregisternummer: HRB 27 515
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfänger
sein, so bitten wir Sie höflich, dies unverzüglich dem Absender mitzuteilen und
die Nachricht zu löschen. Es ist unzulässig, die Nachricht unbefugt
weiterzuleiten oder zu kopieren. Da wir nicht die Echtheit oder Vollständigkeit
der in dieser Nachricht enthaltenen Informationen garantieren oder zusichern
können, sind die vorstehenden Ausführungen rechtlich nicht bindend. Eine
Haftung hierfür wird ausgeschlossen.
This message is confidential. If you are not the intended recipient, we kindly
ask you to inform the sender and delete the information. Any unauthorised
dissemination or copying hereof is prohibited. As we cannot guarantee or assure
the genuineness or completeness of the information contained in this message,
the statements set forth above are not legally binding. Accordingly we cannot
accept liability therefore.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user