question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

gcsfs 0.5.2 breaks on permission issue

See original GitHub issue

After updating from 0.5.1 to 0.5.2 we get the following error:

<<Project Number>>-compute@developer.gserviceaccount.com does not have serviceusage.services.use access to project <<Project Number>>.

This does not happen for GCFS 0.5.1.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
TomAugspurgercommented, Dec 11, 2019

#224 was just merged, which should fix things for you all. If you could try installing from master I’d appreciate it.

I’ll do a release tomorrow.

0reactions
Trollgeircommented, Nov 16, 2020

I suddenly seem to have the same issue with any version of gcsfs including 0.7.1.

import gcsfs
fs = gcsfs.GCSFileSystem()
fs.ls("")

OSError: Forbidden: https://www.googleapis.com/storage/v1/b/
XXX@XXX does not have serviceusage.services.use access to the Google Cloud project.

I have confirmed that I’m on the same project, and the weird thing is that gsutil ls works just fine - which afaik shares the credentials with gcsfs ?

EDIT: I was able to use it after getting permissions to serviceusage.services in GCP. However I don’t really understand why this is needed as I can access and perform operations via gsutil without it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

gcsfs 0.5.2 breaks on permission issue #218 - GitHub
After updating from 0.5.1 to 0.5.2 we get the following error: < >-compute@developer.gserviceaccount.com does not have ...
Read more >
GCSFs Documentation - Read the Docs
A pythonic file-system interface to Google Cloud Storage. This software is beta, use at your own risk. Please file issues and requests on ......
Read more >
GCSFS — GCSFs 2022.11.0+2.g111769a documentation
A pythonic file-system interface to Google Cloud Storage. This software is beta, use at your own risk. Please file issues and requests on...
Read more >
conda-forge - :: Anaconda.org
cassowary, 0.5.2, BSD-3-Clause, X, Pure Python PNG image encoder/decoder ... Django extension for creating forms that vary according to user permissions.
Read more >
1.1.7 (core) / 0.17.7 (libraries) - Dagster Docs
This was due to incorrect slicing of the asset list, and has been fixed. Fixed an issue in Dagit where the dialog used...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found