Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when running demo.initialize() #1048

Closed
clement opened this issue Aug 11, 2015 · 2 comments
Closed

Exception when running demo.initialize() #1048

clement opened this issue Aug 11, 2015 · 2 comments
Assignees
Labels
api: datastore Issues related to the Datastore API.

Comments

@clement
Copy link

clement commented Aug 11, 2015

File ".../env/local/lib/python2.7/site-packages/gcloud/datastore/demo/__init__.py", line 26, in initialize
    datastore.set_default_dataset_id(DATASET_ID)
AttributeError: 'module' object has no attribute 'set_default_dataset_id'

When running with:

GCLOUD_TESTS_PROJECT_ID=X \
GCLOUD_TESTS_DATASET_ID=X \
GOOGLE_APPLICATION_CREDENTIALS=foobar.json \
python -m gcloud.datastore.demo

on version 0.7.0

@dhermes
Copy link
Contributor

dhermes commented Aug 11, 2015

@clement Thanks a lot for filing! You inspired to file #1049

Looking into it. It's still broken at HEAD (I just checked).

dhermes added a commit to dhermes/google-cloud-python that referenced this issue Aug 11, 2015
@dhermes
Copy link
Contributor

dhermes commented Aug 12, 2015

@clement This won't be "fixed" until we cut a new release. But that may be very soon. (/cc @tseaver)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: datastore Issues related to the Datastore API.
Projects
None yet
Development

No branches or pull requests

2 participants