Synthesis failed for ServiceNetworking

Hello! Autosynth couldn't regenerate ServiceNetworking. :broken_heart:
Here's the output from running synth.py:
2020-05-09 05:19:25 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-09 05:19:25,470 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-servicenetworking'
2020-05-09 05:19:27 [INFO] Running synthtool
2020-05-09 05:19:27,152 autosynth > Running synthtool
2020-05-09 05:19:27 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/service_networking/synth.metadata', 'synth.py', '--']
2020-05-09 05:19:27,152 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/service_networking/synth.metadata', 'synth.py', '--']
2020-05-09 05:19:27,358 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-servicenetworking
nothing to commit, working tree clean
2020-05-09 05:19:27,729 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-09 05:19:28,183 synthtool > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/elixir-google-api:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh ServiceNetworking
2020-05-09 05:19:33,016 synthtool > No files in sources /home/kbuilder/.cache/synthtool/elixir-google-api/clients were copied. Does the source contain files?
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 180, in __exit__
    write(self.metadata_file_path)
  File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 112, in write
    with open(outfile, "w") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'clients/service_networking/synth.metadata'
2020-05-09 05:19:33 [ERROR] Synthesis failed
2020-05-09 05:19:33,047 autosynth > Synthesis failed
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 599, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 471, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 549, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 118, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/service_networking/synth.metadata', 'synth.py', '--', 'ServiceNetworking']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating ServiceNetworking. :sob:
Here's the output from running synth.py:
2020-05-11 05:17:41 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-11 05:17:41,613 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-servicenetworking'
2020-05-11 05:17:43 [INFO] Running synthtool
2020-05-11 05:17:43,473 autosynth > Running synthtool
2020-05-11 05:17:43 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/service_networking/synth.metadata', 'synth.py', '--']
2020-05-11 05:17:43,473 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/service_networking/synth.metadata', 'synth.py', '--']
2020-05-11 05:17:43,661 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-servicenetworking
nothing to commit, working tree clean
2020-05-11 05:17:43,771 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-11 05:17:44,671 synthtool > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/elixir-google-api:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh ServiceNetworking
2020-05-11 05:17:48,421 synthtool > No files in sources /home/kbuilder/.cache/synthtool/elixir-google-api/clients were copied. Does the source contain files?
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 180, in __exit__
    write(self.metadata_file_path)
  File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 112, in write
    with open(outfile, "w") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'clients/service_networking/synth.metadata'
2020-05-11 05:17:48 [ERROR] Synthesis failed
2020-05-11 05:17:48,446 autosynth > Synthesis failed
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 599, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 471, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 549, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 118, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/service_networking/synth.metadata', 'synth.py', '--', 'ServiceNetworking']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating ServiceNetworking. :sob:
Here's the output from running synth.py:
2020-05-11 15:20:42 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-11 15:20:42,241 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-servicenetworking'
2020-05-11 15:20:43 [INFO] Running synthtool
2020-05-11 15:20:43,842 autosynth > Running synthtool
2020-05-11 15:20:43 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/service_networking/synth.metadata', 'synth.py', '--']
2020-05-11 15:20:43,843 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/service_networking/synth.metadata', 'synth.py', '--']
2020-05-11 15:20:44,056 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-servicenetworking
nothing to commit, working tree clean
2020-05-11 15:20:44,324 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-11 15:20:44,790 synthtool > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/elixir-google-api:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh ServiceNetworking
/workspace /workspace
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
Resolving Hex dependencies...
Dependency resolution completed:
Unchanged:
  certifi 2.5.1
  google_api_discovery 0.7.0
  google_gax 0.3.2
  hackney 1.15.2
  idna 6.0.0
  jason 1.2.0
  metrics 1.0.1
  mime 1.3.1
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.0
  poison 3.1.0
  ssl_verify_fun 1.1.5
  temp 0.4.7
  tesla 1.3.3
  unicode_util_compat 0.4.1
A new Hex version is available (0.20.1 < 0.20.5), please update with `mix local.hex`
All dependencies are up to date
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.

22:20:47.371 [info]  FETCHING: https://servicenetworking.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1

22:20:47.729 [info]  FETCHING: https://servicenetworking.googleapis.com/$discovery/rest?version=v1

22:20:47.823 [info]  FOUND: https://servicenetworking.googleapis.com/$discovery/rest?version=v1
Revision check: old=20200508, new=20200509, generating=true
Creating leading directories
Writing AddRolesMetadata to clients/service_networking/lib/google_api/service_networking/v1/model/add_roles_metadata.ex.
Writing AddRolesRequest to clients/service_networking/lib/google_api/service_networking/v1/model/add_roles_request.ex.
Writing AddRolesResponse to clients/service_networking/lib/google_api/service_networking/v1/model/add_roles_response.ex.
Writing AddSubnetworkRequest to clients/service_networking/lib/google_api/service_networking/v1/model/add_subnetwork_request.ex.
Writing Api to clients/service_networking/lib/google_api/service_networking/v1/model/api.ex.
Writing AuthProvider to clients/service_networking/lib/google_api/service_networking/v1/model/auth_provider.ex.
Writing AuthRequirement to clients/service_networking/lib/google_api/service_networking/v1/model/auth_requirement.ex.
Writing Authentication to clients/service_networking/lib/google_api/service_networking/v1/model/authentication.ex.
Writing AuthenticationRule to clients/service_networking/lib/google_api/service_networking/v1/model/authentication_rule.ex.
Writing Backend to clients/service_networking/lib/google_api/service_networking/v1/model/backend.ex.
Writing BackendRule to clients/service_networking/lib/google_api/service_networking/v1/model/backend_rule.ex.
Writing Billing to clients/service_networking/lib/google_api/service_networking/v1/model/billing.ex.
Writing BillingDestination to clients/service_networking/lib/google_api/service_networking/v1/model/billing_destination.ex.
Writing CancelOperationRequest to clients/service_networking/lib/google_api/service_networking/v1/model/cancel_operation_request.ex.
Writing Connection to clients/service_networking/lib/google_api/service_networking/v1/model/connection.ex.
Writing ConsumerProject to clients/service_networking/lib/google_api/service_networking/v1/model/consumer_project.ex.
Writing Context to clients/service_networking/lib/google_api/service_networking/v1/model/context.ex.
Writing ContextRule to clients/service_networking/lib/google_api/service_networking/v1/model/context_rule.ex.
Writing Control to clients/service_networking/lib/google_api/service_networking/v1/model/control.ex.
Writing CustomError to clients/service_networking/lib/google_api/service_networking/v1/model/custom_error.ex.
Writing CustomErrorRule to clients/service_networking/lib/google_api/service_networking/v1/model/custom_error_rule.ex.
Writing CustomHttpPattern to clients/service_networking/lib/google_api/service_networking/v1/model/custom_http_pattern.ex.
Writing DisableVpcServiceControlsRequest to clients/service_networking/lib/google_api/service_networking/v1/model/disable_vpc_service_controls_request.ex.
Writing Documentation to clients/service_networking/lib/google_api/service_networking/v1/model/documentation.ex.
Writing DocumentationRule to clients/service_networking/lib/google_api/service_networking/v1/model/documentation_rule.ex.
Writing Empty to clients/service_networking/lib/google_api/service_networking/v1/model/empty.ex.
Writing EnableVpcServiceControlsRequest to clients/service_networking/lib/google_api/service_networking/v1/model/enable_vpc_service_controls_request.ex.
Writing Endpoint to clients/service_networking/lib/google_api/service_networking/v1/model/endpoint.ex.
Writing Enum to clients/service_networking/lib/google_api/service_networking/v1/model/enum.ex.
Writing EnumValue to clients/service_networking/lib/google_api/service_networking/v1/model/enum_value.ex.
Writing Field to clients/service_networking/lib/google_api/service_networking/v1/model/field.ex.
Writing GoogleCloudServicenetworkingV1betaSubnetwork to clients/service_networking/lib/google_api/service_networking/v1/model/google_cloud_servicenetworking_v1beta_subnetwork.ex.
Writing Http to clients/service_networking/lib/google_api/service_networking/v1/model/http.ex.
Writing HttpRule to clients/service_networking/lib/google_api/service_networking/v1/model/http_rule.ex.
Writing JwtLocation to clients/service_networking/lib/google_api/service_networking/v1/model/jwt_location.ex.
Writing LabelDescriptor to clients/service_networking/lib/google_api/service_networking/v1/model/label_descriptor.ex.
Writing ListConnectionsResponse to clients/service_networking/lib/google_api/service_networking/v1/model/list_connections_response.ex.
Writing ListOperationsResponse to clients/service_networking/lib/google_api/service_networking/v1/model/list_operations_response.ex.
Writing LogDescriptor to clients/service_networking/lib/google_api/service_networking/v1/model/log_descriptor.ex.
Writing Logging to clients/service_networking/lib/google_api/service_networking/v1/model/logging.ex.
Writing LoggingDestination to clients/service_networking/lib/google_api/service_networking/v1/model/logging_destination.ex.
Writing Method to clients/service_networking/lib/google_api/service_networking/v1/model/method.ex.
Writing MetricDescriptor to clients/service_networking/lib/google_api/service_networking/v1/model/metric_descriptor.ex.
Writing MetricDescriptorMetadata to clients/service_networking/lib/google_api/service_networking/v1/model/metric_descriptor_metadata.ex.
Writing MetricRule to clients/service_networking/lib/google_api/service_networking/v1/model/metric_rule.ex.
Writing Mixin to clients/service_networking/lib/google_api/service_networking/v1/model/mixin.ex.
Writing MonitoredResourceDescriptor to clients/service_networking/lib/google_api/service_networking/v1/model/monitored_resource_descriptor.ex.
Writing Monitoring to clients/service_networking/lib/google_api/service_networking/v1/model/monitoring.ex.
Writing MonitoringDestination to clients/service_networking/lib/google_api/service_networking/v1/model/monitoring_destination.ex.
Writing OAuthRequirements to clients/service_networking/lib/google_api/service_networking/v1/model/o_auth_requirements.ex.
Writing Operation to clients/service_networking/lib/google_api/service_networking/v1/model/operation.ex.
Writing Option to clients/service_networking/lib/google_api/service_networking/v1/model/option.ex.
Writing Page to clients/service_networking/lib/google_api/service_networking/v1/model/page.ex.
Writing PolicyBinding to clients/service_networking/lib/google_api/service_networking/v1/model/policy_binding.ex.
Writing Quota to clients/service_networking/lib/google_api/service_networking/v1/model/quota.ex.
Writing QuotaLimit to clients/service_networking/lib/google_api/service_networking/v1/model/quota_limit.ex.
Writing Range to clients/service_networking/lib/google_api/service_networking/v1/model/range.ex.
Writing RangeReservation to clients/service_networking/lib/google_api/service_networking/v1/model/range_reservation.ex.
Writing Route to clients/service_networking/lib/google_api/service_networking/v1/model/route.ex.
Writing SearchRangeRequest to clients/service_networking/lib/google_api/service_networking/v1/model/search_range_request.ex.
Writing Service to clients/service_networking/lib/google_api/service_networking/v1/model/service.ex.
Writing ServiceIdentity to clients/service_networking/lib/google_api/service_networking/v1/model/service_identity.ex.
Writing SourceContext to clients/service_networking/lib/google_api/service_networking/v1/model/source_context.ex.
Writing SourceInfo to clients/service_networking/lib/google_api/service_networking/v1/model/source_info.ex.
Writing Status to clients/service_networking/lib/google_api/service_networking/v1/model/status.ex.
Writing Subnetwork to clients/service_networking/lib/google_api/service_networking/v1/model/subnetwork.ex.
Writing SystemParameter to clients/service_networking/lib/google_api/service_networking/v1/model/system_parameter.ex.
Writing SystemParameterRule to clients/service_networking/lib/google_api/service_networking/v1/model/system_parameter_rule.ex.
Writing SystemParameters to clients/service_networking/lib/google_api/service_networking/v1/model/system_parameters.ex.
Writing Type to clients/service_networking/lib/google_api/service_networking/v1/model/type.ex.
Writing Usage to clients/service_networking/lib/google_api/service_networking/v1/model/usage.ex.
Writing UsageRule to clients/service_networking/lib/google_api/service_networking/v1/model/usage_rule.ex.
Writing ValidateConsumerConfigRequest to clients/service_networking/lib/google_api/service_networking/v1/model/validate_consumer_config_request.ex.
Writing ValidateConsumerConfigResponse to clients/service_networking/lib/google_api/service_networking/v1/model/validate_consumer_config_response.ex.
Writing Operations to clients/service_networking/lib/google_api/service_networking/v1/api/operations.ex.
Writing Services to clients/service_networking/lib/google_api/service_networking/v1/api/services.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.

22:20:49.171 [info]  Bumping patch
fixing file permissions
2020-05-11 15:20:49,919 synthtool > No files in sources /home/kbuilder/.cache/synthtool/elixir-google-api/clients were copied. Does the source contain files?
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 180, in __exit__
    write(self.metadata_file_path)
  File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 112, in write
    with open(outfile, "w") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'clients/service_networking/synth.metadata'
2020-05-11 15:20:49 [ERROR] Synthesis failed
2020-05-11 15:20:49,951 autosynth > Synthesis failed
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 599, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 471, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 549, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 118, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/service_networking/synth.metadata', 'synth.py', '--', 'ServiceNetworking']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating ServiceNetworking. :sob:
Here's the output from running synth.py:
2020-05-12 05:20:19 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-12 05:20:19,463 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-servicenetworking'
2020-05-12 05:20:21 [INFO] Running synthtool
2020-05-12 05:20:21,143 autosynth > Running synthtool
2020-05-12 05:20:21 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/service_networking/synth.metadata', 'synth.py', '--']
2020-05-12 05:20:21,143 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/service_networking/synth.metadata', 'synth.py', '--']
2020-05-12 05:20:21,358 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-servicenetworking
nothing to commit, working tree clean
2020-05-12 05:20:21,715 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-12 05:20:22,173 synthtool > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/elixir-google-api:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh ServiceNetworking
/workspace /workspace
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
Resolving Hex dependencies...
Dependency resolution completed:
Unchanged:
  certifi 2.5.1
  google_api_discovery 0.7.0
  google_gax 0.3.2
  hackney 1.15.2
  idna 6.0.0
  jason 1.2.0
  metrics 1.0.1
  mime 1.3.1
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.0
  poison 3.1.0
  ssl_verify_fun 1.1.5
  temp 0.4.7
  tesla 1.3.3
  unicode_util_compat 0.4.1
A new Hex version is available (0.20.1 < 0.20.5), please update with `mix local.hex`
All dependencies are up to date
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.

12:20:24.764 [info]  FETCHING: https://servicenetworking.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1

12:20:25.128 [info]  FETCHING: https://servicenetworking.googleapis.com/$discovery/rest?version=v1

12:20:25.236 [info]  FOUND: https://servicenetworking.googleapis.com/$discovery/rest?version=v1
Revision check: old=20200508, new=20200509, generating=true
Creating leading directories
Writing AddRolesMetadata to clients/service_networking/lib/google_api/service_networking/v1/model/add_roles_metadata.ex.
Writing AddRolesRequest to clients/service_networking/lib/google_api/service_networking/v1/model/add_roles_request.ex.
Writing AddRolesResponse to clients/service_networking/lib/google_api/service_networking/v1/model/add_roles_response.ex.
Writing AddSubnetworkRequest to clients/service_networking/lib/google_api/service_networking/v1/model/add_subnetwork_request.ex.
Writing Api to clients/service_networking/lib/google_api/service_networking/v1/model/api.ex.
Writing AuthProvider to clients/service_networking/lib/google_api/service_networking/v1/model/auth_provider.ex.
Writing AuthRequirement to clients/service_networking/lib/google_api/service_networking/v1/model/auth_requirement.ex.
Writing Authentication to clients/service_networking/lib/google_api/service_networking/v1/model/authentication.ex.
Writing AuthenticationRule to clients/service_networking/lib/google_api/service_networking/v1/model/authentication_rule.ex.
Writing Backend to clients/service_networking/lib/google_api/service_networking/v1/model/backend.ex.
Writing BackendRule to clients/service_networking/lib/google_api/service_networking/v1/model/backend_rule.ex.
Writing Billing to clients/service_networking/lib/google_api/service_networking/v1/model/billing.ex.
Writing BillingDestination to clients/service_networking/lib/google_api/service_networking/v1/model/billing_destination.ex.
Writing CancelOperationRequest to clients/service_networking/lib/google_api/service_networking/v1/model/cancel_operation_request.ex.
Writing Connection to clients/service_networking/lib/google_api/service_networking/v1/model/connection.ex.
Writing ConsumerProject to clients/service_networking/lib/google_api/service_networking/v1/model/consumer_project.ex.
Writing Context to clients/service_networking/lib/google_api/service_networking/v1/model/context.ex.
Writing ContextRule to clients/service_networking/lib/google_api/service_networking/v1/model/context_rule.ex.
Writing Control to clients/service_networking/lib/google_api/service_networking/v1/model/control.ex.
Writing CustomError to clients/service_networking/lib/google_api/service_networking/v1/model/custom_error.ex.
Writing CustomErrorRule to clients/service_networking/lib/google_api/service_networking/v1/model/custom_error_rule.ex.
Writing CustomHttpPattern to clients/service_networking/lib/google_api/service_networking/v1/model/custom_http_pattern.ex.
Writing DisableVpcServiceControlsRequest to clients/service_networking/lib/google_api/service_networking/v1/model/disable_vpc_service_controls_request.ex.
Writing Documentation to clients/service_networking/lib/google_api/service_networking/v1/model/documentation.ex.
Writing DocumentationRule to clients/service_networking/lib/google_api/service_networking/v1/model/documentation_rule.ex.
Writing Empty to clients/service_networking/lib/google_api/service_networking/v1/model/empty.ex.
Writing EnableVpcServiceControlsRequest to clients/service_networking/lib/google_api/service_networking/v1/model/enable_vpc_service_controls_request.ex.
Writing Endpoint to clients/service_networking/lib/google_api/service_networking/v1/model/endpoint.ex.
Writing Enum to clients/service_networking/lib/google_api/service_networking/v1/model/enum.ex.
Writing EnumValue to clients/service_networking/lib/google_api/service_networking/v1/model/enum_value.ex.
Writing Field to clients/service_networking/lib/google_api/service_networking/v1/model/field.ex.
Writing GoogleCloudServicenetworkingV1betaSubnetwork to clients/service_networking/lib/google_api/service_networking/v1/model/google_cloud_servicenetworking_v1beta_subnetwork.ex.
Writing Http to clients/service_networking/lib/google_api/service_networking/v1/model/http.ex.
Writing HttpRule to clients/service_networking/lib/google_api/service_networking/v1/model/http_rule.ex.
Writing JwtLocation to clients/service_networking/lib/google_api/service_networking/v1/model/jwt_location.ex.
Writing LabelDescriptor to clients/service_networking/lib/google_api/service_networking/v1/model/label_descriptor.ex.
Writing ListConnectionsResponse to clients/service_networking/lib/google_api/service_networking/v1/model/list_connections_response.ex.
Writing ListOperationsResponse to clients/service_networking/lib/google_api/service_networking/v1/model/list_operations_response.ex.
Writing LogDescriptor to clients/service_networking/lib/google_api/service_networking/v1/model/log_descriptor.ex.
Writing Logging to clients/service_networking/lib/google_api/service_networking/v1/model/logging.ex.
Writing LoggingDestination to clients/service_networking/lib/google_api/service_networking/v1/model/logging_destination.ex.
Writing Method to clients/service_networking/lib/google_api/service_networking/v1/model/method.ex.
Writing MetricDescriptor to clients/service_networking/lib/google_api/service_networking/v1/model/metric_descriptor.ex.
Writing MetricDescriptorMetadata to clients/service_networking/lib/google_api/service_networking/v1/model/metric_descriptor_metadata.ex.
Writing MetricRule to clients/service_networking/lib/google_api/service_networking/v1/model/metric_rule.ex.
Writing Mixin to clients/service_networking/lib/google_api/service_networking/v1/model/mixin.ex.
Writing MonitoredResourceDescriptor to clients/service_networking/lib/google_api/service_networking/v1/model/monitored_resource_descriptor.ex.
Writing Monitoring to clients/service_networking/lib/google_api/service_networking/v1/model/monitoring.ex.
Writing MonitoringDestination to clients/service_networking/lib/google_api/service_networking/v1/model/monitoring_destination.ex.
Writing OAuthRequirements to clients/service_networking/lib/google_api/service_networking/v1/model/o_auth_requirements.ex.
Writing Operation to clients/service_networking/lib/google_api/service_networking/v1/model/operation.ex.
Writing Option to clients/service_networking/lib/google_api/service_networking/v1/model/option.ex.
Writing Page to clients/service_networking/lib/google_api/service_networking/v1/model/page.ex.
Writing PolicyBinding to clients/service_networking/lib/google_api/service_networking/v1/model/policy_binding.ex.
Writing Quota to clients/service_networking/lib/google_api/service_networking/v1/model/quota.ex.
Writing QuotaLimit to clients/service_networking/lib/google_api/service_networking/v1/model/quota_limit.ex.
Writing Range to clients/service_networking/lib/google_api/service_networking/v1/model/range.ex.
Writing RangeReservation to clients/service_networking/lib/google_api/service_networking/v1/model/range_reservation.ex.
Writing Route to clients/service_networking/lib/google_api/service_networking/v1/model/route.ex.
Writing SearchRangeRequest to clients/service_networking/lib/google_api/service_networking/v1/model/search_range_request.ex.
Writing Service to clients/service_networking/lib/google_api/service_networking/v1/model/service.ex.
Writing ServiceIdentity to clients/service_networking/lib/google_api/service_networking/v1/model/service_identity.ex.
Writing SourceContext to clients/service_networking/lib/google_api/service_networking/v1/model/source_context.ex.
Writing SourceInfo to clients/service_networking/lib/google_api/service_networking/v1/model/source_info.ex.
Writing Status to clients/service_networking/lib/google_api/service_networking/v1/model/status.ex.
Writing Subnetwork to clients/service_networking/lib/google_api/service_networking/v1/model/subnetwork.ex.
Writing SystemParameter to clients/service_networking/lib/google_api/service_networking/v1/model/system_parameter.ex.
Writing SystemParameterRule to clients/service_networking/lib/google_api/service_networking/v1/model/system_parameter_rule.ex.
Writing SystemParameters to clients/service_networking/lib/google_api/service_networking/v1/model/system_parameters.ex.
Writing Type to clients/service_networking/lib/google_api/service_networking/v1/model/type.ex.
Writing Usage to clients/service_networking/lib/google_api/service_networking/v1/model/usage.ex.
Writing UsageRule to clients/service_networking/lib/google_api/service_networking/v1/model/usage_rule.ex.
Writing ValidateConsumerConfigRequest to clients/service_networking/lib/google_api/service_networking/v1/model/validate_consumer_config_request.ex.
Writing ValidateConsumerConfigResponse to clients/service_networking/lib/google_api/service_networking/v1/model/validate_consumer_config_response.ex.
Writing Operations to clients/service_networking/lib/google_api/service_networking/v1/api/operations.ex.
Writing Services to clients/service_networking/lib/google_api/service_networking/v1/api/services.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.

12:20:26.590 [info]  Bumping patch
fixing file permissions
2020-05-12 05:20:27,357 synthtool > No files in sources /home/kbuilder/.cache/synthtool/elixir-google-api/clients were copied. Does the source contain files?
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 180, in __exit__
    write(self.metadata_file_path)
  File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 112, in write
    with open(outfile, "w") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'clients/service_networking/synth.metadata'
2020-05-12 05:20:27 [ERROR] Synthesis failed
2020-05-12 05:20:27,389 autosynth > Synthesis failed
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 599, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 471, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 549, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 118, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/service_networking/synth.metadata', 'synth.py', '--', 'ServiceNetworking']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


steroids package might fail with "maxBuffer exceeded" error if project has very many files

In a project that has a very large amount of files, the steroids package command (ran as part of steroids connect) might fail with a maxBuffer exceeded error.
Please report if you are experiencing the issue!

I've gotten this too. My files are only a couple megabytes total, but there are a lot of them.

How does one alleviate such an issue?

Yup, it should be improved – problem is that since Bower doesn't do a good job at declaring "these are the files the user will want to use", fixing it for good would require each bower install to be followed by adding the actually used files to a whitelist in the Steroids project.
Of course, common ignores like .sh files and node_modules/ dir could be included by default.


can't build electron package

npm run build-electron
I got this error
WARNING in ./node_modules/chokidar/lib/fsevents-handler.js
Module not found: Error: Can't resolve 'fsevents' in '/home/yanis/projects/free-tex-packer/node_modules/chokidar/lib'
 @ ./node_modules/chokidar/lib/fsevents-handler.js
 @ ./node_modules/chokidar/index.js
 @ ./src/client/platform/electron/FileSystem.js
 @ ./src/client/ui/ImagesList.jsx
 @ ./src/client/platform/electron/Controller.js
 @ ./src/client/index.js
 @ multi babel-polyfill ./src/client/index

My system is linux and fsevents didn't work on this system but chokidar requires it

I'm testing electron project and yes, there is a WARNING about fsevents but I can make the app.

build-electron (warning jsevents ignored)
free-tex-packer/electron/package.json (npm install)
free-tex-packer/electron/package.json ( npm start )

https://github.com/webpack/webpack/issues/8364

@rtalon83 what is your system?

Windows 10. 64

Ok, your problem is in Linux.

so we can only build the project on MacOS...

@piratesephiroth you can create virtual machine with any Linux distro and test building

@piratesephiroth you can create virtual machine with any Linux distro and test building

well, it actually builds just fine on Windows.

Build fine on native Win. Linux and Mac on Virtual Box.


Camera shouldn't be hardcoded

Right now, there is a camera location hardcoded in Main.hs that is specifically configured to make good pictures of the scene I've been using. It won't work well for arbitrary scenes.
I could load the camera from .obj files. That doesn't seem ideal, somehow.
At some point, it might be useful to have a GUI that renders the scene in real-time, letting you move the camera to where you want it before starting a render. That would require implementing a whole rasterizer though.

d8d8e09 adds a configuration file separate from the .obj from which the camera is loaded.


Sun/wind no longer available in HA since v2.1.2/v2.1.3

Both version v2.1.2 and v2.1.3 seem to only publish the cover to HA, not the sun sensor and wind switch. Hope this can be fixed.

Sorry, I seems you have made a new parameter to turn this on. I closed this issue.


Please invite me to the GitHub Community Organization

Name
awadesh
Discord Username (if applicable)
No response
Additional Context
There are several aspects about the Eddie community that I find appealing. Firstly, the community members are highly engaged and passionate about their projects. It creates a vibrant and collaborative atmosphere where knowledge sharing and learning thrive.
I'm particularly drawn to the diverse range of projects being worked on within the Eddie community. The variety allows for exposure to different programming languages, frameworks, and problem-solving approaches, which can enhance my own skills and broaden my understanding.
Moreover, the Eddie community seems to foster a supportive environment. From what I've observed, members are encouraged to ask questions, seek guidance, and provide assistance to one another. This level of collaboration and mentorship is invaluable in terms of personal growth and professional development.
Overall, I believe that joining the Eddie community would provide an opportunity for me to contribute to meaningful projects, learn from experienced individuals, and be a part of a supportive network of like-minded developers. I'm excited to engage with the community, share my knowledge, and collaborate on innovative projects that can make a positive impact.

Thank You Very much, looking forward to contributing the Best I can.


Add ? links to topic notification settings

We should add ? help center links to the following settings, to help users understand their options:

[ ]  SETTINGS / NOTIFICATIONS > Topic notifications > Automatically follow topics. Link to /help/follow-a-topic.
[ ] SETTINGS / NOTIFICATIONS > Topic notifications > Automatically unmute topics in muted channels. Link to /help/mute-a-topic.

CZO thread

@zulipbot claim


fixing typo

@4c74356b41 : Thanks for your contribution! The author, @MikeRayMSFT, has been notified to review your proposed change.


ensure where exists (select...) is evaluated only once

Closes #159

I ran the tests with -race flag

@cznic  I have just discovered some issues with the implementation for #155`  semohow the fix there is related to the changes on this PR.
I will leave this here for now while I'm backing another PR which will  take this PR place. I will explain the issue on the PR
Thanks

I will leave this here for now while I'm backing another PR which will take this PR place. I will explain the issue on the PR

No problem.

replaced by #165


Pilot doesn't listen for mesh config changes

In a default k8s deployment, where the mesh config comes from a file within a volume that comes from the istio configmap, Pilot doesn't listen for changes in that file.
Thus, if we change something the the istio configmap, those changes will never reach Envoys, unless we restart pilot.

This has been fixed..

cc @ymesika

Currently the Mesh config file watcher only tells the XDS server about the update.
The policyCheckFailOpen is used by the Mixer and we currently don't have the logic for updating Mixer with the new config.


Review. Your account is under review and we'd like to know a little more about you and how you intend to use Twilio SendGrid. Contact Us

I am sending email using STRAPI. Strapi says the email has been send successfully

But no email is received. whereas I can see (in View Account Usage bottom in left Panel) that I have sent 15 email today. See this

I wanted to ask when SendGrid Account is under Review can't we recieve email? I need to use it to complete a Project for my Client by next week

They resolved the issue in few mins and reactivated the account. Also wrote that it was due to long inactivity. Impressed with the timely response and reactivating.


Random textLayer inflation in iOS Safari

Attach (recommended) or Link to PDF file here:
Any PDF with text (used in this demo: sicp-pocket.pdf)
Configuration:

Web browser and its version: Safari on iOS 14.8
Operating system and its version: iOS 14.8
PDF.js version: 2.10.377 (prior versions also)
Is a browser extension: No

Steps to reproduce the problem:

Open PDF in viewer and put phone in landscape mode
Tap anywhere in a page with some text in it

What is the expected behavior? (add screenshot)
textLayer should not change. Before tapping:

What went wrong? (add screenshot)
Some text elements beef up. After tapping:

Affects text selection.

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
Hosted on localhost.

I don't know if this is a bug with Safari. It happened in previous iOS versions as well.
Suggestion: this solves the issue:
.textLayer span {
    -webkit-text-size-adjust: none;
}

Kudos for the quick response and the patch!
Off topic:
I discovered the above bug while writing a small add-on for PDF.js (see a little Reader mode icon in the above screenshots?) named doq: https://github.com/shivaprsd/doq
It's sort of a hack, code-wise. I wrote it mainly for own use, but it could be useful to people. Is there a chance it could get included in the Gallery of user projects and modifications? Only if the devs find it worthy enough, that is.
*shameless plug*🙃 @Snuffleupagus @timvandermeij

Certainly, I have just included it in the gallery.

Thanks a lot! You guys are awesome. ❤


Documentation is inaccurate and/or incomplete

The instructions are inaccurate and incomplete.
The path %userprofile%\AppData\Local\Packages\Microsoft.AzureVpn_8wekyb3d8bbwe\LocalState  does not exist and yet is referenced explicitly.  It appears to be %userprofile%\AppData\Local\Packages\ Microsoft.549981C3F5F10_8wekyb3d8bbwe\LocalState.
There is no azurevpn executable (or batch file, searched using .*) in the path or on the drive anywhere to be located to run azurevpn -i azurevpnconfig.xml
Such ineffective details prevents the article from being useful.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 0be6cb8d-f4b7-9ada-65ea-809f717d4fd0
Version Independent ID: b7a61a05-b98a-ae52-5026-0229b60bf79c
Content: Configure Azure VPN Client optional settings - Azure VPN Gateway
Content Source: articles/vpn-gateway/azure-vpn-client-optional-configurations.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@GLemcool
Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

I'll look into this.

Taking a doc bug. #please-close


CB-3734 - Instantiating CM tasks instead of using them as services

This change is necessary for two reasons:

Task is a unit of work that can be passed to an executor to execute it. Therefore a task must be instantiable and should be able to store state. The executor in our case is the PollingService.
For this task: https://jira.cloudera.com/browse/CB-3749

There is no need for the tasks to store state. For the ticket, a wrapper around the CM API and @Retryable on its method would be sufficient IMHO.

@daszabo In this case each retry would be inside a single polling attempt of the PollingService. That would be kind of strange IMHO. Using statefulness of the tasks would make it possible to create a solution that better aligns with the PollingService and would result in a more simple execution of the code. Easier to debug too.


Need vaccination data from publish date 2021-05-04 until 2021-05-01

Need vaccination data from publish date 2021-05-04 until 2021-05-01

Wont fix


Add tables sql_agent_job_stats & memory_clerks in Collection Latency Dashboard

Add tables sql_agent_job_stats & memory_clerks in Collection Latency panel of dashboard Monitoring - Live - All Servers.

The latency metric for agent jobs & memory clerks has been added.


Use wellcome/turtlelint container

What is this PR trying to achieve?
Simplify this repo and share dockerfiles in an institution wide repo.
Who is this change for?
💻
Have the following been considered/are they needed?

[ ] Deployed new versions

make format is still complaining it can't find the container; I don't see it on Docker Hub?


Deserialize a type using FromStr

From IRC:

Is there a way to tell serde to desrialize my struct using it's FromStr implementation?

extern crate serde;

use std::str::FromStr;
use serde::{de, Deserialize, Deserializer};

struct S;

impl FromStr for S {
    type Err = String;
    fn from_str(s: &str) -> Result<Self, Self::Err> {
        unimplemented!()
    }
}

impl<'de> Deserialize<'de> for S {
    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
        where D: Deserializer<'de>
    {
        let s = String::deserialize(deserializer)?;
        FromStr::from_str(&s).map_err(de::Error::custom)
    }
}

Considering how this is such a common pattern, is there not a way to do this with attributes?

This is available in serde_with as display_fromstr.

The serde-with method works for fields of a struct, but if you want to always serialize/deserialize a struct as a string via Display and FromStr, there does not seem to be any easy way to do that.

@blueforesticarus  sure it works, see: https://docs.rs/serde_with/latest/serde_with/derive.DeserializeFromStr.html


Publish fails in node:13 Docker image

🐛 Bug Report

Environment

operating system:
output of rustc -V: N/A, using binaries
output of node -v: N/A, using binaries
output of wrangler -V: 1.8.4
contents of wrangler.toml

name = "jtroyer"
type = "javascript"
account_id = "<VALID_ACCOUNT_ID>"
workers_dev = false
route = "jtroyer.dev/*"
zone_id = "<VALID_ZONE_ID>"

[site]
bucket = "dist"
entry-point = "workers-site"

Steps to reproduce

wget https://github.com/cloudflare/wrangler/releases/download/v1.8.4/wrangler-v1.8.4-x86_64-unknown-linux-musl.tar.gz
tar -xvzf wrangler-v1.8.4-x86_64-unknown-linux-musl.tar.gz
dist/wrangler publish

What did you expect to see?
A success message
What did you see instead?
...
 Built successfully, built project size is 11 KiB.
 Error: [ApiError { code: 7000, message: "No route for that URI", other: {} }]

Note that I can run this locally just fine (with the same wrangler.toml), using the npm package on my Win10 machine.

Hey @JonathanTroyer - I'm not 100% sure what your issue is, but I have a feeling it might be that you have your bucket set to dist. dist is the folder that is output by webpack, so it may be interfering with your publish. Can you try moving the resources you're trying to upload to a different directory?
If that doesn't work, could you please rerun the command with RUST_LOG=debug set?
RUST_LOG=debug wrangler publish

Changed the bucket to "build", still failed.
Relevant debug output (full output):
  Built successfully, built project size is 11 KiB.
 [2020-04-29T17:26:56Z DEBUG reqwest::connect] starting new connection: https://api.cloudflare.com/
 [2020-04-29T17:26:56Z DEBUG hyper::client::connect::dns] resolving host="api.cloudflare.com"
 [2020-04-29T17:26:56Z DEBUG hyper::client::connect::http] connecting to <IP_ADDRESS>:443
 [2020-04-29T17:26:56Z DEBUG hyper::client::connect::http] connected to <IP_ADDRESS>:443
 [2020-04-29T17:26:56Z DEBUG hyper::proto::h1::io] flushed 269 bytes
 [2020-04-29T17:26:56Z DEBUG hyper::proto::h1::io] flushed 42 bytes
 [2020-04-29T17:26:57Z DEBUG hyper::proto::h1::io] read 891 bytes
 [2020-04-29T17:26:57Z DEBUG hyper::proto::h1::io] parsed 16 headers
 [2020-04-29T17:26:57Z DEBUG hyper::proto::h1::conn] incoming body is chunked encoding
 [2020-04-29T17:26:57Z DEBUG hyper::proto::h1::decode] incoming chunked header: 0x68 (104 bytes)
 [2020-04-29T17:26:57Z DEBUG reqwest::async_impl::client] response '400 Bad Request' for<EMAIL_ADDRESS> [2020-04-29T17:26:57Z DEBUG hyper::proto::h1::io] read 5 bytes
 [2020-04-29T17:26:57Z DEBUG hyper::proto::h1::conn] incoming body completed
 [2020-04-29T17:26:57Z DEBUG hyper::client::pool] pooling idle connection for ("https", api.cloudflare.com)
 Error: [ApiError { code: 7000, message: "No route for that URI", other: {} }]

When run locally, I get (full output):
 Built successfully, built project size is 11 KiB.
[2020-04-29T17:31:53Z DEBUG reqwest::connect] starting new connection: https://api.cloudflare.com/
[2020-04-29T17:31:53Z DEBUG hyper::client::connect::dns] resolving host="api.cloudflare.com"
[2020-04-29T17:31:53Z DEBUG hyper::client::connect::http] connecting to <IP_ADDRESS>:443
[2020-04-29T17:31:53Z DEBUG hyper::client::connect::http] connected to <IP_ADDRESS>:443
[2020-04-29T17:31:53Z DEBUG hyper::proto::h1::io] flushed 275 bytes
[2020-04-29T17:31:53Z DEBUG hyper::proto::h1::io] flushed 42 bytes
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::io] read 876 bytes
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::io] parsed 13 headers
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::conn] incoming body is chunked encoding
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::decode] incoming chunked header: 0xD0 (208 bytes)
[2020-04-29T17:31:54Z DEBUG reqwest::async_impl::client] response '400 Bad Request' for https://api.cloudflare.com/client/v4/accounts/<REDACTED>/storage/kv/namespaces
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::io] read 5 bytes
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::conn] incoming body completed
[2020-04-29T17:31:54Z DEBUG hyper::client::pool] pooling idle connection for ("https", api.cloudflare.com)
[2020-04-29T17:31:54Z INFO  wrangler::commands::kv::namespace::site] Namespace __jtroyer-workers_sites_assets already exists.
 Using namespace for Workers Site "__jtroyer-workers_sites_assets"
[2020-04-29T17:31:54Z DEBUG hyper::client::pool] reuse idle connection for ("https", api.cloudflare.com)
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::io] flushed 242 bytes
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::io] read 998 bytes
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::io] parsed 13 headers
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::conn] incoming body is chunked encoding
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::decode] incoming chunked header: 0x153 (339 bytes)
[2020-04-29T17:31:54Z DEBUG reqwest::async_impl::client] response '200 OK' for https://api.cloudflare.com/client/v4/accounts/<REDACTED>/storage/kv/namespaces?page=1&per_page=100
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::io] read 5 bytes
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::conn] incoming body completed
[2020-04-29T17:31:54Z DEBUG hyper::client::pool] pooling idle connection for ("https", api.cloudflare.com)
[2020-04-29T17:31:54Z DEBUG reqwest::connect] starting new connection: https://api.cloudflare.com/
[2020-04-29T17:31:54Z DEBUG hyper::client::connect::dns] resolving host="api.cloudflare.com"
[2020-04-29T17:31:54Z DEBUG hyper::client::connect::http] connecting to <IP_ADDRESS>:443
[2020-04-29T17:31:54Z DEBUG hyper::client::connect::http] connected to <IP_ADDRESS>:443
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::io] flushed 260 bytes
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::io] read 1019 bytes
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::io] parsed 13 headers
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::conn] incoming body is chunked encoding
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::decode] incoming chunked header: 0x166 (358 bytes)
[2020-04-29T17:31:54Z DEBUG reqwest::async_impl::client] response '200 OK' for https://api.cloudflare.com/client/v4/accounts/<REDACTED>/storage/kv/namespaces/9411fd804eaa4e67813720825939c516/keys
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::io] read 5 bytes
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::conn] incoming body completed
[2020-04-29T17:31:54Z DEBUG hyper::client::pool] pooling idle connection for ("https", api.cloudflare.com)
[2020-04-29T17:31:54Z INFO  wrangler::commands::kv::key::key_list] None
[2020-04-29T17:31:54Z INFO  wrangler::commands::kv::bucket] Ignoring node_modules
[2020-04-29T17:31:54Z DEBUG globset] built glob set; 0 literals, 1 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 0
regexes
 Success
[2020-04-29T17:31:54Z INFO  wrangler::upload::form] webpack project detected. Publishing...
[2020-04-29T17:31:54Z INFO  wrangler::upload::form] adding __STATIC_CONTENT_MANIFEST
[2020-04-29T17:31:54Z INFO  wrangler::upload::form] building form
[2020-04-29T17:31:54Z INFO  wrangler::upload::form] Form { boundary: "25431e3211cad27c-cdb41ad135d245dc-d4cda470a41a6da2-0b4131c9b12c195c", parts: [("metadata", Part { value: Body { kind: b"{\"bindings\":[{\"name\":\"__STATIC_CONTENT\",\"namespace_id\":\"9411fd804eaa4e67813720825939c516\",\"type\":\"kv_namespace\"},{\"name\":\"__STATIC_CONTENT_MANIFEST\",\"part\":\"__STATIC_CONTENT_MANIFEST\",\"type\":\"text_blob\"}],\"body_part\":\"script\"}" }, mime: Some("application/json"), file_name: Some("metadata.json"), headers: {} }), ("script", Part { value: Body { kind: Reader { length: 37552 } }, mime: Some("application/javascript"), file_name: Some("script.js"), headers: {} }), ("__STATIC_CONTENT_MANIFEST", Part { value: Body { kind: b"{\"base.569a7cd0.css\":\"base.569a7cd0.1acfb3915e.css\",\"test/index.html\":\"test/index.09d2cbe4c2.html\",\"index.html\":\"index.f07fbf8f43.html\",\"base.569a7cd0.css.map\":\"base.569a7cd0.css.5481966b61.map\"}" }, mime: Some("text/plain"), file_name: Some("__STATIC_CONTENT_MANIFEST"), headers: {} })] }
[2020-04-29T17:31:54Z DEBUG reqwest::connect] starting new connection: https://api.cloudflare.com/
[2020-04-29T17:31:54Z DEBUG hyper::client::connect::dns] resolving host="api.cloudflare.com"
[2020-04-29T17:31:54Z DEBUG hyper::client::connect::http] connecting to <IP_ADDRESS>:443
[2020-04-29T17:31:54Z DEBUG hyper::client::connect::http] connected to <IP_ADDRESS>:443
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::io] flushed 365 bytes
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::io] flushed 8192 bytes
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::io] flushed 8192 bytes
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::io] flushed 8192 bytes
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::io] flushed 8192 bytes
[2020-04-29T17:31:54Z DEBUG hyper::proto::h1::io] flushed 5847 bytes
[2020-04-29T17:31:56Z DEBUG hyper::proto::h1::io] read 1369 bytes
[2020-04-29T17:31:56Z DEBUG hyper::proto::h1::io] parsed 12 headers
[2020-04-29T17:31:56Z DEBUG hyper::proto::h1::conn] incoming body is chunked encoding
[2020-04-29T17:31:56Z DEBUG hyper::proto::h1::decode] incoming chunked header: 0x7DB1 (32177 bytes)
[2020-04-29T17:31:56Z DEBUG reqwest::async_impl::client] response '200 OK' for https://api.cloudflare.com/client/v4/accounts/<REDACTED>/workers/scripts/jtroyer
[2020-04-29T17:31:56Z INFO  wrangler::deploy] publishing to zone 5c21c54a8d42b56c4f5fb535597dbf00
[2020-04-29T17:31:56Z DEBUG hyper::proto::h1::io] read 1369 bytes
[2020-04-29T17:31:56Z DEBUG reqwest::connect] starting new connection: https://api.cloudflare.com/
[2020-04-29T17:31:56Z DEBUG hyper::client::connect::dns] resolving host="api.cloudflare.com"
[2020-04-29T17:31:56Z DEBUG hyper::client::connect::http] connecting to <IP_ADDRESS>:443
[2020-04-29T17:31:56Z DEBUG hyper::client::connect::http] connected to <IP_ADDRESS>:443
[2020-04-29T17:31:56Z DEBUG hyper::proto::h1::io] flushed 184 bytes
[2020-04-29T17:31:56Z DEBUG hyper::proto::h1::io] read 842 bytes
[2020-04-29T17:31:56Z DEBUG hyper::proto::h1::io] parsed 12 headers
[2020-04-29T17:31:56Z DEBUG hyper::proto::h1::conn] incoming body is chunked encoding
[2020-04-29T17:31:56Z DEBUG hyper::proto::h1::decode] incoming chunked header: 0xEB (235 bytes)
[2020-04-29T17:31:56Z DEBUG reqwest::async_impl::client] response '200 OK' for https://api.cloudflare.com/client/v4/zones/<REDACTED>/workers/routes
[2020-04-29T17:31:56Z DEBUG hyper::proto::h1::io] read 5 bytes
[2020-04-29T17:31:56Z DEBUG hyper::proto::h1::conn] incoming body completed
[2020-04-29T17:31:56Z DEBUG hyper::client::pool] pooling idle connection for ("https", api.cloudflare.com)
 Deployed to the following routes:
jtroyer.dev/* => stayed the same

As a side note, I have type set to javascript. I wasn't able to find a ton of documentation about the different types but was under the impression that not having the type set to webpack meant that it wouldn't be processed by webpack.

this line indicates the issue:
[2020-04-29T17:26:57Z DEBUG reqwest::async_impl::client] response '400 Bad Request' for<EMAIL_ADDRESS>
it looks like maybe you have CF_ACCOUNT_ID env var or account_id in toml set to your email address instead of your Cloudflare account ID

🤦♂


LED Segment System

Allows creating segments of LEDs, giving each segment tags, and assigning animations to tags

Implemented in ChopShopLib


RFC re Transfers

Currently:

LinkedTransfer resolves based on a hash preImage & optionally accepts a recipient who's allowed to resolve
HashlockTransfer resolves based on a hash preImage & enforces a timeout
SignedTransfer resolves based on a signature w/out a timeout

I propose:

HashlockTransfer resolves based on a hash preImage
SignedTransfer resolves based on a signature
both accept an expiry after which the transfer gets reverted, 0 means it never expires

Core transfer params would be: (type: "SignedTransfer" | "HashlockTransfer", payload: NonceToSign | HashedPreImage, timeout: number)
SignedTransfer would become createTransfer("SignedTransfer", nonce, 0)
HashlockTransfer would become createTransfer("HashlockTransfer", hash, timeout)
LinkedTransfer w recipient specified would become createTransfer("SignedTransfer", nonce, 0)
LinkedTransfer w/out a recipient would become createTransfer("HashlockTransfer", hash, 0)
We could consider pulling the expiry enforcement logic into the adjudicator too to prevent it from being duplicated across every app definition.

I really like the idea of building in timeouts into the transfers themselves. That makes sense as a convention, at least for the hashlocks.
I think adding more generality to signing will be a bit tough. That's how we had it originally but folks want to have access to the data that was signed, and also want it to be properly domain-separated. There's limitations to how generalized we can make that while retaining (a) the ability to use pureEVM, and (b) passing in data as encodedParams. Perhaps we can come back to this one with some more user data.
The nice thing about Vector is that modifying the behavior for these transfers will be much much easier than what exists with indra currently. All of the logic around adding/removing transfer types happens in the engine within the param converters (rather than being spread out through the entire stack).


Keyboard navigation in Inspector

What problem does this feature solve?
In Inspector, when I click on some displayed component in the component tree, it would be really useful to have keyboard navigation:

up/down would move to next/previous component
left would collapse current branch (subtree  / component)
right would expand the current component

The reason is it is (subjective matter) quicker to just click on the component and use keyboard to control the tree instead of moving mouse.
What does the proposed API look like?
It is internal vue-devtools change, no public API needed

Duplicate of #1430


chore: adds @license JSDoc tag to license comments

Hi, this change just formats the license blocks to play a bit better when importing into Google3, similar to a change I've made in another Google NodeJS library: https://github.com/firebase/firebase-admin-node/pull/1102
Let me know if this looks ok or if you need anymore context.

@nathanmosher if we are interested in doing this widely, let's add the new headers to the generator 👍


Installation and Compatibility with Different Operating Systems.

I am not sure, but it seems that the GaiaUnlimited tools are not compatible with Windows. However, this is not explained in the documentation.
It is not compatible, because one of the libraries that are needed (healpy) is not compatible with Windows.
The issue appears when I run the following command on Windows
pip install gaiaunlimited
the issues does not appear on Linux
Error:
ERROR: Failed building wheel for healpy
Failed to build healpy
ERROR: Could not build wheels for healpy, which is required to install pyproject.toml-based projects

Python version:
Python 3.9.7
Operative system:
Windows 10

This error is from Healpy, not Gaia Unlimited.

True, but let's see if we can do something to address this

The documentation now mentions that the package can be installed inside a Google Colab notebook (e.g. !pip install gaiaunlimited) which might help users who have issues with local installation.

Healpy is aware of this issue: https://github.com/healpy/healpy/issues/25

Unfortunately no alternative so far, although the colab option does work well.
We keep debating whether to switch to astropy's healpix implementation, but currently it doesn't have the plotting capabilities of healpy.

Given the above discussion, this will not be done.


Bind AnimationTrackEditor::_redraw_tracks for UndoRedo

Fixes #67064
The method was mistakenly unbind in #44143

Thanks!


[REQUEST] USB CDC detect line_coding & Arduino like reboot detection

I modified pico_ice_default and pico-ice-sdk/examples/pico_usb_uart with line_coding detection and 1200 bitrate detection for autoreboot. This is very useful if we need a higher bitrate than 115200, and Arduino like auto-reboots when we need to reflash the RP2040. Just need to add some code like this:
void tud_cdc_line_coding_cb(uint8_t itf, cdc_line_coding_t const *coding) {
  if (itf == 0) {
    if (coding->bit_rate != baud_rate) {
      baud_rate = coding->bit_rate;
      uart_set_baudrate(uart0, baud_rate);
    }
  }
}

void tud_cdc_line_state_cb(uint8_t itf, bool dtr, bool rts) {
  if (itf == 0) {
    if (rts) {
    }
    if (dtr) {
    } else {
        cdc_line_coding_t coding;
        tud_cdc_get_line_coding(&coding);
        if (coding.bit_rate == 1200) {
          reset_usb_boot(0, 0);
          while (1);
        }
    }
  }
}

Or, if you allow I can make a PR about it.

Thank you for this! The way it is implemented makes sense to me, and easy to make that configurable with just an #ifdef and a config in tusb_config.h.

I am now back from Embedded World and will be able to switch over to integrating this, likely tomorrow.
Thanks everyone for your patience!

Adjusting the baud rate works well with what you provided.
I edited it a tiny bit for matching the autoconfig.
Before, baud 1200

After, baud 4800 (mismatching Pulseview configuration)

Nice! Does it support resetting and programming with picotool (-f option)?

Does it support resetting and programming with picotool (-f option)?

Not yet, but https://arduino.github.io/arduino-cli/dev/platform-specification/#1200-bps-bootloader-reset will be supported

I confirm that after using picocom -b 1200 /dev/ttyACM0 it is possible to use picotool though:
$ picotool info
Program Information
 name:      pico_ice_default
 features:  USB stdin / stdout

This landed in v1.6.1, closing :)

Great! I think you only forgot to create new github release with binaries to download

It was in preparation at that moment, and landed here: https://github.com/tinyvision-ai-inc/pico-ice/releases

This landed in v1.6.1, closing :)

Did it? Can confirm it works in downloaded .uf2 but I cannot find any commits or code to build it myself.... Am i blind or you didn't push something?

Good catch!
As seen here, main was not pushed to origin/main, only develop to origin/develop
* 8d0fd06 (HEAD -> develop, tag: v1.6.1, origin/develop, main) implement tud_cdc_line_coding_cb
* 8e92021 (tag: v1.6.0, origin/main, origin/HEAD) stop ICE40 FPGA before initializing SPI flash

I pushed it now: https://github.com/tinyvision-ai-inc/pico-ice-sdk/blob/main/src/ice_usb.c#L317


Enable -warn-error +partial-match by default to ensure changes in a dependency do not lead into unforseen runtime failures

See https://github.com/ocaml/ocaml/issues/12475
Having this would've prevented https://github.com/ocaml/opam-repository/pull/24467 from occurring and warned the mdx maintainers that their package is not compatible yet.

Requires https://github.com/ocaml/dune/pull/10489 (also a way to disable this feature for dune < "whatever version this is going to be fixed in")

I see. Converted this to a draft in that case. Thanks.


Remove "click here" from flash banner and increase clickable area

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @ashleygwilliams (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

thanks for this @wiktorkuchta ! could you include a screenshot? if everything looks good i'm happy to merge :D

The layout doesn't change on any screen size, only the text and clickable area.
It's easy to see by using browser Dev Tools


docker compose up -d, version v1.5.0,  adservice、emailservice、postgres container start failed

Bug Report
Which version of the demo you are using?
fc01d8f46f9d2a1cac6a4e674662fbfe8b66f3c4
Symptom
docker-compose up -d
adservice、emailservice、postgres container start failed,  docker ps show follew:
2a07a3da92ec        ghcr.io/open-telemetry/demo:1.5.0-adservice               "./build/install/ope…"   About an hour ago   Restarting (1) 29 seconds ago                                                                                ad-service
520ffe0f26e2        ghcr.io/open-telemetry/demo:1.5.0-emailservice            "bundle exec ruby em…"   About an hour ago   Restarting (1) 6 seconds ago                                                                                email-service
ce262aa244f1        postgres:16.0                                             "docker-entrypoint.s…"   About an hour ago   Restarting (1) 31 seconds ago                                                                                postgres

docker  logs：
ad-service:
ERROR: JAVA_HOME is set to an invalid directory: /opt/java/openjdk

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.

email-service:
== Sinatra has ended his set (crowd applauds)
/usr/local/bundle/gems/puma-6.3.0/lib/puma/reactor.rb:37:in `initialize': can't create Thread: Operation not permitted (ThreadError)
	from /usr/local/bundle/gems/puma-6.3.0/lib/puma/reactor.rb:37:in `new'
	from /usr/local/bundle/gems/puma-6.3.0/lib/puma/reactor.rb:37:in `run'
	from /usr/local/bundle/gems/puma-6.3.0/lib/puma/server.rb:249:in `run'
	from /usr/local/bundle/gems/puma-6.3.0/lib/puma/single.rb:53:in `run'
	from /usr/local/bundle/gems/puma-6.3.0/lib/puma/launcher.rb:194:in `run'
	from /usr/local/bundle/gems/puma-6.3.0/lib/rack/handler/puma.rb:76:in `run'
	from /usr/local/bundle/gems/sinatra-3.0.6/lib/sinatra/base.rb:1593:in `start_server'
	from /usr/local/bundle/gems/sinatra-3.0.6/lib/sinatra/base.rb:1532:in `run!'
	from /usr/local/bundle/gems/sinatra-3.0.6/lib/sinatra/main.rb:47:in `block in <module:Sinatra>'
== Sinatra (v3.0.6) has taken the stage on 6060 for production with backup from Puma
E, [2023-10-13T04:19:46.954642 #1] ERROR -- : OpenTelemetry error: unexpected error in BatchSpanProcessor#reset_on_fork - can't create Thread: Operation not permitted
I, [2023-10-13T04:19:46.958371 #1]  INFO -- : Instrumentation: OpenTelemetry::Instrumentation::Sinatra was successfully installed with the following options {}
Puma starting in single mode...
* Puma version: 6.3.0 (ruby 3.1.4-p223) ("Mugi No Toki Itaru")
*  Min threads: 0
*  Max threads: 5
*  Environment: production
*          PID: 1
* Listening on http://<IP_ADDRESS>:6060

postgres:
popen failure: Cannot allocate memory
initdb: error: program "postgres" is needed by initdb but was not found in the same directory as "/usr/lib/postgresql/16/bin/initdb"
popen failure: Cannot allocate memory
initdb: error: program "postgres" is needed by initdb but was not found in the same directory as "/usr/lib/postgresql/16/bin/initdb"
popen failure: Cannot allocate memory
initdb: error: program "postgres" is needed by initdb but was not found in the same directory as "/usr/lib/postgresql/16/bin/initdb"
popen failure: Cannot allocate memory
initdb: error: program "postgres" is needed by initdb but was not found in the same directory as "/usr/lib/postgresql/16/bin/initdb"

What is the expected behavior?
What do you expect to see?
What is the actual behavior?
What did you see instead?
Reproduce
system:
root@ubuntu:~# lsb_release  -a
No LSB modules are available.

If we can not reproduce the behavior you're reporting.

Additional Context
Add any other context about the problem here.

Please use docker compose which is not the same as docker-compose.

@puckpuck using docker compose, same issue again.

How much free memory does this system have?

@puckpuck
root@ubuntu:~# free -h
              total        used        free      shared  buff/cache   available
Mem:           62Gi       3.5Gi        44Gi       284Mi        14Gi        57Gi
Swap:            0B          0B          0B

fixed postgres conatiner start fail, use image version postgres:16-alpine replace  postgres:16.
but ad-service and email-service still can't started.

This feels like an isuse with the host or docker version, not the demo images themselves.
When you run docker compose version what output do you get?


Slower broadcast rate tags keep popping in and out from add tag view

When going to Menu -> Add a New Sensor, tags with a relatively infrequent broadcast interval (and/or poor signal with a lot lost packets) keep popping in and out. This becomes extra problematic when there is a longer list of tags and you want to find a specific tag from the list, and the list keeps changing every second as tags pop in and out of the list.
Judging by the duration between appearing and disappearing, I believe a tag is removed from the list after 5 seconds of not receiving a broadcast from it, perhaps this could be increased a little?
I don't see any practical reason why a tag should disappear within 5 seconds from the list, as some tags either have a longer broadcast interval or simply located in a place where a significant portion of the broadcasts are simply lost. (Which is not an issue in a typical scenario where even just a few broadcasts per minute is sufficient anyway)
Suggestion: Increase the duration before a tag is removed from the new tag list from 5(?) seconds to 30-60 seconds, with optionally a "fade out", ie. after 5-10 seconds the tag text would start to fade away indicating a tag not recently heard, but still on the list and be clickable

I feel your pain, this behaviour annoys me too. We'll do something with it soon. Also we have a feature to add tag by NFC-scanning in our roadmap.

See also issue #235

Add by NFC requires proximity to RuuviTag nice ? but ...

This will be updated in next version (1.5.x):

Show sensor for 60 seconds since last broadcast
Update 'Add a New Sensor' screen not so frequently to have less jumping sensors
Sensors without recent broadcast (older than 10 seconds) will be shown with gray

Solved with same solution as #235


Sync dev-docs from original HMC repo.

Sync dev-docs from original HMC repo.
(https://github.com/Mirantis/hmc/blob/main/docs/dev.md)

It was already discussed here Mirantis/hmc#404
These docs are highly coupled with Makefile and other dev specific stuff, so it's better for them to reside in hmc repo.

IMO this is very bad that we have same docs in two places and they are out of sync.

Ah ok got it, I will delete them from here then. Probably they were added by mistake here


Another typo

Found another typo while playing with the code.  Awesome software, by the way.

Thanks!


[Update Request]: There are two GlassWire packages in the repository

What type of update are you requesting?
Something else not listed
Current Package Identifier
SecureMixLLC.GlassWire / GlassWire.GlassWire
Package Version
3.3.501
Please describe the changes you would like to see
Unify the listings

?????? It look like this information was duplicate. Which Publisher is correct?
Duplicate Information: https://github.com/microsoft/winget-pkgs/blob/master/manifests/g/GlassWire/GlassWire/3.0.476/GlassWire.GlassWire.locale.en-US.yaml
Duplicate Information: https://github.com/microsoft/winget-pkgs/blob/master/manifests/s/SecureMixLLC/GlassWire/3.3.501/SecureMixLLC.GlassWire.installer.yaml
I might unable to update it because I can easily forget one of the link. https://github.com/microsoft/winget-pkgs/blob/master/manifests/s/SecureMixLLC/GlassWire/3.3.501/SecureMixLLC.GlassWire.installer.yaml

In the actual website which Copyright (c) 2023 Glasswire. https://www.glasswire.com/

Before I force to new directory, It look like the ids must changed. It might add some addition to the directory. GlassWire.Glasswire -> GlassWire.Glasswire.Remove

But Azure Pipelines does not allow to delete in the different directory which will caused pull request error. Also, pull request possible-duplicate.

It might pull request causing possible duplicate when trying to add or remove. If I add and remove the same time due to moderator was not approving the request. It sometimes almost in night or midnight just approving the request.


Link to search a specific icon

I wanted to know if the company icon that I need exists here before adding the dependency.
Adding to the readme a link to a page where the developer can search between all the icons before adding this package will help more people to decide if this is what they have searched for.

@guyluz11 I did that some time ago but I think I lost the files 😭


Creating from a Superset Object

Hey,
Is there any way to create an object from a superset object containing the desired fields but also containing other fields that are not present in the model?
Thanks!

@danielweil I'm not sure I understand what you mean, could you elaborate further please.
If I am understanding you correctly, this is not possible, you can only define models in the Prisma Schema and there is no inheritance supported yet.

For instance,
My model Test is defined with fields "primary Int" and "secondary Int".
All I want is to create objects with await client.test.create_many(
data=[
{'primary': 1, 'secondary': 33, 'garbage': 3},
{'primary': 2, 'secondary': 34, 'garbage': 3},
{'primary': 3, 'secondary': 35, 'garbage': 3},
],
)
Without having to filter the dictonary for it to contain only the model's fields.

What do you think about doing this?
data = [
    {'primary': 1, 'secondary': 33, 'garbage': 3},
    {'primary': 2, 'secondary': 34, 'garbage': 3},
    {'primary': 3, 'secondary': 35, 'garbage': 3},
]
await client.test.create_many(
    data=[
        {'primary': d['primary'], 'secondary': d['secondary']}
        for d in data
    ],
)

I guess it is a good approach. Negatiive side of it is that I will use 24 fields. Guess it will be a bit poluted.

@danielweil Here's a small script to filter a dictionary to only include the fields present in the given model:
from typing import Any, Dict, Type
from pydantic import BaseModel
from prisma.models import User

def filter_fields(model: Type[BaseModel], data: Dict[str, Any]) -> Dict[str, Any]:
    new = {}
    fields = model.__fields__
    for key, value in data.items():
        if key in fields:
            new[key] = value
    return new

print(filter_fields(User, {'name': 'Robert', 'garbage': 1}))

Thanks!


can not custom set the fee item for tx

const fee = new StdFee(800000, { uluna: '100000' })
const sign = await wallet.createAndSignTx({
msgs: [send],
fee
}).catch(err => {
console.log(err.response.data.error)
})
I can not success post this swap to the terra blockchain，I god timeout error，How can I custom set the fee for the trading? thank you

timeout error is not related to fee. reopen it if you are still having this problem. :)
and terra.js 3.0 is out now. please use it.


Use requirements.txt as default REQUIREMENTS_PATH

Since local_settings.py says requirements.txt is the default value for REQUIREMENTS_PATH, shouldn't it be set here?
Sorry if I should not be pushing this to master, but there are too many branches, so I didn't know which one to push.

Don't think this is right. There are checks throughout the fabfile that only try to install requirements if the value is defined. By giving it a default, those checks will always pass, even if the projct doesn't contains a requirements.txt file.

At least for me here, I tried to run fab create and got an error because it didn't installed Mezzanine, because no REQUIREMENTS_PATH is set by default. Is that intended?
Shouldn't we change the comment at https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/project_template/project_name/local_settings.py.template#L42 to None then?
The way it is I understand requirements.txt is the default. Or maybe add more info to the comment?
Other possibility would be to add mezzanine here:
https://github.com/andresmrm/mezzanine/blob/master/mezzanine/project_template/fabfile.py#L535
But it doesn't seems right neither...

Looks like I misunderstood all the comments there. They are not defaults. They need to be set for it to work. Sorry.


Change filename to .tar.gz instead of just .tar

Since the files are gzipped, the filename should reflect this, or some unarchivers might have issues opening these.

This is fixed in 7df811dfbfd9c2860cb91dbe87e3f364842f0aa8.


Updating the directions for the direction of the clamping hub

Closes #179 documentation update

closing since #179 is closed


[New game]: Screen Pet Game #3953

PR Description 📜
This PR fixes the issue related to the implementation of the Screen Pet game, which is an interactive, event-based program where a virtual pet responds to user interactions. The pet displays different emotions such as happiness, cheekiness, and sadness based on user interactions.
Fixes  #3953

Mark the task you have completed ✅

[ ] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[ ] I have performed a self-review of my own code or work.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] My changes generates no new warnings.
[ ] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[ ] I have added screenshot for website preview in assets/images
[ ] I have added entries for my game in main README.md
[ ] I have added README.md in my folder
[ ] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @nisargaa20 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@kunjgit kindly check the changes

Thank you  @nisargaa20 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Original address

Add a property in the response listener for the requests to allow the caller to retrieve information about the socket used in the communication (port, address and protocol). This addition was motivated by the need of identifying the device original address in COAP-based OMA Lightweight M2M protocol as explained in issue #39 (originally the need was to use the same socket for listening and sending requests, but having information about the registration socket might lead to avoid the sharing, as explained in a comment).
I choose to expose the information as part of the rsinfo object (that was already passed to the IncomingMessage instance creation) and expose the latter in a _rsinfo internal attribute of the response, but I'm not 100% confident this is the best option. It covers the functionality specified in the issue, though.

I'm ok with adding that visibility of the local address, however, I am not sure that _rsinfo is the right place for it. I would likely expose the rsinfo as rsinfo as it would become part of the external interface, and document that in the README. But I would also keep that untouched (as from the UDP socket itself) and add one more property.
Also, you would need to add them to https://github.com/mcollina/node-coap/blob/master/lib/observe_read_stream.js.

Ok. I'll expose the rsinfo as is and the outgoing socket as an outSocket one, and add the docs for both.

Information about both sockets exposed as external attributes and added to their respective sections in the documentation.

@dmoranj are you ok to become a collaborator of this project? Have a look at https://github.com/mcollina/node-coap/blob/master/CONTRIBUTING.md and let me know!

Sorry, didn't read this message until now. Yes, I would like to become a collaborator (I guess I'll be working extensively with COAP in the next months, so I hope I'll have time to contribute).


Refactore API in PATCH version???

Hi,
We've received a lot of complaints that our @platformio IDE installer stopped work. It stays on unpacking project examples (tar.gz)... See https://github.com/platformio/platformio-atom-ide/blob/develop/lib/installer/helpers.js#L115
I see the latest commit: https://github.com/npm/node-tar/commit/ce83d2470527d04033a60c7c04ef73b3c7daf8df

Unpack: do not emit 'end'

What do you do in PATCH version? I'm not keen in this npm-machinery and npm SemVer policy. Is it normal that package changes API in PATCH version?
P.S I've just rolled back to the previous version (3.1.8) which works well https://github.com/platformio/platformio-atom-ide/commit/35ab27cc2d0738b632a17f978ac5e68c41d4a01f

The stream in question is a writable stream, not a readable stream.  It should not have ever emitted end because you are not reading data out of it.  That event was hazardous to use, because it would emit when the unpacked files were done being written, but not before they were actually closed and finished being touched.
Listen on close instead of end.  It's better, and avoids race conditions.  I apologize for letting the bug linger there long enough for you to grow attached to it.

Why did you close this issue? The problem is not linked with end/close. Please take a look at the SUBJECT.
Is it normal in Node.JS world that developer changes API in PATCH version? Not saying about MINOR...


#includes use brackets

Select your issue type: (check at least one)

[x] Bug
[ ] Question
[ ] Suggestion
[ ] Other (please describe):

Describe your issue:
All the internal header files use #include <somefile.hpp> to include local files. This is problematic because it requires adding both /path/to/AppImageUpdaterBridge and /path/to/AppImageUpdaterBridge/include to the include path for users of the library. By using quotes instead (like #include "somefile.hpp"), the preprocessor will look for local files per default.

fixed this on https://github.com/antony-jr/AppImageUpdaterBridge/commit/79e92ddecdaf182d8dc0abae557997c70b315f88 , will be closed after merge. Thank you for reporting this.


SIMD.js - Fix regalloc to not fold SIMD opnds

Fixed RegAlloc to not use SIMD opnds from memory if lifetime is spilled.
@LouisLaf , @pleath can either of you please review this ?

Fixes #695

LGTM

Closing this one, and opening a new PR against release/1.2


BP3D is not defined

While running the example in python http server, i am getting this BP3D is not defined in firefox console. what could be the reason? please need help

I found that the demo in the github pages:
http://furnishup.github.io/blueprint3d/example/
Uses a different version from the version in the standard repository:
https://github.com/furnishup/blueprint3d/tree/gh-pages
I copied the files from that branch and it worked for me. Not sure how to fix it in the current branch though. Hope this helps at least play with that demo.

I have also same problem.Please help me?

i am getting this BP3D is not defined in firefox console and same as chrome browser. what could be the reason? i need the solution of his issues please help

Any updates on this issue?

I think you people did not use grunt.
install grunt by using "npm install -g grunt-cli"
then run "grunt" in example folder as written in documentation.

@zunnurainbadar Running grunt  does not generate blueprint3d.js. so the issue is. Any update on this issue?


Move_and_slide_with_snap fails to follow a moving platform if stop_on_slope is set to true

Godot version:
3.1.1
OS/device including version:
Zorin OS 12 Core (Ubuntu 16.04 LTS)
Issue description:
If a KinematicBody is on top of a moving platform will not move is stop_on_slope is set to true, this only happens if stop_on_slope is set to true, if is set to false it works OK.
https://youtu.be/QOzdqGwLxUg
Also the KinematicBody doesn't doesn't follow the rotation of the platform regardless of stop_on_slope.
Steps to reproduce:
Move a KinematicBody on top of a moving platform with stop_on_slope set to true
Bugsquad edit: MRP: kinematic_test.zip

I think this affects move_and_slide (without snapping) as well. There's a chance I'm doing something wrong, but disabling stop_on_slope on my player node fixes moving platforms for me (which otherwise don't work, the player slides off).

https://godotengine.org/article/godot-31-will-get-many-improvements-kinematicbody
According to this article, this kind of thing shouldn't really be an issue. @Janders1800 Are you moving the platform with the animation player? It seems like the "Sync To Physics" setting was never exposed for the 3D KinematicBody.

Yeah, I'm moving the platform with the animation player.
I think it enters the category of issue since it works OK if stop_on _slope is set to false.
I don't know if it's a lack of implementation, but one would assume the function should behave the same, only changing its behavior according to the altered param.

Yah, I am experiencing this too in 3.2.1. If I call move_and_slide_with_snap with stop_on_slope=true, the platform just moves below the character. If stop_on_slope=false, the moving platform moves the kinematic body with it.
I am using 3D with a KinematicBody character and a KinematicBody platform moving horizontally.

This happens in 2D too. And it still can be reproduced in version 3.2.2-beta3.

Getting this in 2D too (3.2.1 stable), it took me half a day to debug this because I didn't know the stop_on_slope was the culprit.

In 3D I found out that I can have stop_on_slope withing move_and_slide_with_snap with slopes and with a moving platform. There's huge BUT.
If you want to stop on slope you need to apply gravity even on the ground BUT then moving platforms doesn't work.
If you want to move with a moving platform, don't apply gravity when grounded. In this configuration, you are slowly sliding down the slope even with velocity (0.0, 0.0, 0.0).

The core problem is that stop_on_slope is supposed to prevent sliding in a function that is designed for sliding. This results in both sliding occurring when it's not wanted (the frequent complaint) and no sliding occurring when it is wanted as is effectively the case presented in this issue.
The KinematicBody move_and_slide() function (also used by the move_and_slide_with_snap() function) will attempt to move the KinematicBody in the direction of the provided linear_velocity, a distance determined by the size of the linear_velocity and the delta. If it detects a collision it will change the direction of the linear_velocity to be perpendicular to the normal of the collision surface and then attempt to move KinematicBody the remaining distance. Any movement after the first collision is considered sliding.
The move_and_slide() function also simulates a KinematicBody being carried by a moving platform. The KinematicBody detects that it's on a platform if is_on_floor() was set to true in the previous call to move_and_slide(). For is_on_floor() to be true, it needs to collide with the platform. For it to collide with the platform there needs to be downward motion. So, if there was downward motion in the previous call and it collided with the platform, is_on_floor() will be true. If the KinematicBody detects that it's on a platform it will add the platform's velocity to it's linear_velocity. For the KinematicBody to be continually moved by the platform, there needs to be continuous downward motion to ensure is_on_floor() remains true for the next call. The result is, all the movement provided by the platform will be sliding, because it will immediately collide with the floor, have it's linear_velocity changed to be perpendicular to the floor and then slide along the floor. If the KinematicBody character is standing still, i.e. the linear_velocity provided is only the downward motion, the distance it slides will be exactly the distance moved by the platform. This provides the effect that the KinematicBody is moved by the platform.
The stop_on_slope parameter was designed to prevent a stationary KinematicBody character sliding down a slope due to the downward velocity used to simulate gravity being redirected down the slope. It does this by checking whether the linear_velocity passed to move_and_slide() only has a y-component i.e. the linear_velocity's x-component (and z-component in 3D) are zero. More specifically, it checks whether the linear_velocity is parallel (and in the opposite direction) to the normal of the surface it collides with. If so, and stop_on_slope is true, the sliding is reversed and the linear_velocity is set to 0. The result is, if a KinematicBody character is standing still and stop_on_slope is true, it will not slide down a slope.
The problem is, to simulate the KinematicBody being moved by the platform requires downward motion which results in sliding, while stop_on_slope reverses the effect of sliding if the character is standing still. Basically, when stop_on_slope is enabled, and the KinematicBody is standing still, all the sliding motion is reversed including the sliding providing the simulation of the KinematicBody being moved by the platform.

Can't be temporally subtracted the linear velocity of the platform, so the check only takes into account the Y movement of the KinematicBody itself?

There are two problems with the current stop_on_slope = true in move_and_slide_with_snap () as described in #42368.

When stop_on_slope = true, if a KinematicBody velocity is Down, it will not move the KinematicBody. This does not include the floor velocity and the KinematicBody will not follow the floor.
Correcting the coordinates when the KinematicBody collides with the moving slope causes the KinematicBody to slide down.

I think first problem is a bug. But the second problem is fundamentally in the implementation of stop_on_slope, as explained by @madmiraal above.


Set looser pin on poise-python

Pin poise-python to >= 1.2.1 and < 2.0. This allows to work with other poise-languages cookbooks
Bump version to 1.1.0

Fixes #4

Unless something has changed and I missed it, this doesn't actually work. You can only have a single requirement.

Sorry coderanger, it looks like you're right you can only specify a single version requirement. I'll do a correction.


Documentation typo

Describe the bug
Here is a hard issue to solve. Harder than solving some implementation details of unused models, changing patterns or so. The hardest issue so far. Please, refrain from solving this before we can talk about what shall be done at PVPMC - this issue is reserved for EU PVPMC attendees in case they want to learn about the contribution process.
There is a typo at https://github.com/pvlib/pvlib-python/blob/599c5d97abd6ed8ba2dec92999cc40ee05083fb7/pvlib/clearsky.py#L944C51-L944C63
Expected behavior
I'd like to read implementation with all the characters, instead of implentation.
Versions:

pvlib.__version__: v0.11.0

Additional context
https://pvlib-python.readthedocs.io/en/stable/reference/generated/pvlib.clearsky.bird.html#pvlib.clearsky.bird

[!WARNING]
THIS ISSUE IS RESERVED FOR THE 2024 EU PVPMC Workshop.
PLEASE DO NOT WORK ON THIS ISSUE WITHOUT PRIOR AGREEMENT.

Fixing bug - pvpcm conference 2024


Surrealist app is unable to start if there is typo in the connection URL

Describe the bug:
When trying to start surrealist with a bad connection setup, in my case a typo in the URL,
it is unable to start and gets stuck showing the following:

If you press the [Restart Surrealist] button the app restarts but continues to display the same content.
To Reproduce:
Steps to reproduce the behavior:

Edit .config/SurrealDB/Surrealist/config.json
Change the "connections[activeConnection].connection.hostname" separator from ":" to "."; example: <IP_ADDRESS>.12345
Execute surrealist
See error:

Message
"http://<IP_ADDRESS>.12345" cannot be parsed as a URL.

Stack trace
URL@[native code]
TC@tauri://localhost/assets/client-Bvt8X8zA.js:70:11256
TRt@tauri://localhost/assets/surrealist-DxWI0iWD.js:923:470
tl@tauri://localhost/assets/client-Bvt8X8zA.js:39:19520
x8@tauri://localhost/assets/client-Bvt8X8zA.js:41:43952
_8@tauri://localhost/assets/client-Bvt8X8zA.js:41:39716
$y@tauri://localhost/assets/client-Bvt8X8zA.js:41:39644
oo@tauri://localhost/assets/client-Bvt8X8zA.js:41:39497
O3@tauri://localhost/assets/client-Bvt8X8zA.js:41:35864
y8@tauri://localhost/assets/client-Bvt8X8zA.js:41:34815
R@tauri://localhost/assets/client-Bvt8X8zA.js:26:1560
D@tauri://localhost/assets/client-Bvt8X8zA.js:26:1925

Expected behavior:
Since the app cannot make a connection it should display connection
edit dialog box with the contents of the bad connection. From their the
user should be able to fix the bad connection, create a new connection
or select another connection.
I would also suggest that surrealist be able to be run from the command
line and the user be able to specify what config.json file to run, which activieConnection
to use and if the mode should be "run" or "edit".
Environment:
Platform: Desktop
OS: Linux
Architecture: x86_64
WebView: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15
Version: 2.0.3
Flags: featureFlags: false, models_view: true, apidocs_view: true, themes: false, newsfeed: true

Fixed in https://github.com/surrealdb/surrealist/commit/e723015b00b93f6ae89c0854b815dce5cb99bc1e

The fix is definitely an improvement, but doesn't help if an invalid URL is introduced by manually editing or corruption of the config.json. It seems to me an invalid URL or other "simple" error in the config.json shouldn't make the app non-functional.


Future Capabilities

[x] Unflag Items
[x] Delete Product
[x] View Seller
[x] Getting rid of redundancies
[x] Create Contributing.MD
[x] Create Issue template, PR template and Code of Conduct
[x] Improve README
[x] Proper code styling
[ ] Implement pagination to limit only a certain number of results per page
[ ] Allow users to star other users.(Back-end)
[ ] Calculating User Star Count
[ ] Improve Overall Styling (Front-end)
[ ] Generalize search queries (Implement a proper search with auto-suggest etc)
[ ] User Reviews

Moved to project