[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 764
  • Last Modified:

Difficulty installing Google Apps SDK on Fedora

I am having difficulty installing the google app engine SDK on my Fedora Core system.  How can I get this working?  Thanks.

[alexander@fedora1 google_appengine]$ ./dev_appserver.py Downloads/google_appengine
/home/alexander/Downloads/google_appengine/google/appengine/tools/appcfg.py:41: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
/home/alexander/Downloads/google_appengine/google/appengine/api/datastore_file_stub.py:40: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
Traceback (most recent call last):
  File "./dev_appserver.py", line 67, in <module>
    run_file(__file__, globals())
  File "./dev_appserver.py", line 63, in run_file
    execfile(script_path, globals_)
  File "/home/alexander/Downloads/google_appengine/google/appengine/tools/dev_appserver_main.py", line 417, in <module>
    sys.exit(main(sys.argv))
  File "/home/alexander/Downloads/google_appengine/google/appengine/tools/dev_appserver_main.py", line 360, in main
    config, matcher = dev_appserver.LoadAppConfig(root_path, {})
  File "/home/alexander/Downloads/google_appengine/google/appengine/tools/dev_appserver.py", line 3441, in LoadAppConfig
    raise AppConfigNotFoundError
google.appengine.tools.dev_appserver.AppConfigNotFoundError
0
amigan_99
Asked:
amigan_99
  • 5
  • 3
1 Solution
 
icenickCommented:
Dear amigan_99,

From the messages above, the warning is related to Python. Python does not use sha and md5. Instead it uses hashlib.

You need to update your python. Try installing newer version of python and try again.

I hope I helped.
0
 
amigan_99Author Commented:
I tried using yum update python and it said nothing marked for update.  So I tried a yum install python and the message was clearer still "package python 2.6.2-2.fc12.i686 already installed".

But going to python.org I see there is in fact a newer version 2.6.4.  http://www.python.org/download/.
I'll try to manually install from there.
0
 
icenickCommented:
Yes, try installing it manually.

Good luck.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
amigan_99Author Commented:
I was able to upgrade the python to 2.6.4..

[root@fedora1 google_appengine]# python
Python 2.6.4 (r264:75706, Dec 20 2009, 13:30:01)
[GCC 4.4.2 20091027 (Red Hat 4.4.2-7)] on linux2

Note the following output from dev_appserver.py

[root@fedora1 google_appengine]# ./dev_appserver.py
/home/alexander/Downloads/google_appengine/google/appengine/tools/appcfg.py:41: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
/home/alexander/Downloads/google_appengine/google/appengine/api/datastore_file_stub.py:40: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
Invalid arguments
Runs a development application server for an application.

dev_appserver.py [options] <application root>

Application root must be the path to the application to run in this server.
Must contain a valid app.yaml or app.yml file.



0
 
icenickCommented:
Dear amigan_99,

It seems that the warnings stand still.

I found this link, take a look at it:

http://junalontherun.com/2009/01/12/installing-google-app-engine-sdk-on-ubuntu/

I hope it helps.
0
 
amigan_99Author Commented:
I'll have to give that a try icenick.  I posted to the google app engine board and there they said I would need to downgrade to Python.  We'll see what the fix is soon!
0
 
amigan_99Author Commented:
Well I tried the URL instructions but the result was more of the same ol..

[root@fedora1 google_appengine]# ./dev_appserver.py /home/alexander/Downloads/google_appengine/gogogo/gogogotest.py
/home/alexander/Downloads/google_appengine/google/appengine/tools/appcfg.py:41: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
/home/alexander/Downloads/google_appengine/google/appengine/api/datastore_file_stub.py:40: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
Traceback (most recent call last):
  File "./dev_appserver.py", line 67, in <module>
    run_file(__file__, globals())
  File "./dev_appserver.py", line 63, in run_file
    execfile(script_path, globals_)
  File "/home/alexander/Downloads/google_appengine/google/appengine/tools/dev_appserver_main.py", line 417, in <module>
    sys.exit(main(sys.argv))
  File "/home/alexander/Downloads/google_appengine/google/appengine/tools/dev_appserver_main.py", line 360, in main
    config, matcher = dev_appserver.LoadAppConfig(root_path, {})
  File "/home/alexander/Downloads/google_appengine/google/appengine/tools/dev_appserver.py", line 3441, in LoadAppConfig
    raise AppConfigNotFoundError
google.appengine.tools.dev_appserver.AppConfigNotFoundError


0
 
amigan_99Author Commented:
Never could get this going but I've moved on to other priorities.  Thanks.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now