dcorking / google-wave-resources

Automatically exported from code.google.com/p/google-wave-resources
0 stars 0 forks source link

robot.fetch_wavelet(WAVE_ID, WAVELET_ID) does not work for private replies. #689

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I use the Active API method to fetch a private reply (since it is a 
separate wavelet with it's own participants list, I should be able to get 
it using the robot.fetch_wavelet operation. When I do this, I get an error. 
Here are the appengine logs:

ApplicationError: 5 
Traceback (most recent call last):
  File 
"/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 
509, in __call__
    handler.post(*groups)
  File "/base/data/home/apps/wave-
watchers/default.340669023350415383/waveapi/appengine_robot_runner.py", 
line 82, in post
    json_response = self._robot.process_events(json_body)
  File "/base/data/home/apps/wave-
watchers/default.340669023350415383/waveapi/robot.py", line 362, in 
process_events
    handler(event, event_wavelet)
  File "/base/data/home/apps/wave-
watchers/default.340669023350415383/wavewatchers_default.py", line 70, in 
OnWaveletSelfAdded
    indexWave = myRobot.fetch_wavelet(INDEX_WAVE_ID, INDEX_WAVELET_ID)
  File "/base/data/home/apps/wave-
watchers/default.340669023350415383/waveapi/robot.py", line 451, in 
fetch_wavelet
    result = self._first_rpc_result(self.make_rpc(operation_queue))
  File "/base/data/home/apps/wave-
watchers/default.340669023350415383/waveapi/robot.py", line 245, in 
make_rpc
    headers={'Content-Type': 'application/json'})
  File "/base/data/home/apps/wave-
watchers/default.340669023350415383/waveapi/appengine_robot_runner.py", 
line 105, in appengine_post
    deadline=10)
  File "/base/python_lib/versions/1/google/appengine/api/urlfetch.py", line 
241, in fetch
    return rpc.get_result()
  File 
"/base/python_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", 
line 501, in get_result
    return self.__get_result_hook(self)
  File "/base/python_lib/versions/1/google/appengine/api/urlfetch.py", line 
331, in _get_fetch_result
    raise DownloadError(str(err))
DownloadError: ApplicationError: 5 

Original issue reported on code.google.com by nat.abbo...@gmail.com on 20 Mar 2010 at 9:13

GoogleCodeExporter commented 9 years ago
It worked okay for me, using Python. Do you consistently get the timeout? Is it 
a large 
wave?

Original comment by pamela.fox on 24 Mar 2010 at 11:54

GoogleCodeExporter commented 9 years ago
Not a large wave. The robot (even though it is added to the private blip and 
the main 
wave), is unable to add any other participants, whereas it can in other 
non-private 
replies.

I am also using python.

Original comment by nat.abbo...@gmail.com on 25 Mar 2010 at 5:31

GoogleCodeExporter commented 9 years ago
Can you paste your code here? I'll try it out in mine.

Original comment by pamela.fox on 27 Mar 2010 at 2:04

GoogleCodeExporter commented 9 years ago
I re-tried running it, and it seemed to have worked. Could you close this 
issue, it 
must have been an isolated incident. I was only worried so much because the 
traceback 
did not make it's way back to my own code, but to the WaveAPI2 code.

Original comment by nat.abbo...@gmail.com on 27 Mar 2010 at 9:37

GoogleCodeExporter commented 9 years ago
It may be just general issue of intermittent timeout issues with the active 
API, which 
is logged in another issue.

Closing this one.

Original comment by pamela.fox on 28 Mar 2010 at 7:46