Comments (19)
I believe this is a problem with Django 1.8. Try downgrading to 1.7.
sudo pip uninstall django
sudo pip install django==1.7.7
from apis-client-generator.
Yes this was the problem, that fixed it.
from apis-client-generator.
Re-opening so people can find it.
from apis-client-generator.
whoops. reopen again.
from apis-client-generator.
Ha okay cool!
from apis-client-generator.
I think that the problem is that this library needs to be updated on pypi
from apis-client-generator.
I have no problems using 1.8. Perhaps the problem is really 1.8. I have not migrated to that yet.
from apis-client-generator.
setup.py fixed in b584f76
from apis-client-generator.
I hit this issue today, too. We should release a version with the fix to pypi, if it is indeed fixed.
from apis-client-generator.
I'm getting this error when building from source, too, not just the pypi package. The setup.py script is installing django 1.9rc1
$ pip uninstall django
$ python setup.py install --user
$ pip show django
---
Metadata-Version: 1.1
Name: Django
Version: 1.9rc1
After changing to exactly version 1.8.12, the generate_library command works again.
diff --git a/setup.py b/setup.py
index 10db46a..6b566c4 100644
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,7 @@ setup(
'googleapis.codegen.script_stubs:RunExpandTemplates')
]},
include_package_data=True,
- install_requires=['django<1.9',
+ install_requires=['django==1.8.12',
'httplib2',
'google-apputils',
'python-gflags',
from apis-client-generator.
was this ever done as a PR? I ran into the same problem, used the 1.7.7 library and it worked
from apis-client-generator.
We just pushed the change to fix this. Sorry, it was fixed in our internal repo but never synced the change back.
from apis-client-generator.
Oh no it's all good. Thank you for getting all this together!
On Thursday, September 29, 2016, Tim Swast [email protected] wrote:
We just pushed the change to fix this. Sorry, it was fixed in our internal
repo but never synced the change back.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#13 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABiNklQXzdZItBiDgPVH6W11Xnn4v-Xnks5qu_LFgaJpZM4E548T
.
Michael Tucker
Tucker Tech Online, LLC
http://www.tuckertechonline.com/
480-620-4506
from apis-client-generator.
@tswast Any chance this fix can be deployed to PyPi?
from apis-client-generator.
I hit this error today, so this is still an issue. If this is fixed internally, it'd be nice if it could be synced.
from apis-client-generator.
from apis-client-generator.
Yes, it is a version mismatch. However, it means that the README instructions (pip install google-apis-client-generator
and then run the script) don't work.
from apis-client-generator.
Looks like there's even an open PR to fix it (#18).
from apis-client-generator.
This is fixed in the latest version. https://pypi.python.org/pypi/google-apis-client-generator/1.4.3
@jeffkpayne Just released it today. Sorry it took so long for me to figure out how to get access to release the version to PyPI.
@aiuto @SurferJeffAtGoogle I believe we can close this.
from apis-client-generator.
Related Issues (20)
- Generated Java model class misses toString()
- Document Django <=1.8 requirement HOT 6
- Update or delete pip package HOT 3
- C++: implementations of some functions are not generated. HOT 1
- Optional Query Params Not Generated for Method Call Params
- Top level list in discovery document are not generated correctly
- PSR compliance PHP client generator HOT 2
- Generating c++ fails. HOT 2
- Generating C++ fails
- Recommended way for generating clients? HOT 2
- Last release to PIP was 2013-08-20. Make new release HOT 4
- Broken code generated using master on Java target HOT 7
- Unable to locally deploy generated Java client with Maven
- PHP generated classes dont have a namespace in them
- PHPApi in php_generator.py does not strip out spaces from api class name
- Allow Django version above > 1.11.19 HOT 2
- Getting issue of name
- Support for python3 HOT 5
- DCM API Migration Issue
- Incompatible with google-api-client:2.0.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apis-client-generator.