Add module error to gRPC

Purpose
Add module-specific error to gRPC and refactor error handling.
Check List

[x] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #16945 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #16945   +/-   ##
=======================================
  Coverage   68.85%   68.85%
=======================================
  Files           5        5
  Lines         122      122
  Branches       21       21
=======================================
  Hits           84       84
  Misses         38       38

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5dde8dd...e8e5220. Read the comment docs.


spec: allow image to be set in ClusterSpec

This makes it possible for the user to run a custom build of etcd. It does not interact with version management in any way, meaning that users will need to modify the Version field to roll out a new image.

@lclarkmichalek
What's your use case? Why do you need a custom image?

I've a couple of patches for etcd I've been developing, and would like to be able to use the etcd-operator to run my patched etcd. This'd make it easier for me to test out my changes in my kube based environments, which use the etcd-operator to run etcd currently.

@lclarkmichalek
We provide a way for advanced user to try and build etcd operator to run their custom images:
https://github.com/coreos/etcd-operator/blob/master/hack/release/README.md
Actually we run our test infrastructure against both quay and gcr.

We cannot accept this patch at the moment. We are not ready to allow users to run arbitrary images. Upgrading, backup are all version aware and depends on our image naming. Our current focus is to stabilize the core functionality of the operator. And we cannot really provide a lot of flexibility now.
As @hongchaodeng mentioned, you can build your own operator to try out new ideas.
We will reevaluate this after we feel the operator itself is stable.

@xiang90 perhaps the API for that could be 'experimental', e.g. by renaming the field to ExperimentalCustomImage to make it clear that it shouldn't generally be used and isn't necessarily going to exist forever. Would that alleviate your concern?
I'd expect people that run their own private registry (e.g. a hosted quay) would also want something like this.

I'd expect people that run their own private registry (e.g. a hosted quay) would also want something like this.

we probably can config the operator to talk to different registry, but still verify the image and relies on naming. would that be a better first step?

I can give an exact use case, if that's useful?
I'm building https://www.etcd-stg.genevieve.io/ (probably not working, 100% for fun), as a playground to test etcd features useful when you have hostile tenants on the cluster (resource quotas, chroots, that kind of thing). As this is all running on kube, testing those features is much easier if I can quickly spin up a cluster using the etcd-operator. Before upstreaming my patches, I'd like to run them on my stg/prd clusters to test them out against a broader audience.
Currently, I'm publishing an image named by git commit, but I could easily shift that to a version number based system. What if
Version: v3.0.1
Image: foo.com/etcd:v3.0.1

were changed to
Version: v3.0.1
ImageRoot: foo.com/etcd

and I add a check before starting nodes to ensure that etcd binary in that image is the same version as the version specified in the Version field?

One idea I had is to separate them into
Version
BaseImage

Similar to what you just proposed.
But again, I do not think we are going to do it right away (accepting your pr immediately).

@lclarkmichalek
It sounds like you are building some experimental tools or services on top of etcd operator. That's welcome. My point is that for doing such stuff you need to build your custom image and maintain it on your own.
We can't accept this kind of change right now because it breaks our codebase. For example, what does it mean to upgrade from "foo:v3.0" to "foo:v4.0"? We need some careful thoughts and design considerations on here. Please consider creating an issue first and discuss your thoughts.

Cool, thanks, hope to see this in a future version then


[WIP] Adjusting mol_toolkits and travis tests for different imports

I need a PR so I can test with the openeye license in travis. I'm trying to more robustly handle cases where you either have openeye toolkits or rdkit installed, but not both.

Codecov Report

Merging #9 into master will decrease coverage by 5.56%.
The diff coverage is 88.23%.


Eslint: ignore too long valid jsdoc lines

This change is

Reviewed 7 of 7 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


NIFI-9080 Converted nifi-commons to use JUnit 5.

Thank you for submitting a contribution to Apache NiFi.
Please provide a short description of the PR here:
Description of PR
Enables X functionality; fixes bug NIFI-YYYY.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically main)?

[ ] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] Have you verified that the full build is successful on JDK 8?
[ ] Have you verified that the full build is successful on JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

@exceptionfactory I went back and did a number on this one, particularly in converting fail() to the appropriate throws/doesnothrow logic. Builds locally.

@exceptionfactory should be ready now

Thanks the updates @MikeThomsen, can you rebase from the main branch to resolve conflicts from recent adjustments to unit tests?  I also noticed a handful of tests marked Disabled, some of which appear to be performance-related, others which might be potential candidates for removal.

@exceptionfactory ready to go

@exceptionfactory should be good now.


Reset slide position after ng-repeat

Greetings,
How can i reset position to the first slide) after populate it via ng-repeat?
thanks

bump...

no answers?

yep... no answers


Added option to provide path to output log files for supervisord

@spk83 Changed variable names and added redirection

@sharang17 thanks for the contribution!

published as v1.0.15 to the galaxy.


Add IJSRuntime service to web view content in BlazorWebView

Web-based content in BlazorWebView can now use the IJSRuntime service to do interop between .NET code and JavaScript code.
@SteveSandersonMS could you take a look at this relatively small size change? I did a bit of extra work to ensure that if there is more than one BlazorWebView (such as the HybridMessageApp sample) that they each get their own IJSRuntime instance because that has a reference to the IPC channel that talks to/from the inner WebView, but that they will still share all the other services (app-specific services, or other general system interfaces).
And a huge thank you to @soags for initially pointing out the problem and providing a workaround and also thank you to @arivera12 for confirming the original fix. The fix in this PR is quite different in terms of implementation for the reason I mentioned above, but the inspiration for this is from you!
Fixes #150

I see how this solution works - you've basically invented nested DI scopes. The main drawback is that it's ignoring the outer service provider's configuration (e.g., around scoping) and hardcoding its own internal rules. I expect for now at least it would be fine, but you are creating a situation where IJSRuntime is retrievable from the DI system even when it's not registered as a DI service, which is pretty weird.
There is a different solution pattern than we use in other places and may be a bit more general. What we do in other places is allow the service to be registered at the root level as scoped, then inside your per-BlazorWebView-scope, grab the scoped instance and call some internal method on it to attach it to that BlazorWebView.
For example,

Have some top-level services.AddBlazorWebViews() call that in turn calls services.AddScoped<IJSRuntime, BlazorHybridJSRuntime>()
Inside BlazorWebView<TComponent>, don't call new BlazorHybridJSRuntime() anywhere, but instead ask the DI system to give you one via _serviceScope.ServiceProvider.GetRequiredService<IJSRuntime>() and downcast to BlazorHybridJSRuntime
Then call some internal AttachToIpcChannel(ipc) on that instance so it's ready for use

This is equivalent to how Blazor Server configures RemoteJSRuntime so that each separate DI scope (i.e., each separate circuit, i.e., each separate user connection) has its JS runtime wired up to that user's browser. Implementation: https://github.com/dotnet/aspnetcore/blob/master/src/Components/Server/src/Circuits/CircuitFactory.cs#L45-L46

Ah great that is what I was hoping to do but wasn't sure how. I saw that IJSRuntime in Blazor WASM (I think?) is registered as Singleton, so I figured it had to have that scope to be correct. It's odd for a "system" service to normally be configured as different scopes. Usually the scope of a service is intrinsic to the interface - almost like you'd annotate the service interface itself with the scope that it intrinsically required.
But anyway if Blazor already does that for Blazor Server then I will do the very same thing. I should have look at Blazor Server and not Blazor WASM 😄
Thanks!

Hi. @Eilon
And so I cloned your pull request to implement @SteveSandersonMS suggestions.
    class BlazorHybridPerWebViewRuntime : JSRuntime
    {
        private IPC _ipc;
        private BlazorHybridJSRuntime _blazorHybridJSRuntime;
        private static readonly Type VoidTaskResultType = typeof(Task).Assembly
        .GetType("System.Threading.Tasks.VoidTaskResult", true);

        public BlazorHybridPerWebViewRuntime(BlazorHybridJSRuntime blazorHybridJSRuntime, IPC ipc)
        {
            _blazorHybridJSRuntime = blazorHybridJSRuntime;
            _ipc = ipc;
            JsonSerializerOptions.Converters.Add(new ElementReferenceJsonConverter());
        }

        protected override void BeginInvokeJS(long asyncHandle, string identifier, string argsJson)
        {
            _ipc = _ipc ?? throw new InvalidOperationException("AttachToIpcChannel must be called before using IJSRuntime");
            _ipc.Send("JS.BeginInvokeJS", asyncHandle, identifier, argsJson);
        }

        protected override void EndInvokeDotNet(DotNetInvocationInfo invocationInfo, in DotNetInvocationResult invocationResult)
        {
            _ipc = _ipc ?? throw new InvalidOperationException("AttachToIpcChannel must be called before using IJSRuntime");
            // The other params aren't strictly required and are only used for logging
            var resultOrError = invocationResult.Success ? HandlePossibleVoidTaskResult(invocationResult.Result) : invocationResult.Exception.ToString();
            if (resultOrError != null)
            {
                _ipc.Send("JS.EndInvokeDotNet", invocationInfo.CallId, invocationResult.Success, resultOrError);
            }
            else
            {
                _ipc.Send("JS.EndInvokeDotNet", invocationInfo.CallId, invocationResult.Success);
            }
        }

        private static object HandlePossibleVoidTaskResult(object result)
        {
            // Looks like the TaskGenericsUtil logic in Microsoft.JSInterop doesn't know how to
            // understand System.Threading.Tasks.VoidTaskResult
            return result?.GetType() == VoidTaskResultType ? null : result;
        }
    }

    internal class BlazorHybridJSRuntime : IJSRuntime
    {
        internal JSRuntime AttachToIpcChannel(IPC ipc)
        {
            ipc = ipc ?? throw new ArgumentNullException(nameof(ipc));
            return new BlazorHybridPerWebViewRuntime(this, ipc);
        }

        public ValueTask<TValue> InvokeAsync<TValue>(string identifier, object[] args)
        {
            throw new InvalidOperationException("This instance of JSRuntime cannot be used directly. Attach an instance of IPC to it to get a usable IJSRuntime");
        }

        public ValueTask<TValue> InvokeAsync<TValue>(string identifier, CancellationToken cancellationToken, object[] args)
        {
            throw new InvalidOperationException("This instance of JSRuntime cannot be used directly. Attach an instance of IPC to it to get a usable IJSRuntime");
        }
    }

And registering via
            services.AddScoped<IJSRuntime, BlazorHybridJSRuntime>();

In InitAsync
            var webViewJSRuntime = (BlazorHybridJSRuntime)outerServices.GetRequiredService<IJSRuntime>();
            _jsRuntime = webViewJSRuntime.AttachToIpcChannel(_ipc);

While it works if a component request IJSRuntime directly, I soon run into an issue where a component request for a service ServiceA that then takes IJSRuntime as its constructor parameter.
class ServiceA{
    public ServiceA(IJSRuntime js){
    }
}

When the DelegatingServiceProviderWithJsRuntime is asked for ServiceA, it requests for it from the OriginalServiceProvider which is apparently the main ServiceProvider that has the global BlazorHybridJSRuntime instead of the scoped one.

Hi @Elion. I see what I was missing now. I only have to modify the InitAsync code. Now works perfectly.
 public async Task InitAsync()
        {
            var outerServices = Services ?? BlazorHybridDefaultServices.Instance ?? DefaultServices.Value;

            _serviceScope = outerServices.CreateScope();
            var scopeServiceProvider = _serviceScope.ServiceProvider;

            var webViewJSRuntime = (BlazorHybridJSRuntime)scopeServiceProvider.GetRequiredService<IJSRuntime>();
            webViewJSRuntime.AttachToIpcChannel(_ipc);
            _jsRuntime = webViewJSRuntime;

            _attachInteropTask ??= AttachInteropAsync();
            var handshakeResult = await _attachInteropTask.ConfigureAwait(false);

            var perWebViewServices = scopeServiceProvider;// new DelegatingServiceProviderWithJsRuntime(scopeServiceProvider, _jsRuntime);

            var loggerFactory = perWebViewServices.GetRequiredService<ILoggerFactory>();
            _navigationManager = (BlazorHybridNavigationManager)perWebViewServices.GetRequiredService<NavigationManager>();
            _navigationManager.Initialize(_jsRuntime, handshakeResult.BaseUri, handshakeResult.InitialUri);
            _blazorHybridRenderer = new BlazorHybridRenderer(_ipc, perWebViewServices, loggerFactory, _jsRuntime, _dispatcher, ErrorHandler);
        }

I can confirm the @SteveSandersonMS suggestion works. Thanks

@SteveSandersonMS @sake402 the code is now up-to-date with the scoped service suggestions. Please have a look and if it's all good I will merge it!

@Eilon gogogogogo!


Readonly arrays not handled properly

What version of Ajv are you using? Does the issue happen if you use the latest version? 7.1.0/master, yes
Ajv options object
{}

JSON Schema
{
  "additionalProperties": false,
  "properties": {
    "items": { "type": "array" },
  },
  "required": ["items"],
  "type": "object"
}

Sample data
n/a

Your code
interface TransactionInput {
  items: readonly { count: number, productId: string }[]
}

const transactionInputValidator = ajv.compile<TransactionInput>({
  additionalProperties: false,
  properties: {
    items: { type: 'array' }, // <--- Error: TS wants this to be "object"
  },
  required: ['items'],
  type: 'object'
})

Validation result, data AFTER validation, error messages
n/a

What results did you expect?
TypeScript to allow it to be an array
Are you going to resolve the issue?
Yes

merged - thank you!


Read write code not working

I uploaded this code on my arduino uno. But it does not seem to work. I am getting a NACK from the PICC. What changes should I do?

Which code did you upload? Do you have another PICC?

I uploaded the Read/Write Code that is a part of the attached examples file. Yes, I do have 2 PICCs. I am facing the same problem in both.
One more thing, I looked into the .c file of the MFRC522 library where I stumbled upon a function called "DumpMifareClassicSectorToSerial". This function works fine and it internally calls MIFARE_Read(). This means that the read function is also but the way in which has been called in that Read/Write code is wrong.
Am I thinking in the right direction?
Thanks for the help.

Reading/Writing requires Authentication which is not always done by Library examples default (different keys). You need to modify for your needs.

I do agree to the authentication part. But if the authentication is working fine in "DumpMifareClassicSectorToSerial", then why does it fail in the example code?

And I will go through the functions once again, may be I lack some basic understanding of the same.
Thanks.

@RitikaMalik : Is this still an issue for you?  Otherwise, please report back so that this issue can be closed. In general I would suggest to first run the DumpInfo example before trying ReadAndWrite (and note that ReadAndWrite will attempt to change data... which, as @omersiar said may require authentication).

No, this is no more an issue for me. :)
On Mon, Mar 16, 2015 at 6:33 PM, mdxs<EMAIL_ADDRESS>wrote:

@RitikaMalik https://github.com/RitikaMalik : Is this still an issue
for you? Otherwise, please report back so that this issue can be closed. In
general I would suggest to first run the DumpInfo example before trying
ReadAndWrite (and note that ReadAndWrite will attempt to change data...
which, as @omersiar https://github.com/omersiar said may require
authentication).
—
Reply to this email directly or view it on GitHub
https://github.com/miguelbalboa/rfid/issues/67#issuecomment-81647466.

--
Ritika Malik
Undergraduate, Final year
Electronics and Communication Engineering
Netaji Subhas Institute of Technology
University of Delhi
Sector-3, Dwarka, New Delhi-110078

I think I am having an authentication issue here, how am I supposed to know the authentication key for my tags and cards?

I think this issue should be closed.
@gnrcampos When you use authentication on your own (originally) blank tags/cards, you should remember it yourself. When that fails, on blank tags/cards, perhaps the "rfid_default_kes" in examples (and the link in the comments) can help you. When you try to access tags/cards that are controlled by others (like public library, transportation, bank, etc.)... then you are perhaps not supposed to know the authentication keys ;-)


tflite/tools/make: add missing cflags override for linux

Add missing CC flags for linux makefiles, without this linking tensorflow in a shared library will fail with:
/usr/bin/ld: tensorflow-1.13.1/tensorflow/lite/tools/make/gen/linux_x86_64/lib/libtensorflow-lite.a(fftsg.o): relocation R_X86_64_PC32 against symbol `cftmdl1' can not be used when making a shared object; recompile with -fPIC

/cc @dansitu

Can it be backported to r1.13 branch?


Enable skipping verification of certs for emails

Adding revised version of smtp.SendMail to enable support
for skipping invalid (self-signed) certificates.
Also addes ability to add username and configure self-signed
enablement
Issue Number: #1504
Signed-off-by: Amit Kumar Chaudhary<EMAIL_ADDRESS>

@AnthonyMBonafide
Originally I had thought of submitting the infrastructure functions first and then bring in the rest of the feature in the next commit, with that in view I think it is at a good stage for PR. I am still working on understanding the support-notifications better from the db perspective and hope to ascertain what other parts may be relevant or not, to this feature.
Requesting the review, much appreciate your comments, Thanks!

Codecov Report

Merging #1565 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1565   +/-   ##
=======================================
  Coverage   24.38%   24.38%
=======================================
  Files         104      104
  Lines        9638     9638
=======================================
  Hits         2350     2350
  Misses       7109     7109
  Partials      179      179

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eae5dab...0bc8460. Read the comment docs.

@AnthonyMBonafide Thanks for the detailed review, really appreciate it. I have pushed the branch with the changes from the comments and a few more. Thanks!

@rudderfree where you able to manually verify these changes?

@rudderfree where you able to manually verify these changes?
Yes, I subscribed with an email address with CRLF and the api returned with the error message, that the email address contains CRLF pair.
For the email sending part, I was able to send to postfix with enabled self-signed certs, and to the local sendmail, where there is no authentication.

Added a few minor comments. My apologies for the delay in providing a review.

No problem, I know it takes time to catch up. Thanks for the review.

I have a lingering thought with this PR, that is, it is borrowing code from Go lang package. I have explained the reason and credited the source in the comment on top of the (code) function smtpSend. But in case there is something that may be needed done additionally in terms of crediting the source, I will be happy to do. Thanks!

@AnthonyMBonafide Made the changes, fixed two bugs as well. Please review when you get a chance, TIA!

I have a lingering thought with this PR, that is, it is borrowing code from Go lang package. I have explained the reason and credited the source in the comment on top of the (code) function smtpSend. But in case there is something that may be needed done additionally in terms of crediting the source, I will be happy to do. Thanks!

I think what you have is great. You expressed your intent and the source in your comments so that in the future we are aware of why this code exists. As for the crediting side of your comment, I do not think you need to do anything else. This looks great to me.

I have a lingering thought with this PR, that is, it is borrowing code from Go lang package. I have explained the reason and credited the source in the comment on top of the (code) function smtpSend. But in case there is something that may be needed done additionally in terms of crediting the source, I will be happy to do. Thanks!

I think what you have is great. You expressed your intent and the source in your comments so that in the future we are aware of why this code exists. As for the crediting side of your comment, I do not think you need to do anything else. This looks great to me.

Thanks! I wonder no more.

Recheck

Recheck

Looking good overall. I think we just need to clean up the error types and add some error type checking and we should be good here

Agreed, I was thinking along similar lines, just didn't commit to it. Bringing in the changes. Thanks!

@AnthonyMBonafide pushed the branch with the above changes, please review when you get a chance. Thanks.

@AnthonyMBonafide Thank you very much for your detailed reviews, it helps me a lot in getting the code into right shape.

@tsconn23 , This looks good to me and I think it is ready to be merged. Any objections?


bug in the trainer evaluation

When passing test_loaders the results of the evaluations were overwritten.

Hi @matteoguarrera thanks for raising this issue. Can you please provide a stub that showcases the problem?

superseded by #365


Executables

I know, every sample can be compiled on multiple platforms.
But it would be nice to have the samples as .exe files .
Just to try them.

The main purpose of samples and tutorials is to demonstrate how to use the API. As standalone applications they are much less valuable, if at all. Besides, storing binaries in git is usually not a great idea.


Fix deprecation notice for https://kubernetes.io/docs/reference/tools/map-crictl-dockercli/

This is a Bug Report

Problem:
https://v1-26.docs.kubernetes.io/docs/reference/tools/map-crictl-dockercli/ still says that the page will be removed in v1.27
https://kubernetes.io/docs/reference/tools/map-crictl-dockercli/ doesn't, and the page is still there.
I agree with not removing the page outright. However, could we perhaps replace that whole page with a link to
https://v1-24.docs.kubernetes.io/docs/reference/tools/map-crictl-dockercli/ and a brief note about why we have done so?
Proposed Solution:
Replace that whole page with a link to
https://v1-24.docs.kubernetes.io/docs/reference/tools/map-crictl-dockercli/ and a brief note about why we have done so?
We can also backport it so that

https://v1-26.docs.kubernetes.io/docs/reference/tools/map-crictl-dockercli/
https://v1-27.docs.kubernetes.io/docs/reference/tools/map-crictl-dockercli/

link to https://v1-24.docs.kubernetes.io/docs/reference/tools/map-crictl-dockercli/ as well
Page to Update:
https://kubernetes.io/docs/reference/tools/map-crictl-dockercli/

Additional Information:
/language en
/sig node
/kind bug
/milestone 1.28

We can do something like:

This page is being directed to https://v1-24.docs.kubernetes.io/docs/reference/tools/map-crictl-dockercli/ because of Removal of dockershim from crictl in v1.24  and
as per our community policy to not continue maintainership of deprecated doc beyond three versions
To find the reason for deprecation see here

/triage accepted

/assign

I'd start the work and should i backport v1.26 and ,v1.27 as well?

We can also backport it so that

https://v1-26.docs.kubernetes.io/docs/reference/tools/map-crictl-dockercli/
https://v1-27.docs.kubernetes.io/docs/reference/tools/map-crictl-dockercli/

link to https://v1-24.docs.kubernetes.io/docs/reference/tools/map-crictl-dockercli/ as well

Raised a PR , adding the link to redirect to v1.24 ,
Please confirm if i should backport v1.26 content just the same as well.

Hi, @sftim Raised a PR for change in v1.27 docs.
should I do the change in v1.26 in the same PR?

Added v1.26 changes in #42017, PTAL!!


Could not find an option named "load-path"

I don't know if this has any issue to do with my OS upgrade, but when I run grunt now I get the error
Could not find an option named "load-path".
Below is the structure of the sass config
 sass: {

            dist: {
                //All LTR
                options: {
                    style: 'expanded',
                    loadPath: ['node_modules/foundation-sites/scss']
                },
                files: [{
                    expand: true,
                    cwd: 'src/scss/',
                    src: ['main.scss'],//, 'main-rtl.scss'], //
                    dest: 'src/site/css/',
                    ext: '.css'
                }]
            }
        },

My OS: MacOS High Sierra

The correct option name seems to be "includePaths", not "loadPath".


PowerRename with regex is not working as expected

Environment
Windows build number: 10.0.19041.264
PowerToys version: 0.18
PowerToy module for which you are reporting the bug (if applicable): PowerRename

Steps to reproduce

Select a few files
Right click and select PowerRename
Enter (.*) on the "Search for"
Enter $1.test on the "Replace with"
Tick "Use Regular Expressions"

Expected behavior

On the preview, the renamed should show the selected files names with ".test" extension
Actual behavior

We get "$1.test" on all filenames instead
Screenshots

@PedroLamas
try selecting Match All Occurences

Ahhh, that worked!! Not sure I understand the difference without that checked though...

We need to fix the UI to make it explicit that RegEx requires that flag on.

I'm closing this ticket now, I'm assuming there's already some other ticket for that UI problem.


Failed at the<EMAIL_ADDRESS>install script.

This is the full error message I am getting when trying to install sqlite3.
$ npm i sqlite3

<EMAIL_ADDRESS>install D:\Lambda\projects\greg\chaqar-data\node_modules\sqlite3
node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-win32-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v83 ABI, unknown) (falling back to source compile with node-gyp)
gyp ERR! find VS
gyp ERR! find VS msvs_version not set from command line or npm config
gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer
gyp ERR! find VS looking for Visual Studio 2015
gyp ERR! find VS - not found
gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
gyp ERR! find VS
gyp ERR! find VS **************************************************************
gyp ERR! find VS You need to install the latest version of Visual Studio
gyp ERR! find VS including the "Desktop development with C++" workload.
gyp ERR! find VS For more information consult the documentation at:
gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
gyp ERR! find VS **************************************************************
gyp ERR! find VS
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Visual Studio installation to use
gyp ERR! stack     at VisualStudioFinder.fail (C:\Users\Owner\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:121:47)
gyp ERR! stack     at C:\Users\Owner\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:74:16
gyp ERR! stack     at VisualStudioFinder.findVisualStudio2013 (C:\Users\Owner\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:351:14)
gyp ERR! stack     at C:\Users\Owner\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:70:14
gyp ERR! stack     at C:\Users\Owner\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:372:16
gyp ERR! stack     at C:\Users\Owner\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\util.js:54:7
gyp ERR! stack     at C:\Users\Owner\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\util.js:33:16
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:315:5)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at maybeClose (internal/child_process.js:1048:16)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Owner\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--module=D:\Lambda\projects\greg\chaqar-data\node_modules\sqlite3\lib\binding\napi-v6-win32-x64\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=D:\Lambda\projects\greg\chaqar-data\node_modules\sqlite3\lib\binding\napi-v6-win32-x64" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=6" "--node_napi_label=napi-v6"
gyp ERR! cwd D:\Lambda\projects\greg\chaqar-data\node_modules\sqlite3
gyp ERR! node -v v14.15.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\Owner\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=D:\Lambda\projects\greg\chaqar-data\node_modules\sqlite3\lib\binding\napi-v6-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=D:\Lambda\projects\greg\chaqar-data\node_modules\sqlite3\lib\binding\napi-v6-win32-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
node-pre-gyp ERR! stack     at ChildProcess. (D:\Lambda\projects\greg\chaqar-data\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1048:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internanode-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1048:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (interdanal/child_process.js:288:5)                                              gy
node-pre-gyp ERR! System Windows_NT 10.0.17134
node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "D:\Lamblida\projects\greg\chaqar-data\node_modules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd D:\Lambda\projects\greg\chaqar-data\node_modules\sqlite3
node-pre-gyp ERR! node -v v14.15.1                                       a
node-pre-gyp ERR! node-pre-gyp -v v0.11.0                                ur
node-pre-gyp ERR! not ok                                                 od
Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\Owner\AppDate=a\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js confesigure --fallback-to-build --module=D:\Lambda\projects\greg\chaqar-data\noapde_modules\sqlite3\lib\binding\napi-v6-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=D:\Lambda\projects\greg\chaqar-data\nolede_modules\sqlite3\lib\binding\napi-v6-win32-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)      ev
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_moduarles\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR<EMAIL_ADDRESS>install:node-pre-gyp install --fallback-to-build`                                                                        na
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additio_0nal logging output above.
npm ERR!      C:\Users\Owner\AppData\Roaming\npm-cache_logs\2021-01-11T18_05_27_207Z-debug.log

I am getting the same error. I very well could be wrong but https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz does not seem to work.

I am getting the same error. I very well could be wrong but https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz does not seem to work.

So far, rolling back to 5.0.0 Worked for me

So far, rolling back to 5.0.0 Worked for me

#1421 is the same issue as this, I believe.

#1421 is the same issue as this, I believe.

So far, rolling back to 5.0.0 Worked for me

What command did you do to install the older version?

So far, rolling back to 5.0.0 Worked for me

What command did you do to install the older version?

We are observing errors when installing<EMAIL_ADDRESS>on Windows in AppVeyor.  Previous versions worked fine.
Cross-posting from https://github.com/strongloop/loopback-next/pull/7009#issuecomment-758828528:
lerna ERR! npm ci exited 1 in '@loopback/typeorm'
lerna ERR! npm ci stdout:
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  nothing.c
  win_delay_load_hook.cc
  nothing.vcxproj -> C:\projects\loopback-next\extensions\typeorm\node_modules\sqlite3\build\Release\\nothing.lib
  unpack_sqlite_dep
  sqlite3.c
  win_delay_load_hook.cc
  sqlite3.vcxproj -> C:\projects\loopback-next\extensions\typeorm\node_modules\sqlite3\build\Release\\sqlite3.lib
  backup.cc
  database.cc
..\src\database.cc(35): error C2248: 'Napi::Env::DefaultFini': cannot access private member declared in class 'Napi::Env' [C:\projects\loopback-next\extensions\typeorm\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\projects\loopback-next\extensions\typeorm\node_modules\node-addon-api\napi-inl.h(475): note: see declaration of 'Napi::Env::DefaultFini'
  C:\projects\loopback-next\extensions\typeorm\node_modules\node-addon-api\napi.h(168): note: see declaration of 'Napi::Env'
  node_sqlite3.cc
  statement.cc
  win_delay_load_hook.cc
Failed to execute 'C:\Program Files (x86)\nodejs\node.exe C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=C:\projects\loopback-next\extensions\typeorm\node_modules\sqlite3\lib\binding\napi-v6-win32-ia32\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\projects\loopback-next\extensions\typeorm\node_modules\sqlite3\lib\binding\napi-v6-win32-ia32 --napi_version=7 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)

We are observing errors when installing<EMAIL_ADDRESS>on Windows in AppVeyor.  Previous versions worked fine.
Cross-posting from https://github.com/strongloop/loopback-next/pull/7009#issuecomment-758828528:
lerna ERR! npm ci exited 1 in '@loopback/typeorm'
lerna ERR! npm ci stdout:
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  nothing.c
  win_delay_load_hook.cc
  nothing.vcxproj -> C:\projects\loopback-next\extensions\typeorm\node_modules\sqlite3\build\Release\\nothing.lib
  unpack_sqlite_dep
  sqlite3.c
  win_delay_load_hook.cc
  sqlite3.vcxproj -> C:\projects\loopback-next\extensions\typeorm\node_modules\sqlite3\build\Release\\sqlite3.lib
  backup.cc
  database.cc
..\src\database.cc(35): error C2248: 'Napi::Env::DefaultFini': cannot access private member declared in class 'Napi::Env' [C:\projects\loopback-next\extensions\typeorm\node_modules\sqlite3\build\node_sqlite3.vcxproj]
  c:\projects\loopback-next\extensions\typeorm\node_modules\node-addon-api\napi-inl.h(475): note: see declaration of 'Napi::Env::DefaultFini'
  C:\projects\loopback-next\extensions\typeorm\node_modules\node-addon-api\napi.h(168): note: see declaration of 'Napi::Env'
  node_sqlite3.cc
  statement.cc
  win_delay_load_hook.cc
Failed to execute 'C:\Program Files (x86)\nodejs\node.exe C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=C:\projects\loopback-next\extensions\typeorm\node_modules\sqlite3\lib\binding\napi-v6-win32-ia32\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\projects\loopback-next\extensions\typeorm\node_modules\sqlite3\lib\binding\napi-v6-win32-ia32 --napi_version=7 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)

So far, rolling back to 5.0.0 Worked for me

What command did you do to install the older version?

@iHildy I manually changed my package.json from "sqlite3": "5.0.1", to "sqlite3": "5.0.0", and ran npm install

So far, rolling back to 5.0.0 Worked for me

What command did you do to install the older version?

@iHildy I manually changed my package.json from "sqlite3": "5.0.1", to "sqlite3": "5.0.0", and ran npm install

So far, rolling back to 5.0.0 Worked for me

What command did you do to install the older version?

@iHildy I manually changed my package.json from "sqlite3": "5.0.1", to "sqlite3": "5.0.0", and ran npm install

Yea I did npm install<EMAIL_ADDRESS>

So far, rolling back to 5.0.0 Worked for me

What command did you do to install the older version?

@iHildy I manually changed my package.json from "sqlite3": "5.0.1", to "sqlite3": "5.0.0", and ran npm install

Yea I did npm install<EMAIL_ADDRESS>

Had te same problem. v5.0.0 worked for me.

Had te same problem. v5.0.0 worked for me.

Ditto. Rolling it back to 5.0.0 worked for me too.

Ditto. Rolling it back to 5.0.0 worked for me too.

@kewde This is a pretty big issue, preventing installing SQLite on numerous machines.. See https://github.com/mapbox/node-sqlite3/issues/1413 as well (seems to be a duplicate)

@kewde This is a pretty big issue, preventing installing SQLite on numerous machines.. See https://github.com/mapbox/node-sqlite3/issues/1413 as well (seems to be a duplicate)

Same issue , But rolling it back to 5.0.0 worked fine.

Same issue , But rolling it back to 5.0.0 worked fine.

same issue #1389

same issue #1389

rolling back to 5.0.0 worked perfectly

rolling back to 5.0.0 worked perfectly

For ubuntu 20.04.
it helped me to solve the problem
sudo apt install python
sudo apt install node-gyp
sudo apt upgrade node-gyp
npm install —build-from-source —python=/usr/bin/python2

For ubuntu 20.04.
it helped me to solve the problem
sudo apt install python
sudo apt install node-gyp
sudo apt upgrade node-gyp
npm install —build-from-source —python=/usr/bin/python2

I found this: https://github.com/mapbox/node-sqlite3/issues/1420

I found this: https://github.com/mapbox/node-sqlite3/issues/1420

This version works, try!
npm i<EMAIL_ADDRESS>

This version works, try!
npm i<EMAIL_ADDRESS>

Basically the problem is that there are no prebuilt binaries for many platforms and if you don't have built tool installed on your machine you must use older version.
Did someone forgot to run npx node-pre-gyp publish or maybe there is process that must do that automatically and has failed to do that?

Basically the problem is that there are no prebuilt binaries for many platforms and if you don't have built tool installed on your machine you must use older version.
Did someone forgot to run npx node-pre-gyp publish or maybe there is process that must do that automatically and has failed to do that?

The buildbots should have published the binaries with 833f5cc1332b9213a17873f42a3d3a18dca5afc1, but that failed due to a recent change. This should hopefully be fixed once #1426 is merged and someone has retriggered the buildbots.

The buildbots should have published the binaries with 833f5cc1332b9213a17873f42a3d3a18dca5afc1, but that failed due to a recent change. This should hopefully be fixed once #1426 is merged and someone has retriggered the buildbots.

So far, rolling back to 5.0.0 Worked for me

What command did you do to install the older version?

@iHildy I manually changed my package.json from "sqlite3": "5.0.1", to "sqlite3": "5.0.0", and ran npm install

this solution works for me. Thanks 👍

So far, rolling back to 5.0.0 Worked for me

What command did you do to install the older version?

@iHildy I manually changed my package.json from "sqlite3": "5.0.1", to "sqlite3": "5.0.0", and ran npm install

this solution works for me. Thanks 👍

So far, rolling back to 5.0.0 Worked for me

how did you install 5.0.0

So far, rolling back to 5.0.0 Worked for me

how did you install 5.0.0

@jdeltoro88 npm install<EMAIL_ADDRESS>working for me

Rolling back to<EMAIL_ADDRESS>on Windows also worked for me.

I had the same issue.
Rolling back to<EMAIL_ADDRESS>worked fine for me, thank god

I don't have direct access to the AWS S3 bucket so I can not manually edit the files. I have however attempted to rebuild the v5.0.1 which should add the missing N-API v6 binaries for the v5.0.1 release.

Release v5.0.2 has binaries 🥳

hi, do
npm uninstall node-pre-gyp --save npm install @mapbox/node-pre-gyp --save
npm install sqlite3
the above solved my issue.

downgrade to 5.0.0 is not working for me, I have to downgrade to 4.1.1

downgrade is not working for me

All versions 5.0.0, 5.0.1 and 5.0.2 are working. The only problem with 5.0.1 is that it does not have binaries but they can be build during install phase if you have built tools installed.
If you have problem with 5.x version then the problem most probably is in your side.

This is a network issue and related to proxy setting. Please check proxy setting. I realized my Proxy setting was not working after checking that extensions in VScode was not loading. Now everything is working smoothly!
Strangely the issue was also failing after step > node-pre-gyp install --fallback-to-build.
After running commands , installing the packages separately, none of them worked.
Later realized this issue happen because the proxy is not set correctly. I removed the environment variable http_proxy and https_proxy. after that the npm install had no issue running command node-pre-gyp install --fallback-to-build and downloading dependency.

For ubuntu 20.04.
it helped me to solve the problem
sudo apt install python
sudo apt install node-gyp
sudo apt upgrade node-gyp
npm install —build-from-source —python=/usr/bin/python2

As at Jul 2021 this solved the problem for me

If trying to build 5.0.1 from source on Windows, you will need to use Visual Studio 2017 or higher. I got the same error as @bajtos above when using Visual Studio 2015.
Ensure that you have VS2017 or 2019 C++ build tools available - use Add Or Remove Programs, and click Modify, to see which Visual Studio components you have installed. To force Node to build with the later tools, run:
npm config set msvs_version 2017

or
npm config set msvs_version 2019

as appropriate.

Esta é a mensagem de erro completa que estou recebendo ao tentar instalar o sqlite3.
$ npm e sqlite3

<EMAIL_ADDRESS>install D:\Lambda\projects\greg\chaqar-data\node_modules\sqlite3
node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Usando solicitação para node-pre-gyp https download node-pre-gyp WARN Tentativa de download (403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1 /napi-v6-win32-x64.tar.gz node-pre-gyp WARN Binários pré-criados não encontrados para<EMAIL_ADDRESS>e<EMAIL_ADDRESS>(node-v83 ABI, desconhecido) (recorrendo à compilação de origem com node-gyp) gyp ERR! encontrar VS gyp ERR! encontre VS msvs_version não definido na linha de comando ou npm config gyp ERR! encontre o VS VCINSTALLDIR não definido, não sendo executado no VS Command Prompt gyp ERR! find VS não pôde usar o PowerShell para encontrar o Visual Studio 2017 ou gyp ERR mais recente! encontre o VS procurando pelo Visual Studio 2015 gyp ERR! encontrar VS - não encontrado gyp ERR! encontre o VS não procurando pelo VS2013, pois ele só é suportado até Node.js 8 gyp ERR! encontrar VS gyp ERR! encontrar VS ************************************************** ************** gyp ERR! find VS Você precisa instalar a versão mais recente do Visual Studio gyp ERR! encontre o VS incluindo a carga de trabalho "Desktop development with C++". gyp ERR! find VS Para mais informações consulte a documentação em: gyp ERR! encontre VS https://github.com/nodejs/node-gyp#on-windows gyp ERR! encontrar VS ************************************************** ************** gyp ERR! encontrar VS gyp ERR! configurar erro gyp ERR!   Erro de pilha: Falha ao executar 'C:\Program Files\nodejs\node.exe C:\Users\Owner\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure - -fallback-to-build --module=D:\Lambda\projects\greg\chaqar-data\node_modules\sqlite3\lib\binding\napi-v6-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path =D:\Lambda\projects\greg\chaqar-data\node_modules\sqlite3\lib\binding\napi-v6-win32-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi- v6' (1) nó-pre-gyp ERR! pilha em ChildProcess.  Sistema Windows_NT 10.0.17134 node-pre-gyp ERR! comando "C:\Program Files\nodejs\node.exe" "D:\Lamblida\projects\ greg\chaqar-data\node_modules\node-pre-gyp\bin\node-pre-gyp" "instalar" "--fallback-to-build" node-pre-gyp ERR! cwd D:\Lambda\projects\greg \chaqar-data\node_modules\sqlite3 node-pre-gyp ERR! node -v v14.15. nó-pré-gyp ERR! node-pre-gyp -v v0.11.0 ur node-pre-gyp ERR! not ok od Falha ao executar 'C:\Program Files\nodejs\node.exe C:\Users\Owner\AppDate=a\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js confisigure --fallback-to-build --module=D:\Lambda\projects\greg\chaqar-data\noapde_modules\sqlite3\lib\binding\napi-v6-win32-x64\node_sqlite3.node --module_name=node_sqlite3 - -module_path=D:\Lambda\projects\greg\chaqar-data\nolede_modules\sqlite3\lib\binding\napi-v6-win32-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=6 --node_napi_label= napi-v6' (1) ev npm WARN opcional PULAR DEPENDÊNCIA OPCIONAL<EMAIL_ADDRESS>(node_moduarles\fsevents): npm WARN notsup PULAR DEPENDÊNCIA OPCIONAL: plataforma não suportada para<EMAIL_ADDRESS>queria {"os":"darwin","arch":"any"} (atual: {"os":"win32","arch": "x64"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR<EMAIL_ADDRESS>install:node-pre-gyp install --fallback-to-build` na npm ERR! Status de saída 1 npm ERR! npm ERR! Falha no script de instalação<EMAIL_ADDRESS>npm ERR! Isso provavelmente não é um problema com o npm. Provavelmente há saída de registro adicional acima.
npm ERR! Um log completo desta execução pode ser encontrado em: npm ERR! C:\Users\Proprietário\AppData\Roaming\npm-cache_logs\2021-01-11T18_05_27_207Z-debug.log

mano no meu para poder resolver o erro foi só instalar o pyton que eu ainda não tinha na maquina, tente isso, acredito que vai da certo., caso contrario, remova o node_modules e package.son e depois npm i acredito que vai resolver, porém tente a primeira opção.

Solved my issue for Ubuntu 22.04 and version 5.0.2

I love u


Remove the "admin" role from user roles

We currently have the owner role, that can set other people's roles, and delete users, and we have the moderator who acts to approve forum topics and posts. The admin role is unclear, and will be removed.
owner

Grant Roles
Delete Users

moderator

Create, Edit, Delete Forum
Moderate/Approve/Spam/Delete Topics

Code committed here: c5f992cc9c1f12367dc934360d2e6065e9400177
Will require manual removal of roles from users once live.


(bug) sebm-google-map-container css class is not working.

If I remove sebm-google-map-container class from index.html file and try to use in component's style then it is not working. It was working in previous version but not in 0.8.0
I tried replicate the issue on plunk, please have a look.
http://plnkr.co/edit/iPNCoiJ8tFMaDOKsvsHi?p=preview

@parmod-arora thanks for reporting. I will fix it in v0.8.1 (and then merge your getMap() PR)

I found the work around for this issue and map is rendering now.
http://plnkr.co/edit/VEnZQD2IfAt37PTdq7Ji?p=preview

@SebastianM please have a look and provide your thoughts on the this.

@parmod-arora Thanks for digging a little bit deeper.
I've fixed this bug by enabling the old behavior of the component (since there is currently no good way to style inner elements of a component that use ViewEncapsulation.Emulated). So no need to use ViewEncapsulation.Native, which is a lot better IMO.


help me to solve your issues app

hi John,
This is the app pic. you can replace it with any other picture to solve the error.
btw, I will upload the picture to avoid such errors.


error at new storage account creation when cloning resource group in same subscription

Good morning,
We have been using the Clone-AzureRMresourceGroup.ps1 script to test the cloning of resource groups (production) to resource groups (accepting/testing).
The last test occured last summer. After that test run the original resource group was modified. The original resource group consisted of three vm's with a single disk and a fourth vm with an additional disk.
After modifications the resource group consisted of three vm's with a single disk and a fourth vm with three additional managed disks. After running the Clone-AzureRMresourceGroup.ps1 script on the modified resource group we ran into some issues regarding the cloning process.
The resource group is created but the storage account(s) are not. In order to troubleshoot the problem I created a simple testing resource in Azure (We use terraform the create resources in Azure).
I have listed what the powershell script does at first an also listed the error:
The following items will be copied:
Storage Accounts:
testing1201st1
Managed Disks:
Virtual Machines:
server1
server2
server3
server4
Operating system disks:
serverosdisk1
serverosdisk2
serverosdisk3
serverosdisk4
Data disks:
Current status of VMs:
server1 status is VM deallocated
server2 status is VM deallocated
server3 status is VM deallocated
server4 status is VM deallocated
Virtual networks:
cc-test
Network Security Groups:
nsg-test-server1
nsg-test-server2
nsg-test-server3
nsg-test-server4
Load Balancers:
Public IPs:
server1publicip
server1publicip
server1publicip
VERBOSE: Retrieving storage context for each source blob
Additional storage blobs:
VERBOSE: Creating new resource group clone_acceptatie in northeurope
The new resource group clone_acceptatie was created in subscription RelyTest01
VERBOSE: Creating storage account testing1201st1c1af887f in resource group clone_acceptatie at location northeurope
New-AzureRmStorageAccount : Cannot bind parameter 'EnableEncryptionService'. Cannot convert the "Microsoft.Azure.Manage
ment.Storage.Models.Encryption" value of type "Microsoft.Azure.Management.Storage.Models.Encryption" to type "System.Nullable`1[Microsoft.Azure.Commands.Management.Storage.StorageAccountBaseCmdlet+EncryptionSupportServiceEnum]".
At C:\Scripts\Clone-AzureRMresourceGroup.ps1:584 char:64

... $newStorageAccount = New-AzureRmStorageAccount @storageParams -ea Sto ...

                                               ~~~~~~~~~~~~~~

CategoryInfo          : InvalidArgument: (:) [New-AzureRmStorageAccount], ParameterBindingException
FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.Azure.Commands.Management.Storage.NewAzureStora
geAccountCommand

WARNING: Failed to create storage account. Storage account name testing1201st1c1af887f may already exists.
Enter a different Destination Storage Account Name: testing1201st2
VERBOSE: Creating storage account testing1201st2 in resource group clone_acceptatie at location northeurope
New-AzureRmStorageAccount : Cannot bind parameter 'EnableEncryptionService'. Cannot convert the "Microsoft.Azure.Manage
ment.Storage.Models.Encryption" value of type "Microsoft.Azure.Management.Storage.Models.Encryption" to type "System.Nullable`1[Microsoft.Azure.Commands.Management.Storage.StorageAccountBaseCmdlet+EncryptionSupportServiceEnum]".
At C:\Scripts\Clone-AzureRMresourceGroup.ps1:584 char:64

... $newStorageAccount = New-AzureRmStorageAccount @storageParams -ea Sto ...

                                               ~~~~~~~~~~~~~~

CategoryInfo          : InvalidArgument: (:) [New-AzureRmStorageAccount], ParameterBindingException
FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.Azure.Commands.Management.Storage.NewAzureStora
geAccountCommand

WARNING: Failed to create storage account. Storage account name testing1201st2 may already exists.
Enter a different Destination Storage Account Name:
It does not matter which storage account is entered, the same error keeps propping up. Is there something which has changed in Azure in the last six months regarding storage (and possibly storage encryption)?
Regards, Marvin Woods
Claranet Benelux, The Netherlands.

I also got the same issue as described above and doing @MarvinWds encryption disablement allowed it to work again

@MarvinWds and @jonsabbs   Sorry for the delay.  Latest commit should fix it.

Thanks for that clarification, to be honest didn't notice that detail. From portal was like blocked status. I continue worked migrating other components and when I checked again portal at next day everything was copied. Thanks for the quick response and support.

I run this script but and error

PS C:\Users\ContainerAdministrator\CloudDrive> .\Clone-AzureRMresourceGroup.ps1
cmdlet Clone-AzureRMresourceGroup.ps1 at command pipeline position 1
Supply values for the following parameters:
ResourceGroupName: Testing
NewResourceGroupName: Test
Enter credentials for your Azure Subscription...
Login-AzureRmAccount : The type initializer for 'Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.WindowsFormsWebAuthenticationDialogBase' threw an exception.:
Unable to load DLL 'IEFRAME.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
At C:\Users\ContainerAdministrator\CloudDrive\Clone-AzureRMresourceGroup.ps1:289 char:12

$login= Login-AzureRmAccount

       ~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : CloseError: (:) [Connect-AzureRmAccount], AadAuthenticationFailedException
FullyQualifiedErrorId : Microsoft.Azure.Commands.Profile.ConnectAzureRmAccountCommand

WARNING: Unable to acquire token for tenant '1aa3e053-81b6-4110-b562-1b9cf447a284'
Logged into Pay-As-You-Go with subscriptionID 61517ca3-91b1-4447-a74e-272163ed24fe as
WARNING: Get-AzureRmDisk: A property of the output of this cmdlet will change in an upcoming breaking change release. The Name property for a Sku will return Standard_LRS and
Premium_LRS
WARNING: Get-AzureRmVM: A property of the output of this cmdlet will change in an upcoming breaking change release. The StorageAccountType property for a DataDisk will return
Standard_LRS and Premium_LRS
WARNING: No virtual machines found in resource group Testing

In idea??
Thanks for any help

After follow Marvin instructions to use ISE as admin I was able to run the script BUT.....
It found the VMs and said they were created but is not true and other stuff
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
PS C:> \T430\d\GitHub\Reemo\AzurePowerShell\Clone-AzureRMresourceGroup.ps1
cmdlet Clone-AzureRMresourceGroup.ps1 at command pipeline position 1
Supply values for the following parameters:
ResourceGroupName: cicd
NewResourceGroupName: test
Enter credentials for your Azure Subscription...
Logged into Pay-As-You-Go with subscriptionID 61517ca3-91b1-4447-a74e-272163ed24fe as<EMAIL_ADDRESS>WARNING: Get-AzureRmDisk: A property of the output of this cmdlet will change in an upcoming breaking change r
elease. The Name property for a Sku will return Standard_LRS and Premium_LRS
WARNING: Get-AzureRmVM: A property of the output of this cmdlet will change in an upcoming breaking change rel
ease. The StorageAccountType property for a DataDisk will return Standard_LRS and Premium_LRS
The following items will be copied:
Storage Accounts:
rhjenkinsagents
Managed Disks:
rhjenkins-disk0
rhjenkins-linux-slave-basicbaa040_OsDisk_1_02707b76b33b45d6b917b5740d9ce639
rhjenkins-linux-slave79e0d0_OsDisk_1_812cc4a775474d08be568b1f9ded75d8
Virtual Machines:
rhjenkins
rhjenkins-linux-slave-basicbaa040
rhjenkins-linux-slave79e0d0
Operating system disks:
rhjenkins-disk0
rhjenkins-linux-slave-basicbaa040_OsDisk_1_02707b76b33b45d6b917b5740d9ce639
rhjenkins-linux-slave79e0d0_OsDisk_1_812cc4a775474d08be568b1f9ded75d8
Data disks:
Current status of VMs:
WARNING: Get-AzureRmVM: A property of the output of this cmdlet will change in an upcoming breaking change rel
ease. The StorageAccountType property for a DataDisk will return Standard_LRS and Premium_LRS
rhjenkins status is VM deallocated
WARNING: Get-AzureRmVM: A property of the output of this cmdlet will change in an upcoming breaking change rel
ease. The StorageAccountType property for a DataDisk will return Standard_LRS and Premium_LRS
rhjenkins-linux-slave-basicbaa040 status is VM deallocated
WARNING: Get-AzureRmVM: A property of the output of this cmdlet will change in an upcoming breaking change rel
ease. The StorageAccountType property for a DataDisk will return Standard_LRS and Premium_LRS
rhjenkins-linux-slave79e0d0 status is VM deallocated
Virtual networks:
jenkinsarm-vnet
jenkinsvnet
Network Security Groups:
rhjenkins-nsg
Load Balancers:
Public IPs:
jenkinspip
rhjenkins-linux-slave-basicbaa040IPName
rhjenkins-linux-slave79e0d0IPName
VERBOSE: Retrieving storage context for each source blob
Additional storage blobs:
WARNING: test already exists.
Enter a different Resource Group Name: test2
VERBOSE: Creating new resource group test2 in eastus
The new resource group test2 was created in subscription Pay-As-You-Go
VERBOSE: Creating new managed disk rhjenkins-disk0 in eastus
WARNING: New-AzureRmDiskConfig: A property of the output of this cmdlet will change in an upcoming breaking ch
ange release. The Name property for a Sku will return Standard_LRS and Premium_LRS
WARNING: New-AzureRmDiskConfig: The accepted values for parameter SkuName will change in an upcoming breaking
change release fromStandardLRS and PremiumLRS to Standard_LRS and Premium_LRS, respectively.
WARNING: New-AzureRmDisk: A property of the output of this cmdlet will change in an upcoming breaking change r
elease. The Name property for a Sku will return Standard_LRS and Premium_LRS
New-AzureRmDisk : The request content was invalid and could not be deserialized: Required property 'name'
not found in 'sku'.
ErrorCode: InvalidRequestContent
ErrorMessage: The request content was invalid and could not be deserialized: Required property 'name' not
found in 'sku'.
StatusCode: 400
ReasonPhrase: Bad Request
OperationID : ee9a216a-715d-4a00-b733-e90e3fc84a20
At \T430\d\GitHub\Reemo\AzurePowerShell\Clone-AzureRMresourceGroup.ps1:758 char:27

... newMDdisk = New-AzureRmDisk -ResourceGroupName $resourceGroupName -Di ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : CloseError: (:) [New-AzureRmDisk], ComputeCloudException
FullyQualifiedErrorId : Microsoft.Azure.Commands.Compute.Automation.NewAzureRmDisk

The managed disk rhjenkins-disk0 was created.
VERBOSE: Creating new managed disk rhjenkins-linux-slave-basicbaa040_OsDisk_1_02707b76b33b45d6b917b5740d9ce639
in eastus
WARNING: New-AzureRmDiskConfig: A property of the output of this cmdlet will change in an upcoming breaking ch
ange release. The Name property for a Sku will return Standard_LRS and Premium_LRS
WARNING: New-AzureRmDiskConfig: The accepted values for parameter SkuName will change in an upcoming breaking
change release fromStandardLRS and PremiumLRS to Standard_LRS and Premium_LRS, respectively.
WARNING: New-AzureRmDisk: A property of the output of this cmdlet will change in an upcoming breaking change r
elease. The Name property for a Sku will return Standard_LRS and Premium_LRS
New-AzureRmDisk : The request content was invalid and could not be deserialized: Required property 'name'
not found in 'sku'.
ErrorCode: InvalidRequestContent
ErrorMessage: The request content was invalid and could not be deserialized: Required property 'name' not
found in 'sku'.
StatusCode: 400
ReasonPhrase: Bad Request
OperationID : 6820bffe-3eab-4747-8870-4a650477af99
At \T430\d\GitHub\Reemo\AzurePowerShell\Clone-AzureRMresourceGroup.ps1:758 char:27

... newMDdisk = New-AzureRmDisk -ResourceGroupName $resourceGroupName -Di ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : CloseError: (:) [New-AzureRmDisk], ComputeCloudException
FullyQualifiedErrorId : Microsoft.Azure.Commands.Compute.Automation.NewAzureRmDisk

The managed disk rhjenkins-linux-slave-basicbaa040_OsDisk_1_02707b76b33b45d6b917b5740d9ce639 was created.
VERBOSE: Creating new managed disk rhjenkins-linux-slave79e0d0_OsDisk_1_812cc4a775474d08be568b1f9ded75d8 in ea
stus
WARNING: New-AzureRmDiskConfig: A property of the output of this cmdlet will change in an upcoming breaking ch
ange release. The Name property for a Sku will return Standard_LRS and Premium_LRS
WARNING: New-AzureRmDiskConfig: The accepted values for parameter SkuName will change in an upcoming breaking
change release fromStandardLRS and PremiumLRS to Standard_LRS and Premium_LRS, respectively.
WARNING: New-AzureRmDisk: A property of the output of this cmdlet will change in an upcoming breaking change r
elease. The Name property for a Sku will return Standard_LRS and Premium_LRS
New-AzureRmDisk : The request content was invalid and could not be deserialized: Required property 'name'
not found in 'sku'.
ErrorCode: InvalidRequestContent
ErrorMessage: The request content was invalid and could not be deserialized: Required property 'name' not
found in 'sku'.
StatusCode: 400
ReasonPhrase: Bad Request
OperationID : 59ceb936-f053-47cf-bcd6-b2b41b667a64
At \T430\d\GitHub\Reemo\AzurePowerShell\Clone-AzureRMresourceGroup.ps1:758 char:27

... newMDdisk = New-AzureRmDisk -ResourceGroupName $resourceGroupName -Di ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : CloseError: (:) [New-AzureRmDisk], ComputeCloudException
FullyQualifiedErrorId : Microsoft.Azure.Commands.Compute.Automation.NewAzureRmDisk

The managed disk rhjenkins-linux-slave79e0d0_OsDisk_1_812cc4a775474d08be568b1f9ded75d8 was created.
VERBOSE: Creating Network Security Group rhjenkins-nsg in resource group test2 at location eastus
Network Security Group rhjenkins-nsg was created
VERBOSE: Creating virtual network jenkinsarm-vnet in resource group test2 at location eastus
Virtual Network jenkinsarm-vnet was created
VERBOSE: Creating virtual network jenkinsvnet in resource group test2 at location eastus
Virtual Network jenkinsvnet was created
VERBOSE: Creating public IP jenkinspip in resource group test2 at location eastus
Public IP jenkinspip was created with DomainName Label cicdnew
VERBOSE: Creating public IP rhjenkins-linux-slave-basicbaa040IPName in resource group test2 at location eastus
Public IP rhjenkins-linux-slave-basicbaa040IPName was created with DomainName Label rhjenkins-linux-slave-basicbaa040new
VERBOSE: Creating public IP rhjenkins-linux-slave79e0d0IPName in resource group test2 at location eastus
Public IP rhjenkins-linux-slave79e0d0IPName was created with DomainName Label rhjenkins-linux-slave79e0d0new
VERBOSE: Adding IP config ipconfig1 to network interface rhjenkins-linux-slave-basicbaa040NIC
IP config ipconfig1 for rhjenkins-linux-slave-basicbaa040NIC was added
VERBOSE: Creating network interface rhjenkins-linux-slave-basicbaa040NIC in resource group test2 at location eastus
Network interface rhjenkins-linux-slave-basicbaa040NIC was created
VERBOSE: Adding IP config ipconfig1 to network interface rhjenkins-linux-slave79e0d0NIC
IP config ipconfig1 for rhjenkins-linux-slave79e0d0NIC was added
VERBOSE: Creating network interface rhjenkins-linux-slave79e0d0NIC in resource group test2 at location eastus
Network interface rhjenkins-linux-slave79e0d0NIC was created
VERBOSE: Adding IP config ipconfig1 to network interface rhjenkins-nic
IP config ipconfig1 for rhjenkins-nic was added
VERBOSE: Creating network interface rhjenkins-nic in resource group test2 at location eastus
Network interface rhjenkins-nic was created
WARNING: Get-AzureRmDisk: A property of the output of this cmdlet will change in an upcoming breaking change release. The Name propert
y for a Sku will return Standard_LRS and Premium_LRS
Get-AzureRmDisk : The Resource 'Microsoft.Compute/disks/rhjenkins-disk0' under resource group 'test2' was not found.
ErrorCode: ResourceNotFound
ErrorMessage: The Resource 'Microsoft.Compute/disks/rhjenkins-disk0' under resource group 'test2' was not found.
StatusCode: 404
ReasonPhrase: Not Found
OperationID : 4d9ef225-f918-499a-adef-c53a32cb31f2
At \T430\d\GitHub\Reemo\AzurePowerShell\Clone-AzureRMresourceGroup.ps1:1490 char:22

... osDiskId = (Get-AzureRmDisk -DiskName $OSDiskName -ResourceGroupName  ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : CloseError: (:) [Get-AzureRmDisk], ComputeCloudException
FullyQualifiedErrorId : Microsoft.Azure.Commands.Compute.Automation.GetAzureRmDisk

Set-AzureRmVMOSDisk : Cannot validate argument on parameter 'ManagedDiskId'. The argument is null or empty. Provide an argument that
is not null or empty, and then try the command again.
At \T430\d\GitHub\Reemo\AzurePowerShell\Clone-AzureRMresourceGroup.ps1:1498 char:104

... VM $VirtualMachine -Name $OSDiskName -ManagedDiskId $osDiskId -Cachin ...

                                                    ~~~~~~~~~

CategoryInfo          : InvalidData: (:) [Set-AzureRmVMOSDisk], ParameterBindingValidationException
FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Azure.Commands.Compute.SetAzureVMOSDiskCommand

WARNING: Add-AzureRmVMNetworkInterface: A property of the output of this cmdlet will change in an upcoming breaking change release. Th
e StorageAccountType property for a DataDisk will return Standard_LRS and Premium_LRS
VERBOSE: Creating Virtual Machine rhjenkins in resource group test2 at location eastus
New-AzureRmVM : Required parameter 'storageProfile' is missing (null).
ErrorCode: InvalidParameter
ErrorMessage: Required parameter 'storageProfile' is missing (null).
StatusCode: 400
ReasonPhrase: Bad Request
OperationID : c50867e0-8790-4c89-a879-fa8a70179b9e
At \T430\d\GitHub\Reemo\AzurePowerShell\Clone-AzureRMresourceGroup.ps1:1566 char:9

    New-AzureRmVM -ResourceGroupName $ResourceGroupName -Location ...

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : CloseError: (:) [New-AzureRmVM], ComputeCloudException
FullyQualifiedErrorId : Microsoft.Azure.Commands.Compute.NewAzureVMCommand

WARNING: Failed to create Virtual Machine rhjenkins
WARNING: Get-AzureRmDisk: A property of the output of this cmdlet will change in an upcoming breaking change release. The Name propert
y for a Sku will return Standard_LRS and Premium_LRS
Get-AzureRmDisk : The Resource 'Microsoft.Compute/disks/rhjenkins-linux-slave-basicbaa040_OsDisk_1_02707b76b33b45d6b917b5740d9ce639'
under resource group 'test2' was not found.
ErrorCode: ResourceNotFound
ErrorMessage: The Resource 'Microsoft.Compute/disks/rhjenkins-linux-slave-basicbaa040_OsDisk_1_02707b76b33b45d6b917b5740d9ce639'
under resource group 'test2' was not found.
StatusCode: 404
ReasonPhrase: Not Found
OperationID : 7bbceaab-55d7-4d56-b5e6-1672a6e164af
At \T430\d\GitHub\Reemo\AzurePowerShell\Clone-AzureRMresourceGroup.ps1:1490 char:22

... osDiskId = (Get-AzureRmDisk -DiskName $OSDiskName -ResourceGroupName  ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : CloseError: (:) [Get-AzureRmDisk], ComputeCloudException
FullyQualifiedErrorId : Microsoft.Azure.Commands.Compute.Automation.GetAzureRmDisk

Set-AzureRmVMOSDisk : Cannot validate argument on parameter 'ManagedDiskId'. The argument is null or empty. Provide an argument that
is not null or empty, and then try the command again.
At \T430\d\GitHub\Reemo\AzurePowerShell\Clone-AzureRMresourceGroup.ps1:1498 char:104

... VM $VirtualMachine -Name $OSDiskName -ManagedDiskId $osDiskId -Cachin ...

                                                    ~~~~~~~~~

CategoryInfo          : InvalidData: (:) [Set-AzureRmVMOSDisk], ParameterBindingValidationException
FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Azure.Commands.Compute.SetAzureVMOSDiskCommand

WARNING: Add-AzureRmVMNetworkInterface: A property of the output of this cmdlet will change in an upcoming breaking change release. Th
e StorageAccountType property for a DataDisk will return Standard_LRS and Premium_LRS
VERBOSE: Creating Virtual Machine rhjenkins-linux-slave-basicbaa040 in resource group test2 at location eastus
New-AzureRmVM : Required parameter 'storageProfile' is missing (null).
ErrorCode: InvalidParameter
ErrorMessage: Required parameter 'storageProfile' is missing (null).
StatusCode: 400
ReasonPhrase: Bad Request
OperationID : 3b4aabdf-2e8c-42ec-8eac-af7bbe94c29c
At \T430\d\GitHub\Reemo\AzurePowerShell\Clone-AzureRMresourceGroup.ps1:1566 char:9

    New-AzureRmVM -ResourceGroupName $ResourceGroupName -Location ...

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : CloseError: (:) [New-AzureRmVM], ComputeCloudException
FullyQualifiedErrorId : Microsoft.Azure.Commands.Compute.NewAzureVMCommand

WARNING: Failed to create Virtual Machine rhjenkins-linux-slave-basicbaa040
WARNING: Get-AzureRmDisk: A property of the output of this cmdlet will change in an upcoming breaking change release. The Name propert
y for a Sku will return Standard_LRS and Premium_LRS
Get-AzureRmDisk : The Resource 'Microsoft.Compute/disks/rhjenkins-linux-slave79e0d0_OsDisk_1_812cc4a775474d08be568b1f9ded75d8' under
resource group 'test2' was not found.
ErrorCode: ResourceNotFound
ErrorMessage: The Resource 'Microsoft.Compute/disks/rhjenkins-linux-slave79e0d0_OsDisk_1_812cc4a775474d08be568b1f9ded75d8' under
resource group 'test2' was not found.
StatusCode: 404
ReasonPhrase: Not Found
OperationID : 67fa878b-a1c5-4f66-9d8f-b88d3fab2a9e
At \T430\d\GitHub\Reemo\AzurePowerShell\Clone-AzureRMresourceGroup.ps1:1490 char:22

... osDiskId = (Get-AzureRmDisk -DiskName $OSDiskName -ResourceGroupName  ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : CloseError: (:) [Get-AzureRmDisk], ComputeCloudException
FullyQualifiedErrorId : Microsoft.Azure.Commands.Compute.Automation.GetAzureRmDisk

Set-AzureRmVMOSDisk : Cannot validate argument on parameter 'ManagedDiskId'. The argument is null or empty. Provide an argument that
is not null or empty, and then try the command again.
At \T430\d\GitHub\Reemo\AzurePowerShell\Clone-AzureRMresourceGroup.ps1:1498 char:104

... VM $VirtualMachine -Name $OSDiskName -ManagedDiskId $osDiskId -Cachin ...

                                                    ~~~~~~~~~

CategoryInfo          : InvalidData: (:) [Set-AzureRmVMOSDisk], ParameterBindingValidationException
FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Azure.Commands.Compute.SetAzureVMOSDiskCommand

WARNING: Add-AzureRmVMNetworkInterface: A property of the output of this cmdlet will change in an upcoming breaking change release. Th
e StorageAccountType property for a DataDisk will return Standard_LRS and Premium_LRS
VERBOSE: Creating Virtual Machine rhjenkins-linux-slave79e0d0 in resource group test2 at location eastus
New-AzureRmVM : Required parameter 'storageProfile' is missing (null).
ErrorCode: InvalidParameter
ErrorMessage: Required parameter 'storageProfile' is missing (null).
StatusCode: 400
ReasonPhrase: Bad Request
OperationID : 150584c0-935a-404a-ae82-6c5a9483dca9
At \T430\d\GitHub\Reemo\AzurePowerShell\Clone-AzureRMresourceGroup.ps1:1566 char:9

    New-AzureRmVM -ResourceGroupName $ResourceGroupName -Location ...

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : CloseError: (:) [New-AzureRmVM], ComputeCloudException
FullyQualifiedErrorId : Microsoft.Azure.Commands.Compute.NewAzureVMCommand

WARNING: Failed to create Virtual Machine rhjenkins-linux-slave79e0d0
PS C:>


Add erlang support

Fixes #3

@take-five it is valid either way. Most Erlang projects will use rebar3 and have only a rebar.config file, but if this project wants to keep using exunit instead of moving to Erlang's Common Test or eunit (I always go with Common Test myself) then having a mix file is needed.
As long as it has a rebar.config file as well so rebar3 knows it can build it -- while rebar3 will build a project with no deps fine even if it has no config, seeing a mix.exs file will have rebar3 thinking it requires mix to be built unless there is also a rebar.config, so it won't try to build it.


SNIP-2 update notation

The Starknet/Cairo community has converged to use snake case notation.
The original SNIP-2 standard, published in June 2022, suggested camel case.
This update introduces snake case as the default and camel case as an optional "extension" for backwards compatibility.
The update further upgrades the syntax from Cairo 0.8.0 to 0.12.0.
This approach is inline with e.g. OZ's token contract implementations, which are predominantly used in the community, and account for the fact that some protocols in fact rely on the camel case API.

This change is

Yes sorry my comment is misleading. What I meant was not that new events are added but that the Transfer and Approve events suggested here, just like EIP-20, in fact require to index the fields that you propose in #84
So if SNIP-2 gets updated as suggested here and StarkGate's token contracts reflect these changes, then be definition they would index the respective fields.
re Cairo syntax/version you're right ofc will fix

fixed @ArielElp
re name and symbol returning ByteArray, is this really a concern? these fields are more used for off-chain purposes in general no?


Unignore semver from client dependencies

yarn --production in client yields
semver
vscode-jsonrpc
vscode-languageclient
vscode-languageserver-protocol
vscode-languageserver-types

This unignores semver and makes the extension work again.
Fix #55
cc @SamVerschueren

Related: PR in vscode-eslint

Ugh, that's why it was working locally but not with the extension published. Thanks for finding this and fixing it :)! 🎉


Hint Assist not disappearing when Text value is set on MaterialDesignDataGridTextColumnPopupEditingStyle

I am creating dynamic columns for my DataGrid, so I am creating a number of  MaterialDataGridTextColumn in code behind. I am modifying the MaterialDesignDataGridTextColumnPopupEditingStyle to allow the TextBox to have a hint property:
Style style = (Style)FindResource("MaterialDesignDataGridTextColumnPopupEditingStyle");
var editingStyle = new Style(typeof(TextBox), style)
{
	Setters =
	{
		new Setter(HintAssist.HintProperty, "Enter Score"),
		new Setter(MarginProperty, new Thickness(8)),
	}
};

foreach (string name in columnNames)
{
	var binding = new Binding("Attributes[" + name + "].Value")
	{
		UpdateSourceTrigger = UpdateSourceTrigger.LostFocus,
		ValidatesOnDataErrors = true,
		StringFormat = "0.0;;#"
	};

	var mdTxtCol = new MaterialDataGridTextColumn
	{
		Header = name,
		Binding = binding,
		EditingElementStyle = editingStyle,
		ElementStyle = centerTextSetter,
	};
	caseGrid.Columns.Add(mdTxtCol);
}

This successfully produces the pop up like so:

And as you type a value in the textbox, the hint property disappears, as it should:

However, the problem is that when this cell re-enters the edit mode while it contains a value, the hint property should disappear, but it doesn't:

As you can see, both the entered value and the hint property are shown.

I'm approaching a delivery date and wondering if someone could point me in the right direction so I can attempt a fix (?)

I am experiencing this problem as well, although I am setting the Hint in XAML. It is easy to reproduce the issue with the Demo program by altering the EditingElementStyle of the Name column as follows:
<materialDesign:MaterialDataGridTextColumn Binding="{Binding Name}"
                                       Header="Name"
                                       >
        <materialDesign:MaterialDataGridTextColumn.EditingElementStyle>
            <Style BasedOn="{StaticResource MaterialDesignDataGridTextColumnPopupEditingStyle}" TargetType="{x:Type TextBox}" >
                <Setter Property="materialDesign:HintAssist.Hint" Value="Name Hint" />
            </Style>
        </materialDesign:MaterialDataGridTextColumn.EditingElementStyle>
</materialDesign:MaterialDataGridTextColumn>

This leads to the behavior @AmitBhatnagar24 noted previously. Here is a screencast illustrating the problem:

Note that the Hint disappears when typing anything in the box. It reappears, however, when selecting the cell again.
I believe the XAML is adding setters not replacing the entire set, so I think it avoids the issue that @Keboo

See also Gitter chat about issue


Add a way to pass arguments to the requests library

We keep our PuppetDB API behind HTTP Basic Auth (with https). As far as I can see there's no possibility for us to use this API. It would be nice if there was a way to pass custom arguments to the requests library for this purpose.
I think this would go nicely with the newly proposed API:
client = Client(address='https://api.example.org', auth=('user', 'pass'))

I've implemented support for basic auth via commit https://github.com/puppet-community/pypuppetdb/commit/878e2331ef8fd76447f88d930590d9bdd9798de8.  I don't really feel there are any other kwargs you'll need to pass in, so hopefully this covers it :smile:
Cheers
Fotis


The library has no tests

Haven't got round to writing any tests yet.  This needs fixed before a release.
Also need CI etc (probably github actions?)

Want to make sure I test shutdown behaviour in particular...

We should revisit that a some point.

This is no longer true so closing this.


Operator Api | Add driver set password endpoint

This PR will introduce the driver_set_password endpoint.

I was wondering why you are moving set_password to a new Endpoints::Update. As far as I understand, Endpoints.custom_endpoints does not send a body with the requests. So we have to explicitly use Endpoints::Update if we want to serialize our model. Is that correct?
If so, we could add a comment to custom_endpoints to make that clear.

Yes, that is correct! I was not able to send in the password with the custom endpoint, hence I introduced the Update endpoint.
Do you mean commenting in the CustomEndpoints class, or where should we put that comment?


adding other user profiles

Hi Anthony, Everything looks very good. 1 small suggestion: In Game.js, could you make   inside the  like this

              {user.username}

so that  will be the direct child of


When will we receive the TTKok tokens?

Describe the bug
Does anyone from Teemu's team have any information? When will the TTKOk tokens be distributed?
To participate in the network as a Prover, we had to purchase stronger servers, which incurs costs of $400 per month. Practically, when I purchased the server three weeks ago to submit the form and provide the necessary data, we still haven't received any tokens!
The information could have been released when the testnet was ready for deployment by individual users. As a result, we incur costs of $400 per month, and the server remains unused. Can someone from Teemu's team provide us with any information regarding this matter?
I'll just add that I'm currently working on the Holeskey and Taiko nodes as RPC, and that's all. These services could also be run on weaker machines, and the Prover and Proporser is turned off.
Steps to reproduce
Steps to reproduce here.
Additional context
Additional context here.

Any news about that ?

@szefo8181 the google form received too many inquiries for us to be able to handle manually as we needed to register the public key manually and give back an ID to include in the SGX instance.
we are actively working on a self-service onchain registration for SGX. will provide more details as soon as they come.


ldap bind is a secret tho

The current LDAP implementation does not treat the bind parameters as secrets, and just scoops them in from the resource YAML. The bind, and probably certificate, should be treated as secrets (and optionally kept in an icefile).

I'm somewhat heartened by the fact that I must have done this on the first cut heh.


trained parameters

Hi, will you be releasing the parameters on a non-academic license as well ? Or do we have to train it from scratch?

Parameters will be released under a permissive license for commercial and non-commercial use.

Hi, was just wondering what timeline we should expect the parameters to be released?

Training is currently ongoing. We haven't set a release date yet, but it should be fairly soon.


add core_count and threads_per_core options to launch templates

what
added core_count and threads_per_core options in order to run instances with no hyperthreading, for applications that need maximize single core performance (in some cases it's required).
why
the config option is available in the module but was not available in variables
references
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/launch_template#example-usage

this is good stuff, why nobody wants to approve? 😅
for single threaded apps, very much required functionality actually...


Updated dependencies

metrics-core has been changed group id.
aws-java-sdk separated artifacts, now it depends on
aws-java-sdk-cloudwatch.

Thanks for your contribution!


add restore purchases for ios

Adds a restore_purchases function to InAppStore
Fixes #16723

What a lifesaver! Any way I could get this working in 3.0.1?

I see, that would be awesome!

Cherrypicked into 3.0.3

Anyone want to give me a quick guide/ example on how to use this? :)


Deprecated command

in Azure Cloud Shell:
first command on this page:
az network application-gateway waf-config list-rule-sets --type OWASP
yields a warning:
This command is implicitly deprecated because command group 'network application-gateway waf-config' is deprecated and will be removed in a future release. Use 'network application-gateway waf-policy' instead.
[

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

ID: a832b38f-715f-be0d-8e9f-cc5ce044762c
Version Independent ID: 4c470b4f-50d3-760d-c774-0970eb02fbde
Content: Customize rules using CLI - Azure Web Application Firewall
Content Source: articles/web-application-firewall/ag/application-gateway-customize-waf-rules-cli.md
Service: web-application-firewall
GitHub Login: @vhorne
Microsoft Alias: victorh

@woutervanranst , Thanks for your feedback. We are looking into this query and will update you as soon as possible.

@woutervanranst , Appreciate your patience. Yes it is depreciated as you noticed but still yielding results for some more time till there is a new release. So here is the updated command where config will be interchanged with policy,
az network application-gateway waf-policy list

More Sub-Commands to work with,
Commands:
    create         : Create an application gateway WAF policy.
    delete         : Delete an application gateway WAF policy.
    list           : List application gateway WAF policies.
    show           : Get the details of an application gateway WAF policy.
    update         : Update an application gateway WAF policy.
    wait           : Place the CLI in a waiting state until a condition of the application gateway
                     WAF policy is met.

We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


TPS issues with wild animals during cold snaps

Original report:
during a series of cold snaps i started to receive a massive TPS drop (we're talking down to single digits) and after some very roughshod testing, i came to the conclusion it occurs when sea turtles from the biomes mod have hypothermia, as removing them was what suddenly let my TPS go from exactly nothing back to normal

The turtles were wild animals.
The sea turtle was on land for some reason at the time. It might have spawned at a smaller water pool instead of at the ocean.
Using this mod collection: https://steamcommunity.com/sharedfiles/filedetails/?id=3138696313

Fixed by a previous commit.


Code doesn't look like idiomatic Ruby

Hmmm... the code doesn't look like idiomatic Ruby.

resolved (mostly) by #2


Docker Build task only builds the image but does not push it to registry

Expected Behavior
As per the description of the flow example, the Docker Build task should "build and push a Docker image to a registry".
Actual Behaviour
The docker Build command only build the image. It makes no attempt to push the image to a registry. So, here are the two observations:

You give the right credentials for the registry: The Docker image is not pushed on this registry. The flow succeeds after building the image.
You give incorrect credentials for the registry: The Docker image is build and the task/flow is successful. Overall, this implies, that there has been no attempt to connect to the Docker registry.

Steps To Reproduce

Create a flow with the task shown in the example on this page
You may choose to give correct / incorrect registry credentials. The flow succeeds either way. No image has been uploaded to the registry.

Environment Information

Kestra Version: 0.13.8
Plugin version: 0.13.8
Operating System (OS / Docker / Kubernetes): Docker
Java Version (If not docker):

Example flow
id: "build"
type: "io.kestra.plugin.docker.Build"
dockerfile: |
  FROM ubuntu
  ARG APT_PACKAGES=""

  RUN apt-get update && apt-get install -y --no-install-recommends ${APT_PACKAGES};
platforms:
- linux/amd64
tags:
- private-registry.io/unit-test:latest
buildArgs:
  APT_PACKAGES: curl
labels:
  unit-test: "true"
credentials:
  registry: <registry.url.com>
  username: <your-user>
  password: <your-password>

By default, pushing to remote is disabled, you can enabled it via the property push: true.
Can you test it and confirm it work?

Adding the push: true worked. Closing the ticket.


Feature/uwp support

Changes:

Added .appxsym file support for UWP Apps
Updated mutually exclusion logic in upload_symbols command

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: Vahagn1993 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


add coherence connectivity metrics

get_acq_ch_near_stimulation_site() compares spatial map channels
calc_connectivity_coh() measures coherence across multiple pairs of channels
calc_connectivity_coh_map() generates a map of measurements
plot_tf_map_grid() plots a grid of times and frequency bands from e.g. the result from calc_connectivity_coh_map()

Looks good! Just missing a couple simple tests to verify the functions have full functionality