dartanalyzer fails when user's home directory does not exist. #37308
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
customer-fuchsia
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
This tracker is for issues related to:
Analyzer
Dart SDK Version (
dart --version
)version 2.3.2-edge.b37aa3b03650c60ab47b78b2163382d889ecb5df
Whether you are using Windows, MacOSX, or Linux (if applicable)
Linux
Whether you are using Chrome, Safari, Firefox, Edge (if applicable)
N/A
I am working on adding dartanalyzer support in goma (remote build system) so our team can speed up the build. But when I tried my dartanalyzer support prototype, it always fails with following messages:
After digging into the source code of dartanalyzer, I figure out dartanalyzer will try to write its analytics data into user's home directory, which is fine. But it shouldn't fail if the home directory is not writable or not exist. Some build bots may not have a home directory or may not have a writable file-system.
I also tried '--use-analysis-driver-memory-byte-store' flag but the exception persists.
c.c. @petrhosek
The text was updated successfully, but these errors were encountered: