Je suis en train d'utiliser l'API Robot actif Google Wave fetch_wavelet()
et je reçois un HTTP 502 erreurhttpError 502 avec Google Wave API active Robot fetch_wavelet()
exemple:
from waveapi import robot
import passwords
robot = robot.Robot('gae-run', 'http://images.com/fake-image.jpg')
robot.setup_oauth(passwords.CONSUMER_KEY, passwords.CONSUMER_SECRET, server_rpc_base='http://www-opensocial.googleusercontent.com/api/rpc')
wavelet = robot.fetch_wavelet('googlewave.com!w+dtuZi6t3C','googlewave.com!conv+root')
robot.submit(wavelet)
self.response.out.write(wavelet.creator)
Mais l'erreur I obtenir est ce:
Traceback (most recent call last):
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 511, in __call__
handler.get(*groups)
File "/base/data/home/apps/clstff/gae-run.342467577023864664/main.py", line 23, in get
robot.submit(wavelet)
File "/base/data/home/apps/clstff/gae-run.342467577023864664/waveapi/robot.py", line 486, in submit
res = self.make_rpc(pending)
File "/base/data/home/apps/clstff/gae-run.342467577023864664/waveapi/robot.py", line 251, in make_rpc
raise IOError('HttpError ' + str(code))
IOError: HttpError 502
Des idées?
Edit:
Lorsque [email protected]
est pas membre de l'onde je reçois le message d'erreur correct
Error: RPC Error500: internalError: [email protected] is not a participant of wave id: [WaveId:googlewave.com!w+Pq1HgvssD] wavelet id: [WaveletId:googlewave.com!conv+root]. Unable to apply operation: {'method':'robot.fetchWave','id':'655720','waveId':'googlewave.com!w+Pq1HgvssD','waveletId':'googlewave.com!conv+root','blipId':'null','parameters':{}}
Mais quand [email protected]
est un membre de la vague que je reçois http 502 erreur.
IOError: HttpError 502