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

unable to get list of all files in firebase storage #49

Open
codewithawr opened this issue Mar 25, 2022 · 0 comments
Open

unable to get list of all files in firebase storage #49

codewithawr opened this issue Mar 25, 2022 · 0 comments

Comments

@codewithawr
Copy link

codewithawr commented Mar 25, 2022

i have a directory (wallpaper_app/Best_Wallpapers) in storage of firebase and it have some files iwant URL's of them all

but when i try to get list_files by
image = storage.child('wallpaper_app/Best_Wallpapers/').list_files()

it is working with serviceAccount adid to conig bu idont want to add

#-------------------------------iam facing error-----------------------------------#

File "d:\Project\wallpaper-app-kivy\temp.py", line 33, in
imageUrl = storage.list_files()
File "D:\Project\wallpaper-app-kivy\wallpaper-app\lib\site-packages\pyrebase\pyrebase.py", line 507, in list_files
return self.bucket.list_blobs()
AttributeError: 'Storage' object has no attribute 'bucket'
#----------------------------------------------------------------------------------#
Make sure these boxes are checked before submitting your issue:

[/] Check that your version of Python is 3.4+
[/] Check that you are on the newest version of Pyrebase
[/] Check that Email/password provider is enabled in your Firebase dashboard under Auth -> Sign In Method.

Please don't be discouraged if you do not get a response to your issue quickly,
I maintain Pyrebase for fun and don't always have as much free time as I'd like.

Thank you for helping make Pyrebase better!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant