Re: [google-appengine] Problems running App Engine Xmpp
This is an issue with GAE4B domains. We're working on fixing this, but as this is still a trusted tester feature, our expectation is that bugs like this will still surface. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Mon, Jan 24, 2011 at 6:06 PM, Jacob Reese jacobre...@google.com wrote: Ok, so it appears to be something to do with me setting it up as a googleplex site. The same code works correctly in a personal and public website. Anyone know how I can get this to work correctly? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Problems running App Engine Xmpp
Well I have tried many combinations of just basic xmpp functionality. I have copied the basic xmpp function from the docs: class XMPPHandler(webapp.RequestHandler): def post(self): message = xmpp.Message(self.request.POST) message.reply(Greetings!) I have tried the basic xmpp.send_invite, xmpp.check_presence, and xmpp.send_message(em...@domain.com, Ahoy, captain-fl...@appspot.com) I keep getting this: Traceback (most recent call last): File /base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py, line 515, in __call__ handler.get(*groups) File /base/data/home/apps/google.com:captainflint/1.347870331835928555/index.py, line 16, in get xmpp.send_invite(em...@domain.com) File /base/python_runtime/python_lib/versions/1/google/appengine/api/xmpp/__init__.py, line 152, in send_invite raise InvalidJidError() InvalidJidError Of course I removed my email address from the above examples Thanks - Jacob -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Problems running App Engine Xmpp
Ok, so it appears to be something to do with me setting it up as a googleplex site. The same code works correctly in a personal and public website. Anyone know how I can get this to work correctly? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Problems running App Engine Xmpp
I am new to using python and thought I would create a chat bot as a first project. I have a problem getting anything to send. I am using a googleplex account and a appspot for the im name. I have tried everything i could think of. I copied directly from the tutorials and even tried the multichat example. It will receive but when it tries to send, I get a InvalidJidError in my logs. I have tried using the Message.reply or sending a message using the send_message function. It also throws the error when trying get_presence function. I have tried any combination of JID's that I could think of and tried multiple accounts that I have. Any idea what could be causing this? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Problems running App Engine Xmpp
Hi Jacob, Has the user you're trying to send the message to invited your app to chat? You might want to include the full stack trace from the logs. Also, including some of the code you've actually tried could help too. What happens if you try something like this: class XMPPHandler(webapp.RequestHandler): def post(self): message = xmpp.Message(self.request.POST) if 'hello' in message.body.lower(): message.reply(Hello!) else: message.reply(let me think...) Robert On Sun, Jan 23, 2011 at 11:52, Jacob Reese jacobre...@google.com wrote: I am new to using python and thought I would create a chat bot as a first project. I have a problem getting anything to send. I am using a googleplex account and a appspot for the im name. I have tried everything i could think of. I copied directly from the tutorials and even tried the multichat example. It will receive but when it tries to send, I get a InvalidJidError in my logs. I have tried using the Message.reply or sending a message using the send_message function. It also throws the error when trying get_presence function. I have tried any combination of JID's that I could think of and tried multiple accounts that I have. Any idea what could be causing this? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.