Fixed
Status Update
Comments
4a...@sudoforge.com <4a...@sudoforge.com> #2
This is a problem for me too, I have a ListView of things where many of the items don't have images. This leaves me no clean way to display a default image, I have to make a bogus network request for every last one.
4a...@sudoforge.com <4a...@sudoforge.com> #4
Looks like my problem was fixed a couple of months ago with the addition of setDefaultImageOrNull() in place of that setImageBitmap() line in the issue description.
I don't see that it would let one directly set the image bitmap, though.
I don't see that it would let one directly set the image bitmap, though.
pi...@google.com <pi...@google.com> #5
Still the issue, I had to comment setImageBitmap(null); in the method.
4a...@sudoforge.com <4a...@sudoforge.com> #6
im having the same problem. is there any work around for this.
ba...@google.com <ba...@google.com> #8
Hi Ben,
Could you provide a minimal reproducible example of this issue? Since it seems you are trying to install the Cloud SDK on a custom linux distribution we are unable to test this on from our end.
Could you provide a minimal reproducible example of this issue? Since it seems you are trying to install the Cloud SDK on a custom linux distribution we are unable to test this on from our end.
4a...@sudoforge.com <4a...@sudoforge.com> #9
Sure. Attached is a Dockerfile which will reproduce the error on build. See the comments in the file for additional information.
ba...@google.com <ba...@google.com> #10
Hi Ben,
Thank you for the information provided. The Cloud SDK is currently aware of this issue and further communications will be made in this thread, however I cannot promise an ETA for the resolution of it.
Thank you for the information provided. The Cloud SDK is currently aware of this issue and further communications will be made in this thread, however I cannot promise an ETA for the resolution of it.
4a...@sudoforge.com <4a...@sudoforge.com> #11
Attached is a patch file containing a fix for this issue.
4a...@sudoforge.com <4a...@sudoforge.com> #12
This is resolved as of 289.0.0, which introduced the following change:
- if answer is None or (answer is '' and default is not None):
+ if answer is None or (not answer and default is not None):
# Return default if we failed to read from stdin.
# Return default if the user hit enter and there is a valid default,
# or raise OperationCancelledError if default is the cancel option.
4a...@sudoforge.com <4a...@sudoforge.com> #13
It'd be great if Piper references handled auto-closing these issues on releases :)
su...@google.com <su...@google.com> #14
Hello,
This issue has been fixed long time ago. I am closing the case.
In case of additional support needed please open new case.
4a...@sudoforge.com <4a...@sudoforge.com> #15
Yep, it was closed as of version 289.0.0 of the SDK, as indicated in my earlier comment. Thanks for closing it!
Description
A SyntaxWarning is printed to the screen when running the ./opt/bin/bootstrapping/install.py script under python3.
Platform: 64-bit Linux
Kernel: 5.4.3
Python versions installed: Python3, Python2
What you expected to happen:
No warning should be printed to the screen.
Steps to reproduce:
Run the following command: python3 ./opt/bin/bootstrapping/install.py --quiet 1> /dev/null
View the following SyntaxWarning:
/build/google-cloud-sdk/pkg/google-cloud-sdk/opt/google-cloud-sdk/lib/googlecloudsdk/core/console/console_io.py:544: SyntaxWarning: "is" with a literal. Did you mean "=="?
if answer is None or (answer is '' and default is not None):