Solar-only history is saving zero values when the API response has time gaps

@mcbirse
I've been running the solar-only history in a Docker container for about a week now. I noticed that yesterday and today there were zero kWh production values during times where there shouldn't have been.
Just now I saw this:

The yellow line is based on the tesla-history solar-only data. The orange line is the total solar production seen by my Gateway from both of my solar arrays. As you can see, the production didn't actually drop out. If it had, the orange line would also have dropped.
The raw influx data shows the zero point at 13:30Z:
2023-06-01T10:00:00Z 0         0       0    Jun   0     cloud  0       0     2023
2023-06-01T10:15:00Z 0         0       0    Jun   160   cloud  0       0     2023
2023-06-01T10:30:00Z 0         0       0    Jun   200   cloud  0       0     2023
2023-06-01T10:45:00Z 0         0       0    Jun   240   cloud  0       0     2023
2023-06-01T11:00:00Z 0         0       0    Jun   280   cloud  0       0     2023
2023-06-01T11:15:00Z 0         0       0    Jun   320   cloud  0       0     2023
2023-06-01T11:30:00Z 0         0       0    Jun   440   cloud  0       0     2023
2023-06-01T11:45:00Z 0         0       0    Jun   480   cloud  0       0     2023
2023-06-01T12:00:00Z 0         0       0    Jun   520   cloud  0       0     2023
2023-06-01T12:15:00Z 0         0       0    Jun   1240  cloud  0       0     2023
2023-06-01T12:30:00Z 0         0       0    Jun   2000  cloud  0       0     2023
2023-06-01T12:45:00Z 0         0       0    Jun   2040  cloud  0       0     2023
2023-06-01T13:00:00Z 0         0       0    Jun   2920  cloud  0       0     2023
2023-06-01T13:15:00Z 0         0       0    Jun   3280  cloud  0       0     2023
2023-06-01T13:30:00Z 0         0       0    Jun   0     cloud  0       0     2023
2023-06-01T13:45:00Z 0         0       0    Jun   3840  cloud  0       0     2023
2023-06-01T14:00:00Z 0         0       0    Jun   4040  cloud  0       0     2023
2023-06-01T14:15:00Z 0         0       0    Jun   0     cloud  0       0     2023
2023-06-01T14:30:00Z 0         0       0    Jun   0     cloud  0       0     2023

I just re-ran the download manually with the --force option and the debug output shows this:
        {
            "timestamp": "2023-06-01T08:45:00-04:00",
            "solar_power": 2040,
            "battery_power": 0,
            "grid_power": 0,
            "grid_services_power": 0,
            "generator_power": 0
        },
        {
            "timestamp": "2023-06-01T09:00:00-04:00",
            "solar_power": 2920,
            "battery_power": 0,
            "grid_power": 0,
            "grid_services_power": 0,
            "generator_power": 0
        },
        {
            "timestamp": "2023-06-01T09:15:00-04:00",
            "solar_power": 3280,
            "battery_power": 0,
            "grid_power": 0,
            "grid_services_power": 0,
            "generator_power": 0
        },
        {
            "timestamp": "2023-06-01T09:45:00-04:00",
            "solar_power": 3840,
            "battery_power": 0,
            "grid_power": 0,
            "grid_services_power": 0,
            "generator_power": 0
        },
        {
            "timestamp": "2023-06-01T10:00:00-04:00",
            "solar_power": 4040,
            "battery_power": 0,
            "grid_power": 0,
            "grid_services_power": 0,
            "generator_power": 0
        },

It has no data point for 09:30 local time / 13:30Z.
The chart in the Tesla phone app doesn't show this as a dropout. When I use the "Download my data" from the phone app, it is also missing the data for that interval but it doesn't show a zero:
2023-06-01T07:45:00-04:00	0.5
2023-06-01T08:00:00-04:00	0.5
2023-06-01T08:15:00-04:00	1.2
2023-06-01T08:30:00-04:00	2
2023-06-01T08:45:00-04:00	2
2023-06-01T09:00:00-04:00	2.9
2023-06-01T09:15:00-04:00	3.3
2023-06-01T09:45:00-04:00	3.8
2023-06-01T10:00:00-04:00	4

It seems the API returns zero values when there is no production. Is there a way to get the history script to only write values for the times that there is data returned?

@mcbirse
I also just realized I can deal with this by adding 'where solar > 0' to my queries, ignoring all the zero values whether they occur at night or due to the missing data points, so if fixing it is complicated and you don't see any other issues it is causing, it may not need attention.

Hi @youzer-name - the script only writes datapoints for the timestamps returned.... it is odd that you have ended up with some zero datapoints.
First off - easy fix is as follows:
Use the tesla-history script with the "--remove" option to remove data between the --start & --end time range where you have zero data.
Then, run the script as normal to retrieve history for that period and it should fill in the missing data.
Let us know if this fixes it and you no longer see zero data points? (if you do, it means the API is returning a timestamp with zero value data points, however from your debug output and testing above, it appears this shouldn't be the case).
So, as to why you ended up with zero value datapoints in the first place... I'll have to speculate on this:
I noticed during testing, when requesting recent history data up until "now", the data returned could include datapoints for a timestamp with all values within set to zero.
On subsequent calls, the values for that specific timestamp would then be filled in with values (they would change or get updated). It is as if there can be lag for the data to be available from the cloud. This is why I added an option and default to e.g. always retrieve 60 minutes of history on each poll period - subsequent calls would then replace any previously written data within that history period with the updated data.
In your case though, I'll speculate that perhaps instead of updating values for the timestamp, on subsequent calls for history data the timestamp is then not returned! However, it would have been written to InfluxDB previously already, with all values set to zero.
It's a bit of a guess as I have not observed the behaviour myself. I think it seems like a plausible explanation though, so I will have a look at the script and see if I can make some changes to account for it.

I've seen the behavior you mentioned with the last 2 or 3 data points being zero and it then updating. I think you've correctly identified the cause.
If you see a way to fix it, great. If not, selecting only non zero values in the Grafana query works for my use case.

@youzer-name - let us know how the latest version works for you when you have had a chance to test for a while.
Instead of updating data points in InfluxDB, the script will now remove previously written data just before writing new data.
In theory therefore, timestamps that were initially included in the response (i.e. with zero values) but not being returned in subsequent responses (i.e. no data) would be removed if they are within the history period (60 mins be default).

@mcbirse - It took me a while to get around to installing the updated script, but I've been running it for a while and it seems to be working as expected. I'm also able to do a --remove and re-download of data for past dates to clear older zero values. Thanks again for your work on this tool... I'm going to close this issue.

Thanks @youzer-name for the feedback, great to hear it is working well!


Fix error on valueless env vars

Also entered this bug to address the bigger picture problem:
https://github.com/rancherio/rancher/issues/724

LGTM


feat: Add PyExceptionContext for passing Python exceptions through C++ exceptions.

Description

Before this PR, we could not pass Python exceptions around when throwing/catching C++ exceptions.
This PR introduces class PyExceptionContext to solve this problem, allowing users to store/restore Python exceptions. Python exceptions can be fetched/restored through PyErr_Fetch and PyErr_Restore as explained here. PyExceptionContext is essentially a wrapper to these two methods.
PyExceptionContext is then used to improve python ffi's implementation of clp::TraceableException, allowing use to pass Python exceptions around through the traceable exception. This is required in some other clp interface implementations, for example, if we want to implement reader/writer interfaces that directly communicate with Python objects, we need a way to caught the Python exceptions through exception throwing. Examples can be found in #86's DeserializerBufferReader.
This PR also adds a general exception handling helper to convert a C++ traceable exception into Python exceptions. This method is used to replace the existing exception handling implementations.
Validation performed

Ensure the workflow passed
Ensure all clang-tidy warnings are resolved in the newly added code sections except non-directly included Python headers
Tested within the beta branch

Summary by CodeRabbit

New Features

Introduced a new class for enhanced management of Python exceptions.
Added a method to access the Python exception context within the exception handling class.
Implemented a new function for structured error handling of traceable exceptions.

Bug Fixes

Updated exception handling in relevant classes to utilize a more specific exception type for better traceability.

Documentation

Enhanced documentation for the exception handling class to clarify its capabilities.

@coderabbitai review

How about: Add class PyExceptionContext for handling Python exceptions in C++.

The class is not for handling Python exceptions in C++ right? Like it is more like a wrapper to pass exceptions around

Discussed offline and agreed on the final PR title.


Bad Link:

Please updat the Fix sync problems link.  Its no longer valid.
https://support.office.com/article/aaa2d172-8d45-4e94-9c04-5364d04ca2f4

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

ID: a6a922b4-4bf0-db6f-6b05-69bd3a39610b
Version Independent ID: 9939ca09-6f30-cea7-70f4-1c18e698e292
Content: Sync - SharePoint Online
Content Source: SharePoint/SharePointOnline/sharepoint-sync.md
Service: sharepoint-online
GitHub Login: @kaarins
Microsoft Alias: kaarins

@EricMcComac  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@EricMcComac Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Tell me what my choices were

Coverage decreased (-0.001%) to 81.505% when pulling 8e32d493480d7783fcbeb491284fde4bae2d09e4 on tell-me-what-my-choices-were into 2d596dc49049b426106416bff69748814469b759 on master.


WIP: Reenable dynamic title support on windows

It turns out there were no issues with dynamic title support on windows,
I simply had an issue with my configuration which made me think it was
broken.
Fixes https://github.com/jwilm/alacritty/issues/1695

Nevermind, this does still have some issues in cmd. Marking WIP.

Fixing this properly requires a winpty modification (we're still on our own fork so not a big deal).
The relevant code is this section in the winpty agent. We need to be able to pass in a startup info struct so that we can override lpTitle.
Unfortunately I don't know how to C, and my previous attempts to modify winpty have left me looking at Access Violation more than I'd like to admit.

This is also a problem in conpty, even when setting lpTitle in the CreateProcess call. Looks like I was wrong in my initial assessment.

@zacps I just had a brief play with this seem to have gotten it working for conpty. Want to test it and see if that does what you're expecting? Branch is https://github.com/davidhewitt/alacritty/tree/dynamic-title
(I might be willing to take a brief shot at the winpty-sys code too if you'd like. Or we could leave it as a conpty-only feature if it looks like too much work to get winpty to support.)

Sorry I'm not going to be able to look at this for at least another week, enabling this for ConPTY without adding support for winpty is fine with me (though obviously more support is better).
The problem I found was when running cmd, entering another shell, for example python, then returning to cmd. After that the title disappeared, or was set to a fragment like ' - Cmd'.

No prob, no rush at all!
With the branch I've got running I can't reproduce that problem you describe.
I also took a look at modifying winpty. It'll require making a custom winpty-agent.exe from the fork to introduce the code you suggest. Meaning we would no longer be able to use the prebuilt binaries which we currently download in alacritty's build.rs.
Given the winpty solution looks to be very complicated, I'll finish off my branch as a conpty-only feature for now. I need to figure out exactly how to do this, will have a go at cooking something up soon...

Closed in favor of https://github.com/jwilm/alacritty/pull/2127.


Incompatibility with Haiku

I am trying to use Orbax for checkpointing a model in Haiku, but it's been quite problematic.
The problem seems to be that Orbax struggles with keys containing the / character. Haiku uses / for managing parameters in nested modules, such as a simple MLP network.
Here is a minimal example replicating the problem:
import pathlib
from jax import numpy as jnp
import orbax
import orbax.checkpoint
import haiku as hk

@hk.transform
def forward_fn(inputs):
  # net = hk.Linear(output_size=2) # This works
  net = hk.nets.MLP(output_sizes=[2, 2], activate_final=True)  # This doesn't work
  return net(inputs)

prng_seq = hk.PRNGSequence(0)
params = forward_fn.init(next(prng_seq), jnp.ones((1, 5)))

ckpt_dir = str(pathlib.Path.home() / 'foo')
orbax_mngr = orbax.checkpoint.CheckpointManager(
    ckpt_dir,
    {'state': orbax.checkpoint.PyTreeCheckpointer()},
    options=orbax.checkpoint.CheckpointManagerOptions(max_to_keep=1),
)
orbax_mngr.save(step=0, items={'state': params})

For the MLP network, params is a tree with the first level keys ['mlp/~/linear_0', 'mlp/~/linear_1'], which creates a problem when I try to save it using the checkpoint manager.
FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/foo/0.orbax-checkpoint-tmp-1685818375792355/state.orbax-checkpoint-tmp-1685818375868924/mlp/~/linear_0.w'

A similar issue has been reported before here: https://github.com/google/orbax/issues/304.
I'm afraid right now you would just have to change the names before saving. I can look into a more robust solution, but might be a little while before I get to it. I'll leave this issue open in the meantime.

This should be supported in the latest release. Feel free to reopen if you have an issue with the new solution.

Many thanks for the prompt response! I verified that new release solves the problem

Hi again, I recently upgraded orbax to the latest version and found that there's is again an issue for orbax handling trees with the ~ character, as used by Haiku. The error now is as follows:
Traceback (most recent call last):
  File "/workspaces/modularbayes/examples/bar.py", line 23, in <module>
    orbax_mngr.save(step=0, items={'state': params})
  File "/home/ubuntu/.local/lib/python3.10/site-packages/orbax/checkpoint/checkpoint_manager.py", line 496, in save
    self._checkpointers[k].save(item_dir, item, **kwargs)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/orbax/checkpoint/checkpointer.py", line 79, in save
    self._handler.save(tmpdir, *args, **kwargs)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/orbax/checkpoint/pytree_checkpoint_handler.py", line 818, in save
    asyncio.run(async_save(directory, item, *args, **kwargs))
  File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/orbax/checkpoint/pytree_checkpoint_handler.py", line 811, in async_save
    commit_futures = await self.async_save(*args, **kwargs)  # pytype: disable=bad-return-type
  File "/home/ubuntu/.local/lib/python3.10/site-packages/orbax/checkpoint/pytree_checkpoint_handler.py", line 786, in async_save
    commit_futures = await asyncio.gather(*serialize_ops)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/orbax/checkpoint/type_handlers.py", line 893, in serialize
    open_future = ts.open(
ValueError: Error parsing object member "json_pointer": JSON Pointer requires '~' to be followed by '0' or '1': "/mlp/~/linear_0.b" [source locations='tensorstore/internal/json_binding/json_binding.h:861\ntensorstore/internal/json_binding/json_binding.h:825']
sys:1: RuntimeWarning: coroutine 'async_serialize' was never awaited

I will open a new issue


Color-settings broken after VS-restart

VS 2015:
If you change the color-settings and restart the studio the default colors will be taken again. You have to open the VSColorOutput options via Tools -> Options -> VSColorOutput again and hit "Ok" without any change (the new color is restored in settings correctly). After the OK-click the output window gets updated correct immediately.

I'm not entirely sure I'm following this. Here's what I did

start VS2015
Open project and build
Go to VSColorOutput options, change "Build Message" color to purple.
Click OK to close dialog.
Restart Visual Studio
Open project and build

In my test the "Build Message" color is purple as expected. Is this the sequence of steps you're describing?

I have the same problem.
Open VS -> Open project -> Build -> Output has default colors -> Openning VSColorOutput settings and they are loaded correctly -> Hit OK to confirm -> Build -> Output colors are correct now -> Restart VS -> Open project -> Build -> Output has default colors.
So VSColorOutput Settings are loading correctly when showed for change. But colors are not loaded correctly from the start of VS.

Sounds like I may have a race condition at start up.

@mike-ward Your steps where right. You only missed the restart of the studio. Just wanted to answer your question :-). @jakubsuchybio described my issue completely correct.

Please check if this is resolved in 2.2.1

Tried it. The problem persists.

not fixed with the 2.2.1.

I have to correct my last posting. The behavior is slightly different now. When I go to Tools -> Options ->VSColorOutput the colors are corrected immediately (without hitting "OK" in the VS-option dialog). So something has changed.

Yes, that changed. With opening subtree of VSColorOutput it corrects colors. But still doesn't work after start of VS2015.

@mike-ward Can you tell us if this will be solved in the near future? Thx!

Hi, I got it somehow magically working and I didn't even do anything to it :D
I only changed settings on my BuildVision plugin to not show up at build startup, so Ouput window is showing at build startup and it have correct colors that I have in settings.

@jakubsuchybio What do you mean by "BuildVision"?

It is another extension

I've recognized that the color settings are restored when I open my VS in light mode. This error only occurs when I set the VS to dark mode and re-start it won't restore the colors from settings.

@mike-ward Any updates on this? Thx!

I no longer have any problem

Without a reproducible scenario here there's not much I can do.

Without a reproducible scenario here, there's not much I can do. It's relatively easy to debug in VS2015. Perhaps you can find it?

Ok! I placed a little GIF ani to show the steps. Keep in mind, that my problem only occurs in dark theme. First you see my VS after I opened it and hit play once. As you can see, the Info-Style is the default dark blue. I then switch to Tools -> Options -> VSColorOutput. You can see, that I set Information to CornflowerBlue. When I now hit OK (without changing any option really) VS will correct my output window and this will work until the next VS restart.
Funny thing: When I'm in Light or Blue Theme (in other words if the background of the output window is light colored), CornflowerBlue is applied at startup without any problems.
I guess VSColorOutput initializes incorrect when dark theme is selected.

I also have this bug, both VS 2015 and VS 2016/15.

You can edit the settings file directly (it's json) and set your colors there.

@mike-ward Which settings file do you mean? Just to clear that out: The settings are shown and restored correctly when you enter the settings dialog. They are just not assinged to the studio after a restart before you hit ok when it is in dark mode. I dont' understand what changing the settings in the JSON could change.

I was referring to settings where the colors are stored in the AppData folder. So the issue is the colors are "remembered" but don't affect the output window until you visit the VSColorOutput settings dialog and press OK. This occurs only in the dark theme. Is this correct?
Assuming that it is, I can't repro it. I switched to the dark theme, changed the build messages to Orange. Restart VS. Load same project. Build. Output window has Orange build messages.
I'll run in dark theme for the next couple of days to see if I notice anything..
There was a bug a while back about a crash on C++ projects. That eventually came down to a collision with another extension and it was something the other extension maker had to fix (Kudos to them). It's possible there's a similar problem with here.
Can you list the extensions you're using?

I think ReSharper may be related, I've seen color "race conditions" with it before.
Microsoft Visual Studio Community 2015
Version 14.0.25123.00 Update 2
Microsoft .NET Framework
Version 4.6.01038
Installed Version: Community
Visual Basic 2015   00322-20000-00000-AA767
Microsoft Visual Basic 2015
Visual C# 2015   00322-20000-00000-AA767
Microsoft Visual C# 2015
Visual C++ 2015   00322-20000-00000-AA767
Microsoft Visual C++ 2015
Visual F# 2015   00322-20000-00000-AA767
Microsoft Visual F# 2015
Windows Phone SDK 8.0 - ENU   00322-20000-00000-AA767
Windows Phone SDK 8.0 - ENU
Advanced Installer Extension   12.5
Advanced Installer Extension. For more information visit the Advanced Installer website at www.advancedinstaller.com. Copyright © Caphyon LTD. All rights reserved.
Application Insights Tools for Visual Studio Package   5.2.60328.3
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2015 (RC1 Update 1)   14.1.20203.0
ASP.NET and Web Tools 2015 (RC1 Update 1)
ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013   5.2.40314.0
For additional information, visit http://www.asp.net/
Azure App Service Tools v2.8.1   14.0.11123.0
Azure App Service Tools v2.8.1
Common Azure Tools   1.7
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
DataFactoryProject   1.0
Microsoft Data Factory Package
EmojiVS   1.0
GitHub Emojis in Visual Studio
GitHub.VisualStudio   1.0
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
HLSL Tools for Visual Studio   0.9.42
Enhanced support for editing HLSL in Visual Studio
JavaScript Language Service   2.0
JavaScript Language Service
JavaScript Project System   2.0
JavaScript Project System
JetBrains ReSharper Ultimate 2016.1.2    Build 105.0.20160522.80219
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2016 JetBrains, Inc.
Microsoft Azure Data Factory Node Node   1.0
Azure Data Factory extension for Visual Studio Server Explorer.
Microsoft Azure HDInsight HQL Service   2.0.6000.0
Language service for Hive query
Microsoft Azure HDInsight Tools for Visual Studio   2.0.6000.0
An integrated development environment for HDInsight application development.
Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools
Microsoft Azure Tools   2.7
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.7.30818.1601
Microsoft Azure Tools   2.8
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.8.31121.1
NuGet Package Manager   3.4.1
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
Python Tools for Visual Studio   2.2.40315.00
Python Tools for Visual Studio provides IntelliSense, projects, templates, Interactive windows, and other support for Python developers.
Python Tools for Visual Studio - Django Integration   2.2.40315.00
Provides templates and integration for the Django web framework.
Python Tools for Visual Studio - Profiling Support   2.2.40315.00
Profiling support for Python projects.
ShowMyGitBranch   1.0
Displays the name of your current git branch in Visual Studio's title bar.
SQL Server Data Tools   14.0.60311.1
Microsoft SQL Server Data Tools
StopOnFirstBuildError   1.0
StopOnFirstBuildError
Stops a solution build immediately after a project has failed to build.
http://tech.einaregilsson.com/2011/01/06/stop-build-on-first-error-in-visual-studio-2010/
TargetFrameworkMigrator   1.0
Bulk Change .Net Projects Target Frameworks
TortoiseGitToolbar   1.0
Lightweight toolbar for launching commonly used TortoiseGit functionality from within Visual Studio.
TypeScript   <IP_ADDRESS>
TypeScript tools for Visual Studio
Visual Studio Tools for Universal Windows Apps   14.0.25123.00
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.
VSColorOutput   2.4
Color output for build and debug windows - http://mike-ward.net/vscoloroutput
VsVim   <IP_ADDRESS>
VsVim is a Vim emulator for Visual Studio

I run Resharper as well.
I was thinking of loading the same extensions to try and reproduce the issue but that list is longer than I expected.
Next time you do a fresh install, Load VSColorOuput first and see if the issue persists.

@mike-ward Sorry for the delay. Here ist the list of my extensions:
Microsoft Visual Studio Enterprise 2015
Version 14.0.25123.00 Update 2
Microsoft .NET Framework
Version 4.6.01038
Installed Version: Enterprise
Architecture and Modeling Tools   00322-80000-00000-AA491
Microsoft Architecture and Modeling Tools
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.
LightSwitch for Visual Studio 2015   00322-80000-00000-AA491
Microsoft LightSwitch for Visual Studio 2015
Visual Basic 2015   00322-80000-00000-AA491
Microsoft Visual Basic 2015
Visual C# 2015   00322-80000-00000-AA491
Microsoft Visual C# 2015
Visual C++ 2015   00322-80000-00000-AA491
Microsoft Visual C++ 2015
Windows Phone SDK 8.0 - ENU   00322-80000-00000-AA491
Windows Phone SDK 8.0 - ENU
Application Insights Tools for Visual Studio Package   5.206.60517.2
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2015.1   14.1.20512.0
ASP.NET and Web Tools 2015.1
ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013   5.2.40314.0
For additional information, visit http://www.asp.net/
Azure App Service Tools v2.9   14.0.20316.0
Azure App Service Tools v2.9
Azure Data Lake Node   1.0
This package contains the Data Lake integration nodes for Server Explorer.
Azure Data Lake Tools for Visual Studio   2.0.6000.0
Microsoft Azure Data Lake Tools for Visual Studio
Bundler & Minifier   1.9.155
Adds support for bundling and minifying JavaScript, CSS and HTML files in any project.
Common Azure Tools   1.7
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Crystal Reports for .NET Framework
Crystal Reports for .NET Framework
GitHub.VisualStudio   1.0
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
Infragistics Version Utility   1.0
This utility lets you set the Infragistics version that a specific project is using.
Infragistics.ColorTuner   1.0
Infragistics Color Tuner for Microsoft Visual Studio 2010. For more information visit http://www.infragistics.com
Infragistics.VSExtension   1.0
Infragistics Visual Studio Extension (AddIn) adds scheduled check for update functionality to your Visual Studio IDE. It also provides some fast shortcuts to infragistics products and online resources.
JavaScript Language Service   2.0
JavaScript Language Service
JavaScript Project System   2.0
JavaScript Project System
JetBrains ReSharper Ultimate 2015.1   Build 102.0.20150408.145317
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2016 JetBrains, Inc.
Microsoft .NET Core Tools (Preview 1)   14.1.20512.0
Microsoft .NET Core Tools (Preview 1)
Microsoft Azure HDInsight HQL Service   2.0.6000.0
Language service for Hive query
Microsoft Azure HDInsight Tools for Visual Studio   2.0.6000.0
An integrated development environment for HDInsight application development.
Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools
Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.9.40323.3
NuGet Package Manager   3.4.3
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Office Developer Tools for Visual Studio 2015 ENU   14.0.23928
Microsoft Office Developer Tools for Visual Studio 2015 ENU
PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SlowCheetah - XML config transforms    1.0
This package enables you to transform your app.config or any other XML file based on the build configuration. It also adds additional tooling to help you create XML transforms.
SQL Server Data Tools   14.0.60311.1
Microsoft SQL Server Data Tools
Syntax Visualizer   1.0
An extension for visualizing Roslyn SyntaxTrees.
ToolWindowHostedEditor   1.0
Hosting json editor into a tool window
TypeScript   <IP_ADDRESS>
TypeScript tools for Visual Studio
Typewriter   1.0
Provides automatic TypeScript Template generation from C# source files
Visual Studio Tools for Universal Windows Apps   14.0.25208.00
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.
VSColorOutput   2.4
Color output for build and debug windows - http://mike-ward.net/vscoloroutput
WakaTime   1.0
Web Compiler   1.11.315
Compiler for LESS, Sass and CoffeeScript files
Web Essentials 2015.2   2.0.214
Adds many useful features to Visual Studio for web developers. Requires Visual Studio 2015
Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.
Xamarin   <IP_ADDRESS> (0dd817c)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Inspector Support   <IP_ADDRESS> (545e74c)
Adds support for inspecting Xamarin and WPF apps.
Xamarin.Android   <IP_ADDRESS> (a94a03b)
Visual Studio plugin to enable development for Xamarin.Android.
Xamarin.iOS   <IP_ADDRESS> (3a25bf1)
Visual Studio extension to enable development for Xamarin.iOS.

I'm starting to feel extension poor in use of VS :disappointed:

A default install has a lot of extensions...
On Wed, Jun 1, 2016, 13:52 Mike Ward<EMAIL_ADDRESS>wrote:

I'm starting to feel extension poor in use of VS 😞
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mike-ward/VSColorOutput/issues/13#issuecomment-222970117,
or mute the thread
https://github.com/notifications/unsubscribe/AAn28B3UUJpWj2vlauiRgDvs3crLIEI3ks5qHXKWgaJpZM4G_rZA
.

@mike-ward Maybe it's a problem with Output window being open from start. I see that you described building project to see that colors are ok. Can you try to set your VS window layout to open Output window at startup.
I'm also using dark theme and ReSharper.
I can debug the extension if required, can you provide me with a link to instructions on how to do it?

@AleksandarDev, @mike-ward  That makes sense. I think that the initialization gets somehow overwritten when one uses a different theme. Could it be possible that a theme initializes after VSColorOutput and thus simply overwrites the output window? This would explain the behavior.

This is fixed in VS2017 for me, can someone check if this is still a problem in 15?


`load_missing_constant': Unable to autoload constant

When I add a jsonapi route
Rails.application.routes.draw do
  namespace :api, path: '/', constraints: { subdomain: 'api' } do
    jsonapi_resources :projects
    # ...
  end
end

Rails produces a following error during the app initializtion:
..ruby-2.1.4@rails4/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:481:in `load_missing_constant': Unable to autoload constant ProjectResource, expected .../app/resources/project_resource.rb to define it (LoadError)
My ProjectController (resides in app/controller/api directory):
module API
    class ProjectsController < ApplicationController
      before_action :set_project, only: [:show, :update, :destroy]
      respond_to :json
      # GET /projects
      # GET /projects.json
      def index
        respond_with Project.all
      end

       # ...
end

And a resource defenition (app/resources/project_resource.rb):
class API::ProjectResource < JSONAPI::Resource
  attributes :name, :created_at, :updated_at
end

What did I miss?

You need to derive the controller from JSONAPI::ResourceController or include include JSONAPI::ActsAsResourceController in your controller.

I just came across the same problem. For me the solution was to put the resource definition into app/resources/**api/**project_resource.rb

So glad for your comment @matthias-g!
Here's how I got there for anyone following in these footsteps.
Put my definitions here:
app/resources/api/v1/project_resource.rb
And the controller here:
app/controllers/api/v1/project_controller.rb
class Api::V1::ProjectResource < JSONAPI::Resource

end


GNOME 45 port

Are you planning the port to GNOME 45?
Thanks
Iade

Today

Sorry, archlinux gnome-shell version is still 44.5, need to wait for it to upgrade to 45.

Arch Linux just got GNOME 45 released to stable. Could you update the G45 version?
Thanks


rendered href links to local .md files do not work

Need
It is very valuable to navigate to the local .md file of the linked item.
Also, this desired behaviour would be consistent with the normal behaviour of local .md links.
Example
x.md:
normal [link to y](y), works normally

```d2
y: y: d2 link does not work {
  link: y
}
```

y.md:
normal [link to x](x), works normally

```d2
x: x: d2 link does not work {
  link: x
}
```

Now preview.
Result

Expected behaviour
Clicking on the D2 link should behave the same as the normal markdown link, ie: navigate to the other local file
Actual behaviour
The hover cursor appears but clicking has no noticeable effect.
Environment
macOS Sonoma 14.1.2
VS Code 1.84
D2 version 0.6.1
D2 VS Code extension v0.8.8

fyi:
the Obsidian D2 plugin does follow internal links as expected.
For comparison, the svg anchors are rendered as follows:

<g id="y"
    ><g class="shape"
      ><rect
        x="0.000000"
        y="0.000000"
        width="245.000000"
        height="66.000000"
        class="stroke-B1 fill-B6"
        style="stroke-width: 2"
      ></rect></g
    ><text
      x="122.500000"
      y="38.500000"
      class="text-bold fill-N1"
      style="text-anchor: middle; font-size: 16px"
      >y: d2 link does not work</text
    ></g
  >

<g id="y"
    ><g class="shape"
      ><rect
        x="0.000000"
        y="0.000000"
        width="245.000000"
        height="66.000000"
        class="stroke-B1 fill-B6"
        style="stroke-width: 2"
      ></rect></g
    ><text
      x="122.500000"
      y="38.500000"
      class="text-bold fill-N1"
      style="text-anchor: middle; font-size: 16px"
      >y: d2 link does not work</text
    ></g
  >

The markdown extension is actively denying this.  These are the allowed link types, according to the markdown extension:
const passThroughLinkSchemes = ['http:', 'https:', 'mailto:', 'vscode:', 'vscode-insiders:'];

Unfortunately, once we pass the  fragment to the markdown extension, we have no control, unlike when we do our own preview, we can do just about anything.  I even tried inserting some code to get around this and it was completely rejected by the security model.

The markdown extension is actively denying this.  These are the allowed link types, according to the markdown extension:
const passThroughLinkSchemes = ['http:', 'https:', 'mailto:', 'vscode:', 'vscode-insiders:'];

Unfortunately, once we pass the  fragment to the markdown extension, we have no control, unlike when we do our own preview, we can do just about anything.  I even tried inserting some code to get around this and it was completely rejected by the security model.


[Fix #12380] Make Style/RedundantParentheses aware of lambda or proc

Fixes #12380.
This PR makes Style/RedundantParentheses aware of lambda or proc.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

@anton-co Right! I've opened https://github.com/rubocop/rubocop/pull/12505 to resolve the issue. Thank you for the feedback!


GUVNOR-2728 : Dependency validation issues after upgrading from BxMS 6.1 to 6.3.3

https://issues.jboss.org/browse/GUVNOR-2728

Whoap. One small bug to fix.


Fixed format date

Main changes in DateUtil class. Not sure if it should be moved to commons.util package or renamed DateParser.
Plan to support more date/time formats in future eg. tomorrow, next week, next month
No test cases written.
Closes #81

reviewed


Contract walkthrough and basic structure

Closes: #1
Description
Define the needed resources and functions for the contract. Add a high-level overview of the contract functionality on the README.

For contributor use:

[x] Targeted PR against main branch
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[x] Code follows the standards mentioned here.
[x] Updated relevant documentation
[x] Re-reviewed Files changed in the Github PR explorer
[x] Added appropriate labels

@franklywatson a quick check on the trading lingo use such as "baseSymbol currency" on the README will be highly appreciated


chore: bump

@nolanjacobson please make sure package.json reflects the current tag. it can be achieved easily by doing npm version patch


MaxValue for Input Select

Here is the list of VCP commands for my screen :
PS C:\Users\Antoine> Get-Monitor -DeviceName \\.\DISPLAY1 | Get-MonitorVCPResponse -All

VCPCode Name                                 CurrentValue MaxValue Description
------- ----                                 ------------ -------- -----------
   0x02 New Control Value                               2      255 Indicates that a displays MCCS VCP Code register value has changed.
   0x04 Restore Factory Defaults                        0        1 Restore all factory presets including luminance / contrast, geometry, color and TV defaults.
   0x05 Restore Factory Luminance / Contr...            0        1 Restores factory defaults for luminance and contrast adjustments.
   0x08 Restore Factory Color Defaults                  0        1 Restore factory defaults for color settings.
   0x0B User Color Temperature Increment               50    65535 Sets the minimum increment in which the display can adjust the color temperature.
   0x0C User Color Temperature                         70      126 Multiplier of the value set in 0x0B
   0x10 Luminance                                     100      100 Luminance of the image (Brightness control).
   0x12 Contrast                                       50      100 Contrast of the image.
   0x14 Select Color Preset                            11       11 Select a specified color temperature.
   0x16 Video Gain (Drive): Red                       100      100 Sets the luminance of red pixels.
   0x18 Video Gain (Drive): Green                     100      100 Sets the luminance of green pixels.
   0x1A Video Gain (Drive): Blue                      100      100 Sets the luminance of blue pixels.
   0x52 Active Control                                  0      255 All VCP Codes that have new values must be added to this FIFO in the order they occur and VCP 02h must be set to = 02h when this FIFO is N...
   0x60 Input Select                                    4        3 Adjusts the active input on the display.
   0x62 Audio: Speaker Volume                           0      100 Allows the volume to be adjusted.
   0x6C Video Black Level: Red                         50      100 Sets the black level of the red video.
   0x6E Video Black Level: Green                       50      100 Sets the black level of the green video.
   0x70 Video Black Level: Blue                        50      100 Sets the black level of the blue video
   0x8D Audio Mute / Screen Blank                       2        2 Provides for the audio to be muted or un-muted.
   0xAC Horizontal Frequency                         1964    65281 Horizontal synchronization signal frequency in Hz as determined by the display.
   0xAE Vertical Frequency                           6000    65535 Vertical synchronization signal frequency in 0.01Hz as determined by the display
   0xB2 Flat Panel Sub-Pixel Layout                     1        8 Indicates the type of LCD sub-pixel structure
   0xB6 Display Technology Type                         3        4 Indicates the base technology type.
   0xC0 Display Usage Time                          16176    65535 Returns the current value (in hours) of active power on time accumulated by the display in the ML, SH and SL bytes
   0xC6 Application Enable Key                        111    65535 A 2-byte value used to allow an application to only operate with known products. The display manufacturer and application author agree to ...
   0xC8 Display Controller ID                          18    65535 Contains the ID for the display controller. 1st byte is parsed as the OEM ID
   0xC9 Display Firmware Level                          5    65535 Contains the firmware version of the display. 1st byte is parsed as the revision number. 2nd byte is the major version. 3rd and 4th are un...
   0xCA OSD / Button Control                            2        2 Sets and indicates the current operational state of the display OSD and buttons
   0xCC OSD Language                                    3      255 Allows the host to select the display OSD language.
   0xD6 Power Mode                                      1        4 Controls the power mode of the display. 0 = Reserved, 1 = On, 2 = Standby, 3 = Suspend, 4 and 5 = Off
   0xDC Display Application                             4        8 Select an image preset like Standard, Movie, Games, etc.
   0xDF VCP Version                                   513    65535 Defines the version number of the MCCS standard recognized by the display.
   0xF8 OEM specific                                    0      255
   0xFE OEM specific                                    0      255
   0xFF OEM specific                                    0        1

As you can see, if my screen is on HDMI and the matching value is 4...
   0x60 Input Select                                    4        3 Adjusts the active input on the display.

However if I'm on value 3 (DVI) I can't switch back to 4 because the maxValue is set to 3.
Is it a software or an hardware limitation ?
Thanks :)

The MaxValue data is strictly informational, I don't validate it before trying to set a value so if it fails it's because the underlying API call fails.
I don't know if the Windows API tries to do the validation on its own but I doubt that's the case. Most likely it's just the monitor behaving oddly.

I tried on linux using ddcutil:
antoine@antoine-Latitude-5520:~/dev$ sudo ddcutil capabilities
Model: PL2280H
MCCS version: 2.1
Commands:
   Op Code: 01 (VCP Request)
   Op Code: 02 (VCP Response)
   Op Code: 03 (VCP Set)
   Op Code: 07 (Timing Request)
   Op Code: 0C (Save Settings)
   Op Code: 4E (Unrecognized operation code)
   Op Code: F3 (Capabilities Request)
   Op Code: E3 (Capabilities Reply)
VCP Features:
   Feature: 02 (New control value)
   Feature: 04 (Restore factory defaults)
   Feature: 05 (Restore factory brightness/contrast defaults)
   Feature: 08 (Restore color defaults)
   Feature: 0B (Color temperature increment)
   Feature: 0C (Color temperature request)
   Feature: 10 (Brightness)
   Feature: 12 (Contrast)
   Feature: 14 (Select color preset)
      Values:
         01: sRGB
         05: 6500 K
         06: 7500 K
         08: 9300 K
         0b: User 1
   Feature: 16 (Video gain: Red)
   Feature: 18 (Video gain: Green)
   Feature: 1A (Video gain: Blue)
   Feature: 6C (Video black level: Red)
   Feature: 6E (Video black level: Green)
   Feature: 70 (Video black level: Blue)
   Feature: AC (Horizontal frequency)
   Feature: AE (Vertical frequency)
   Feature: B6 (Display technology type)
   Feature: C0 (Display usage time)
   Feature: C6 (Application enable key)
   Feature: C8 (Display controller type)
   Feature: C9 (Display firmware level)
   Feature: CA (OSD)
   Feature: CC (OSD Language)
      Values:
         02: English
         03: French
         04: German
         05: Italian
         06: Japanese
         08: Portuguese (Portugal)
         09: Russian
         0a: Spanish
         0d: Chinese (simplified / Kantai)
   Feature: D6 (Power mode)
      Values:
         01: DPM: On,  DPMS: Off
         04: DPM: Off, DPMS: Off
   Feature: DF (VCP Version)
   Feature: 60 (Input Source)
      Values:
         01: VGA-1
         03: DVI-1
         11: HDMI-1
   Feature: 62 (Audio speaker volume)
   Feature: 8D (Audio Mute)
      Values:
         01: Mute the audio
         02: Unmute the audio
   Feature: FF (Manufacturer specific feature)

And it's working when inputing the value in hexadecimal:
sudo ddcutil setvcp 60 0x11 -d 2

It's now working with this value in MonitorConfig ;)


When Message processor retries with JSON payload, the payload is altered

Description:

$subject
Steps to reproduce:

An API that just store the message in a Message Store and return a 202 to the caller
A JMS Message Store
A Message Processor that has configured the Proxy Service URL as the target endpoint. It retries the message two times and then drops the message
A Proxy Service that logs the input message, has a payload factory to alter the message (to simulate we do a call for example) and return a 500 to force a retry
Enable wire logs
Send a JSON payload

{
"textField": "Hello world",
"numberFieldAsString": "1",
"numberField": 1,
"booleanFieldAsString": "true",
"booleanField": true
}

You can observe that the JSON payload that is retried is altered.
{"textField":"Hello world","numberFieldAsString":1,"numberField":1,"booleanFieldAsString":true,"booleanField":true}

Fixed with https://github.com/wso2/wso2-synapse/pull/2001


Synthesis failed for CustomSearch

Hello! Autosynth couldn't regenerate CustomSearch. :broken_heart:
Here's the output from running synth.py:
2020-05-09 05:09:31 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-09 05:09:31,694 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-customsearch'
2020-05-09 05:09:33 [INFO] Running synthtool
2020-05-09 05:09:33,592 autosynth > Running synthtool
2020-05-09 05:09:33 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/custom_search/synth.metadata', 'synth.py', '--']
2020-05-09 05:09:33,593 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/custom_search/synth.metadata', 'synth.py', '--']
2020-05-09 05:09:33,811 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-customsearch
nothing to commit, working tree clean
2020-05-09 05:09:33,998 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-09 05:09:34,958 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 CustomSearch
2020-05-09 05:09:39,468 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/custom_search/synth.metadata'
2020-05-09 05:09:39 [ERROR] Synthesis failed
2020-05-09 05:09:39,497 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/custom_search/synth.metadata', 'synth.py', '--', 'CustomSearch']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating CustomSearch. :sob:
Here's the output from running synth.py:
2020-05-10 05:09:27 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-10 05:09:27,490 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-customsearch'
2020-05-10 05:09:29 [INFO] Running synthtool
2020-05-10 05:09:29,191 autosynth > Running synthtool
2020-05-10 05:09:29 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/custom_search/synth.metadata', 'synth.py', '--']
2020-05-10 05:09:29,191 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/custom_search/synth.metadata', 'synth.py', '--']
2020-05-10 05:09:29,407 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-customsearch
nothing to commit, working tree clean
2020-05-10 05:09:29,482 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-10 05:09:29,914 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 CustomSearch
2020-05-10 05:09:34,316 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/custom_search/synth.metadata'
2020-05-10 05:09:34 [ERROR] Synthesis failed
2020-05-10 05:09:34,341 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/custom_search/synth.metadata', 'synth.py', '--', 'CustomSearch']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating CustomSearch. :sob:
Here's the output from running synth.py:
2020-05-11 05:08:19 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-11 05:08:19,765 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-customsearch'
2020-05-11 05:08:21 [INFO] Running synthtool
2020-05-11 05:08:21,495 autosynth > Running synthtool
2020-05-11 05:08:21 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/custom_search/synth.metadata', 'synth.py', '--']
2020-05-11 05:08:21,496 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/custom_search/synth.metadata', 'synth.py', '--']
2020-05-11 05:08:21,682 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-customsearch
nothing to commit, working tree clean
2020-05-11 05:08:21,752 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-11 05:08:22,177 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 CustomSearch
2020-05-11 05:08:27,358 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/custom_search/synth.metadata'
2020-05-11 05:08:27 [ERROR] Synthesis failed
2020-05-11 05:08:27,382 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/custom_search/synth.metadata', 'synth.py', '--', 'CustomSearch']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating CustomSearch. :sob:
Here's the output from running synth.py:
2020-05-11 15:10:08 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-11 15:10:08,294 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-customsearch'
2020-05-11 15:10:10 [INFO] Running synthtool
2020-05-11 15:10:10,009 autosynth > Running synthtool
2020-05-11 15:10:10 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/custom_search/synth.metadata', 'synth.py', '--']
2020-05-11 15:10:10,010 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/custom_search/synth.metadata', 'synth.py', '--']
2020-05-11 15:10:10,225 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-customsearch
nothing to commit, working tree clean
2020-05-11 15:10:10,526 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-11 15:10:10,993 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 CustomSearch
/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:10:13.520 [info]  FETCHING: https://www.googleapis.com/discovery/v1/apis/customsearch/v1/rest

22:10:13.660 [info]  FOUND: https://www.googleapis.com/discovery/v1/apis/customsearch/v1/rest
Revision check: old=20181001, new=20200509, generating=true
Creating leading directories
Writing Promotion to clients/custom_search/lib/google_api/custom_search/v1/model/promotion.ex.
Writing PromotionBodyLines to clients/custom_search/lib/google_api/custom_search/v1/model/promotion_body_lines.ex.
Writing PromotionImage to clients/custom_search/lib/google_api/custom_search/v1/model/promotion_image.ex.
Writing Result to clients/custom_search/lib/google_api/custom_search/v1/model/result.ex.
Writing ResultImage to clients/custom_search/lib/google_api/custom_search/v1/model/result_image.ex.
Writing ResultLabels to clients/custom_search/lib/google_api/custom_search/v1/model/result_labels.ex.
Writing Search to clients/custom_search/lib/google_api/custom_search/v1/model/search.ex.
Writing SearchQueries to clients/custom_search/lib/google_api/custom_search/v1/model/search_queries.ex.
Writing SearchQueriesNextPage to clients/custom_search/lib/google_api/custom_search/v1/model/search_queries_next_page.ex.
Writing SearchQueriesPreviousPage to clients/custom_search/lib/google_api/custom_search/v1/model/search_queries_previous_page.ex.
Writing SearchQueriesRequest to clients/custom_search/lib/google_api/custom_search/v1/model/search_queries_request.ex.
Writing SearchSearchInformation to clients/custom_search/lib/google_api/custom_search/v1/model/search_search_information.ex.
Writing SearchSpelling to clients/custom_search/lib/google_api/custom_search/v1/model/search_spelling.ex.
Writing SearchUrl to clients/custom_search/lib/google_api/custom_search/v1/model/search_url.ex.
Writing Cse to clients/custom_search/lib/google_api/custom_search/v1/api/cse.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:10:14.871 [info]  Bumping minor
fixing file permissions
2020-05-11 15:10:15,650 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/custom_search/synth.metadata'
2020-05-11 15:10:15 [ERROR] Synthesis failed
2020-05-11 15:10:15,683 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/custom_search/synth.metadata', 'synth.py', '--', 'CustomSearch']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating CustomSearch. :sob:
Here's the output from running synth.py:
2020-05-12 05:09:47 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-12 05:09:47,703 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-customsearch'
2020-05-12 05:09:49 [INFO] Running synthtool
2020-05-12 05:09:49,472 autosynth > Running synthtool
2020-05-12 05:09:49 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/custom_search/synth.metadata', 'synth.py', '--']
2020-05-12 05:09:49,472 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/custom_search/synth.metadata', 'synth.py', '--']
2020-05-12 05:09:49,693 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-customsearch
nothing to commit, working tree clean
2020-05-12 05:09:49,772 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-12 05:09:50,257 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 CustomSearch
/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:09:52.814 [info]  FETCHING: https://www.googleapis.com/discovery/v1/apis/customsearch/v1/rest

12:09:52.948 [info]  FOUND: https://www.googleapis.com/discovery/v1/apis/customsearch/v1/rest
Revision check: old=20181001, new=20200509, generating=true
Creating leading directories
Writing Promotion to clients/custom_search/lib/google_api/custom_search/v1/model/promotion.ex.
Writing PromotionBodyLines to clients/custom_search/lib/google_api/custom_search/v1/model/promotion_body_lines.ex.
Writing PromotionImage to clients/custom_search/lib/google_api/custom_search/v1/model/promotion_image.ex.
Writing Result to clients/custom_search/lib/google_api/custom_search/v1/model/result.ex.
Writing ResultImage to clients/custom_search/lib/google_api/custom_search/v1/model/result_image.ex.
Writing ResultLabels to clients/custom_search/lib/google_api/custom_search/v1/model/result_labels.ex.
Writing Search to clients/custom_search/lib/google_api/custom_search/v1/model/search.ex.
Writing SearchQueries to clients/custom_search/lib/google_api/custom_search/v1/model/search_queries.ex.
Writing SearchQueriesNextPage to clients/custom_search/lib/google_api/custom_search/v1/model/search_queries_next_page.ex.
Writing SearchQueriesPreviousPage to clients/custom_search/lib/google_api/custom_search/v1/model/search_queries_previous_page.ex.
Writing SearchQueriesRequest to clients/custom_search/lib/google_api/custom_search/v1/model/search_queries_request.ex.
Writing SearchSearchInformation to clients/custom_search/lib/google_api/custom_search/v1/model/search_search_information.ex.
Writing SearchSpelling to clients/custom_search/lib/google_api/custom_search/v1/model/search_spelling.ex.
Writing SearchUrl to clients/custom_search/lib/google_api/custom_search/v1/model/search_url.ex.
Writing Cse to clients/custom_search/lib/google_api/custom_search/v1/api/cse.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:09:54.175 [info]  Bumping minor
fixing file permissions
2020-05-12 05:09:54,953 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/custom_search/synth.metadata'
2020-05-12 05:09:54 [ERROR] Synthesis failed
2020-05-12 05:09:54,983 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/custom_search/synth.metadata', 'synth.py', '--', 'CustomSearch']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


Third-party apps / extensions: fluentcms-link

Thanks for django-fluent-[contents|pages], here is my small contribution https://github.com/bashu/fluentcms-link
PS: fluentcms-twitterfeed will be ready soon =)

Wonderful! Thanks for making it. I got really enthusiastic seeing fluentcms-link appear at django-planet.com :)


Allow specifying scopes using refresh_token grant

Is your feature request related to a problem? Please describe.
I have a portal with various applications, and each one needs a token with a different scope.
At the moment, using the refresh token, I'm providing a token to each app, but all tokens have all scopes originally requested.
Describe the solution you'd like
I would like to specify the scope when using the refresh_token grant.
The scope list should be a subset of originally requested scopes.
For example:
POST /connect/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded

client_id=client&client_secret=password&grant_type=refresh_token&scope=SCOPE_SUBSET&refresh_token=1a2b3c4d5e6f...7g8h9i

and the returned token should contain only the specified scope subset.

This is currently not implemented. Will add it as a feature request for 4.0. thanks!

I have a similar problem to solve and was surprised that IdentityServer didn’t worked as expected, since this behavior is defined in the OAuth 2.0 spec. In my opinion, you could classify the behavior as a bug and not a missing feature.
It would be great if this makes it into IdentityServer 5.

well - it is OPTIONAL.
But agreed that this would be nice.

well - it is OPTIONAL.

I should have consulted RFC 2119 before thinking of OPTIONAL as optional parameter instead optional implementation...

I was also suprised, that the "Scope" parameter on the Token-Endpoint just does nothing and is completely ignored.
I think for some services you might want to send only a less powerful AccessToken  (e.g. less user claims, less scopes).
Increasing the number scopes via Token-Endpoint might not be possible, right?

I was also suprised, that the "Scope" parameter on the Token-Endpoint just does nothing and is completely ignored.

I tested the PHP library OAuth 2.0 Server a few days ago. I found that this library considered the scope parameter as expected. This behavior is therefore not an exaggeratedly fussy interpretation of the spec.

Increasing the number scopes via Token-Endpoint might not be possible, right?

No. The spec states: „The requested scope MUST NOT include any scope not originally granted by the resource owner“


clearTimeout not defined in all environments

The lazy.js getCancelCallback() function can return  clearTimeout .
In NetSuite (which uses a Rhino based javascript backend) clearTimeout() is not defined, and hence throws an error just loading the script.
In general, the *Timeout() functions are not there in NetSuite, but lazy.js is still otherwise awesome in that environment!

I might add this makes lazy.js 0.4.0 unusable as-is in the netsuite javascript environment.

OK! Sounds like the fix is pretty straightforward: don't assume the existence of clearTimeout on all platforms.
I must admit I've never heard of NetSuite, and I've done virtually no work in Rhino before. I'll do a little research and (hopefully) come up with a solution that makes sense. I've been meaning to get a version 0.4.1 out the door soonish anyway.

My workaround was to just define clearTimeout(){} in some code before including lazy.js.
Look forward to 0.4.1 - Lazy is slowly replacing my previous favorite (lodash)!

You can try this:
https://gist.github.com/nbeloglazov/9633318
Works for me.

@mjwong thanks for the link, but unfortunately we don't get access to the underlying Rhino in NetSuite code. :(
@dtao  is this resolved in 0.4.1 or 0.4.2?


Indexing ES using rdd over https connection

I have secured ES + Kibana with nginx, so it's password protected and served over SSL.
sparkconf.set("es.index.auto.create", "true")
sparkconf.set("es.nodes","xx.xxx.xxx.xxx")
sparkconf.set("es.port","9200")

log_map.filter(_!=None).saveToEs("dataset/logs")

doesn't seem to work.
Any suggestions?

@geetanjaligg Es-hadoop needs to be configured to use SSL since otherwise it relies on HTTP not HTTPS. It also can be configured to support proxies or basic authentication.
See the reference documentation for more information here.
In the future, for questions please use the mailing list or the IRC not the issue tracker. Thank you.


Add a switch so we can use this "interactive window station"

I have a use for this line to be enabled again. Is there a way to allow a switch or something so I can still use it:
install-module RunAsUser -Force and have this link enabled?
startInfo.lpDesktop = "winsta0\\default";

use the -Visible option.


Clear update queue?

Hi,
Is there a way to clear the update queue and start over? I currently have over 22M queued updates and I can't find a way to clear the queue.
Thanks!

Hello, thanks for your feedback! There is no way currently to stop the updates at the moment. We are thinking about implementing this feature.

Thanks for your reply. The queue is stuck, restarting the service and server doesn't make a difference unfortunately, is the only solution reinstalling meilisearch?

I currently have over 22M queued updates

Do you push documents one by one? You should push document by batch, the add-or-replace-documents routes allow to push multiple documents at the same time and improve performance 🙂
However, I want to warn you, MeiliSearch is not designed to handle this huge amount of documents, depending on the RAM of your machine it might be complicated (or really long) to add your whole dataset.
The core team is currently working on a new search engine to handle this kind of huge dataset, we'll keep you informed when this release is out.
If you really want to stop all the processes, you need to stop MeiliSearch and remove data.ms (the database) but you will lose all your information in MeiliSearch 😕

Thanks for the replies!

Do you push documents one by one? You should push document by batch, the add-or-replace-documents routes allow to push multiple documents at the same time and improve performance 🙂

I currently push in batches of 5000 documents, the documents are relatively small, they contain an ID, SKU and a Title

The core team is currently working on a new search engine to handle this kind of huge dataset, we'll keep you informed when this release is out.

That sounds awesome, can you please update this issue when there is an update for that?
I redeployed the Meili server and started over, trying to just implement it for the customers that where having issues to keep the amount of documents small. If that doesn't work I'm going to go a different route until the new engine is ready for production :)

That sounds awesome, can you please update this issue when there is an update for that?

Hum, since there are more than 100 issues I might forget to keep this one up to date. Please follow the release of this repository, we will release a RC version by the end of June 🙂
Thanks for testing MeiliSearch and giving your feedback!

Thanks! I'll close it!


iPhone 15/16 Pro - App freeze on open viewer any file

Its working fine in android and iPhone all device except Pro. When I am trying to open any file in pro app getting freeze.
After 10 second on swipe down app getting hanged.

i also have same problem, it just hangs the whole screen

i think the issue is in newer version of ios 18, they added a support of closing the viewer by swiping down instead of clicking "Done" button everytime,
now the Quicklook overlay remains open when swiping down so need to fix that


WIP: feat: add dns config

Description
Added dns package building
Fixes # (issue) https://github.com/Arriven/db1000n/issues/49
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Test Configuration

Release version:
Platform:

Logs
logs

Screenshots

[ ] No screenshot

@Arriven could you please check is there right start?

@alexdanger looks good but you need to fix the linter
You can also add automatic check for correct serialization/deserialization similar to the one being present in serialize_test.go but that's optional for now

@alexdanger looks good but you need to fix the linter You can also add automatic check for correct serialization/deserialization similar to the one being present in serialize_test.go but that's optional for now

I run golangci-lint run on my machine, it looks good.
i will open another MR with test multi configs  in the serialize_test.go

sorrl, somehow golang-lint didn't catch .golangci.yml, linter is fixed.


Add certtificate file watcher

While it may be outside the scope of kubewebhook, we have added the ability to monitor the certificates used by webhook.
This implementation monitors for certificate updates and replaces certificates when updated. Specifically, the following functions are implemented

Creation of a watcher
Obtaining the latest certificate
Replacing certificates when certificate renewal events occur

In addition, by listening for requests from clients in tls.ClientHelloInfo and lazyloading certificates, the latest certificates can always be used.

Hi!
Thanks for the PR.
This is 100% out of the scope of this library. Even the code you submited doesn't import anything related with kubewebhook. You could create a small independent library so it can be used not only with kubewebhook projects and others can benefit.
Closing it.


Attacks do not work when the final layer is not softmax (e.g. ensemble models).

The issue tracker should only be used to report bugs or feature requests. If you are looking for support from other library users, please ask a question on StackOverflow.
Describe the bug
Attacks do not work when the final layer is not softmax (e.g. ensemble models).
To Reproduce
Steps to reproduce the behavior:
def ensemble(models, model_input):

    outputs = [model(model_input) for model in models]
    y = Average()(outputs)

    model = Model(model_input, y, name='ensemble')

    return model

models = [...] # list of pretrained Keras MNIST models

model = ensemble(models, model_input)
model_wrapper = KerasModelWrapper(model)
attack_par = {'eps': 0.3, 'clip_min': 0., 'clip_max': 1.}
attack = FastGradientMethod(model_wrapper, sess=sess)

x = tf.placeholder(tf.float32, shape=(None, img_rows, img_cols,
                                      nchannels))
attack.generate(x, **attack_par) # ERROR!

The error is
----------------------------------------------------------
Exception                Traceback (most recent call last)
<ipython-input-23-1d2e22ceb2ed> in <module>
----> 1 attack.generate(x, **attack_par)

~/ri/safechecks/venv/lib/python3.6/site-packages/cleverhans/attacks/fast_gradient_method.py in generate(self, x, **kwargs)
     48     assert self.parse_params(**kwargs)
     49
---> 50     labels, _nb_classes = self.get_or_guess_labels(x, kwargs)
     51
     52     return fgm(

~/ri/safechecks/venv/lib/python3.6/site-packages/cleverhans/attacks/attack.py in get_or_guess_labels(self, x, kwargs)
    276       labels = kwargs['y_target']
    277     else:
--> 278       preds = self.model.get_probs(x)
    279       preds_max = reduce_max(preds, 1, keepdims=True)
    280       original_predictions = tf.to_float(tf.equal(preds, preds_max))

~/ri/safechecks/venv/lib/python3.6/site-packages/cleverhans/utils_keras.py in get_probs(self, x)
    188     :return: A symbolic representation of the probs
    189     """
--> 190     name = self._get_softmax_name()
    191
    192     return self.get_layer(x, name)

~/ri/safechecks/venv/lib/python3.6/site-packages/cleverhans/utils_keras.py in _get_softmax_name(self)
    126         return layer.name
    127
--> 128     raise Exception("No softmax layers found")
    129
    130   def _get_abstract_layer_name(self):

Exception: No softmax layers found

I thought of a potential way to fix this issue, which is to define a cleverhans Model class and define the probabilities and the logits explicitly. However, this is also problematic because logits of an ensemble model is not defined; there are logits for each model that are being ensembled, but since the ensemble happens after each logit is softmaxed, there's no overall logit.
Expected behavior
The attack should work regardless of whether the final layer is softmax or not, as the model is clearly differentiable and so methods like FGSM can be applied.
System configuration

OS: MacOS Mojave
Python version: 3.6.5
TensorFlow version: 1.14.0

Double post with stackoverflow: https://stackoverflow.com/questions/57397628/how-to-apply-a-cleverhans-attack-when-the-final-layer-is-not-softmax-e-g-ens


TabBarView ignores setState while transitioning from one tab to another

This issue (#107399) was recently closed but I still see the problem. See my sample code. Whenever you switch tabs, the state should be cleared and neither button on either tab view should be highlighted.
flutter doctor -v.txt
code sample.txt

Looks like this has been fixed just not released yet, so please disregard.


Instance Scheduler - Cross-account access "AccessDenied" for certain accounts.

Expected Behavior
From core-shared-services, the instance scheduler lambda with the role InstanceSchedulerLambdaFunctionPolicy/instance-scheduler-lambda-function will attempt to assume the role InstanceSchedulerAccess in the member account.
In addition, this error is not being tracked & logged in the lambda log. As such its hidden amongst the general unauthorised-api-alert errors and not flagged as an instance scheduler error.
Actual Behavior
For some accounts an AccessDenied error occurs. Note that this error is not logged in the lambda log & does not show as an error in the lambda metric.
Examples of cloudtrail ids in core-shared-services showing this error are:
3b012434-a836-453c-9e14-983c00a0a662
4af4ceab-c294-4ce7-9878-ccb881dd2035
552a5917-5a17-4aa3-8dfc-48c9c4cefe7f
Steps to Reproduce the Problem
These events can be found every morning & afternoon the instance scheduler runs.
Source code & module call can be found here - https://github.com/ministryofjustice/modernisation-platform/blob/11c18b77be7de8ad0e6c1cc574e70a9bc751417a/terraform/environments/core-shared-services/instance-scheduler-lambda-function.tf#L1
Version
No response
Modules
No response
Account
core-shared-services

I have reviewed the CloudTrail logs and found that the failure is due to the InstanceSchedulerLambdaFunctionPolicy role in core-shared-services being unable to assume the InstanceSchedulerAccess role in a couple of accounts. All the accounts where the assumption failed are related to member-unrestricted access. The InstanceSchedulerAccess role was created only for member accounts. If we create the InstanceSchedulerAccess role in the member-unrestricted accounts, it will resolve the issue.

I have updated the Instance Scheduler skip list and the Lambda function with the latest AMI, which ran yesterday at 9 PM and today at 6 AM. I cannot see any errors related to the Instance Scheduler Lambda function failing due to being unauthorized to perform the assume role operation or AccessDenied errors due to the assume role.

work is complete and no errors are popping up

No errors are popping up, I'm moving it to done!


Update enforcing-ssl.md

Fixes #7351
I tested on a clean 2.2 Preview 3 machine and a 2.1 RTM

@javiercn 	90 second review please.


Feature/update changelog 4.3.0

Description
A PR to keep track of the changes made building on 4.3.0. Helps avoiding conflicts on CHANGELOG.md

Closed due to issues pushing new commits


bbcode

ElkArte 1.1.8
in this pseudocode I showed an illogical moment.
if BBC\Codes::ATTR_TYPE is BBC\Codes::TYPE_UNPARSED_EQUALS and bbcode is disabled:
    if BBC\Codes::ATTR_TEST failed:
        BBC\Codes::ATTR_VALIDATE not running.
    else:
        BBC\Codes::ATTR_VALIDATE running.

I think that when the state is disabled, BBC\Codes::ATTR_VALIDATE should not run.

although maybe that's the way it's meant to be?


fix: update Podman AI Lab logo

Fixes #1660
What does this PR do?
Update Podman AI Lab logo
Screenshot / video of UI

What issues does this PR fix or reference?
N/A
How to test this PR?
Launch Podman AI Lab and check the icon in the left bar

resolution is much more smaller, expected ?

@MariaLeonova can you clarify ?

resolution is much more smaller, expected ?

@benoitf resolution of what is much smaller, please? I can make it any size that's needed and the svg files are available here.
@jeffmaury it looks like the light version was used in the screenshot you provided, here's the dark scheme icon file:
https://github.com/containers/podman-desktop-internal/blob/main/ai-lab/logo/new logo/svg/ai-lab-icon-dark-scheme.svg

We are using PNG format

before the image was W: 621px | H: 621px now: 100px/97px
so it's not a square anymore (I would expect to be 100x100 or 97x97) and the size has been reduced by 6 in width

It was 621x612 px for the icon on the left? That seems a bit much, but certainly can be done! I'll update it to be square.

Alright - these should be square, big and on a transparent background. Dark is for dark scheme, light is for light.

Can we get them in the internal repo ?

@jeffmaury of course! For next time it would be helpful for me to know from the start the exact requirements regarding size, format and where should the files be stored, so that I can prepare them the right way.
https://github.com/containers/podman-desktop-internal/blob/main/ai-lab/logo/new logo/png/ai-lab-icon-light-big.png
https://github.com/containers/podman-desktop-internal/blob/main/ai-lab/logo/new logo/png/ai-lab-icon-dark-big.png

I know this is closed but should the brain logo be replaced too?


merge with uncss

Since uncss has been doing this for a while, might be best to merge development effort into a single project.
https://github.com/giakki/uncss

The implementation is too different to merge


How do you use this with enabled 2FA?

Hi.
I have 2FA enabled on my account and can't use this currently apparently.
Does this support 2FA or does it need to be implemented?
Getting: body: { message: 'Invalid two-factor code.', error: '2fa' } } }

Try adding code to your auth.json.
{
	"username":"<username>",
	"password":"<password>",
        "code":"<2fa-code>",
	"channel":"<channel>"
}

Thank you for replying.
Already tried that.
Didn't work.

2fa is not supported at this time.
On Sun, 5 Jun 2016 15:31 Gol-D-Ace<EMAIL_ADDRESS>wrote:

Thank you for replying.
Already tried that.
Didn't work.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ProbablePrime/beam-keyboard/issues/16#issuecomment-223816299,
or mute the thread
https://github.com/notifications/unsubscribe/AAumzE61N5RSHeoj3iZ6BmUTWPpEBeGPks5qIt2mgaJpZM4IuSUy
.

Thank you for letting me know. (PS: Ignore my tweet.)

Use Oauth, tetris:robot:self & channel:update:self are the scopes needed.


Generating and sending UserEvent

Hi,
I have been looking around for quite a while and I'm unable to find a way to generate and send a UserEvent.
The constructor of the class requires another UserEvent to be created, which confuses me quite a lot. Maybe someone has some working example?
Or maybe there is a way to directly send whatever you want to the AMI?
Thanks in advance
Extra info:
I want to create a UserEvent then send it using userEventAction. And maybe get the response, although not 100% necessary.
Later do it with a custom one, registering the class to the managerconnection and so on.
Example with asterisk code would be: UserEvent(VIPCall|firstName: Jon);
It seems to me like the documentation is confusing or lacking on that interaction or atleast personally I haven't been able to figure this out =/

We managed to create a UserEvent by simply using a String as the parameter, which creates an Attribute "source: paramString"
However, we found a bigger issue. When sending the UserEvent using UserEventAction and the manager.sendAction, the Attribute "UserEvent: nameofevent" is always lowecase. (also the added parameter names in case of a custom UserEvent)
I'm not really sure of why it is simplemented in that way, forcing the user event attribute value to be always lower case but that makes it impossible to catch the event with our other service that uses a eventuser value with all caps.
Is there any workaround without having to fork java-asterisk or our other service ? For now we will just use a socket to send that part.
Thanks.

Yes. This is poorly implemented. I will see if we can make it better.


[OSPK8-735] Improve logging for OSBMS scale-up

Be more explicit about what is happening during a scale-up of an OpenStackBaremetalSet

/cherry-pick v1.3.x


Slow sending commands when using "Speak at Volume"

Hello,
If using the "Speak" option, the devices respond very quickly.

However when using "Speak At Volume", it's very slow, and can take up to 15 seconds before the devices respond, it just sits at sending.

Any ideas?
Thanks

Same problem here at the moment. Although sending is quick, yet on one of my Echos the message is delayed by 5-10s

bump

Announcements are also often very delayed. Sometimes it's instant, most times it is in the 'sending' state which can be for up to a whole minute.
Not much use for time sensitive notifications. Any idea what's causing that?


Escape literal braces in generated docs

Escape most literal braces that are coming from proto documentation and showing up in generated yardoc comments (and confusing the yard parser). Partial fix for https://github.com/GoogleCloudPlatform/google-cloud-ruby/issues/2265

@dazuma Can you also apply this fix to Tasks (#2325), Trace (#2326), Video Intelligence (#2327), and Vision (#2328)?

Added Tasks and Trace. It looks like Video Intelligence and Vision don't have these issues.

(Also rebased on master)