Git Product home page Git Product logo

Comments (19)

aiuto avatar aiuto commented on July 28, 2024

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.

FaisalAbid avatar FaisalAbid commented on July 28, 2024

Yes this was the problem, that fixed it.

from apis-client-generator.

aiuto avatar aiuto commented on July 28, 2024

Re-opening so people can find it.

from apis-client-generator.

aiuto avatar aiuto commented on July 28, 2024

whoops. reopen again.

from apis-client-generator.

FaisalAbid avatar FaisalAbid commented on July 28, 2024

Ha okay cool!

from apis-client-generator.

mcohoon avatar mcohoon commented on July 28, 2024

I think that the problem is that this library needs to be updated on pypi

from apis-client-generator.

aiuto avatar aiuto commented on July 28, 2024

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.

aiuto avatar aiuto commented on July 28, 2024

setup.py fixed in b584f76

from apis-client-generator.

tswast avatar tswast commented on July 28, 2024

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.

tswast avatar tswast commented on July 28, 2024

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.

mtucker6784 avatar mtucker6784 commented on July 28, 2024

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.

tswast avatar tswast commented on July 28, 2024

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.

mtucker6784 avatar mtucker6784 commented on July 28, 2024

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.

jeffkpayne avatar jeffkpayne commented on July 28, 2024

@tswast Any chance this fix can be deployed to PyPi?

from apis-client-generator.

cramertj avatar cramertj commented on July 28, 2024

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.

aiuto avatar aiuto commented on July 28, 2024

from apis-client-generator.

cramertj avatar cramertj commented on July 28, 2024

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.

cramertj avatar cramertj commented on July 28, 2024

Looks like there's even an open PR to fix it (#18).

from apis-client-generator.

tswast avatar tswast commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.