openshift: record etcd logs in test runs

@kargakis @pweil- ptal

@CecileRobertMichon please merge

/lgtm
We should retrieve logs from the rest of the control plane in a follow-up. I am also looking into deploying all of our components with increased log verbosity as part of the e2e test deployment.

We should retrieve logs from the rest of the control plane in a follow-up. I am also looking into deploying all of our components with increased log verbosity as part of the e2e test deployment.

@kargakis unclear if you want me to open an issue or if you're working on it already?

@kargakis unclear if you want me to open an issue or if you're working on it already?

Working on bumping the loglevel now, once this PR merges I will work on getting logs from the rest of the services.

@CecileRobertMichon please merge

/approve

$ kubectl config view -o json
panic: runtime error: index out of range

goroutine 1 [running]:
github.com/Azure/acs-engine/test/e2e/kubernetes.(*Config).GetServerName(0xc4203400c0, 0x0, 0x0)
	/go/src/github.com/Azure/acs-engine/test/e2e/kubernetes/config.go:48 +0x1af
github.com/Azure/acs-engine/test/e2e/runner.(*CLIProvisioner).FetchOpenShiftMachineLogs(0xc4200ec750, 0xc420197720, 0xc420341140, 0xc420300000, 0x5a, 0xc4202ba060, 0x30)
	/go/src/github.com/Azure/acs-engine/test/e2e/runner/cli_provisioner.go:341 +0x77
main.teardown()
	/go/src/github.com/Azure/acs-engine/test/e2e/runner.go:204 +0x717
main.main()
	/go/src/github.com/Azure/acs-engine/test/e2e/runner.go:118 +0x6df
exit status 2
test.mk:32: recipe for target 'test-openshift' failed

lgtm, @CecileRobertMichon please merge

/lgtm

/lgtm

@acs-bot I keep forgetting
@CecileRobertMichon ping

@jim-minter @kargakis I restarted the openshift e2e twice and have not been able to get a single successful.I would like to get at least one e2e run since this PR is changing the test itself. It might be worth considering disabling the test until it is more reliable since there is little in a test that is red more often than it is green what do you think?

Hey @CecileRobertMichon we're also frustrated by the testing situation.  Two issues are that we're spread thin right now, and that we also don't have all the gating we need in place upstream on the origin and openshift-ansible repos so we're perpetually chasing breaks there.  My personal preference is to leave the tests here enabled and red rather than disabled - we will get to the flakes and get them green.


drivers/serial/pl011: add support of uart0/2/3 port

Summary

serial/pl011: rename serial_pl011 to uart_pl011

The lower half driver should be prefixed with "uart_"

arm/armv8r: remove unused serial_pl011.h
drivers/serial/pl011: add support of uart0/2/3 port

add support of uart 0/2/3 port

drivers/serial/pl011: add FAR specifier

Impact
N/A
Testing
fvp-armv8r-aarch32/nsh

@jerpelea Hi Alin, this PR just changes some coding style and file name, let me added the commit message in Summary.


Remove Alert Upon Successful Load of Charts

Is your feature request related to a problem? Please describe.
When creating a new Module, after successfully loading the chart, an alert pops up on the top of the screen indicating success. This alert is unnecessary and should be removed.
Describe the solution you'd like
Remove the success alert when loading templates.

Implemented


misnamed term: presumptive metathorax structures from prothoracic leg disc

The term "presumptive metathorax structures from prothoracic leg disc" (FBbt:00110781) should be "presumptive metathorax structures from metathoracic leg disc". The term is part_of metathoracic leg disc (FBbt:00001783), and the corresponding parts of the other two leg discs are named correctly.

It's been fixed. Thanks.


No clone button available. Instructions do not work.

No clone button available. Instructions do not work.

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

ID: 8b8a5b68-909f-126d-5f83-4659e0f55b85
Version Independent ID: f71ca2b9-c00d-0b2b-34bc-63d11b3576db
Content: Clone an existing Git repo - Azure Repos
Content Source: docs/repos/git/clone.md
Product: devops
Technology: devops-code-git
GitHub Login: @vtbassmatt
Microsoft Alias: macoope

@JPPintoDotCom Thank you for the feedback.
Possible duplicate of https://github.com/MicrosoftDocs/azure-devops-docs/issues/6628.

@JPPintoDotCom can you share a screenshot of what you do see? If it's like the other two related issues, you may be viewing a TFVC repo rather than a Git repo.


Chart memoization might have a memory leak?

Not sure about this but just leaving this here as a reminder to check it out. The memoization cache in chart is created in the constructor and isn't cleared which might mean that the memos object grows very large over time.

Hmm, most things only memoize on columns, so each method would memoize (column arg combinations) * (rows) at most. I think it makes sense to leave clearing to the garbage collector, as trying to judge a time to do it earlier than that could be tricky.

Looks like the memoize stuff in Chart.jsx isn't actually used - but the boilerplate stuff that is there will need to be updated to avoid this problem when it is used so I'll leave this open for the moment.


[bug] Next.js webpack errors because of missing documentation

Link to minimal reproducible example
https://web3modal.justfixit.dev/
Summary
Web3Modal uses 3 libraries that cause repeated and annoying webpack errors in Next.js. This is resolvable by adding this snippet of code to the documentation for Next.js users:
// Path: next.config.js
const nextConfig = {
  webpack: (config) => {
    config.externals.push(
      "pino-pretty",
      "lokijs",
      "encoding"
    );
  return config;
}

List of related npm package versions
https://github.com/dirtycajunrice/web3modal-bug-examples-2023-10-21/blob/9269c51dfe95d7ec2a5e0efebd3fb3923c9b79f1/package.json#L11-L19
  "dependencies": {
    "@web3modal/wagmi": "^3.1.0",
    "next": "13.5.6",
    "react": "^18",
    "react-code-blocks": "^0.1.4",
    "react-dom": "^18",
    "viem": "^1.16.6",
    "wagmi": "^1.4.5"
  },

Thanks for documenting this -- Saved me a lot of frustration.


Realm.get get's executed before dependsOn Resource is fully ready

Describe what happened
I'm deploying a Keycloak Helm Chart and load the master realm using the Realm.get method. That Realm.get  method causes an
error: Preview failed: refreshing urn:pulumi:testing::softwarefactory::softwarefactory:namespaces:service-namespace$kubernetes:core/v1:Namespace$softwarefactory:keycloak$kubernetes:helm.sh/v3:Release$pulumi:providers:keycloak$keycloak:index/realm:Realm::master-realm: 1 error occurred:
    	* error logging in: error sending POST request to https://<my domain>/realms/master/protocol/openid-connect/token: 404 Not Found

when my project gets deployed
Sample program
const keycloak = new HelmRelease("keycloak-helm-chart", {
  chart:          "keycloak",
  version:        "21.0.4",
  repositoryOpts: {
    repo: "https://charts.bitnami.com/bitnami",
  },
});

const provider = new KeycloakProvider("keycloak", {
   url:          'https://<keycloak url>',
   clientId:     "admin-cli",
   realm:        "master",
   username:     "admin",
   password:     "password",
   initialLogin: false,
}, {dependsOn: keycloak, parent: keycloak});

// This one causes the 404 error since keycloak isn't fully deployed yet
const masterRealm = Realm.get("master-realm", "master", {}, {parent: provider, provider: provider, dependsOn: keycloak});

Log output
Diagnostics:
  keycloak:index:Realm (master-realm):
    error: Preview failed: refreshing urn:pulumi:testing::softwarefactory::softwarefactory:namespaces:service-namespace$kubernetes:core/v1:Namespace$softwarefactory:keycloak$kubernetes:helm.sh/v3:Release$pulumi:providers:keycloak$keycloak:index/realm:Realm::master-realm: 1 error occurred:
    	* error logging in: error sending POST request to https://<my domain>/realms/master/protocol/openid-connect/token: 404 Not Found

Affected Resource(s)
No response
Output of pulumi about
CLI
Version      3.107.0
Go Version   go1.22.0
Go Compiler  gc

Plugins
NAME        VERSION
command     0.11.1
keycloak    5.3.2
kubernetes  4.13.1
nodejs      unknown
postgresql  3.11.1
random      4.16.2

Host
OS       Microsoft Windows 11 Enterprise
Version  10.0.22631 Build 22631
Arch     x86_64

This project is written in nodejs: executable='C:\Users\A92615470\AppData\Local\pnpm\node.exe' version='v20.14.0'

Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Hi @ChristianRaoulis. I'm sorry your hitting this issue. I believe that this is a bug in the Pulumi engine, so I have opened an issue there: https://github.com/pulumi/pulumi/issues/16395.
You might be able to work around the bug by faking the dependsOn relationship with an apply:
const masterRealm = Realm.get("master-realm", keycloak.chart.apply((_) => "master"), {}, {parent: provider, provider: provider, dependsOn: keycloak});

It would be even better if you could use a property of keycloak (HelmRelease) that isn't known until the resource is created.


[bug] No Reconnected Event after AttemptReconnect

Describe the bug
I try to give users feedback about connectivity issues as fast as possible, i.e. on RoomAttemptReconnectEvent. However, it looks like "RoomReconnectedEvent" is not always fired after attempting to reconnect and the UI is stuck in the "reconnect" screen/indicator
To Reproduce

listen to RoomAttemptReconnectEvent and RoomReconnectedEvent
tamper with connectivity (wifi on/off, mobile data on/off etc)
see good connectivity even without reconnected event

Expected behavior
Reconnected events are always fired after attempting to reconnect.
Platform information

Flutter version: 3.19.5
Plugin version: 2.1.2
Flutter target OS: Android, real device
Flutter target OS version: 13

i'm too

@holzgeist


Add support for multiple transforms on partials

Not sure if this should be supported, but wanted to ask in case there's a way around it that I'm missing.
If I have a markdown file that I want to process for Handlebars partials before converting to HTML, I can apply both transforms by adding both extensions (foo.md.hbs). This works great.
If I include the same file as a partial itself (using partial: true in the front-matter, the multiple extensions don't work (the build fails) and if I just name the file foo.md the partials don't get parsed before the markdown conversion.
Would it make sense to support multiple extensions on partials themselves, or is there another way to apply multiple transforms on partials when they are processed for inclusion?

That's a great idea, @wilsonminer. It's not in currently, but would be a great addition!
At the compileAync part, you'll see it compiles each partial, and then caches the function that's returned. This means for JSTransformers that can compile their templates, partials end up being quite fast. With multiple transforms, I'm unsure we could compile them ontop of each other. Probably a solution around it would be to add the iterative transformer.render() calls in executePartial(), after the first .apply call.
Thoughts?


Add accessibility review

In recent conversations, the need for a separate accessibility review step has come up. In our process, this would be akin to the design and release review processes, and would likely be a prerequisite to the release review for a given component/pattern.
The accessibility review should involve both designers and UXEs and include more manual accessibility testing/checking than we have previously checked for as part of our release review process.

https://github.com/carbon-design-system/ibm-cloud-cognitive/issues/2232#tasklist-block-69a9e071-90a8-469a-9be3-264a4eda7865

Pulled from the Equal Access Toolkit’s develop section.
I do think we need to tune this a bit more for components as well as for our process. I do wonder if it’d make more sense to include Level 1 accessibility in earlier points of the contribution process, although it may be hard to keep track of as our team builds out each component further. 🤔
Would love to get the design steps added in the PAL repos as well.

Accessibility review
Keyboard
Level 1

[ ] Properly code the navigation order

[ ] Ensure interactive elements are reachable with the keyboard
[ ] Where possible, achieve the desired tab order by adjusting the DOM, rather than overriding the tabindex
[ ] When overriding the default focus indicator, confirm focus is highly visible

[ ] Implement established keyboard conventions

[ ] Use standard HTML elements where possible, using CSS to alter appearance not behavior
[ ] Be familiar with established keyboard conventions
[ ] Implement keyboard operation for custom elements

Level 2

[ ] Ensure keyboard access to complex interactions

[ ] Make custom media player and animation controls keyboard accessible

Level 3

[ ] Code screen updates predictably

[ ] Use “activate” rather than “focus” as a trigger
[ ] Use an onchange event without disorienting the user

Dynamic updates
Level 1

[ ] Provide errors accessibly

[ ] Use accessible methods to implement error messages
[ ] Implement validation and notification to minimize interruptions

Level 2

[ ] Make content accessible that appears on hover or focus

[ ] Ensure Esc dismisses new content
[ ] If content appears on hover, the new content needs to remain visible until dismissed
[ ] Moving the pointer away from the trigger should not be the action that dismisses the new content
[ ] Ensure custom tooltips and similar hover text can be triggered by keyboard
[ ] Discuss alternatives to hover text
[ ] Use caution where interactive controls appear in the hover text

[ ] Code cancellation actions accessibly

[ ] Provide accessible ways of cancelling pointer interaction

[ ] Properly code status messages

[ ] Use role=status to advise on the success or results of an action
[ ] Use role=alert or an ARIA live region to convey a suggestion or warning

Level 3

[ ] Allow reduced motion

[ ] Implement motion media queries to reduce user risk

Text and non-text
Level 1

[ ] Implement text alternatives for meaningful images, sound, and visual data

[ ] Give decorative images an ALT attribute with an empty string (alt="")
[ ] Use HTML, ARIA, or technology-specific techniques to add short text alternatives
[ ] Where relevant text exists in the UI, use aria-labelledby and aria-describedby to reference
[ ] Provide an accessible method for exposing long text alternatives
[ ] Embed multimedia content that supports closed captions

[ ] Implement correct structure and metadata

[ ] Code headings according to specifications
[ ] ~Code the <title> element on every page according to specifications~
[ ] ~Set the language for each page~

Level 2

[ ] Add additional structure where appropriate

[ ] Use <figcaption> and <caption> elements where figures and tables are titled
[ ] Add additional context to generic link names
[ ] Consider adding regions and other ARIA roles to distinguish text groupings

Level 3

[ ] ~Mark up foreign words and abbreviations~

[ ] ~Use the lang attribute for foreign words and phrases~
[ ] Use <abbr> elements and title attributes to expand abbreviations

[ ] Achieve necessary reading order

[ ] Order content appropriately in the DOM
[ ] Only use CSS to alter text position without altering meaning

User input
Level 1

[ ] Associate labels with inputs

[ ] Programmatically associate inputs with labels
[ ] Add accessible names for inputs lacking visible labels

[ ] Provide correct name, role, and value

[ ] If repurposing a standard component, use ARIA to set the correct name and role
[ ] On custom components, use ARIA to expose name, role, and value

Level 2

[ ] Reduce conflict between the visible label and a component’s accessible name

[ ] Match the accessible name to the visible label
[ ] Include the text of the label in the accessible name

Level 3

[ ] Indicate the purpose of common inputs

[ ] Use HTML autocomplete attributes, where appropriate

Still need to add template to our release reviews.


Remove deprecation notice and update docs

This addresses #19 by removing the deprecation notice on ReactMounter.
ReactMounter continues to be a useful abstraction for cases where React is used in conjunction with Backbone/Marionette without the Redux Architecture. Moreover it is more broadly compatible with Backbone and Marionette then StatefulReactView which requires Marionette 1.8.x. ReactMounter has no such restriction.

Pull Request Test Coverage Report for Build 238

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 236:
0.0%

Covered Lines:
250

Relevant Lines:
250

💛  - Coveralls

Was just a hiccup where npm install failed. Building fine now.


EditorConfig from style guide

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature
What is the current behavior? (You can also link to an open issue here)
I am a new member of ReactiveUI and have my problems with it through the code. Why? Because I'm used to certain code styles from the .NET universe e.g. docs, samples and so on. In the code I noticed some places where e.g. properties small and members with or underlined and then again without and so on.
I think you all know what I mean ;-)
What is the new behavior (if this is a feature change)?
We're part of the .NET Foundation and so i think we should adopt the code style.
In addition, help the new devs to get into the code ;-)
What might this PR break?
N/A
Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:
I would start to adapt the code according to the rules after which the pr was merged
Ref: https://github.com/dotnet/corefx/blob/master/.editorconfig

Please don't go into projects as your first PR to demand they change the coding style


1.2.0 test

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: aleelock:x: guangchun.luoguangchun.luo seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Visual Studio 2017 - Unable to initialize powershell host

This issue has been documented at:
https://stackoverflow.com/questions/48837473/visual-studio-2017-unable-to-initialize-powershell-host
Steps to reproduce

Start Visual Studio 2017 Community v15.5.6
TOOLS -> NuGet Package Manager -> Package Manager Console
Errors displayed:

The following error occurred while loading the extended type data file: Microsoft.PowerShell.Core, C:\Windows\SysWOW64\WindowsPowerShell\v1.0\types.ps1xml(3007) : Error in type "System.Security.AccessControl.ObjectSecurity": Exception: The getter method should be public, non void, static, and have one parameter of type PSObject.
The following error occurred while loading the extended type data file: Microsoft.PowerShell.Core, C:\Windows\SysWOW64\WindowsPowerShell\v1.0\types.ps1xml(3014) : Error in type "System.Security.AccessControl.ObjectSecurity": Exception: The getter method should be public, non void, static, and have one parameter of type PSObject.
The following error occurred while loading the extended type data file: Microsoft.PowerShell.Core, C:\Windows\SysWOW64\WindowsPowerShell\v1.0\types.ps1xml(3021) : Error in type "System.Security.AccessControl.ObjectSecurity": Exception: The getter method should be public, non void, static, and have one parameter of type PSObject.
The following error occurred while loading the extended type data file: Microsoft.PowerShell.Core, C:\Windows\SysWOW64\WindowsPowerShell\v1.0\types.ps1xml(3028) : Error in type "System.Security.AccessControl.ObjectSecurity": Exception: The getter method should be public, non void, static, and have one parameter of type PSObject.
The following error occurred while loading the extended type data file: Microsoft.PowerShell.Core, C:\Windows\SysWOW64\WindowsPowerShell\v1.0\types.ps1xml(3035) : Error in type "System.Security.AccessControl.ObjectSecurity": Exception: The getter method should be public, non void, static, and have one parameter of type PSObject.
The term 'Get-ExecutionPolicy' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Expected behavior
Powershell host should be initialized so that NuGet Package Manager can be used -- without it -- Visual Studio is useless and we cannot continue our work (because we need the NuGet Package Manager) to function so we can update our projects) !!!
Actual behavior
As shown above -- powershell host fails -- which in turn causes NuGet Package Manager to fail.
Have tried a complete uninstall and re-install of Visual Studio Community 2017 - NO EFFECT.
Environment data
POWERSHELL ($PSVersionTable)
Name                           Value
----                           -----
PSVersion                      5.1.16299.248
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.16299.248
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

GET-EXECUTIONPOLICY -LIST
        Scope ExecutionPolicy
        ----- ---------------
MachinePolicy       Undefined
   UserPolicy       Undefined
      Process       Undefined
  CurrentUser       Undefined
 LocalMachine    RemoteSigned

VISUAL STUDIO INFO:
Microsoft Visual Studio Community 2017
Version 15.5.6
VisualStudio.15.Release/15.5.6+27130.2027
Microsoft .NET Framework
Version 4.7.02556

Installed Version: Community

Visual Basic 2017   00369-60000-00001-AA629
Microsoft Visual Basic 2017

Visual C# 2017   00369-60000-00001-AA629
Microsoft Visual C# 2017

Visual F# 4.1   00369-60000-00001-AA629
Microsoft Visual F# 4.1

Application Insights Tools for Visual Studio Package   8.10.01106.1
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2017   15.0.31127.0
ASP.NET and Web Tools 2017

ASP.NET Core Razor Language Services   1.0
Provides languages services for ASP.NET Core Razor.

ASP.NET Web Frameworks and Tools 2017   5.2.51007.0
For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0   15.0.31106.0
Azure App Service Tools v3.0.0

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.2.9000.1
Microsoft Azure Data Lake Tools for Visual Studio

Azure Data Lake Tools for Visual Studio   2.2.9000.1
Microsoft Azure Data Lake Tools for Visual Studio

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Fabric.DiagnosticEvents   1.0
Fabric Diagnostic Events

JavaScript Language Service   2.0
JavaScript Language Service

Microsoft Azure HDInsight Azure Node   2.2.9000.1
HDInsight Node under Azure Node

Microsoft Azure Hive Query Language Service   2.2.9000.1
Language service for Hive query

Microsoft Azure Service Fabric Tools for Visual Studio   2.0
Microsoft Azure Service Fabric Tools for Visual Studio

Microsoft Azure Stream Analytics Language Service   2.2.9000.1
Language service for Azure Stream Analytics

Microsoft Azure Stream Analytics Node   1.0
Azure Stream Analytics Node under Azure Node

Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.51120.3

Microsoft Continuous Delivery Tools for Visual Studio   0.3
Simplifying the configuration of continuous build integration and continuous build delivery from within the Visual Studio IDE.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual Studio Tools for Containers   1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.

NuGet Package Manager   4.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

SQL Server Data Tools   15.1.61710.120
Microsoft SQL Server Data Tools

ToolWindowHostedEditor   1.0
Hosting json editor into a tool window

TypeScript Tools   15.5.11025.1
TypeScript Tools for Microsoft Visual Studio

Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

WebJobs Tools v1.0.0   15.0.31106.0
WebJobs Tools v1.0.0

SYSTEM SUMMARY INFO:
OS Name	Microsoft Windows 10 Pro
Version	10.0.16299 Build 16299
Other OS Description 	Not Available
OS Manufacturer	Microsoft Corporation
System Name	WKSTN2
System Manufacturer	Gigabyte Technology Co., Ltd.
System Model	To be filled by O.E.M.
System Type	x64-based PC
System SKU	To be filled by O.E.M.
Processor	Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz, 3901 Mhz, 4 Core(s), 8 Logical Processor(s)
BIOS Version/Date	American Megatrends Inc. F8, 21-Feb-12
SMBIOS Version	2.7
Embedded Controller Version	255.255
BIOS Mode	Legacy
BaseBoard Manufacturer	Gigabyte Technology Co., Ltd.
BaseBoard Model	Not Available
BaseBoard Name	Base Board
Platform Role	Desktop
Secure Boot State	Unsupported
PCR7 Configuration	Binding Not Possible
Windows Directory	C:\WINDOWS
System Directory	C:\WINDOWS\system32
Boot Device	\Device\HarddiskVolume1
Locale	United States
Hardware Abstraction Layer	Version = "10.0.16299.248"
User Name	WKSTN2\Administrator
Time Zone	Mountain Standard Time
Installed Physical Memory (RAM)	16.0 GB
Total Physical Memory	16.0 GB
Available Physical Memory	12.0 GB
Total Virtual Memory	32.0 GB
Available Virtual Memory	27.8 GB
Page File Space	16.0 GB
Page File	C:\pagefile.sys
Virtualization-based security	Not enabled
Device Encryption Support	Reasons for failed automatic device encryption: TPM is not usable, PCR7 binding is not supported, Hardware Security Test Interface failed and device is not InstantGo, Un-allowed DMA capable bus/device(s) detected, Disabled by policy, WinRE is not configured, TPM is not usable
Hyper-V - VM Monitor Mode Extensions	Yes
Hyper-V - Second Level Address Translation Extensions	Yes
Hyper-V - Virtualization Enabled in Firmware	Yes
Hyper-V - Data Execution Protection	Yes

Based on the error message, it seems like VS is trying to load PowerShell V2 because V5.1 does not read the ps1xml files in $PSHOME.
I don't know why that would happen, the package manager console does load V5.1 on my machine, both with and without V2 enabled.
I suppose you could try disabling V2 and see if it helps.

I have two identical (hardware) systems.   On the first system (S1) Visual Studio 15.5.6 / NuGet Package Manager Console works;  On the second system (S2) Visual Studio 15.5.6 Powershell host fails to initialize -- which renders NuGet Package Manager in Visual Studio useless.  I copied all files from S1 in C:\Windows\System32\WindowsPowerShell\v1.0 and C:\Windows\SysWOW64\WindowsPowerShell\v1.0 to S2 -- to see if perhaps there was some difference - NO EFFECT.  Some setting, somewhere is causing this problem!   As I posted on StackOverflow -- even a clean install of Visual Studio is not helping.
HOW does one "disable" V2 of powershell?

I can only suggest a couple other things, I have little experience in this area.
You might get a hint from fuslogvw - try it on both the good and bad machines, see what's different.
You might also look in the GAC for Policy.1.0.System.Management.Automation - this assembly is supposed to forward bindings from 1.0 to 3.0, if that was missing, then that might explain why V2 is used.

So I'm confuse! Is this a PSCore6 issue or a Windows PowerShell 5 issue.
In one of the error is showing Get-ExecutionPolicy as "AllSigned" which I think it most be brought to "RemoteSigned".  But, nevertheless, this is not the correct place to handle this particular issue, so maybe try to go to a Nuget forum site to be properly handled.
:)

The root cause is unknown at this point -- hence I have posted on Powershell, Nuget, and Visual Studio/StackOverflow for all RFCs (Request For Comments).  Tons of posts can be found about NuGet / Powershell failing in Visual Studio -- although no specific root cause has been identified.

lzybkr - I checked the GAC for the assembly: Policy.1.0.System.Management.Automation, the assembly was found on both machines.
I then listed all the assemblies in in the GAC with Powershell in the name, on the system that is NOT working, the following assemblies exist:
Microsoft.PowerShell.Activities, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Activities.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Cmdletization.OData, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Cmdletization.OData.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Diagnostics, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Diagnostics.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Management, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Management.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Utility, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Utility.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.ConsoleHost, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.ConsoleHost.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Core.Activities, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Diagnostics.Activities, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Editor, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Editor.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.GPowerShell, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.GPowerShell.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.GraphicalHost, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.GraphicalHost.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.ISECommon, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.ISECommon.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Management.Activities, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.ScheduledJob, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.ScheduledJob.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Security, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Security.Activities, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Security.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Utility.Activities, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Utility.Activities.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Workflow.ServiceCore, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Workflow.ServiceCore.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Policy.1.0.Microsoft.PowerShell.Commands.Management, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Policy.1.0.Microsoft.PowerShell.Commands.Utility, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Policy.1.0.Microsoft.PowerShell.ConsoleHost, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Policy.1.0.Microsoft.PowerShell.Security, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL

I then listed the assemblies on the system that DOES work, the following were found:
Microsoft.PowerShell.Activities, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Activities.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Cmdletization.OData, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Cmdletization.OData.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Diagnostics, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Diagnostics, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Diagnostics.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Diagnostics.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Management, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Management, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Management.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Management.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Utility, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Utility, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Utility.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Utility.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.ConsoleHost, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.ConsoleHost, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.ConsoleHost.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.ConsoleHost.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Core.Activities, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Diagnostics.Activities, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Editor, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Editor.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.GPowerShell, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.GPowerShell.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.GraphicalHost, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.GraphicalHost.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.ISECommon, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.ISECommon.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Management.Activities, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.ScheduledJob, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.ScheduledJob.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Security, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Security, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Security.Activities, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Security.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Security.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Utility.Activities, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Utility.Activities.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Workflow.ServiceCore, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Workflow.ServiceCore.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Policy.1.0.Microsoft.PowerShell.Commands.Management, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Policy.1.0.Microsoft.PowerShell.Commands.Utility, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Policy.1.0.Microsoft.PowerShell.ConsoleHost, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Policy.1.0.Microsoft.PowerShell.Security, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL

The assemblies that are MISSING from the system that does not work are:
Microsoft.PowerShell.Commands.Diagnostics, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Diagnostics.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Management, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Management.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Utility, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Commands.Utility.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.ConsoleHost, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.ConsoleHost.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Security, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
Microsoft.PowerShell.Security.Resources, Version=<IP_ADDRESS>, Culture=en, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL

Are any of the above critical to get the powershell host initialized in Visual Studio -- I do not know!?

The missing assemblies are all for V2.  In V3 and later, the version is <IP_ADDRESS>.
I think most or all of the missing assemblies would be loaded during initialization of V2.
I still believe the problem is the attempt to load V2, but based on your list of assemblies not including Policy.1.0.System.Management.Automation, I'm not sure how to explain the difference between the good and bad systems.
I suggest comparing the fuslogvw logs to see if you find anything interesting.
And to address the question from @MaximoTrinidad - this is definitely not a PSCore issue. This repo is for tracking PSCore issues, so I'll close this as Resolution External, but we can still continue the conversation here.

Thanks Jason,
I seem to remember in my hunt for a solution a thread that indicated that Visual Studio only tries to use V2 – could this be why it is working on the second system (where v2 is still present) and does not on the other system that is missing the V2 assemblies?
From: Jason Shirk<EMAIL_ADDRESS>Sent: Monday, February 19, 2018 7:50 PM
To: PowerShell/PowerShell<EMAIL_ADDRESS>Cc: bdcoder2<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [PowerShell/PowerShell] Visual Studio 2017 - Unable to initialize powershell host (#6189)
The missing assemblies are all for V2. In V3 and later, the version is <IP_ADDRESS>.
I think most or all of the missing assemblies would be loaded during initialization of V2.
I still believe the problem is the attempt to load V2, but based on your list of assemblies not including Policy.1.0.System.Management.Automation, I'm not sure how to explain the difference between the good and bad systems.
I suggest comparing the fuslogvw logs to see if you find anything interesting.
And to address the question from @MaximoTrinidad https://github.com/maximotrinidad  - this is definitely not a PSCore issue. This repo is for tracking PSCore issues, so I'll close this as Resolution External, but we can still continue the conversation here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/PowerShell/PowerShell/issues/6189#issuecomment-366852533 , or mute the thread https://github.com/notifications/unsubscribe-auth/AFqGuIV2zoAHRMNX17p5GdXIfmdVq9Szks5tWjLWgaJpZM4SJ9aP .  https://github.com/notifications/beacon/AFqGuMZIet3S5FcRg4NTHeM_9oWyWWBuks5tWjLWgaJpZM4SJ9aP.gif

Ps – tried to run fuslogvw – but there is little instruction / direction for doing so – and I was unable to get any type of log file produced – If you have any step-by-step instructions for running fuslogvw that would be most helpful.
From: Jason Shirk<EMAIL_ADDRESS>Sent: Monday, February 19, 2018 7:50 PM
To: PowerShell/PowerShell<EMAIL_ADDRESS>Cc: bdcoder2<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [PowerShell/PowerShell] Visual Studio 2017 - Unable to initialize powershell host (#6189)
The missing assemblies are all for V2. In V3 and later, the version is <IP_ADDRESS>.
I think most or all of the missing assemblies would be loaded during initialization of V2.
I still believe the problem is the attempt to load V2, but based on your list of assemblies not including Policy.1.0.System.Management.Automation, I'm not sure how to explain the difference between the good and bad systems.
I suggest comparing the fuslogvw logs to see if you find anything interesting.
And to address the question from @MaximoTrinidad https://github.com/maximotrinidad  - this is definitely not a PSCore issue. This repo is for tracking PSCore issues, so I'll close this as Resolution External, but we can still continue the conversation here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/PowerShell/PowerShell/issues/6189#issuecomment-366852533 , or mute the thread https://github.com/notifications/unsubscribe-auth/AFqGuIV2zoAHRMNX17p5GdXIfmdVq9Szks5tWjLWgaJpZM4SJ9aP .  https://github.com/notifications/beacon/AFqGuMZIet3S5FcRg4NTHeM_9oWyWWBuks5tWjLWgaJpZM4SJ9aP.gif

Log from fuslogvw –
*** Assembly Binder Log Entry  (19-Feb-18 @ 8:11:01 PM) ***
The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.
Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Running under executable  D:\apps\VStudioNet2017\Common7\IDE\devenv.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: Where-ref bind. Location = D:/apps/VStudioNet2017/Common7/IDE/en-US/Microsoft.VisualStudio.Shell.UI.Internal.resources.EXE
LOG: Appbase = file:///D:/apps/VStudioNet2017/Common7/IDE/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = devenv.exe
Calling assembly : (Unknown).
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: Using application configuration file: C:\Users\Administrator\AppData\Local\Microsoft\VisualStudio\15.0_e42d1106\devenv.exe.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/en-US/Microsoft.VisualStudio.Shell.UI.Internal.resources.EXE.
LOG: All probing URLs attempted and failed.
*** Assembly Binder Log Entry  (19-Feb-18 @ 8:11:01 PM) ***
The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.
Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Running under executable  D:\apps\VStudioNet2017\Common7\IDE\devenv.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: Where-ref bind. Location = D:/apps/VStudioNet2017/Common7/IDE/en-US/Microsoft.VisualStudio.Shell.UI.Internal.resources.EXE
LOG: Appbase = file:///D:/apps/VStudioNet2017/Common7/IDE/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = devenv.exe
Calling assembly : (Unknown).
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: Using application configuration file: C:\Users\Administrator\AppData\Local\Microsoft\VisualStudio\15.0_e42d1106\devenv.exe.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/en-US/Microsoft.VisualStudio.Shell.UI.Internal.resources.EXE.
LOG: All probing URLs attempted and failed.

That log doesn't seem useful. It's been years since I've used fuslogvw, I know it wasn't always easy or friendly, but sometimes it would give a clue to the problem.
When I opened package manager, $PSVersionTable reported 5.1 - so I would be surprised if V2 the normal and expected version.

Agreed -- the log did have the line:
Bind result: hr = 0x80070002. The system cannot find the file specified.
But (of course) does not report the file path that could not be found; making the error message completely useless !
I get the same result on the system that IS working, that is: $PSVersionTable reported 5.1
The system that is (still) NOT working -- simply seems to hang with the message "Initializing Powershell host..."

The system cannot find the file specified

Try procmon utility.

Ran procmon utility.
Started Visual Studio
TOOLS -> NuGet Package Manager -> Package Manager Console.
770 "NOT FOUND" events found for process "devenv.exe"; process monitor log attached.
Logfile.zip
770 guesses as to which event is causing the Package Manager Console to hang!

Just tried to install a NuGet Package in a new project...
OUTPUT WINDOW:
Severity	Code	Description	Project	File	Line	Suppression State
Error		Could not load file or assembly 'System.Management.Automation, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

ERROR LIST WINDOW:
=== Pre-bind state information ===
LOG: DisplayName = System.Management.Automation, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35
 (Fully-specified)
LOG: Appbase = file:///D:/apps/VStudioNet2017/Common7/IDE/
LOG: Initial PrivatePath = NULL
Calling assembly : NuGet.Console, Version=<IP_ADDRESS>85, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: Using application configuration file: C:\Users\Administrator\AppData\Local\Microsoft\VisualStudio\15.0_e42d1106\devenv.exe.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: System.Management.Automation, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/System.Management.Automation.DLL.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/System.Management.Automation/System.Management.Automation.DLL.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/PublicAssemblies/System.Management.Automation.DLL.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/PublicAssemblies/System.Management.Automation/System.Management.Automation.DLL.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/PrivateAssemblies/System.Management.Automation.DLL.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/PrivateAssemblies/System.Management.Automation/System.Management.Automation.DLL.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/CommonExtensions/Microsoft/TemplateProviders/System.Management.Automation.DLL.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/CommonExtensions/Microsoft/TemplateProviders/System.Management.Automation/System.Management.Automation.DLL.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/CommonExtensions/Platform/Debugger/System.Management.Automation.DLL.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/CommonExtensions/Platform/Debugger/System.Management.Automation/System.Management.Automation.DLL.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/CommonExtensions/Platform/DiagnosticsHub/System.Management.Automation.DLL.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/CommonExtensions/Platform/DiagnosticsHub/System.Management.Automation/System.Management.Automation.DLL.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/PrivateAssemblies/DataCollectors/System.Management.Automation.DLL.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/PrivateAssemblies/DataCollectors/System.Management.Automation/System.Management.Automation.DLL.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/PrivateAssemblies/DataCollectors/x86/System.Management.Automation.DLL.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/PrivateAssemblies/DataCollectors/x86/System.Management.Automation/System.Management.Automation.DLL.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/System.Management.Automation.EXE.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/System.Management.Automation/System.Management.Automation.EXE.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/PublicAssemblies/System.Management.Automation.EXE.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/PublicAssemblies/System.Management.Automation/System.Management.Automation.EXE.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/PrivateAssemblies/System.Management.Automation.EXE.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/PrivateAssemblies/System.Management.Automation/System.Management.Automation.EXE.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/CommonExtensions/Microsoft/TemplateProviders/System.Management.Automation.EXE.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/CommonExtensions/Microsoft/TemplateProviders/System.Management.Automation/System.Management.Automation.EXE.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/CommonExtensions/Platform/Debugger/System.Management.Automation.EXE.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/CommonExtensions/Platform/Debugger/System.Management.Automation/System.Management.Automation.EXE.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/CommonExtensions/Platform/DiagnosticsHub/System.Management.Automation.EXE.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/CommonExtensions/Platform/DiagnosticsHub/System.Management.Automation/System.Management.Automation.EXE.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/PrivateAssemblies/DataCollectors/System.Management.Automation.EXE.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/PrivateAssemblies/DataCollectors/System.Management.Automation/System.Management.Automation.EXE.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/PrivateAssemblies/DataCollectors/x86/System.Management.Automation.EXE.
LOG: Attempting download of new URL file:///D:/apps/VStudioNet2017/Common7/IDE/PrivateAssemblies/DataCollectors/x86/System.Management.Automation/System.Management.Automation.EXE.
LOG: Attempting download of new URL file:///D:/APPS/VSTUDIONET2017/COMMON7/IDE/COMMONEXTENSIONS/MICROSOFT/NUGET/System.Management.Automation.DLL.
LOG: Attempting download of new URL file:///D:/APPS/VSTUDIONET2017/COMMON7/IDE/COMMONEXTENSIONS/MICROSOFT/NUGET/System.Management.Automation/System.Management.Automation.DLL.
LOG: Attempting download of new URL file:///D:/APPS/VSTUDIONET2017/COMMON7/IDE/COMMONEXTENSIONS/MICROSOFT/NUGET/System.Management.Automation.EXE.
LOG: Attempting download of new URL file:///D:/APPS/VSTUDIONET2017/COMMON7/IDE/COMMONEXTENSIONS/MICROSOFT/NUGET/System.Management.Automation/System.Management.Automation.EXE.

Time Elapsed: 00:00:05.3641938
========== Finished ==========

The following finally solved the problem:
https://developercommunity.visualstudio.com/content/problem/199976/visual-studio-failed-to-initialize-the-powershell.html


Test improvement: Check for succesful requests

At __tests__/frontend-proxy.ts we have a function expectRequestFrom() which checks that a request was made from the right backend: https://github.com/serlo/serlo.org-cloudflare-worker/blob/1645aa0ab5924c6f4b411b865fca00142f308c2d/tests/frontend-proxy.ts#L542-L555
However there is code in the unit tests which also check for successful requests: https://github.com/serlo/serlo.org-cloudflare-worker/blob/1645aa0ab5924c6f4b411b865fca00142f308c2d/tests/index.ts#L39-L45
So there is the possibility to create a new helper function which is an abstraction of all those test cases and which can be used to shorten the test code and to make it more readable.

This test does not follow the philosophy of https://github.com/serlo/serlo.org-cloudflare-worker/issues/76 and thus would be only a temporary improvement -> we shouldn't implement this...


attr-order output incorrect

Hi, I'm currently utilizing htmllint via htmllint-loader in Webpack. It works great except now I'm trying to utilize the attr-order option. I've supplied an array of string values for the attributes, as follows:
  "attr-order": [
    "ng-model",
    "ng-options",
    "ng-change",
    "ng-required",
    "ng-readonly",
    "ng-class",
    "class"
  ],

However, the feedback from Webpack doesn't seem to output the attribute names properly:
  119:34  warning  attr-order  attribute <%= attribute => should come before <%= previous =>
  127:34  warning  attr-order  attribute <%= attribute => should come before <%= previous =>
  156:34  warning  attr-order  attribute <%= attribute => should come before <%= previous =>
  164:34  warning  attr-order  attribute <%= attribute => should come before <%= previous =>
  185:34  warning  attr-order  attribute <%= attribute => should come before <%= previous =>
  193:34  warning  attr-order  attribute <%= attribute => should come before <%= previous =>

Is there something I need to do differently?

This was fixed in v0.7.0, but htmllint-loader is using version 0.6.0. htmllint-loader looks unmaintained so you may be out of luck unless you're willing to fork it.


Update for Angular > 2

I'm submitting a ...
[X] bug report
[ ] feature request
[ ] question about the decisions made in the repository

What is the current behavior?
Using Angular 4 and ng2-toasty in one application will produce a warning by npm install, because ng2-toasty defines only Angular 2.4 as Peer-Depedency.

Hi @PhilippSoehnlein
I have published the release 4.0.0 on npmjs.com. Please let me know does it work for you?

Hi @akserg,
yes, looks good in our application. Thanks!


Plan hackaton to get help with prgcont related issues

Before doing this we should really define the task we need to accomplish and prepare/prioritize.

@dbecvarik This is task to create a plan that will probably result in more tasks. Its more like EPIC.


java-microprofile: Remove ~ mounts as Codewind now supports init outside the PFE container

We were mounting ~/.m2 folder for appsody to work with Codewind. However, that meant we could not longer use APPSODY_DEPS and were at risk of mixing dependencies from within the container and host.
We would like to change this behaviour now as CodeWind can initialize projects outside of the container and we might not need this fix any more.
The idea would be to update this stack, and test it with updated codewind to confirm this works before we get all stacks updated and released.
Codewind team will document how to handle users who are not on latest codewind (perhaps as troubleshooting doc)

The spring stack does use ~ mounts to share the .m2 cache, however. For Java projects, sharing the .m2 cache is typical (using DEP volumes is not). I don't think APPSODY_DEPS is appropriate for Java projects, which is why I didn't go there to begin with.

This will not work, and will break expected behavior: you need a parent pom to enforce behavior, and unless the home .m2 directory is shared, you break existing maven IDE tools.
So the question is whether or not we really want to get into a position where we require appsody for all interactions with these projects such that they don't work w/ existing tools (a barrier to adoption in my view).

https://github.com/eclipse/codewind/issues/583 -- related

Do we have a todo for this issue? Seems that for Java projects, we are OK mounting the ~/.m2 repo since this is a typical practice.  If I'm understanding the latest concern in eclipse/codewind#583, both Codewind and Appsody will be detecting changes and running maven builds, potentially colliding in ~/.m2.  @ebullient, as you pointed out though, most on_change actions in appsody aren't writing back to ~/.m2. Even still, a better solution would be to have Codewind NOT detect changes and just let Appsody handle that.  Is that correct? If so, can we close this issue, or is there more to do?

One way or the other. EITHER the IDE detects changes OR Appsody does. If codewind is launching appsody, it can use a command-line option to disable the watcher, and allow the IDE to perform operations when changes are detected as it usually would.

Gotcha - I think we can close this issue then. I don't believe there are any changes needed for this.


Unexpected '"' in middle of array

I'm trying to parse a string containing json, but it throws an error in the middle of an array of strings (it throws it at position 245). Any json lint tells me the json is correct.
{"a":["fRKEOtRT-etHJOG-lcpJs","MGCHDafQ-LPEXCa-pCeKa","VqjmMLkX-kUShAJ-mcVOp","yuGaeMEF-dVuIMc-TOVt","JdSUVsXx-WUwiIa-HMRH","BkOjJqiu-TKweln-bPFCi","GEkNLxVo-QnHWvT-IbHoc","uKBPcJvW-MOVVpM-kyHrA","iBAlBhsE-allRcH-uqVyK","LwegSOiP-rgUozo-KnoPs","JBxqhpmF-VLGdvg-cxGG¦","hFdrSaBY-eXmTXi-NxFnF","jBfFVOMr-OOceYr-HxsKD","WbQpuAjS-iuTQyq-ddblf","jcSMtECx-LuNWfK-amqw","FiRVJpCQ-MbCvVg-WerPS","TTSDDSpI-slmIQR-frLlD","EGptPBVe-ISUDM0-lrKQO","HLImGoSu-EuxWNn-PPRum","nWUhJxjV-rTQRUy-aMWhe","TaqJPuWi-RMMJuN-xm0","ekLfFogT-STNktZ-XW0I","BDkNQNIG-AdswHQ-ulmdK","FKlKOVEP-IKJhd¦-eVMH","bKmsUMWp-JCqXtu-Hdhaw","emjvdmif-ITPENH-OytDK","FnrqvslC-WqVUXy-vcBAO","HSumNLLh-kLoqBT-TkuSS","wJBfCwwj-JKmjFa-WCSAc","tsOngmgX-jbEKHt-jvpUS","EbBRCEPs-QStfKn-AGZsM","JIhwKSGZ-TTmUgO-eJlT¦","vGeRUFPb-SXtdDP-hhbiJ","uhqsMroN-oleCps-xwboT","AnwMcNWw-aBtGsC-UPvSy"],"b":"VIbiLEW¦-nIlfGi-HQFW","c":["QFAkxppA-PcIvtc-MQdGQ"],"d":"Vwoweowjawe","e":"AEVsRDLK-obRNar-FrTn","f":"","g":0,"h":0}
Any idea what's going on? Any help is appreciated :)
Kind regards,
Nick

I cannot reproduce the error with the develop version. The following code runs without exception:
#include "json.hpp"

using json = nlohmann::json;

int main() {
    std::string s = R"({"a":["fRKEOtRT-etHJOG-lcpJs","MGCHDafQ-LPEXCa-pCeKa","VqjmMLkX-kUShAJ-mcVOp","yuGaeMEF-dVuIMc-TOVt","JdSUVsXx-WUwiIa-HMRH","BkOjJqiu-TKweln-bPFCi","GEkNLxVo-QnHWvT-IbHoc","uKBPcJvW-MOVVpM-kyHrA","iBAlBhsE-allRcH-uqVyK","LwegSOiP-rgUozo-KnoPs","JBxqhpmF-VLGdvg-cxGG¦","hFdrSaBY-eXmTXi-NxFnF","jBfFVOMr-OOceYr-HxsKD","WbQpuAjS-iuTQyq-ddblf","jcSMtECx-LuNWfK-amqw","FiRVJpCQ-MbCvVg-WerPS","TTSDDSpI-slmIQR-frLlD","EGptPBVe-ISUDM0-lrKQO","HLImGoSu-EuxWNn-PPRum","nWUhJxjV-rTQRUy-aMWhe","TaqJPuWi-RMMJuN-xm0","ekLfFogT-STNktZ-XW0I","BDkNQNIG-AdswHQ-ulmdK","FKlKOVEP-IKJhd¦-eVMH","bKmsUMWp-JCqXtu-Hdhaw","emjvdmif-ITPENH-OytDK","FnrqvslC-WqVUXy-vcBAO","HSumNLLh-kLoqBT-TkuSS","wJBfCwwj-JKmjFa-WCSAc","tsOngmgX-jbEKHt-jvpUS","EbBRCEPs-QStfKn-AGZsM","JIhwKSGZ-TTmUgO-eJlT¦","vGeRUFPb-SXtdDP-hhbiJ","uhqsMroN-oleCps-xwboT","AnwMcNWw-aBtGsC-UPvSy"],"b":"VIbiLEW¦-nIlfGi-HQFW","c":["QFAkxppA-PcIvtc-MQdGQ"],"d":"Vwoweowjawe","e":"AEVsRDLK-obRNar-FrTn","f":"","g":0,"h":0})";

    auto j = json::parse(s);
    std::cout << j << std::endl;
}

(The same holds true for the manual_lexer branch.)

Thank you for your quick reply! Copying the code gives me the same error. I'm using the current version of the library. My project is build in Visual Studio 2015 (v140). I will check my setup and close the issue.


Question on resolution

Hello,
I wonder if i could get the same resolution as you have on the screenshot. In the settings of the virtual machine, i only get 1280x720, do you have any clue if i can get higher resolution ?
Thanks

It's the same for me. I use i3wm which probably scales it up.

I don't know how to increase the resolution, to be honest. I will need to research a bit

You should be able to access higher resolutions now.
Reference: https://superuser.com/questions/132322/how-to-increase-the-visualized-screen-resolution-on-qemu-kvm

Perfect ! Thanks you :)


Document the KubeOne release process

What this PR does / why we need it:
This PR adds a document describing the KubeOne release process.
Release note:
NONE

/assign @kron4eg

/override dco

/override pull-kubeone-verify-codegen

/override pull-kubeone-e2e-digitalocean-conformance-1.14.1


Update SQL Cheatsheet

Added count function

Hello @Intruderp
Thanks for your contribution.
Let's connect ->
GitHub -> @Suryansh1720001 (Follow)
LinkedIn -> https://www.linkedin.com/in/suryanshprajapati17


docs(pull-refresh): format doc

Checklist

[ ] Fix linting errors
[ ] Tests have been added / updated (or snapshots)

Change information

Codecov Report

Merging #449 (6952b54) into docs/script-setup (f63fb29) will not change coverage.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##           docs/script-setup     #449   +/-   ##
==================================================
  Coverage              96.42%   96.42%
==================================================
  Files                    217      217
  Lines                   5148     5148
  Branches                 944      944
==================================================
  Hits                    4964     4964
  Misses                   184      184

Impacted Files
Coverage Δ

packages/varlet-ui/src/icon/Icon.vue
100.00% <0.00%> (ø)

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 f63fb29...6952b54. Read the comment docs.


Proposal: Make Config a @dataclass

One of all the advantages of data classes is you can construct them in one line without retyping every property:
import twint
c = twint.config.Config(Limit=42, Search='twint', Lang='en')

This would break a few custom scripts of users, but it's a great idea so I'd suggest to possibility (if not already in place) to use both the DataClass solution and the one in "dot notation"... wdyt?

What exactly would this break? :-) As far as I can see you can still use the classical dot notation when working with the dataclass object.

Honestly idk, so I thought to ask. Confirm that it works, thanks for your contribution!

Great, thanks for the fast review!


[REQUEST] Code Cleanup: Remove Unused Imports and Variables

Code Cleanup Required
Suggestion/Concern
There are unused imports in some of the code files. For example, in one of the files, the hooks useRef and useLayoutEffect are imported from 'react' but are not used anywhere in the file code/src/ui/src/pages/DesignSystemPage.tsx. This is unnecessary and can lead to confusion.
Proposed Solution
Perform a thorough review of the codebase to identify any unused imports, variables, or other code elements. Once identified, these should be removed to keep the codebase clean and efficient. This will also help in improving the readability of the code and reduce the complexity. We can also add linter features to the same and implement linting before testing to keep track of such future issues.
Although I realise that MAYBE these will be utilised in near future, maintaining code quality is also an aspect we'll need to look over.
// For example, in the file `code/src/ui/src/pages/DesignSystemPage.tsx` we have:
import React, { useRef, useLayoutEffect, ReactNode } from 'react';

// But useRef and useLayoutEffect are not used anywhere in the file.
// So, the import statement should be cleaned up to:
import React, { ReactNode } from 'react';

Tagging @PaulaPaul , @aaronreed708 and @evangk6 for your views.
I'd love to hear your thoughts on the same.

@Sweetdevil144 can I go with the issue?

Hi @rahat2134 . I've already finished working on this issue and maintained end to end code quality locally. I'm waiting for the maintainer's review to create a PR for the same.

@Sweetdevil144 Thank you!  Yes, we certainly have a lot of issues that lint would help with.  If you have code ready to go, please submit a PR and I'll review it.  Thank you for taking the time to open the issue and working on this!

Opening a PR soon as I get to my room :)

@aaronreed708 PR done and a custom .eslintrc.json was created. However, I'd like to remind that I haven't actually ran npm run lint:fix owing to the large amount of code cleanup. Approximately 357 LOC changed when I tried doing it in a temp-branch (now deleted).
However, No issues were found to stop deployments after addition of linting.


regs3k: Lint paragraphs for italics and dashes.

QA testers identified some recurring format errors:

Improper boldface on references such as see and et seq.
Hyphens where em dashes should be.
Interp graph references that didn't match the content (GHE issue 209)
Some interp sections were not broken out in Reg X because of non-standard section naming.

This PR adjusts the importer and adds a paragraph linting routine to fix such cases.
New dependency
Neither unicode nor html entities work as-is for passing an em dash character
from regdown to our templates, and either would sprinkle code through our regdown.
To give editors a friendly way to handle em dashes, this PR adds a requirement for
a Markdown extension,  markdown-emdash. It translates a triple hyphen
--- a convention used in other flavors of Markdown and LaTex --- into an em dash.
This appears to play nice with Markdown tables (which also use multiple hyphens, to denote colums) and with our pseudoform underline extension.
It's still viable to enter a utf-8 '—' em dash character, but to use it an editor needs to know how to generate it or where to find a source to copy. The triple hyphen is more obvious and avoids using a non-ascii character.
Testing
You can check the linting by importing a fresh copy of Reg E:
If you have a copy of ECFR xml in develop-apps, this would import it:
./cfgov/manage.py runscript ecfr_importer --script-args 1005 develop-apps/ECFR-title12.xml

Then uncheck 'draft' status on the newly imported effective-version. You should be able to
check the following spots for linted formatting:
bold/italics
http://localhost:8000/policy-compliance/rulemaking/regulations/1005/2/#b-2
This spot shows both a bold 'see' and a bold 'et seq.'
Before linting:

After linting:

em dashes
http://localhost:8000/policy-compliance/rulemaking/regulations/1005/12/#c
This graph should show a hyphen that is fixed to be an em dash.
Before linting:

After linting:

Interp graph labels
The interp reference labels in http://localhost:8000/policy-compliance/rulemaking/regulations/1026/1/ should now match the graphs they refer to.
Reg X interp sections
If you import Reg X 1024 anew, you should find some more Interp sections (such as Interp-30).
They were previously delivered inside interp-17 and thus ignored.

I can't figure out how to post an approved review after leaving a comment review so I'll just leave this emoji instead: ✅


Exclude appears not working on 1.6.8

Hi, I just update to the latest version 1.6.8 and the exclude feature appears not working. Steps to reproduce

Open term scratchpad
Open  messenger scratchpad
I expect the term scratchpad is hidden by pypr, but it's not. Both scratchpad are showed at the same time.

My configurations:
[pyprland]
plugins = [
  "scratchpads",
]

[scratchpads.term]
command = "alacritty -t __scratchpad"
animation = ""
lazy = true
unfocus = ""
size = "50% 50%"
position = "25% 25%"
excludes = "*"

[scratchpads.messenger]
command = "caprine"
animation = ""
unfocus = ""
lazy = true
size = "50% 50%"
position = "25% 25%"
excludes = "*"

Thank you!

Released 1.6.9 fixing the regression, thank you for the report!


Exchange rate plugin

This PR exposes the currency exchange functionality to the plugin interface.
This will allow custom exchange interfaces to be implemented if desired. For now, there is a "builtin" plugin which uses the frankfurter.app API

Closes https://github.com/inventree/InvenTree/issues/5639
Closes https://github.com/inventree/InvenTree/issues/5634

Interesting approach.

Good interesting, or interesting interesting?

A fast way to implement it.
This way we can only support one backend at the time and we are not utilizing the built in options to handle multiple backends as we are shimming that part of the functionality away.

A fast way to implement it.
This way we can only support one backend at the time and we are not utilizing the built in options to handle multiple backends as we are shimming that part of the functionality away.

Happy to receive a PR to extend functionality :)


Point users to bip143::SighashComponents

An unaware user might try to use signature_hash for segwit signatures,
and not be aware of bip143.

Didn't @instagibbs just PR'd a change that deprecated SighashComponents in favor of a more generalized (and lazily calculated) SighashCache?
It was here: https://github.com/rust-bitcoin/rust-bitcoin/pull/390
So please change this to SighashCache.

Oh actually Steven's comment is still not addressed.

Closing due to lack of activity. Feel free to re-open.

Closing due to lack of activity. Feel free to re-open.


Update js-ipfs to use WebTransport

The new WebTransport protocol is supported in js-ipfs. Upgrading to this may improve content routing for js-ipfs. We can also add support for WebTransport to our own IPFS node

Current js-ipfs is being replaced by Helia soon https://github.com/ipfs/helia. Not worth integration effort to move to WebTransport now.


save rank 1 gameplay to cloud

I don't remember you making this, but replay system isn't happening XD


Ruby Capstone

Ruby Capstone Project Repo:
[Project Link] (https://github.com/ibugithub/List-my-catalog/projects/2)
Team members:
We have 2 members in our group project.
Team member 1:  Ibrahim
Team member 2:  Mariano
We have assigned all the tasks equally to all the team members.
As we have 2 members in the group so we deleted the tasks related to C.

Hi team,
Good job so far! I see you put a lot of effort into this project. However, there are some issues that you still need to work on to go to the next project but you are almost there!
Highlights

No linter errors
Descriptive PR

Required Changes ♻
Check the comments under the review.

[ ] I noticed a lot of tasks are without description. I understand sometimes the title describes all that there is to a task, however, following the project guidelines is important. In a case like this, you write the same description as the title without mentioning the points for it.

[ ] Kindly update the description for this task. The title and description contradict to the class which this task belongs. ⬇

[ ] The tasks for Team member 3 are to be divided between the 2 members if the team has only 2 members. However, you have not done so. Kindly divide the tasks for team member 3 between yourselves fairly. ⬇

Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

all done


Cherry-picked Handle spaces in arguments correctly

Test Plan: Start marathon via this script with spaces in arguments.
Reviewers: lukas, jeschkies
Reviewed By: lukas, jeschkies
Subscribers: jenkins, marathon-team
Differential Revision: https://phabricator.mesosphere.com/D324

Can one of the admins verify this patch?

Can one of the admins verify this patch?


fix: allow ignoring CA checks when working with Code API

Allow setting ignore CA checks flag to enable users who experience this issue.
It's the soft alternative to https://github.com/snyk/vscode-extension/pull/67 that provides option to fix extension behaviour temporarily.

We will hold off with this PR for now.


Question: have you considered adding Azure Event Hubs in addition to RabbitMQ?

I have a possible need for an AMQP client written in Go, where the source/target of messages is an Azure Event Hub.

Azure Event Hub uses AMQP 1.0, which — despite a similar name — is a completely different protocol.
So the answer is "no."


remove dupe segment include

Hello @justinwhall,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


add NOAA and WHOTS examples

Codecov Report

Merging #6 (3b38b0a) into master (25056fc) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master      #6   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files           3       3
  Lines         276     276
======================================
  Misses        276     276

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 25056fc...3b38b0a. Read the comment docs.


Channelable for kafka types

Fixes #

Proposed Changes

Following up on @aliok's PR comment, here: https://github.com/knative/eventing-contrib/pull/1356#discussion_r447527514

Release Note

Docs

/lgtm


Cannot get extension working on VSCode

Just getting this output in VSCode and I cannot get the extension working after following the documentation. Is there any additional configuration that needs to happen on Mathematica? Do I need to open a port in a notebook within Mathematica?
[Error - 11:03:51 PM] Connection to server is erroring. Shutting down server.
[Trace - 11:03:51 PM] Sending request 'shutdown - (1)'.
[Error - 11:03:51 PM] Connection to server is erroring. Shutting down server.
[Error - 11:03:51 PM] Connection to server is erroring. Shutting down server.
[Error - 11:03:51 PM] Connection to server is erroring. Shutting down server.
[Error - 11:03:51 PM] Connection to server is erroring. Shutting down server.
[INFO  2021-06-26T23:03:51] Server listening from port 6536...

I've followed the troubleshooting tip as well.
PacletInstall["ZeroMQLink" -> "1.1.22", ForceVersionInstall -> True]

Hi Max, I want to get more information from your issue. Could you try:

Checkout the latest develop branch if you were at master branch.
Follow the instruction in https://github.com/kenkangxgwe/lsp-wl/wiki#enable-logging to enable the log. Reproduce your problem and copy the log file after the server shuts down for 5 times.

here is the log file.

May I see your VSCode settings?
Could you run FindFile["ZeroMQLink"]` in your wolfram executable?

I just realized the settings has two tabs inside VSCode. I only edited the user page. Mathematica also isn't finding that file.
User:

Workspace:

Editing the "User" tab is good enough.
Sorry, it should be FindFile["ZeroMQLink`"]. Could you try again?

I'm away from that computer now. I won't be able to get back to you for another 10 hours.

Here is the output. I'm a member of the unofficial Wolfram discord server. The below link is an invite. It might be easier to do this live if you're interested.
https://discord.gg/gj6VKAK

It seems that the default ZeroMQLink is not set to 1.1.22. It's still using 1.2.1 as shown above. I am already in that discord server. I will ping you there.

Now latest Mathematica is 12.3.1, which FindFile["ZeroMQLink"]` gives me this:

I look into the folder and found it's version 1.2.0. Still I can't get language server working. Any working around?

But the problem I cannot load it, even I delete the version in user folder, mma would to use the built-in one.

Can you try the latest revision on the develop branch? I think it will automatically handle it for you.

Wolfram solved this upstream bug recently. Please manually upgrade the ZeroMQLink paclet
PacletInstall["ZeroMQLink"]

ref: https://github.com/kenkangxgwe/lsp-wl/wiki#working-with-mathematica-123130


feat(locales): Add italian translation

Description

Add italian translation strings.
Motivation and Context
How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] 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)

Checklist:

[x] My code follows the code style of this project (run $ yarn lint).

Hope it fit your needs.


[BUG] This site belongs to a Microsoft 365 group. To delete the site, you must delete the group

Reporting an Issue or Missing Feature
I'm trying to delete a site and all team sites, groups, inboxes etc. etc. associated with the site. These are the following commands I'm running in order. Everything works except for the second to last line when deleting a team site. It says there is a group associated with it but isn't that what the lines above are deleting? I verified that all the other deletes are working and the data is no longer there.  Am I missing some delete commands? Is there a more efficient way to do this?
$group = Get-PnPMicrosoft365Group | Where Mail -eq<EMAIL_ADDRESS>Remove-PnPMicrosoft365Group -Identity $group.Id
Remove-PnPDeletedMicrosoft365Group -Identity $group.Id
Remove-PnPTenantSite -Url "https://tenant.sharepoint.com/teams/XXX" -Force -SkipRecycleBin
Remove-PnPTenantSite -Url "https://tenant.sharepoint.com/sites/XXX" -Force -SkipRecycleBin

Remove-PnPTenantSite : This site belongs to a Microsoft 365 group. To delete the site, you must delete the group.
At test.ps1:53 char:1
+ Remove-PnPTenantSite -Url "https://tenant.sharepoint.com/teams/XXX ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Remove-PnPTenantSite], PSInvalidOperationException
    + FullyQualifiedErrorId : InvalidOperation,PnP.PowerShell.Commands.RemoveSite

I looked online and someone said if you go to this URL you can see the group ID associated with the teams site
https://tenant.sharepoint.com/teams/XXX/_api/web/allproperties
So I did that and found this in the result. It matches the ID that was deleted in my code that calls Remove-PnPMicrosoft365Group and Remove-PnPDeletedMicrosoft365Group. Is it possible the group delete hasn't been "registered" yet when I try to delete the teams site? I tried putting a 90 second delay between the group and teams site delete and I still got the error.
<d:GroupId>3cb9a8ac-45d1-4587-9d1f-178032f1588d</d:GroupId>
What is the version of the Cmdlet module you are running?
It says I have 1.12.0 and 1.11.0 installed
Which operating system/environment are you running PnP PowerShell on?

[X] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

@kbeeveer46 - You are trying to remove 2 different sites. Are they both connected to a group?
Remove-PnPTenantSite -Url "https://tenant.sharepoint.com/teams/XXX" -Force -SkipRecycleBin
Remove-PnPTenantSite -Url "https://tenant.sharepoint.com/sites/XXX" -Force -SkipRecycleBin

@veronicageek Yes, I'm trying to remove the team and communication sites. We're using SharePoint as a client portal and we create a communication site and office 365 group for each client. I'm not an expert, but I believe the teams site is created when the group is created. So, I'd like to delete the group, teams site, and communication site all with a single script. Every line that I pasted above seems to work fine and all the data is deleted except when trying to delete the teams site.
I tried to Google how to view the group that is attached to a team site so I could figure out what group to delete and that's when I came across the link above which shows you the group id (I think). The group id that it showed me was the same group that was deleted in the first few lines of my script (it logs which group id it's about to delete in my code). I went into the Office 365 admin page and verified the group was deleted and also deleted from the "deleted/recycle bin" page.
When my script finished, the group and the communication site was deleted and deleted from recycle bin but the team site was left remaining because of the error telling me I needed to delete the group it's associated with. It's possible I'm not using the write commands to delete the data I'm trying to delete.
Also, The "XXX"s in my script are just placeholders for the real values. It's not meant indicate all those lines were using the same value for XXX in case that caused some confusion.

@kbeeveer46 - I tried all your commands above and don't have any problem deleting all in that order. I'm using v1.12.6 (which is not even the latest).
Could you install the latest nightly release and if you've already deleted the M365 Group (which seemed to have worked for you) then just run the Remove-PnPTenantSite -Url "https://tenant.sharepoint.com/teams/XXX" -Force -SkipRecycleBin command on it's own.
Let us know the outcome.

@veronicageek I tried the nightly build but no luck. Btw, I was unable to use the nightly build in Windows PowerShell ISE. I got the following error but I was able to run it in the PowerShell 7 terminal (but still got my original error). If you don't see anything wrong with my commands then it must be something on my end and this ticket can probably be closed.
Get-PnPMicrosoft365Group : Only HTTP/1.0 and HTTP/1.1 version requests are currently supported.
Parameter name: value
At Test.ps1:9 char:13
+ $groupPTC = Get-PnPMicrosoft365Group | Where Mail -eq "ClientPortal$( ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Get-PnPMicrosoft365Group], PSInvalidOperationException
    + FullyQualifiedErrorId : InvalidOperation,PnP.PowerShell.Commands.Microsoft365Groups.GetMicrosoft365Group

@veronicageek I came across this Microsoft Community post from November of this last year. Someone appears to be having the same issue using the same commands I am using. https://techcommunity.microsoft.com/t5/sharepoint/delete-team-site-permanently-via-powershell/m-p/3684228

Hi @kbeeveer46, as I can't reproduce the issue maybe something happened on the tenant backend while executing those commands. I would suggest you open a support ticket with Microsoft if possible because unfortunately we won't be able to do anything.

@kbeeveer46 , in my case the solution was to just wait 3-5 minutes. Although the team/group was nowhere to be found through the UI, Azure was probably still be working on this in the background. Not great experience, but not PnPP fault I think.

@Srutututu You are correct. I could have sworn I waited several minutes in my tests but apparently not. When I waiting 5 minutes it worked.


packages using autoform crash on unique constraint

I use yogiben:admin.
Validation works fine, however:
When I add a unique constraint to my SimpleSchema the validation crashes on breaking this validation rule.

Will need to see a reproduction app.

Will reopen if reproduction is added. I've never seen this issue.