Comments (4)
Thanks for catching that. Could you try patching the setup.py file with the
attached patch, and re-installing?
Original comment by [email protected]
on 30 Oct 2010 at 10:10
Attachments:
from google-api-python-client.
hello, i've tried your patch and ran sudo python install setup.py again.
But i received the following error:
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 219, in execute
self.validate()
File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 249, in validate
num_errors = get_validation_errors(s, app)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/validation.py", line 28, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/usr/local/lib/python2.6/dist-packages/django/db/models/loading.py", line 146, in get_app_errors
self._populate()
File "/usr/local/lib/python2.6/dist-packages/django/db/models/loading.py", line 64, in _populate
self.load_app(app_name)
File "/usr/local/lib/python2.6/dist-packages/django/db/models/loading.py", line 78, in load_app
models = import_module('.models', app_name)
File "/usr/local/lib/python2.6/dist-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/home/eugene/public_html/django/tabshift/../tabshift/buzz/models.py", line 8, in <module>
from apiclient.ext.django import FlowThreeLeggedField
File "/usr/local/lib/python2.6/dist-packages/google_api_python_client-0.1-py2.6.egg/apiclient/ext/django.py", line 1, in <module>
from django.db import models
ImportError: No module named db
It seems that django.db is not being imported.
But my djanog installation works fine and i've been using it for about 1.5
years.
Any idea how I can fix this?
Original comment by [email protected]
on 31 Oct 2010 at 5:45
from google-api-python-client.
Yup, looks like a re-naming issue. I've attached another patch -- you should be
able to apply this one directly to the installed files, no need to re-install.
Let us know how it works out. Thanks!
Original comment by [email protected]
on 1 Nov 2010 at 12:20
Attachments:
from google-api-python-client.
revision 87c25aadf0 fixes the issue, revision de627a9efc fixes the problem
mentioned in comment 2. Note that the patch in comment 3 isn't the same
solution as the one in the trunk. The trunk has a more descriptive naming
scheme that solves the problem.
If you're still having problems after pulling the latest changes, please let us
know. Thanks!
Original comment by [email protected]
on 1 Nov 2010 at 10:39
- Changed state: Fixed
from google-api-python-client.
Related Issues (20)
- TypeError when using oauth2 store HOT 6
- http.py line 817 call to http.request (really new_request) missing 'method= HOT 1
- SignedJwtAssertionCredentials are missing token_expiry value after retrieving from Storage HOT 1
- TaskQueue API Client Library for Python - QuickStart fails
- UnknownApiNameOrVersion: name: blogger version: v3
- BadStatusLine Exception thrown - how to handle to continue?
- Cannot ue storage on django-nonrel
- Create new MediaUpload sub-class for Google Cloud Storage
- Redirection to the authorization server fails in calendar web server example
- 403 error / Forbidden when accessing https://www.googleapis.com/auth/plus.profiles.read in python
- Authorization of own account for django app
- tools.argparser misnamed as tools.run_parser
- dns resolve via http proxy
- SSLError: EOF occurred in violation of protocol. HOT 1
- oauth2client on GCE throws AttributeError no attribute redirect_uri HOT 1
- django_orm not compatible with Django 1.8+
- Google Maps Distance_Matrix timing out
- no crypto library available
- installed application throws CertificateHostnameMismatch HOT 1
- 403 error when try to query searchanalytics on my site
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 google-api-python-client.