1) The dev-appserver isn't useful for Wave robots - robots must be deployed
on a public URL (appspot.com) to be used inside Wave.

2) The error says that you did not specify a directory. You should specify
either "." if you're inside the project directory or if not, the relative
directory path.


On Tue, Mar 30, 2010 at 2:01 PM, Tushar Ghosh <2shar...@gmail.com> wrote:

> I am going through the tutorial and am following the hello world bot
> which here i have named as hello-bot.
> But when I run the dev_appserver, the only output I am getting is:
>
> Not found error: / did not match any patterns in application
> configuration.
>
> Also when I am trying to deploy the bot using appcfg.py, I am getting
> the following error:
>
> $ appcfg.py request_logs
> /home/tushar/Documents/WaveRobot/google_appengine/appcfg.py:41:
> DeprecationWarning: the sha module is deprecated; use the hashlib
> module instead
>  os.path.join(DIR_PATH, 'lib', 'antlr3'),
> /home/tushar/Documents/WaveRobot/google_appengine/google/appengine/
> tools/dev_appserver_login.py:33: DeprecationWarning: the md5 module is
> deprecated; use hashlib instead
>  import md5
> Usage: appcfg.py [options] request_logs <directory> <output_file>
>
> appcfg.py: error: Expected a <directory> argument and an <output_file>
> argument.
> tus...@tushar:~/Documents/WaveRobot$ appcfg.py update hello-bot/
> /home/tushar/Documents/WaveRobot/google_appengine/appcfg.py:41:
> DeprecationWarning: the sha module is deprecated; use the hashlib
> module instead
>  os.path.join(DIR_PATH, 'lib', 'antlr3'),
> /home/tushar/Documents/WaveRobot/google_appengine/google/appengine/
> tools/dev_appserver_login.py:33: DeprecationWarning: the md5 module is
> deprecated; use hashlib instead
>  import md5
> Application: hello-bot; version: 1.
> Server: appengine.google.com.
> 2010-03-30 01:48:43,003 ERROR appcfg.py:195 Could not find version
> file at /usr/lib/pymodules/python2.6/google/../VERSION
> 2010-03-30 01:48:43,003 ERROR appcfg.py:195 Could not find version
> file at /usr/lib/pymodules/python2.6/google/../VERSION
> 2010-03-30 01:48:43,004 ERROR appcfg.py:195 Could not find version
> file at /usr/lib/pymodules/python2.6/google/../VERSION
> Scanning files on local disk.
> Initiating update.
> ^CInterrupted.
> tus...@tushar:~/Documents/WaveRobot$ appcfg.py update hello-bot/
> /home/tushar/Documents/WaveRobot/google_appengine/appcfg.py:41:
> DeprecationWarning: the sha module is deprecated; use the hashlib
> module instead
>  os.path.join(DIR_PATH, 'lib', 'antlr3'),
> /home/tushar/Documents/WaveRobot/google_appengine/google/appengine/
> tools/dev_appserver_login.py:33: DeprecationWarning: the md5 module is
> deprecated; use hashlib instead
>  import md5
> Application: hello-bot; version: 1.
> Server: appengine.google.com.
> 2010-03-30 01:50:09,324 ERROR appcfg.py:195 Could not find version
> file at /usr/lib/pymodules/python2.6/google/../VERSION
> 2010-03-30 01:50:09,324 ERROR appcfg.py:195 Could not find version
> file at /usr/lib/pymodules/python2.6/google/../VERSION
> 2010-03-30 01:50:09,324 ERROR appcfg.py:195 Could not find version
> file at /usr/lib/pymodules/python2.6/google/../VERSION
> Scanning files on local disk.
> Initiating update.
> 2010-03-30 01:50:49,380 ERROR appcfg.py:1568 An unexpected error
> occurred. Aborting.
> Traceback (most recent call last):
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appcfg.py", line 1535, in DoUpload
>    missing_files = self.Begin()
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appcfg.py", line 1305, in Begin
>    version=self.version, payload=self.config.ToYAML())
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appengine_rpc.py", line 346, in Send
>    f = self.opener.open(req)
>  File "/usr/lib/python2.6/urllib2.py", line 389, in open
>    response = self._open(req, data)
>  File "/usr/lib/python2.6/urllib2.py", line 407, in _open
>    '_open', req)
>  File "/usr/lib/python2.6/urllib2.py", line 367, in _call_chain
>    result = func(*args)
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/https_wrapper.py", line 136, in https_open
>    return self.do_open(http_class_wrapper, req)
>  File "/usr/lib/python2.6/urllib2.py", line 1121, in do_open
>    raise URLError(err)
> URLError: <urlopen error [Errno -5] No address associated with
> hostname>
> Traceback (most recent call last):
>  File "/home/tushar/Documents/WaveRobot/google_appengine/appcfg.py",
> line 68, in <module>
>    run_file(__file__, globals())
>  File "/home/tushar/Documents/WaveRobot/google_appengine/appcfg.py",
> line 64, in run_file
>    execfile(script_path, globals_)
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appcfg.py", line 2709, in <module>
>    main(sys.argv)
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appcfg.py", line 2700, in main
>    result = AppCfgApp(argv).Run()
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appcfg.py", line 1763, in Run
>    self.action(self)
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appcfg.py", line 2580, in __call__
>    return method()
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appcfg.py", line 2070, in Update
>    lambda path: open(os.path.join(basepath, path), 'rb'))
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appcfg.py", line 1535, in DoUpload
>    missing_files = self.Begin()
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appcfg.py", line 1305, in Begin
>    version=self.version, payload=self.config.ToYAML())
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appengine_rpc.py", line 346, in Send
>    f = self.opener.open(req)
>  File "/usr/lib/python2.6/urllib2.py", line 389, in open
>    response = self._open(req, data)
>  File "/usr/lib/python2.6/urllib2.py", line 407, in _open
>    '_open', req)
>  File "/usr/lib/python2.6/urllib2.py", line 367, in _call_chain
>    result = func(*args)
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/https_wrapper.py", line 136, in https_open
>    return self.do_open(http_class_wrapper, req)
>  File "/usr/lib/python2.6/urllib2.py", line 1121, in do_open
>    raise URLError(err)
> urllib2.URLError: <urlopen error [Errno -5] No address associated with
> hostname>
> tus...@tushar:~/Documents/WaveRobot$ appcfg.py update hello-bot/
> /home/tushar/Documents/WaveRobot/google_appengine/appcfg.py:41:
> DeprecationWarning: the sha module is deprecated; use the hashlib
> module instead
>  os.path.join(DIR_PATH, 'lib', 'antlr3'),
> /home/tushar/Documents/WaveRobot/google_appengine/google/appengine/
> tools/dev_appserver_login.py:33: DeprecationWarning: the md5 module is
> deprecated; use hashlib instead
>  import md5
> Application: new-project-template; version: 1.
> Server: appengine.google.com.
> 2010-03-30 08:27:08,317 ERROR appcfg.py:195 Could not find version
> file at /usr/lib/pymodules/python2.6/google/../VERSION
> 2010-03-30 08:27:08,318 ERROR appcfg.py:195 Could not find version
> file at /usr/lib/pymodules/python2.6/google/../VERSION
> 2010-03-30 08:27:08,318 ERROR appcfg.py:195 Could not find version
> file at /usr/lib/pymodules/python2.6/google/../VERSION
> Scanning files on local disk.
> Initiating update.
> 2010-03-30 08:27:48,364 ERROR appcfg.py:1568 An unexpected error
> occurred. Aborting.
> Traceback (most recent call last):
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appcfg.py", line 1535, in DoUpload
>    missing_files = self.Begin()
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appcfg.py", line 1305, in Begin
>    version=self.version, payload=self.config.ToYAML())
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appengine_rpc.py", line 346, in Send
>    f = self.opener.open(req)
>  File "/usr/lib/python2.6/urllib2.py", line 389, in open
>    response = self._open(req, data)
>  File "/usr/lib/python2.6/urllib2.py", line 407, in _open
>    '_open', req)
>  File "/usr/lib/python2.6/urllib2.py", line 367, in _call_chain
>    result = func(*args)
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/https_wrapper.py", line 136, in https_open
>    return self.do_open(http_class_wrapper, req)
>  File "/usr/lib/python2.6/urllib2.py", line 1121, in do_open
>    raise URLError(err)
> URLError: <urlopen error [Errno -5] No address associated with
> hostname>
> Traceback (most recent call last):
>  File "/home/tushar/Documents/WaveRobot/google_appengine/appcfg.py",
> line 68, in <module>
>    run_file(__file__, globals())
>  File "/home/tushar/Documents/WaveRobot/google_appengine/appcfg.py",
> line 64, in run_file
>    execfile(script_path, globals_)
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appcfg.py", line 2709, in <module>
>    main(sys.argv)
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appcfg.py", line 2700, in main
>    result = AppCfgApp(argv).Run()
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appcfg.py", line 1763, in Run
>    self.action(self)
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appcfg.py", line 2580, in __call__
>    return method()
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appcfg.py", line 2070, in Update
>    lambda path: open(os.path.join(basepath, path), 'rb'))
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appcfg.py", line 1535, in DoUpload
>    missing_files = self.Begin()
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appcfg.py", line 1305, in Begin
>    version=self.version, payload=self.config.ToYAML())
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/appengine_rpc.py", line 346, in Send
>    f = self.opener.open(req)
>  File "/usr/lib/python2.6/urllib2.py", line 389, in open
>    response = self._open(req, data)
>  File "/usr/lib/python2.6/urllib2.py", line 407, in _open
>    '_open', req)
>  File "/usr/lib/python2.6/urllib2.py", line 367, in _call_chain
>    result = func(*args)
>  File "/home/tushar/Documents/WaveRobot/google_appengine/google/
> appengine/tools/https_wrapper.py", line 136, in https_open
>    return self.do_open(http_class_wrapper, req)
>  File "/usr/lib/python2.6/urllib2.py", line 1121, in do_open
>    raise URLError(err)
> urllib2.URLError: <urlopen error [Errno -5] No address associated with
> hostname>
>
> Please help by throwing some light on this.
>
> --
> 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-wave-...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-wave-api+unsubscr...@googlegroups.com<google-wave-api%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-wave-api?hl=en.
>
>

-- 
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-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.

Reply via email to