bumplzz69 / google-api-python-client

Automatically exported from code.google.com/p/google-api-python-client
Other
0 stars 0 forks source link

enable-app-engine-project script has egg issues #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try using enable-app-engine-project on a machine where gflags was installed 
by setuptools.

What is the expected output? What do you see instead?

 "py2.6.egg/gflags.py': doesn't exist or not a regular file"

Script should unpack needed files and directories from eggs.

Original issue reported on code.google.com by jcgregorio@google.com on 27 Apr 2011 at 9:17

GoogleCodeExporter commented 9 years ago

Original comment by jcgregorio@google.com on 27 Apr 2011 at 9:17

GoogleCodeExporter commented 9 years ago
A work around, while this bug gets fixed, is to download a release package, 
expand the archive, and run enable-app-engine-project from the root of the 
expanded archive.

Original comment by jcgregorio@google.com on 7 May 2011 at 12:34

GoogleCodeExporter commented 9 years ago
http://codereview.appspot.com/4523041/

Original comment by jcgregorio@google.com on 8 May 2011 at 4:44

GoogleCodeExporter commented 9 years ago

Original comment by jcgregorio@google.com on 27 May 2011 at 8:43

GoogleCodeExporter commented 9 years ago
I am still having this issue. I have installed gflags and followed the 
instructions to install, but I still receive the error message:

can't copy 
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/p
ython_gflags-1.6-py2.7.egg/gflags.py': doesn't exist or not a regular file

I see there is a .egg in the directory 
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/'
 but it is not a directory and it seems like enable-app-engine-project expects 
it to be a directory

python-client version:
http://code.google.com/p/google-api-python-client/downloads/detail?name=oauth2cl
ient-1.0beta2.zip&can=2&q=

gflag version:
http://code.google.com/p/python-gflags/downloads/detail?name=python-gflags-1.6.t
ar.gz&can=2&q=

Original comment by marksb...@gmail.com on 23 Aug 2011 at 6:28

GoogleCodeExporter commented 9 years ago
I am having the same issue on python 2.5:

>> enable-app-engine-project .
can't copy 
'/home/endimus/python2.5/lib/python2.5/site-packages/python_gflags-1.6-py2.5.egg
/gflags.py': doesn't exist or not a regular file

The "egg" files under site-packages directory are files, NOT directories. Here 
is the content of my site packages after I ran the google-api-client install:
>> ls /home/endimus/python2.5/lib/python2.5/site-packages/
anyjson                                      indextank                       
PyYAML-3.10-py2.5-linux-x86_64.egg
anyjson-0.3.1-py2.5.egg-info                 indextank-1.0.6-py2.5.egg-info  
setuptools-0.6c11-py2.5.egg
argh-0.14.0-py2.5.egg                        nose-1.1.2-py2.5.egg            
setuptools-0.6c12dev_r88846-py2.5.egg
argparse-1.2.1-py2.5.egg                     NoseGAE-0.1.9-py2.5.egg         
setuptools.pth
Brownie-0.5.1-py2.5.egg                      oauth2-1.5.170-py2.5.egg        
simplejson-2.1.6-py2.5-linux-x86_64.egg
easy-install.pth                             pathtools-0.1.1-py2.5.egg       
watchdog-0.5.4-py2.5.egg
google_api_python_client-1.0beta2-py2.5.egg  pip-1.0.2-py2.5.egg
httplib2-0.7.1-py2.5.egg                     python_gflags-1.6-py2.5.egg

It seems that enable-app-engine-install is confused about where things are 
located at.

Original comment by ad...@quizry.com on 23 Aug 2011 at 9:15