I am getting the following error while trying to upload my code to
appengine. Can someone suggest what is wrong. Am using appengine
1.3.0, python version, python 2.6 on ubuntu 9.10 and 9.04.

/home/pravenj/Desktop/google_appengine/google/appengine/ext/remote_api/
remote_api_stub.py:64: DeprecationWarning: the sha module is
deprecated; use the hashlib module instead
  import sha
Application: guestbook; version: 1.
Server: appengine.google.com.
Scanning files on local disk.
Traceback (most recent call last):
  File "appcfg.py", line 67, in <module>
    run_file(__file__, globals())
  File "appcfg.py", line 63, in run_file
    execfile(script_path, globals_)
  File "/home/pravenj/Desktop/google_appengine/google/appengine/tools/
appcfg.py", line 2548, in <module>
    main(sys.argv)
  File "/home/pravenj/Desktop/google_appengine/google/appengine/tools/
appcfg.py", line 2539, in main
    result = AppCfgApp(argv).Run()
  File "/home/pravenj/Desktop/google_appengine/google/appengine/tools/
appcfg.py", line 1640, in Run
    self.action(self)
  File "/home/pravenj/Desktop/google_appengine/google/appengine/tools/
appcfg.py", line 2427, in __call__
    return method()
  File "/home/pravenj/Desktop/google_appengine/google/appengine/tools/
appcfg.py", line 1935, in Update
    lambda path: open(os.path.join(basepath, path), 'rb'))
  File "/home/pravenj/Desktop/google_appengine/google/appengine/tools/
appcfg.py", line 1410, in DoUpload
    self.AddFile(path, file_handle)
  File "/home/pravenj/Desktop/google_appengine/google/appengine/tools/
appcfg.py", line 1205, in AddFile
    content_hash = _Hash(file_handle.read())
  File "/home/pravenj/Desktop/google_appengine/google/appengine/tools/
appcfg.py", line 1148, in _Hash
    h = hashlib.new(content).hexdigest()
  File "/usr/lib/python2.6/hashlib.py", line 101, in __hash_new
    return __get_builtin_constructor(name)(string)
  File "/usr/lib/python2.6/hashlib.py", line 80, in
__get_builtin_constructor
    raise ValueError, "unsupported hash type"
ValueError: unsupported hash type

Thanks.
pravenj

-- 
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-appeng...@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.

Reply via email to