Not even the most basic stuff works:
------------ main.py ------------
#!/usr/bin/python2.5
import logging
logging.info('base')
from waveapi import events
from waveapi import model
from waveapi import document
from waveapi import robot
def OnBlipSubmitted(properties, context):
logging.info('OnBlipSubmitted')
if __name__ == '__main__':
logging.info('__main__')
_robot = robot.Robot('MyBot, '1', image_url='
http://wave-
mybot.appspot.com/public/image.png', profile_url='
http://wave-
mybot.appspot.com/public/profile.htm')
_robot.RegisterHandler('BLIP_SUBMITTED', OnBlipSubmitted)
_robot.Run(debug=True)
------------------------------------
A thing to note is that
logging.info('__main__') never logs to the
log, neither is
logging.info('base').
But, "
http://wave-mybot.appspot.com/public/image.png" and "
http://wave-
mybot.appspot.com/public/profile.htm" are being hosted correctly (they
are viewable in a browser), which means that robot.Robot('...') is
effectively being executed.
OnBlipSubmitted is apparently never executed.
When I comment out "from waveapi import robot" I do get a traceback
when robot.Robot('') is being called, but none of the logging messages
are actually logged.
Who can I contact to deal with this issue?
--
Daniel