Link to home
Start Free TrialLog in
Avatar of amigan_99
amigan_99Flag for United States of America

asked on

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
Avatar of icenick
icenick
Flag of Israel image

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.
Avatar of amigan_99

ASKER

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.
Yes, try installing it manually.

Good luck.
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.



ASKER CERTIFIED SOLUTION
Avatar of icenick
icenick
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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!
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


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