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

Google Cloud Storage bucket cleared out in GP Tool #144

Open
slibby opened this issue Apr 6, 2022 · 2 comments
Open

Google Cloud Storage bucket cleared out in GP Tool #144

slibby opened this issue Apr 6, 2022 · 2 comments

Comments

@slibby
Copy link
Member

slibby commented Apr 6, 2022

When trying to run the OptimizeRasters tool from the .pyt, there appears to be an issue with the Tool Validation logic.

I have a credential file with GetObject privileges to the bucket, when I specify the bucket name, then click to another parameter, it does some processing (some ToolValidation I assume) and then immediately clears out the value.

87B74847-0549-48D6-9890-F503CA4C5EFF

I am guessing this may be because it tries to do a ListBuckets query or something similar to that, to populate a dropdown?

@slibby
Copy link
Member Author

slibby commented Apr 6, 2022

I think this comes down to the validateCredentials method, which has exception handling for AWS and Azure when ListBuckets is not allowed, but not for Google:

image

@Chamlika
Copy link
Contributor

@slibby Can you check if running it at the console works for you, and you're right, it looks like a UI issue. Will see to rectify, thanks!

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

2 participants