Skip to content

Instantly share code, notes, and snippets.

@chinmaygarde
Created October 26, 2018 23:40
Show Gist options
  • Select an option

  • Save chinmaygarde/a19c2e57b64118fe2b38b257613fc361 to your computer and use it in GitHub Desktop.

Select an option

Save chinmaygarde/a19c2e57b64118fe2b38b257613fc361 to your computer and use it in GitHub Desktop.
python ../../third_party/dart/build/gn_run_binary.py compiled_action dart --deterministic --packages=/Volumes/SourceCode/engine/src/third_party/dart/.packages --snapshot=gen/analysis_server.dart.snapshot --snapshot-depfile=/Volumes/SourceCode/engine/src/out/host_debug_unopt/gen/analysis_server.dart.snapshot.d --snapshot-kind=app-jit /Volumes/SourceCode/engine/src/third_party/dart/pkg/analysis_server/bin/server.dart --help
Command failed: ./dart --deterministic --packages=/Volumes/SourceCode/engine/src/third_party/dart/.packages --snapshot=gen/analysis_server.dart.snapshot --snapshot-depfile=/Volumes/SourceCode/engine/src/out/host_debug_unopt/gen/analysis_server.dart.snapshot.d --snapshot-kind=app-jit /Volumes/SourceCode/engine/src/third_party/dart/pkg/analysis_server/bin/server.dart --help
output: file:///Volumes/SourceCode/engine/src/third_party/dart/pkg/telemetry/lib/crash_reporting.dart:64:50: Error: Method not found: 'MultipartRequest'.
final http.MultipartRequest req = new http.MultipartRequest('POST', uri);
^^^^^^^^^^^^^^^^
file:///Volumes/SourceCode/engine/src/third_party/dart/pkg/telemetry/lib/crash_reporting.dart:64:18: Error: 'MultipartRequest' isn't a type.
final http.MultipartRequest req = new http.MultipartRequest('POST', uri);
^^^^^^^^^^^^^^^^
file:///Volumes/SourceCode/engine/src/third_party/dart/pkg/telemetry/lib/crash_reporting.dart:74:44: Error: Method not found: 'MultipartFile.fromString'.
req.files.add(new http.MultipartFile.fromString(
^^^^^^^^^^
file:///Volumes/SourceCode/engine/src/third_party/dart/pkg/telemetry/lib/crash_reporting.dart:78:18: Error: 'StreamedResponse' isn't a type.
final http.StreamedResponse resp = await _httpClient.send(req);
^^^^^^^^^^^^^^^^
file:///Volumes/SourceCode/engine/src/third_party/dart/pkg/telemetry/lib/crash_reporting.dart:64:66: Error: Too many positional arguments: 0 allowed, but 2 found.
Try removing the extra positional arguments.
final http.MultipartRequest req = new http.MultipartRequest('POST', uri);
^
file:///Volumes/SourceCode/engine/src/third_party/dart/pkg/telemetry/lib/crash_reporting.dart:65:11: Error: The getter 'fields' isn't defined for the class 'invalid-type'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'fields'.
req.fields['uuid'] = analytics.clientId;
^^^^^^
file:///Volumes/SourceCode/engine/src/third_party/dart/pkg/telemetry/lib/crash_reporting.dart:66:11: Error: The getter 'fields' isn't defined for the class 'invalid-type'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'fields'.
req.fields['product'] = crashProductId;
^^^^^^
file:///Volumes/SourceCode/engine/src/third_party/dart/pkg/telemetry/lib/crash_reporting.dart:67:11: Error: The getter 'fields' isn't defined for the class 'invalid-type'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'fields'.
req.fields['version'] = analytics.applicationVersion;
^^^^^^
file:///Volumes/SourceCode/engine/src/third_party/dart/pkg/telemetry/lib/crash_reporting.dart:68:11: Error: The getter 'fields' isn't defined for the class 'invalid-type'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'fields'.
req.fields['osName'] = Platform.operatingSystem;
^^^^^^
file:///Volumes/SourceCode/engine/src/third_party/dart/pkg/telemetry/lib/crash_reporting.dart:69:11: Error: The getter 'fields' isn't defined for the class 'invalid-type'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'fields'.
req.fields['osVersion'] = Platform.operatingSystemVersion;
^^^^^^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment