'robot not defined' following the tutorial (linux)

0 views
Skip to first unread message

Jose Quesada

unread,
Jan 4, 2010, 2:21:01 PM1/4/10
to Google Wave API
I got the tutorial code working on win, and now we are following the
tutorial on linux.
I created the appengine app.
Then, svn checkout of the wave api on the root dir for the robot

I also have an app.yaml and the .py file (copied from the tutorial)

using appcfg update nameoftherobot, on the folder that has the robot
folder we get 'name robot not defined'

http://gofotron.appspot.com/_wave/capabilities.xml returns a 500


The logs produce something like this:
01-04 11:18AM 21.428

<type 'exceptions.NameError'>: name 'robot' is not defined
Traceback (most recent call last):
File "/base/data/home/apps/gofotron/1.338934157224439185/
gofotron.py", line 27, in <module>
myRobot = robot.Robot('appName',

It must be something silly, but after 2 hrs, we have no idea what to
try next.
Any idea for troubleshooting?
Any workaround?
Tips for debugging?

This the tutorial code, it must work...

Thanks

Simon Rawet

unread,
Jan 5, 2010, 9:20:41 PM1/5/10
to google-...@googlegroups.com
It says robot is not defiend. So try importing it "from wave import
robot" and dont forget to download the api and putt it in the robot
root folder.

--
Sent from my iPhone

> --
> You received this message because you are subscribed to the Google
> Groups "Google Wave API" group.
> To post to this group, send email to google-...@googlegroups.com.
> To unsubscribe from this group, send email to google-wave-a...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en
> .
>
>

Reply all
Reply to author
Forward
0 new messages