ctrl c ctrl v error

Explain the bug
when i use this plugin,i find that i can not use 'Ctrl + C' and 'Ctrl + V' to copy my files from one place to another,besides using right-click terminal to copy files doesn't work
Logfile
debug.txt
debug_fulltrust.txt
System Information

OS Version:
版本	Windows 10 专业版
版本号	20H2
安装日期	2/6/2021
操作系统内部版本	19042.867
体验	Windows Feature Experience Pack 120.2212.551.0
App version: <IP_ADDRESS>

@d2dyno1 Can you check this out?

@d2dyno1 Can you check this out?

@d2dyno1 Can you check this out?

i have reinstalled your product minutes ago but now it still doesn't work
i have searched similar issues just a moment ago,and i found that a lot of people have the same problem like mine(the issues are still opened),so i think maybe it's a common bug.
Perhaps this bug happens from time to time , my roommate use  your product too , but he can cut and paste without error.
If i found something other later, i will report to your team,thank for your patient.

Sorry, but I wasn't able to reproduce the issue. Are you still experiencing it? Are these normal fixed drives you're copying from/to? What kind of items are you copying?

@mengxun1437 is this still an issue in Files v2.0?


Add property scope in UI

See #2197 and #2117
Allow user to choose a source document for scoping properties, which retrieves the properties within associated document scope. It would a dropdown box showing a list of Document name, and fill Document ID into PropertyField. The scope should be optional. Also, the special scope camelExchangeProperty should be the one of available scope.

@igarashitm - so on the Create Property dialog, users would be able to choose the source document to which it applies.  By optional then it would not have a default value.  WHen they click on it they see all loaded source panel documents + camelExchangeProperty - is that correct?

Right, and whether to show "Current Message Header" explicitly or just have a blank item would be a UXD matter. Either way scope could be omitted. Or it's even fine to populate current explicitly.
https://github.com/atlasmap/atlasmap/blob/master/camel3/src/main/java/org/apache/camel/component/atlasmap/CamelAtlasPropertyStrategy.java#L38

@igarashitm - What would be a good hover-help for this?  Also - what's a good label?  Something simple like:
Scope: _____________________________
or
Camel Header Scope: ___________________________________
hover: 'Define the source document or exchange property for Camel Atlasmap headers associated with this property.  ?????

I would avoid a word "Camel" for the general description like hover, since AtlasMap runtime in general is not limited to Camel. Eventually a list of scope might have to be configurable, but it's for future.
I would think something like "Choose property scope" is sufficient, or it would have to explain longer like "If it runs with Camel, blabla...". I think it's OK to leave it to User Guide.

Hey @igarashitm
I've got the UI code working but have an issue/ question on the generated JSON for the property scope.   The class io.atlasmap.v2.Property defines three fields -  value, name, fieldType.   The class io.atlasmap.v2.PropertyField defines a lot more - including scope.   This property UI dialog:

Generates the following fragment:
"properties":{"property":[{"name":"paul","value":"rat","fieldType":"STRING"}]}
When I add property paul to the mapping I get the following fragment:

Since scope is an attribute of property more than the property field of the mapping, I suggest
adding the field 'scope' to io.atlasmap.v2.Property.  Then I can establish the proper elements when
the property dialog is opened on an existing ADM.  I can't use docId for the scope value since it's needed
to place the property field in the property doc within the UI.
ref: error when attempting to send scope as a property attr:
Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "scope" (class io.atlasmap.v2.Property), not marked as ignorable (3 known properties: "value", "name", "fieldType"])  at [Source: (String)"{"AtlasMapping":{"jsonType":"io.atlasmap.v2.AtlasMapping","dataSource":[{"jsonType":"io.atlasmap.json.v2.JsonDataSource","id":"JSONSchemaSource","name":"JSONSchemaSource","description":"JSONSchemaSource","uri":"atlas:json:JSONSchemaSource","dataSourceType":"SOURCE"},{"jsonType":"io.atlasmap.json.v2.JsonDataSource","id":"JSONInstanceSource","name":"JSONInstanceSource","description":"JSONInstanceSource","uri":"atlas:json:JSONInstanceSource","dataSourceType":"TARGET","template":null}],"mappings":{""[truncated 910 chars]; line: 1, column: 1384] (through reference chain: io.atlasmap.v2.AtlasMapping["properties"]->io.atlasmap.v2.Properties["property"]->java.util.ArrayList[0]->io.atlasmap.v2.Property["scope"]) 	at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:61) ~[jackson-databind-2.10.1.jar:2.10.1]


Traitor drama

About the PR

Adds 3 new traitor objectives:

Kill another traitor, permanently (marooning doesn't count)
Kill target, permanently (marooning doesn't count)

To obscure the first objective

Protect another traitor's target

Why / Balance

No in-game tot on tot action outside of random chance
Technical details

Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl: Misandry
add: Traitors are now more likely to have conflicting objectives

Not removing unique off steal objectives yet because I am incredibly lazy to make an objective pinpointer

i think it would be nice if you added the ability for other syndies to unlock/take the TC from other syndies uplinks.

i think it would be nice if you added the ability for other syndies to unlock/take the TC from other syndies uplinks.

Traitor DM would be prioritised then


WMS ID 5241: Corrected the copy tag

Add here your WMS ID
General requirements

Information in the workshop is adequate and updated
Code is correct and working
Links are correct
Make sure you enter the help email link in your manifest.json
Please make sure WMS URLs are updated as needed after your PR is approved

Checklist - Refer to the QA document for the complete list
Please confirm that the following is completed before submitting your PR

[ ] All filenames are lower case (including folders, images, files, etc.)
[ ] Filenames are descriptive
[ ] Your workshop folder structure should be similar to the one used in the sample workshop (https://github.com/oracle-livelabs/common/tree/main/sample-livelabs-templates/sample-workshop)
[ ] Are you using multiple versions (desktop/, sandbox/, tenancy/)? Make sure that each of them contains a manifest.json and an index.html
[ ] Image references in markdown contain an alternate text

This branch has conflicts that must be resolved
sharding/shard-db-deployment/shard-db-deployment.md


Angular could not be found on the page (Edge and Safari 10)

Bug report

Node Version: 7.10.0

Protractor Version: 5.1.2

Angular Version: 1.5.8

Browser(s): Microsoft Edge (40.15<IP_ADDRESS>), Safari 10 (10.1.1(12603.2.4))

Operating System and Version Windows 10, macOS Sierra (10.12.5)

Your protractor configuration file
"exports.config = {
allScriptsTimeout: 120000,
getPageTimeout: 10000,
seleniumAddress: 'http://SELENIUM-HOST:4444/wd/hub',
specs: [
"specs/other/somesuite.js",
],
multiCapabilities: [
{ browserName: 'MicrosoftEdge' },
// {browserName: 'safari'}
],
maxSessions: 1,
framework: 'jasmine2',
jasmineNodeOpts: {
defaultTimeoutInterval: 90000
},
};"

A relevant example test
"any test"

Output from running the test

Test suits
Message:
Failed: Angular could not be found on the page https:///.If this is not an Angular application, you may need to turn off waiting for Angular.
Please see
https://github.com/angular/protractor/blob/master/docs/timeouts.md#waiting-for-angular-on-page-load
Stack:
Error: Angular could not be found on the page https:///.If this is not an Angular application, you may need to turn off waiting for Angular.
Please see
https://github.com/angular/protractor/blob/master/docs/timeouts.md#waiting-for-angular-on-page-load
at executeAsyncScript_.then (C:\Users<user>\AppData\Roaming\npm\node_modules\protractor\lib\browser.ts:936:29)
at ManagedPromise.invokeCallback_ (C:\Users<user>\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\promise.js:1366:14)
at TaskQueue.execute_ (C:\Users<user>\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\promise.js:2970:14)
at TaskQueue.executeNext_ (C:\Users<user>\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\promise.js:2953:27)
at asyncRun (C:\Users<user>\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\promise.js:2813:27)
at C:\Users<user>\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\promise.js:676:7
at process._tickCallback (internal/process/next_tick.js:109:7)
From: Task: Run beforeAll in control flow
at Object. (C:\Users<user>\AppData\Roaming\npm\node_modules\protractor\node_modules\jasminewd2\index.js:94:19)
From asynchronous test:
Error
at Suite.describe (C:\SELENIUM-TESTS\specs\smoke\someTest.js:10:5)
at Object. (C:\SELENIUM-TESTS\specs\smoke\someTest.js:9:1)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
Pending:

Test 2
Temporarily disabled with xit

2 specs, 1 failure, 1 pending spec
Finished in 16.088 seconds

Steps to reproduce the bug
I'm trying to run protractor 5.1.2 against MicrosoftEdge, and it fails with the message: Angular could not be found on the page https:///.If this is not an Angular application, you may need to turn off waiting for Angular. If i turn off waitForAngularEnabled (set it false) it starts to work, and i have the same situation against Safari 10. But the same tests work fine against latest versions of Chrome, Fierfox and IE. AngularJS v1.5.8

@Niyarlatotep any updates on this since May? Same experience in Safari 11.0.1 on Mac OS X Sierra.

Any update? I am running into this now.

Did anyone found a solution here?

set browser.waitForAngularEnabled(false); in test

Thank you @sdoroshenko-CLGX but this is actually not a solution for testing angular applications.


How to prevent an Excel file from being accidentally overwritten when using Export-Excel?

Hello,
From my point of view, it is a good practice that functions that create files (or any other object) do not overwrite them by default if they already exist.
I consider it reasonable that the -Force parameter should be used to produce the overwrite.
If for some reason you want to opt for default overwrite, I think it is good to have a configuration parameter (for example something like $ExportExcelOverwrite) that can be properly configured to generate that behavior for those who feel as I do in this regard.
I have searched the issues and found that at one time there was the -Force parameter and at another time the -NoClobber parameter.
However, from what I saw, currently both parameters are not available.
I have yet to find an explanation as to why they were discarded.
That said, is there a way to prevent Export-Excel from overwriting existing Excel files?
In case there isn't, would it be possible for you to add some alternative so that it can be achieved?
Best regards,
Claudio Salvio
P.D.: 🙏Thanks to all (obviously especially to @dfinke) who invested time and effort in this module and for sharing it with the community.

Thanks @claudio-salvio. Don't remember why those switches were deprecated.
As for preventing the overwriting. It is left to the scripter to handle that.
Following the behavior of Export-Csv, this will overwrite test.csv each time it is run.
Get-Process | Select-Object Company,name | Export-Csv test.csv

@dfinke
Thanks for your prompt reply.
As I commented in my first post, in general terms, I consider that inadvertent overwrites should not occur.
In my opinion overwriting should always be explicit but I know that not everyone shares this point of view.
I am sorry that Export-Excel does not have an option to handle this, but being aware I will take the appropriate precautions.
Because of the above, I would like no Export-* function overwrite.
I honestly don't know if there is any official position (or any good community practice) in PowerShell about how functions that can overwrite such as Export-, Move-, New-*, etc. should behave in this regard.
I asked the question because I wanted to make sure there wasn't some mechanism to work more safely and I wasn't seeing it.
Anyway, thanks again for getting back to me.
Regards,
Claudio


New to SurrealDB.  Should connect with default port 8000

Describe the bug
Only put <IP_ADDRESS> in the endpoint.
To Reproduce
Steps to reproduce the behavior:
Open Surrealist, create a new connection and put <IP_ADDRESS> in the endpoint url.
Expected behavior
Either output in the console that no port has been supplied or default to 8000 if hasn't been supplied.
Environment (you can view the current version under Settings):

Mac OS
Surrealist Version [e.g. 1.2.0]: 1.11.1
SurrealDB Version [execute "surreal version"]: 1.0

I like the idea of automatically inferring port 8000, I'll consider implementing this into the next release

After further consideration I have decided not to implement this behaviour as we cannot guarantee a database always runs on port 8000. For example, when running SurrealDB behind a reverse proxy it may be accessible using other ports instead.
I will continue to improve the connection management in Surrealist and make sure the connection management process is made clear.
Note that unlike the port, omitting the /rpc path is supported.


(maint) Restrict enabled product/dependency repos

In more recently added platforms, we are no longer providing product or
dependency repos on yum.puppetlabs.com. For any platforms that have
references to these repos where they do not exist, yum will fail when it
cannot access the repo data.

👍


the components do not re-render when the props 'value' changed .

Here is how I use :
The console log of defaultValue is right, but when it changes , the component does not re-render.
the textarea stay the last value.

render() {
    const { defaultValue } = this.props
    console.log("defaultValue")
    console.log(defaultValue)
    return (
      <ReactSummernote
        value={defaultValue}
        options={{
          lang: 'zh-CN',
          height: 150,
          dialogsInBody: true,
          toolbar: [
            ['style', ['style']],
            ['font', ['bold', 'underline', 'clear']],
            ['fontname', ['fontname']],
            ['para', ['ul', 'ol', 'paragraph']],
            ['table', ['table']],
            ['insert', ['link', 'picture']],
            ['view', ['fullscreen', 'codeview']]
          ]
        }}
        onChange={this.onChange}
      />
    )
  }

it happens bacause one clever man did that
shouldComponentUpdate() {
    return false;
  }

remove that and be happy

Hi @westpsk, the value is controlled inside the jQuery Summernote plugin, thus if the component will be re-rendered, the plugin may unbind.
So in order to avoid this, as @alameya mentioned, the shouldComponentUpdate method returns false, so the component will not be re-rendered and the plugin would not unbind. Otherwise the jQuery plugin should be initialized again with the new value in componentDidUpdate on every re-render, which is not that efficient.
TL DR: The solution to your problem is this:
There is an onChange prop, through this callback you receive every new Summernote's value, which you store then. So the component should not be re-rendered and the value you have is always up-to-date.
If you want to have all the control over the value and the defaultValue prop in this component, you are always welcome to send PR.

@westpsk, ok. look to the next case:
I have SPA with your plugin for creating a new records.
After submit of course if will get value but i need re-render component with empty value.
if plugin doesn't work properly it is poor than if will it work slowly

@alameya, thank you for such an attention to this library, but If you'll read the the docs again and just a bit more carefully, you would notice the title:
Static methods
and then the first method, you'll probably see there, might be
reset() // Clear contents and remove all stored history

which solves the case you've described above. Hope this helps.
Best regards!

Thank you, @alxrm for clarification
@alameya, as I mentioned earlier, if you want some more functionality like defaultValue or full control over the value, you are always free to send PR's here.
Otherwise, you have to be patient and wait for me to implement those features.

@alameya @alameya  Thanks for your patience.  @alameya I tried the two method you said, remove  shouldComponentUpdate() { return false; } and re-build it . or add shouldComponentUpdate={() => {}} in the component.
But It seems does not work on me, the component does not re-render ...

import React, { Component } from 'react'
import ReactSummernote from 'react-summernote'
import 'react-summernote/dist/react-summernote.css' // import styles
import 'react-summernote/lang/summernote-zh-CN' // you can import any other locale

// Import bootstrap(v3 or v4) dependencies
import 'bootstrap/js/modal'
import 'bootstrap/js/dropdown'
import 'bootstrap/js/tooltip'
import '../../style/bootstrap.css'
class RichTextEditor extends Component {

  constructor(props, context) {
    super(props, context)
    this.state = {
      richText: null
    }
  }

  onChange = (content) => {
    this.setState({
      richText: content
    })
    this.props.callbackParent(content)
  }

  render() {
    const { defaultValue } = this.props
    console.log("defaultValue")
    console.log(defaultValue)
    return (
      <ReactSummernote
        value={defaultValue}
        options={{
          lang: 'zh-CN',
          height: 150,
          dialogsInBody: true,
          toolbar: [
            ['style', ['style']],
            ['font', ['bold', 'underline', 'clear']],
            ['fontname', ['fontname']],
            ['para', ['ul', 'ol', 'paragraph']],
            ['table', ['table']],
            ['insert', ['link', 'picture']],
            ['view', ['fullscreen', 'codeview']]
          ]
        }}
        onChange={this.onChange}
        shouldComponentUpdate={() => {}}
      />
    );
  }
}

export default RichTextEditor

@alxrm @Vnkitaev
Can you provide and example of how to use reset() from the parent component? I can get my hands on ReactSummernote using a ref as show below,  but reset() is not available.
<ReactSummernote options={_editorProps} onChange={ this.handleChange.bind(this) } value={ input.value } ref={(summernote) => {this.summernote = summernote}} />

react-summernote 2.0.0 support controlled value and uncontrolled defaultValue.

A simple solution is to add onInit callback in component
<ReactSummernote         options={{           height: 350,           dialogsInBody: true,           toolbar: [             ["style", ["style"]],             ["font", ["bold", "italic", "underline", "clear"]],             ["fontname", ["fontname", "fontsize", "fontsizeunit", "color"]],             ["para", ["ul", "ol", "paragraph", "height"]],             ["table", ["table"]],             ["insert", ["link"]],             ["view", ["codeview"]],             ["hr"],           ],         }}         **onInit={() => {           const editArea = document.querySelector(".note-editable");           editArea.innerHTML = templateHtml;         }}**         onChange={(value) => {           draftCreateTemplateFieldChange("templateHtml", value);         }}       />

A simple solution is to add onInit callback in component and set the html value of the text node.
`
<ReactSummernote
options={{
height: 350,
dialogsInBody: true,
toolbar: [
["style", ["style"]],
["font", ["bold", "italic", "underline", "clear"]],
["fontname", ["fontname", "fontsize", "fontsizeunit", "color"]],
["para", ["ul", "ol", "paragraph", "height"]],
["table", ["table"]],
["insert", ["link"]],
["view", ["codeview"]],
["hr"],
],
}}
onInit={() => {
const editArea = document.querySelector(".note-editable");
editArea.innerHTML = templateHtml;
}}
onChange={(value) => {
draftCreateTemplateFieldChange("templateHtml", value);
}}
/>
`

A simple solution is to add onInit callback in component and set the html value of the text node.
        <ReactSummernote           onInit={() => {           const editArea = document.querySelector(".note-editable");           editArea.innerHTML = {your value};         }}      .....       >


Per node specification or automatic expansion of podCIDRs

Proposal / RFE
Is your feature request related to a problem?
For some Kubernetes nodes I would like to be able to run a larger amount of pods. For instance, I would like to deploy a node pool that handles a specific workload where perhaps 500 pods will run on each node. Cilium is configured to handle IPAM via its default cluster scope (cluster-pool) method handing out a /24 by default. I don't want to waste IP space by handing out a larger CIDR by default to all nodes.
Cilium IPAM reference: https://docs.cilium.io/en/v1.10.0-rc1/gettingstarted/ipam-cluster-pool/#enable-cluster-pool-ipam-mode
GKE reference: https://cloud.google.com/kubernetes-engine/docs/how-to/flexible-pod-cidr#setting_the_maximum_number_of_pods_in_a_new_node_pool_for_an_existing_cluster
Describe the solution you'd like
I can think of three solutions:

Auto-add CIDRs based off the default mask size when the current node has exhausted its supply; don't worry about releasing over-provisioned CIDRs
Read and compute the node's required CIDR based off the kubelet's status.capacity.pods value
Ability to specify, via annotation or some other method, a new node's CIDR mask (I.E. per node ipam.operator.clusterPoolIPv4MaskSize=<IPv4MaskSize>)

I am really interested in this feature as well.

I somehow missed this ticket, but yes, that's correct Dynamic Cluster Pool sounds very similar to option 1. In addition, we're also considering adding option 3 in addition (in case one knows that a node will run many pods), but no concrete implementation on that yes.

Option 1 has been implemented as part of #18887 and will be shipped with the v1.12 release as a beta feature. Please feel free to try it out and provide feedback.


Implement source location tracking in MAST

In #885 we implemented the ability to track source location info for AST nodes. The next step is to extend this functionality to MAST nodes - though, the approach here would probably need to be quite a bit different.
In terms of changes to the public interface, I'm thinking we should add another method on the Assembler which could look something like this:
pub fn compile_debug<S>(&self, source: S) -> Result<(Program, DebugInfoTable), AssemblyError>
where
    S: AsRef<str>

The Program struct produced by this method would be identical to the Program struct produced by regular compile() method, but in addition to this program, we'd get a DebugInfoTable back. This table would contain information on how we can map each MAST operation to a source location of the input file.
Debug info table could look like so:
pub struct DebugInfoTable {
    // Fully-qualified paths of all modules imported during program compilation.
    pub modules: Vec<LibraryPath>,
    // A map from a unique identifier of a block in the MAST to a struct contain all
    // source location information for this block.
    pub locations: BTreeMap<BlockId, BlockLocations>,
}

pub struct BlockLocations {
    // An index into the `modules` vector  of `DebugInfoTable`.
    pub module_id: u32,
    // A vector of locations (i.e., row-column pairs) for operations in this code block.
    // Meaning of these locations would be different depending on the type of the block
    // being executed. For example, for SPAN blocks, every operation would correspond
    // to a location.
    pub op_locations: Vec<SourceLocation>,
}

One of the main questions is how do we compute BlockId. I'm thinking we could base it on the combination of the root of the MAST tree as well as the path to the code block within the tree. But more exact definition of this is needed.

@bobbinth For inlined procedures, should the source location for all the operations in a procedure just map to the callsite instruction (i.e. exec) or should it also map to the corresponding assembly instructions in the procedure definition? If we want to include such a map, we would need to add the module path to op_locations as well but I'm not sure if such a mapping is necessary.

One other question is if instead of a separate compile_debug method we should change the signature of the compile method to  Result<(Program, Option<DebugInfoTable>), AssemblyError> and return debug info if the assembler is in debug mode.

Closing as a big part of this was implemented in #1419.

I believe this can be closed @bobbinth - we have all of the necessary primitives for source-level debug info, with only a couple of minor questions outstanding, off the top of my head:

Whether the MAST should contain the original sources when compiled with debug info enabled
Whether we should support a split debug info format, so that you can publish the MAST without debug info, but ship the debug info metadata separately so that it is still possible to debug the code during execution
Whether we should support stripping debug info from compiled MAST
We don't assign source spans to if or while instructions, but those are very primitive forms of the original source code anyway, so in practice all of the "interesting" bits of the conditional being applied will have source spans, and only the jump itself will not, however I guess it is an open question as to whether (and how) to support that if desired, primarily for Miden Assembly sources, and a smoother debugging experience.

Lastly, the way we are encoding debug info in the compiled MAST is "fat", we could vastly reduce the cost of including debug info with a better encoding. For example, the following process could be used:

Is there no source location for this source span? If so, store u8::MAX as a sentinel value, and proceed to the next instruction.
Is there a previous instruction with a source location? If so, see below, otherwise proceed to 2.
a. Is the location of the previous instruction in the same source file? If so, see below, otherwise proceed to 2.
b. Is the location of the previous instruction identical to the current instruction? If so, store a single byte, 0b10000000, whose most significant bit is set. This signals that this instruction has the same location as the previous instruction. Proceed to the next instruction.
c. The location is in the same source file, so the first byte will be 0b11FXXXXX, where F is 1 if the offset delta can fit in the remaining bits, in which case the span length is decoded starting at the next byte; or 0 if the remaining bits should be ignored, and the offset delta and span length start at the next byte.
Write the source file index, byte offset, and length of span as three variable-length integers. Proceed to the next instruction.

That's the gist anyway, obviously the specific details depend on the precise variable-length encoding, and maybe we can come up with an even cleverer compact encoding, but I think the idea is to make it extremely compact, so that shipping debug info is viable.


Added a notice that only registered users can get a certificate

@dodlin Sorry for the code snatch, but there was something very small I wanted to change and then noticed another small thing.
I fixed them but I'll write it down here for future notice:

Don't use hardcoded URLs in templates, use the {% url %} tag

s are more for content blocks, I put the text in a  instead ( is also acceptable depending on the use case)

@dodlin Sorry for the code snatch, but there was something very small I wanted to change and then noticed another small thing.
I fixed them but I'll write it down here for future notice:

Don't use hardcoded URLs in templates, use the {% url %} tag
s are more for content blocks, I put the text in a  instead ( is also acceptable depending on the use case)

Because I made these two changes myself instead of giving comments about them, if you disagree with the changes I made say so and I'll restore the branch.
If it looks okay, you can close the original issue.

No problem :)
I tried to add the url with the template but it didn't work so I hard-coded it..

@dodlin Okay, cool, you can check out what I did if you want. I'm closing the original issue :)


Docker image should be FROM alpine to reduce attack surface / minimize OS updates

Right now Dockerfile is FROM ubuntu:16.04 this is fairly large image (size to pull) and attack surface because of many packages.
https://github.com/EOSIO/eos/blob/dacc1b09d2c10cc3ca4cea7821c04ea2a47487fe/Docker/Dockerfile#L11
alpine as a base image has a much smaller attack surface and thus reduces the need for BP to frequently rebuild / restart their nodes for simple OS updates. not to mention that it's much leaner and speeds up start time from a fresh pull.

Thank you for your suggestion.
Note: BPs are not running the eosio code in docker images


Recognise a PKCS11 hardware token with its serial number instead of slot number

Signed-off-by: mohoma01<EMAIL_ADDRESS>

Thanks for the Review @ionut-arm!
Regarding which PR should go first, I am happy either way, as I believe the conflicts will be minor.
I think the ready one should go first 😄!


Changes to viral term 'GO:0039723 suppression by virus of host TBK1 activity'

KW-1223 defines this keyword as  'Viral protein involved in the evasion of host innate defenses by inhibiting the TBK1 kinase. Upon viral infection, Toll-like receptors (TLRs) or DNA recognition receptors recognize foreign material and transmit the signal to TBK1 that in turn phosphorylates and activates IRF3 and IRF7. Once phosphorylated, IRF3 and/or IRF7 translocate into the nucleus to drive transcription of interferons. Several viruses including herpes simplex virus 1 or vaccinia virus interact directly with and inhibit TBK1 to prevent IRFs activation.'  (https://www.uniprot.org/keywords/KW-1223)
Should we keep this term and move it, or merge it into 'suppression by virus of host toll-like receptor signaling pathway',
AND annotate the proteins annotated to the KW to MF 'protein serine/threonine kinase inhibitor activity' ?
If we keep the term, there are two possible parents for this term:

'evasion of host immune response', defined as 'A process by which an organism avoids the effects of the host organism's immune response.

'suppression by virus of host toll-like receptor signaling pathway', which is not 'evasion' but 'suppression'

[ ] remove comment that refers to obsolete term: "Comment: When TBK1 acts as part of a TBK1-IKBKE-DDX3 complex, consider also annotating to: suppression by virus of host TBK1-IKBKE-DDX3 complex activity ; GO:0039659."

@pmasson55 what do you think is the best solution ?
Thanks, Pascale

Hi Pascale,
I would vote for keeping the term. Because merging it into 'suppression by virus of host toll-like receptor signaling pathway' is not very correct since it belongs to others pathways in addition to the TLR ( for example the pattern receptors such as RIG and MDA5 also promotes TBK1 kinase activity...).
I guess 'evasion of host immune response' is good for parent.
For the comment it's better to remove it indeed...
Hope this helps
Patrick.

@pmasson55
Inhibition of host TBK1 by virus (KW-1223)  is_a Inhibition of host TLR pathway by virus (KW-1225)  - does the VZ KW hierarchy need to be changed, if TBK1 inhibition doesn't always go through TLR?

[Term]
id: GO:0039723
-name: suppression by virus of host TBK1 activity
+name: suppression by virus of host viral-induced cytoplasmic pattern recognition receptor signaling pathway via inhibition of TBK1 activity
-def: "Any process in which a virus stops, prevents, or reduces the activity of the host serine/threonine kinase TBK1."
+def: "Any process in which a virus stops, prevents, or reduces host viral-induced cytoplasmic pattern recognition receptor signaling by reducing the activity of the host serine/threonine kinase TBK1." [PMID:22171259, PMID:34084167]


testDatabaseConnectionDialog fails when no connection defined yet

The current testDatabaseConnectionDialog tests if the following user operations go without an error:

Open a DB connection by clicking "New" button.
Close the dialog.
Open another dialog again by clicking "Edit" button.
Close the dialog.

When no connection defined yet, this test fails because a dialog cannot be opened in the step 3.

Resolved by e817b8ebf2a686a53157457c022f705246e46097.


Unable to connect to a Codespace in VS Code Insiders

Issue Type: Bug

Create a Codespace either via the Codespaces extension or https://github.com/codespaces
Attempt to connect to the Codespace from VS Code Insiders
Observe that VS Code will be stuck on "Opening remote..."

VS Code version: Code - Insiders 1.60.0-insider (44568e5947efa4811419e529e80fb14b7554cf61, 2021-08-23T10:42:53.526Z)
OS version: Darwin x64 19.6.0
Restricted Mode: No

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30291494
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256198
pythonvspyt639:30291487
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
pythonvsuse255:30319630
vscod805:30301674
pythonvspyt200:30323110
vsccppwt:30312692
pythonvssor306:30340298
bridge0708:30335490
pygetstartedt2:30353727
dockerwalkthru:30348713
bridge0723:30353136
pythonrunftest32cf:30353182
pythonf5test824cf:30353184
javagetstartedt:30350119
pythonvspyt187:30356034

It looks like something changed with auth in the recent Insiders build where the GitHub Codespaces extension is not able to get the auth token from the GitHub Authentication extension which is built in to VS Code. await vscode.authentication.getSession(...) is hanging and not returning even when the client is already signed in.

Confirming I'm also seeing this with the same version

I am facing the same issue in insiders

I think this might have been caused by enabling the web worker extension host in https://github.com/microsoft/vscode/pull/131181 cc @alexdima
I believe as a workaround you can set this setting: "extensions.webWorker": false
it works for me. Can you all give it a try?

Also, @jkeech can you share what the extension kind is for the GitHub Codespaces extension?

This is what the package.json for GitHub Codespaces contains:
"extensionKind": [
    "ui",
    "workspace",
    "web"
],

also adding @sandy081 just in case.

I believe as a workaround you can set this setting: "extensions.webWorker": false
it works for me. Can you all give it a try?

Works for me.

I'm sorry about this. We ended up with a deadlock. The problem was the following:

the codespace extension uses vscode.authentication.getSession(...) to do resolving
to implement that API call, the auth service sends out an activation event onAuthenticationRequest:github
the activation event is sent out to all extension hosts and the promises are joined
the nodejs ui extension host processes the activation event quickly and activates the built-in github auth extension
but the web worker extension host (now being configured for auto start which means it will start if it needs to host any extension) will block the activation event, waiting for start to be called to know if it needs to start or not
start will never be called because the resolver doesn't finish

That creates a deadlock.

Thank you for this @alexdima!

/verified


feat(saved queries): security perm simplification

SUMMARY
First PR for security permission simplification. Scope SavedQuery for API and MVC FAB classes
Existing permissions:
can_list,SavedQueryView
can_show,SavedQueryView
can_edit,SavedQueryView
can_delete,SavedQueryView
can_add,SavedQueryView
muldelete,SavedQueryView
can_show,SavedQueryViewApi
can_edit,SavedQueryViewApi
can_list,SavedQueryViewApi
can_add,SavedQueryViewApi
muldelete,SavedQueryViewApi
can_mulexport,SavedQueryView
Future permissions:
can_read, SavedQuery
can_write, SavedQuery
#TODO: Frontend and db migration
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #11764 (5a5bf7b) into master (c79dc47) will decrease coverage by 3.40%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #11764      +/-   ##
==========================================
- Coverage   66.24%   62.83%   -3.41%
==========================================
  Files         897      454     -443
  Lines       43463    16189   -27274
  Branches     4186     4188       +2
==========================================
- Hits        28790    10173   -18617
+ Misses      14557     5836    -8721
- Partials      116      180      +64

Flag
Coverage Δ

cypress
?

javascript
62.83% <ø> (+0.01%)
:arrow_up:

python
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@dpgaspar I gather that other than one test file, there were no front-end changes required to support this?


How to change a Item value of a state.

for example, I have a list state like this:
this.state = {
    list:[1,2,3,4,5]
}

How can I change the value of the first item of list from 1 to 0?
I usually use like this but I don't believe that is the best way.
var temp = this.state.list;
temp[0] = 0;
this.setState({ list : temp});

Please who can tell me is there any better way to do this ?

You could use the immutability-helper, that would look something like this:
You have the following state, and want to change the first item in the list array.
this.state = {
  list: [1, 2, 3, 4, 5],
};

Using the update function, you can do the following:
import update from 'immutability-helper';

this.setState({
  list: update(this.state.list, {
    indexYouEdit: {
      $splice: [[indexYouEdit, amountOfRemoval, newValue, ...optionalNewValues]]
    },
  }),
});

Hope that helps you out!

@HofmannZ ,Thanks for your help.But when I import update from 'immutability-helper' to my page, there is a error said that -
Unable to resolve module 'immutability-helper' rom [MY_DIRECTORY];Modules does not exist in the module map or in theres directories ....
do you have any idea about this ?
PS: React Native 0.43 + Android ;

@HofmannZ ,I simply consider that was intergered into react-native already. :-) . And can you tell me is there any other way without importing a third-party lib to achieve this ? Will be grateful  to solve my confusion.Thanks again!


Add Gaz2 requested query

Just wondering why we go to the trouble or transforming what we get back from the query rather than just returning the data moel itself.

Just to understand this more clearly, I was wondering why we go to the trouble or transforming what we get back from the query rather than just returning the data model itself.

Over time the query/result from the query (entity class) could change depending on requirements.
By splitting into an entity class and a dto class. The query and entity class can be changed, but leaving the dto class the same, meaning that any services built against the existing dto will not suddenly stop working.


[feature] ability receive reactions in WEBJS session

Hello,
We are looking for ability to send a reactions via api.
Also webhook option to receive the reaction when someone reacts on whatsapp.
We are looking for this options on WEBJS session.

Hi! Doesn't it work? PUT /api/reaction works on both WEBJS and NOWEB (at least it should)
https://waha.devlike.pro/docs/how-to/send-messages/#add-a-reaction-imagesversionscorepng
As I remember, you get new message event when you get a reaction on your message, but it's not certain.
Have you tested it with reactions?

Yes. I have tested. We are not receiving webhook for WEBJS version.
I have tested with NOWEB and there we get webhook.
Receiving reaction is important feature that we are looking for.

I see, so the problem is only in receiving reactions, not in sending them, right?
Just wanna understand the scope of the issue better

Hello @allburov
I have tested all 4 scenarios and here is update.

WEBJS - sending reactions is working
NOWEB - sending reactions is working
NOWEB - receiving reactions is working
4. WEBJS - receiving reactions is not working - we are not receiving webhook for this case.

Thank you, appreciate the details!🙏

Hello @allburov approximately when this feature will be released?

Hi! Looking at how we can combine events from all engines to make some unique message.reaction event.
No estimation here yet

Hah, it's working now, idk when we added it
https://waha.devlike.pro/docs/how-to/webhooks/#messagereaction
{
  "event": "message.reaction",
  "session": "default",
  "me": {
    "id"<EMAIL_ADDRESS>    "pushName": "Sim2"
  },
  "payload": {
    "id"<EMAIL_ADDRESS>    "from"<EMAIL_ADDRESS>    "fromMe": false,
    "participant"<EMAIL_ADDRESS>    "to"<EMAIL_ADDRESS>    "timestamp":<PHONE_NUMBER>.061,
    "reaction": {
      "text": "❤",
      "messageId"<EMAIL_ADDRESS>    }
  },
  "engine": "WEBJS",
  "environment": {
    "version": "2024.7.5",
    "engine": "WEBJS",
    "tier": "PLUS",
    "browser": "/usr/bin/google-chrome-stable"
  }
}

Sorry for not closing the issue early


Integrity Checks

Is your feature request related to a problem? Please describe.
We have multiple customers who are asking that integrity checks are performed on data transferred to and from blob storage.
We have learned from an engineer on this SDK team that "the SDK itself doesn't do any integrity checks. Storage service provided integrity checks properties, you can save checksums of the content in uploading and validate the content checksum in downloading."
Describe the solution you'd like
We'd like there to be integrity checks within the SDK itself
Describe alternatives you've considered
We've considered saving the checksums of the properties, however, the customer leverages multiple Azure SDK's, some of which do integrity checks and others that don't so it would be inconsistent within their service.
Additional context
Add any other context or screenshots about the feature request here.

@elizabethhalper If I understand you correctly, is the request that the SDK validate blob contents were uploaded successfully and provide some kind of thrown error if this doesn't happen from the upload operations?

@elizabethhalper ,
There are two levels of integrity, using uploading as an example:

Transactional integrity check: this could be used in PageBlobClient.uploadPages, BlockBlobClient.stageBlock, AppendBlobClient.appendBlock.  There's a header to set checksum for a request, storage service will compare the checksum in the header with the one it calculated from the request body and throw out an error if not match.
Whole file content integrity check: this could be used in interfaces like: BlockBlobClient.upload, BlockBlobClient.uploadFile.
Customer could put a checksum for the whole file content in blob's properties. When downloading the blob, customer can check the checksum in properties with the one calculated from the downloaded content.

From customer's scenario, which way would customer need?

We use BlockBlobClient.uploadData
Could that be prioritized?

I have add the feature request into backlog, and we'd need to discuss about the feature internelly.


Remove iPad support message

Should say the generic mobile message if we're on iPad.
https://github.com/codecombat/codecombat/blob/master/app/templates/home-view.jade#L28

Remove iPad support message. So you want to remove the message that says about good and bad news. like our native iPad app is awaiting Apple approval. ??
And show the generic mobile message in return of it ?
Why not have a message that says
CodeCombat wasn't designed for ipad devices and may not work!
As ipad and mobile are not essentially same.
Just need to have a better understanding of the problem statement. Thanks
its a very small change, will do it immediately after clarification.

Also tell me one thing. When and where are these error messages actually appear . I tried to open codecombat.com/play on my android device, and it is working fine. I didn't even encounter any error message for mobile.


Improve HAMT diff algorithm

Summary of changes
Changes introduced in this pull request:

Improve the efficiency of the HAMT diff algorithm used for state diffs
The new algorithm will be side by side the old algorithm for benchmarking purposes

Reference issue to close (if applicable)

Closes #1638
Other information and links

CIDs used for benchmarking
pre-cid   :: bafy2bzaceaflpz4sdmyrvxbqs3zrwnbefdkql4yekzsfsffqqzuadrmjpa7o4
post-cid :: bafy2bzacedgoxsjnpdrks4ltoh4so4omu6ysqxmn6rriaijc4ripp2irshago

Issue being moved to icebox, closing.


feat: implement issues templates and new pipelines

This PR is part of the WIP to prepare all the necessary stuff before release the first version

Codecov Report

Merging #16 (7049e73) into main (75fd98f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #16   +/-   ##
=======================================
  Coverage   45.21%   45.21%
=======================================
  Files          20       20
  Lines        2362     2362
=======================================
  Hits         1068     1068
  Misses       1255     1255
  Partials       39       39

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 75fd98f...7049e73. Read the comment docs.


No way to get SQL TraceString from ExpandableQuery

Hi,
I see that you insist on SQL Profiling to check the SQL running on the db. But with EF IQueryable I have no need to use a specific tool, as I can cast to ObjectQuery and obtain the SQL with ToTraceString (and other info too). It's not so difficult to add this feature to ExpandableQuery. I did this in my LinqKit project
    public interface ExpandableQuery
    {
        ObjectQuery ObjectQuery { get;  }
    }

    public class ExpandableQuery<T> : IQueryable<T>, IOrderedQueryable<T>, IOrderedQueryable, ExpandableQuery

    [...]
    public ObjectQuery ObjectQuery
    {
        get
        {
            return (ObjectQuery)InnerQuery;
        }
    }

And I use it like this:
var sql = ((ExpandableQuery)result).ObjectQuery.ToTraceString()

Sorry for the trivial question...
have you already tried with this?

result.ToString()

@lucaritossa I tried it now, but no useful info - as expected. Eg: "System.Data.Objects.ObjectQuery`1[EsomWebTwo.Code.VehicleQuery+FullDetailDataObject]"

Is there a solution for this?


how to get backups of persistent volumes

I ran  ark backup create test-backup --include-namespaces mynamespace
and noticed that the backup files didnt include any of our persistent volumes.. I tried using
ark backup create test-backup3 --include-namespaces mynamespace --snapshot-volumes
and got the error
"Validation errors:  Server is not configured for PV snapshots"
when looking at the ark backup describe ...
[jwelsh@jwelsh-desktop heptio_ark]$ ark backup logs test-backup3
An error occurred: request failed: NoSuchKeyThe specified key does not exist.No such object: ark-lulu-backup/test-upp-backup3/test-upp-backup3-logs.gz
Environment:
[jwelsh@jwelsh-desktop heptio_ark]$ ark version
Version: v0.9.4
Git commit: v0.9.4
Git tree state: clean
[jwelsh@jwelsh-desktop heptio_ark]$ kubectl version
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.1", GitCommit:"d4ab47518836c750f9949b9e0d387f20fb92260b", GitTreeState:"archive", BuildDate:"2018-04-26T09:29:05Z", GoVersion:"go1.10.1", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"10+", GitVersion:"v1.10.6-gke.2", GitCommit:"384b4eaa132ca9a295fcb3e5dfc74062b257e7df", GitTreeState:"clean", BuildDate:"2018-08-15T00:10:14Z", GoVersion:"go1.9.3b4", Compiler:"gc", Platform:"linux/amd64"}
this is on google cloud.
-db

To enable PV snapshots, you need to ensure you have this section in your Ark config:
https://github.com/heptio/ark/blob/release-0.9/examples/gcp/00-ark-config.yaml#L21
You're getting an error when trying to run ark backup logs test-backup3 because the backup didn't even start, due to the validation error around not having PV snapshots configured.  So try again once you do the above!

thanks. after fixing that, it worked..


Bug 2061713: rbd: use vaultAuthPath variable name in error msg

Before the change, the error msg was the following:
failed to set VAULT_AUTH_MOUNT_PATH in Vault config: path is empty

vaultAuthPath is the actual variable name set by the
user. The error message will now be the following:
failed to set "vaultAuthPath" in vault config: path is empty

Signed-off-by: Rakshith R<EMAIL_ADDRESS>(cherry picked from commit 7688306f87da143bf8c869c871fc6ef02a315baa)

/cc @Madhu-1 @humblec @agarwal-mudit

First sync this to main branch and backport it to release 4.11 branch

/lgtm
/approve


Error -4090 EADDRNOTAVAIL address not available

I have a .net core web api project created and deployed it to Azure. When the app starts it is throwing this error? None of the request are being processed.
[WRN] Unable to bind to http://localhost:22676 on the IPv6 loopback interface. (de7f78a0)
System.AggregateException: One or more errors occurred. (Error -4090 EADDRNOTAVAIL address not available) ---> Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvException: Error -4090 EADDRNOTAVAIL address not available
at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.tcp_bind(UvTcpHandle handle, SockAddr& addr, Int32 flags)
at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvTcpHandle.Bind(ServerAddress address)
at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.TcpListener.CreateListenSocket()
at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.Listener.b__8_0(Object state)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Microsoft.AspNetCore.Server.Kestrel.Internal.KestrelEngine.CreateServer(ServerAddress address)
at Microsoft.AspNetCore.Server.Kestrel.KestrelServer.Start[TContext](IHttpApplication`1 application)
---> (Inner Exception #0) Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvException: Error -4090 EADDRNOTAVAIL address not available
at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.tcp_bind(UvTcpHandle handle, SockAddr& addr, Int32 flags)
at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvTcpHandle.Bind(ServerAddress address)
at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.TcpListener.CreateListenSocket()
at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.Listener.b__8_0(Object state)<---

What version of Kestrel are you running? That error is expected and it's just a warning and likely has nothing to do with the issue you're seeing.

Here is my reference:

Are you getting an error? What does "None of the request are being processed." mean? Do you have any other logs?

I mean that using any REST client, hitting a wide open endpoint results in a timeout after 30 seconds.
Logs don't show much more. After app initializes (i.e. connects to the database, runs migrations etc.) logging starts:
> 2017-05-13T19:50:30.4193676+00:00  [INF] Azure Web Sites environment detected. Using '"D:\home\ASP.NET\DataProtection-Keys"' as key repository; keys will not be encrypted at rest. (383ad3af)
> 2017-05-13T19:50:30.4506078+00:00  [WRN] Disabling the transport security requirement is not recommended in production. Consider setting 'OpenIdConnectServerOptions.AllowInsecureHttp' to 'false' to prevent the OpenID Connect server middleware from serving non-HTTPS requests. (4405708c)
> 2017-05-13T19:50:30.7318677+00:00  [WRN] Unable to bind to http://localhost:22992 on the IPv6 loopback interface: (Error -4090 EADDRNOTAVAIL address not available) (74dd9af9)
> 2017-05-13T19:50:31.1693711+00:00 0HL4Q757VKDCG [INF] Request starting HTTP/1.1 GET http://icbnc.azurewebsites.net/   (e5be5b71)
> 2017-05-13T19:50:31.9662428+00:00 0HL4Q757VKDCG [INF] Request finished in 845.2043ms 200 text/html; charset=utf-8 (15c52c40)
> 2017-05-13T19:50:32.1849866+00:00 0HL4Q757VKDCH [INF] Request starting HTTP/1.1 GET http://icbnc.azurewebsites.net/favicon.ico   (e5be5b71)
> 2017-05-13T19:50:32.1849866+00:00 0HL4Q757VKDCH [INF] Request finished in 1.0331ms 200 text/html; charset=utf-8 (15c52c40)
> 2017-05-13T19:50:40.3425427+00:00 0HL4Q757VKDCI [INF] Request starting HTTP/1.1 GET http://icbnc.azurewebsites.net/api/ping   (e5be5b71)
> 2017-05-13T19:50:40.4206742+00:00 0HL4Q757VKDCI [INF] Executing action method "Icbnc.WebApi.Controllers.PingController.Ping (Icbnc.WebApi)" with arguments (null) - ModelState is Valid (ba7f4ac2)
> 2017-05-13T19:50:40.4519379+00:00 0HL4Q757VKDCI [INF] Executing ObjectResult, writing value "Microsoft.AspNetCore.Mvc.ControllerContext". (4e968210)
> 2017-05-13T19:50:40.4675212+00:00 0HL4Q757VKDCI [INF] Executed action "Icbnc.WebApi.Controllers.PingController.Ping (Icbnc.WebApi)" in 83.5793ms (afa2e885)
> 2017-05-13T19:50:40.4675212+00:00 0HL4Q757VKDCI [INF] Request finished in 124.074ms 200 text/html; charset=utf-8 (15c52c40)
> 2017-05-13T19:50:40.5769097+00:00 0HL4Q757VKDCJ [INF] Request starting HTTP/1.1 GET http://icbnc.azurewebsites.net/favicon.ico   (e5be5b71)
> 2017-05-13T19:50:40.5769097+00:00 0HL4Q757VKDCJ [INF] Request finished in 0.3713ms 200 text/html; charset=utf-8 (15c52c40)
> 2017-05-13T19:50:49.1967789+00:00 0HL4Q757VKDCK [INF] Request starting HTTP/1.1 GET http://icbnc.azurewebsites.net/api/members/1   (e5be5b71)
> 2017-05-13T19:50:49.1967789+00:00 0HL4Q757VKDCK [INF] Request finished in 0.3533ms 200 text/html; charset=utf-8 (15c52c40)
> 2017-05-13T19:50:49.3061509+00:00 0HL4Q757VKDCL [INF] Request starting HTTP/1.1 GET http://icbnc.azurewebsites.net/favicon.ico   (e5be5b71)
> 2017-05-13T19:50:49.3061509+00:00 0HL4Q757VKDCL [INF] Request finished in 0.3791ms 200 text/html; charset=utf-8 (15c52c40)
>

Even log seems to indicate that the process has started:
<Events><Event><System><Provider Name="IIS AspNetCore Module"/><EventID>1004</EventID><Level>0</Level><Task>0</Task><Keywords>Keywords</Keywords><TimeCreated SystemTime="2017-05-13T19:50:24Z"/><EventRecordID>947087359</EventRecordID><Channel>Application</Channel><Computer>RD00155D8A4915</Computer><Security/></System><EventData><Data>Warning: Could not create stdoutLogFile \\?\D:\home\site\wwwroot\logs\stdout_14404_2017513195024.log, ErrorCode = -2147024893.</Data></EventData></Event><Event><System><Provider Name="IIS AspNetCore Module"/><EventID>1001</EventID><Level>0</Level><Task>0</Task><Keywords>Keywords</Keywords><TimeCreated SystemTime="2017-05-13T19:50:30Z"/><EventRecordID>947094015</EventRecordID><Channel>Application</Channel><Computer>RD00155D8A4915</Computer><Security/></System><EventData><Data>Application 'MACHINE/WEBROOT/APPHOST/ICBNC' started process '22488' successfully and is listening on port '22992'.</Data></EventData></Event></Events>

This turned to be an issue with my firewall.

This looks like a duplicate of https://github.com/aspnet/KestrelHttpServer/issues/1001. Can you try Kestrel 1.1.2? The warning may still appear, but the stack trace will be suppressed. (See https://github.com/aspnet/KestrelHttpServer/pull/1677).

Indeed, 1.1.2 shows the warning without the stack trace.

Ok, it sounds like your issue is resolved, so closing as a duplicate of #1001.


Cannot Install

Hi, for the past couple of days I have tried to install PiVPN and keep running into issues. Below is the install log. Any assistance would be greatly appreciated.
root@raspberrypi:~# curl -L https://install.pivpn.io | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   178  100   178    0     0    139      0  0:00:01  0:00:01 --:--:--   139
100 43750  100 43750    0     0  26145      0  0:00:01  0:00:01 --:--:-- 26145

:::
::: You are root.
::: Verifying free disk space...
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: Your system is up to date! Continuing with PiVPN installation...
bash: line 284: nslookup: command not found
::: Static IP already configured.
::: Using User: pi
 [|]  E: Package 'unattended-upgrades' has no installation candidate
:::
::: Stopping OpenVPN service...Failed to stop openvpn.service: Unit openvpn.service not loaded.
 done.
sed: can't read /etc/apt/apt.conf.d/50unattended-upgrades: No such file or directory
:::
::: Checking for existing base files...
:::    Checking /etc/.pivpn is a repo...:::    Cloning https://github.com/pivpn/pivpn.git into /etc/.pivpn... done!
:::
::: Installing scripts to /opt/pivpn... done.
::: Using protocol: udp
tar: /etc/openvpn: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
chown: cannot access ‘/etc/openvpn/easy-rsa’: No such file or directory
mkdir: cannot create directory ‘/etc/openvpn/easy-rsa/pki’: No such file or directory
tee: /etc/openvpn/easy-rsa/vars: No such file or directory
bash: line 822: cd: /etc/openvpn/easy-rsa: No such file or directory
Failed to execute operation: No such file or directory
Failed to start openvpn.service: Unit openvpn.service failed to load: No such file or directory.
::: Install Complete...
```
`

Hmmm!! something quite wrong ... seems to me that the script is failing to get OpenVPN
Are you running the install script in a fresh raspbian?
can you please provide more details about your system?
you can solve this by installing openvpn with apt-get and then run the pivpn script ... but I can't even call this a solution! ;)

Hey cfcolaco, I've been running this Pi for several months. It's mainly been used for SickRage/CouchPotato/Transmission. That's it really.
It's a 128gb microSD
I've tried a stand alone install of openvpn but that fails too. Tried that already and no luck.
I spent ages setting up my Pi and user permissions for CP/SR post-processing so I'd like to avoid a rebuild.

@gxander85 the install script is working properly, just tested it in fresh Debian VM ... now it could be something to do with the installer code or not as I am not much into the code yet ...
@0-kaladin or @redfast00 can you guys please take a look at this?
maybe the script is failing to detect and report any failure during the process.
from what I know and I can do to help you, and pivpn devs and maintainers to properly track the issue ...
maybe you can try to:
apt-get install openvpn

and check if it installs or gives any errors and then report back to us please.

Result of apt-get install openvpn. I'll note that I had the same issue trying to install easy-rsa. I have tried searching for other repo/sources and adding them and retrying, but I get the same thing.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package openvpn is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'openvpn' has no installation candidate

you have to check your repos at  /etc/apt/sources.list
probably you removed the raspbian main repos.
fix your repos issue then try pivpn installer again.
https://www.raspbian.org/RaspbianRepository might be a good start
either way, shouldn't the installer detect a missing dependency or dependency installation errors and properly report that install has failed? @0-kaladin

I had a look at the repos last night. I'll have another look after work tonight. Looking at that link, they may already be there but I will double check and get back to you.

this is now out of the scope, however, comment any additional repos you have and leave only the official ones.
then if you want to go deeper to find what caused the issue, start your troubleshooting from there with a clean working repo list.

I thought I would post a few things. (Apologies for the long entry, but I wanted to cover everything)
First, results at the end of apt-get update
Reading package lists... Done
W: Duplicate sources.list entry http://mirrordirector.raspbian.org/raspbian/ jessie/main armhf Packages (/var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_main_binary-armhf_Packages)
W: Duplicate sources.list entry http://mirrordirector.raspbian.org/raspbian/ jessie/contrib armhf Packages (/var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_contrib_binary-armhf_Packages)
W: Duplicate sources.list entry http://mirrordirector.raspbian.org/raspbian/ jessie/non-free armhf Packages (/var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_non-free_binary-armhf_Packages)
W: You may want to run apt-get update to correct these problems

/etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free
deb http://archive.raspbian.org/raspbian jessie main contrib non-free

Then there is /etc/apt/sources.list.d/
pms.list
deb https://dev2day.de/pms/ jessie main
raspi.list
deb http://archive.raspberrypi.org/debian/ jessie main ui
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspberrypi.org/debian/ jessie main ui

I ran apt-get update again and got the same errors as above.
I then re-ran apt-get install openvpn
sudo apt-get install openvpnReading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libpkcs11-helper1
The following NEW packages will be installed:
  libpkcs11-helper1 openvpn
0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
Need to get 530 kB of archives.
After this operation, 1,176 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://archive.raspbian.org/raspbian/ wheezy/main libpkcs11-helper1 armhf 1.09-1 [46.1 kB]
Get:2 http://archive.raspbian.org/raspbian/ wheezy/main openvpn armhf 2.2.1-8+deb7u3 [484 kB]
Fetched 530 kB in 6s (78.1 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libpkcs11-helper1:armhf.
(Reading database ... 121982 files and directories currently installed.)
Preparing to unpack .../libpkcs11-helper1_1.09-1_armhf.deb ...
Unpacking libpkcs11-helper1:armhf (1.09-1) ...
Selecting previously unselected package openvpn.
Preparing to unpack .../openvpn_2.2.1-8+deb7u3_armhf.deb ...
Unpacking openvpn (2.2.1-8+deb7u3) ...
Processing triggers for man-db (<IP_ADDRESS>-5) ...
Processing triggers for systemd (215-17+deb8u5) ...
Setting up libpkcs11-helper1:armhf (1.09-1) ...
Setting up openvpn (2.2.1-8+deb7u3) ...
[ ok ] Restarting virtual private network daemon.:.
Processing triggers for libc-bin (2.19-18+deb8u6) ...
Processing triggers for systemd (215-17+deb8u5) ...

I then re-ran curl -L https://install.pivpn.io | bash
A progress bar appeared (this did not happen before)
It also proceeded to generate keys etc. I think it worked (still processing now) and my sources.list was cooked.

@gxander85 Did it work? Can this issue be closed?

@redfast00 Since there's no more reply from @gxander85 think you can close this! =S


Link broken in portal between Azure Mobile App and Push Notification Hub info

Hi,
In the HealthClinic subscription, under the Mobile App services (https://ms.portal.azure.com/#resource/subscriptions/f2756440-b605-4c6f-b69d-d8e7423dfe75/resourceGroups/HealthClinic/providers/Microsoft.Web/sites/HealthClinicMobile ), I have an issue related to the Push Notification Hub. The link/info on push notifications I used to have is not there anymore even when the hub is working and the notifications are working, but I cannot get to the push notification hub from my MOBILE APP config:
NOTE: A few weeks ago this was working properly, I could access to my notification hub properties from the mobile App, in fact, I can access to the notification hub if I search from “All resources” and the push notifications are working with the apps themselves..
See attached screenshot.

Hi there, please have a look at the Readme section for the future of Azure Mobile Apps. Closing this issue for now. Thanks!


Kext Update

in Sync, Kext update section, XHCI-unsupported.kext and Airportitlwm.kext is showing grey, all other kext are showing green.

g

XHCI-unsupported.kext and Airportitlwm.kext is showing grey

Because you did not specify the upgrade URLs for these two kext, they are grayed out.
If these two kext do not have their own upgrade URLs, you can ignore them.
The upgrade URLs for kext are in the "Database" screen, and you can customize the official kext URLs.

That is, so those that do not have a self-defined official kext URL will be grayed out to show the difference and have no other intention than that.

I have added upgrade URL for Airportitlwm.kext which is https://github.com/OpenIntelWireless/itlwm but not fetching detail of latest kext like all other kext.
I think it is due to multiple MacOS version release under Assets.
any solution ?

When adding a kext URL, its kext name, please take the actual one used as the main one, as follows
Kext Name ：AirportItlwm.kext
Url: https://github.com/OpenIntelWireless/itlwm
However, there seems to be a problem that when the author of this kext publishes the kext, the name of the kext for all platforms is "AirportItlwm.kext", which will lead to the overwriting of the same name when it is automatically processed.
I have no experience with this kext, so I can only give you the above advice for your reference.


The Tekken 7 bot does not work.

Does not start at all. nothing happen by clicking the build_project.bat. it autoclose.

if the bot does not work like thetoolassisted one then it's an useless trash tool. not helping at all.

Your feedback has been acknowledged.

Meh. put your tool where the sun does not shine. glad I didn't donated to you.


IBus input methods having no effect in GTK2

I have IBus set up on NixOS 16.03.git.97ccbb9M as follows:
programs.ibus = {
  enable = true;
  plugins = [
    pkgs.ibus-anthy
  ];
};

It has worked with this configuration a few months ago, but stopped working. The daemon still runs, showing the tray icon and allowing me to select new input methods to use (including Anthy, and I also tested Modern Greek), and those settings affect the tray menu. However, there is no change to the input behaviour. I have tested in Firefox, Terminator, and LibreOffice, so it may not affect Qt.
My /etc/nixos/configuration.nix is here. The programs.ibus.table stuff is from my changes to include ibus-table (not working yet), but shouldn't affect other plugins. IBus was not working before I started this. I've tried commenting out the xkbcomp line, rebuilding, then restarting, but that didn't help.
There are no maintainers for the ibus package, but @gebner and @ericsagnes may be interested.

Ibus + anthy is working fine on my machine with unstable 16.03pre71289.7ae05ed (Emu).
I would like to test with the same version as yours, how can I get 16.03.git.97ccbb9M?

Mine is a fairly recent clone of this repository. The issue has persisted over a few pulls, so getting something recent will probably be near enough.

@ericsagnes, Any more thoughts? Could you share your config?

I am on current unstable 16.03pre73316.93d8671 (Emu) and the relevant configuration.nix part is:
  programs = {
    ibus.enable  = true;
    ibus.plugins = with pkgs; [ ibus-anthy ];
  };

I also have a few packageOverrides that are unrelated to ibus but needed to use the current unstable on my machine:
    packageOverrides = pkgs: rec {
      flashplayer = pkgs.stdenv.lib.overrideDerivation pkgs.flashplayer (oldAttrs: {
        name = "flashplayer-<IP_ADDRESS>4";
        src  = pkgs.fetchurl {
          url    = "http://fpdownload.adobe.com/get/flashplayer/pdc/<IP_ADDRESS>4/install_flash_player_11_linux.x86_64.tar.gz";
          sha256 = "15zziclffvsa0wpygkwzbh3v367n73pmzwsnkanhg75rv28dgl3x";
        };
      });
      signing-party = pkgs.stdenv.lib.overrideDerivation pkgs.signing-party (oldAttrs: {
        name = "signing-party-2.1";
        src  = pkgs.fetchurl {
          url    = "mirror://debian/pool/main/s/signing-party/signing-party_2.1.orig.tar.gz";
          sha256 = "0pcni3mf92503bqknwlsvv1f5gz23dmzwas2j8g2fk7afjd891ya";
        };
      });
    };

ibus requires dconf at runtime to save settings, so in case you don't have it, installing it could help.
You also can check that the environment variables are correctly set:
printenv | grep ibus
XMODIFIERS=@im=ibus
QT_IM_MODULE=ibus
GTK_IM_MODULE=ibus
IBUS_COMPONENT_PATH=/nix/store/1lr02jj1lgikdk4p46iq8ax6nfm2nq1q-ibus-env/share/ibus/component

Restarting the X11 session can sometimes help fix things.

Any ibus based input method work?

@linquize ibus-anthy and ibus-mozc are working fine as far as I can tell.
Side-note: I currently work on improving the current state of input method by adding new engines to ibus and fcitx and making the module integration better in #11254.
Ibus based engines are a little tricky, and my current experience is that fcitx works better most of the time.

I have dconf installed for both root and user, but still nothing happens (even after rebooting). The ibus package does do proper wrapping these days, so that shouldn't be an issue.
I'll ask around the IBus people to see whether I can do any more troubleshooting.

Thanks to mfabian of ibus, I narrowed it down to being a GTK2 problem. IBus does work for me in xterm and gedit, but still not Firefox and Terminator. Starting Terminator from a terminal emulator gives a relevant error message, then crashes:
$ terminator

** (process:27918): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:27918): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:27918): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
/nix/store/xwxjqxrli9g0qk95rxiy1abn302b55w0-terminator-0.97/lib/python2.7/site-packages/terminatorlib/window.py:63: Warning: The property GtkWindow:allow-shrink is deprecated and shouldn't be used anymore. It will be removed in a future version.
  self.set_property('allow-shrink', True)

** (.terminator-wrapped:27918): WARNING **: Binding '<Shift><Control><Alt>a' failed!
Unable to bind hide_window key, another instance/window has it.
/nix/store/xwxjqxrli9g0qk95rxiy1abn302b55w0-terminator-0.97/lib/python2.7/site-packages/terminatorlib/window.py:384: GtkWarning: GModule (/nix/store/sz7dbblgaq7svw1qzs3z89bybbizrclb-gtk-exe-env/lib/gtk-2.0/2.10.0/immodules/im-ibus.so) initialization check failed: GLib version too old (micro mismatch)
  self.present()
/nix/store/xwxjqxrli9g0qk95rxiy1abn302b55w0-terminator-0.97/lib/python2.7/site-packages/terminatorlib/window.py:384: GtkWarning: Loading IM context type 'ibus' failed
  self.present()
/nix/store/xwxjqxrli9g0qk95rxiy1abn302b55w0-terminator-0.97/bin/.terminator-wrapped:118: GtkWarning: GModule (/nix/store/sz7dbblgaq7svw1qzs3z89bybbizrclb-gtk-exe-env/lib/gtk-2.0/2.10.0/immodules/im-ibus.so) initialization check failed: GLib version too old (micro mismatch)
  gtk.main()
/nix/store/xwxjqxrli9g0qk95rxiy1abn302b55w0-terminator-0.97/bin/.terminator-wrapped:118: GtkWarning: Loading IM context type 'ibus' failed
  gtk.main()

It seems that the im-ibus.so is using a too old version of glib.
Does ldd /run/current-system/sw/lib/gtk-2.0/2.10.0/immodules/im-ibus.so | grep glib gives any interesting information?
For reference, here is the result on a machine where ibus works well in terminator and firefox:
ldd /run/current-system/sw/lib/gtk-2.0/2.10.0/immodules/im-ibus.so | grep glib
        librt.so.1 => /nix/store/483br9kb3f5igsgmb6aqsjhl2ipj2bxr-glibc-2.21/lib/librt.so.1 (0x00007f3833bdb000)
        libgthread-2.0.so.0 => /nix/store/030k372iyg241a706dprvkibc9q8brzn-glib-2.46.2/lib/libgthread-2.0.so.0 (0x00007f3832ed4000)
        libm.so.6 => /nix/store/483br9kb3f5igsgmb6aqsjhl2ipj2bxr-glibc-2.21/lib/libm.so.6 (0x00007f3832023000)
        libgio-2.0.so.0 => /nix/store/030k372iyg241a706dprvkibc9q8brzn-glib-2.46.2/lib/libgio-2.0.so.0 (0x00007f38317f2000)
        libgmodule-2.0.so.0 => /nix/store/030k372iyg241a706dprvkibc9q8brzn-glib-2.46.2/lib/libgmodule-2.0.so.0 (0x00007f38315ee000)
        libdl.so.2 => /nix/store/483br9kb3f5igsgmb6aqsjhl2ipj2bxr-glibc-2.21/lib/libdl.so.2 (0x00007f38313ea000)
        libresolv.so.2 => /nix/store/483br9kb3f5igsgmb6aqsjhl2ipj2bxr-glibc-2.21/lib/libresolv.so.2 (0x00007f3830fba000)
        libgobject-2.0.so.0 => /nix/store/030k372iyg241a706dprvkibc9q8brzn-glib-2.46.2/lib/libgobject-2.0.so.0 (0x00007f3830d69000)
        libglib-2.0.so.0 => /nix/store/030k372iyg241a706dprvkibc9q8brzn-glib-2.46.2/lib/libglib-2.0.so.0 (0x00007f3830828000)
        libpthread.so.0 => /nix/store/483br9kb3f5igsgmb6aqsjhl2ipj2bxr-glibc-2.21/lib/libpthread.so.0 (0x00007f383060b000)
        libc.so.6 => /nix/store/483br9kb3f5igsgmb6aqsjhl2ipj2bxr-glibc-2.21/lib/libc.so.6 (0x00007f383026b000)
        /nix/store/483br9kb3f5igsgmb6aqsjhl2ipj2bxr-glibc-2.21/lib64/ld-linux-x86-64.so.2 (0x000055e08937b000)

I get the following output:
	librt.so.1 => /nix/store/483br9kb3f5igsgmb6aqsjhl2ipj2bxr-glibc-2.21/lib/librt.so.1 (0x00007f0a7dbe7000)
	libgthread-2.0.so.0 => /nix/store/030k372iyg241a706dprvkibc9q8brzn-glib-2.46.2/lib/libgthread-2.0.so.0 (0x00007f0a7cee0000)
	libm.so.6 => /nix/store/483br9kb3f5igsgmb6aqsjhl2ipj2bxr-glibc-2.21/lib/libm.so.6 (0x00007f0a7c02f000)
	libgio-2.0.so.0 => /nix/store/030k372iyg241a706dprvkibc9q8brzn-glib-2.46.2/lib/libgio-2.0.so.0 (0x00007f0a7b7fe000)
	libgmodule-2.0.so.0 => /nix/store/030k372iyg241a706dprvkibc9q8brzn-glib-2.46.2/lib/libgmodule-2.0.so.0 (0x00007f0a7b5fa000)
	libdl.so.2 => /nix/store/483br9kb3f5igsgmb6aqsjhl2ipj2bxr-glibc-2.21/lib/libdl.so.2 (0x00007f0a7b3f6000)
	libresolv.so.2 => /nix/store/483br9kb3f5igsgmb6aqsjhl2ipj2bxr-glibc-2.21/lib/libresolv.so.2 (0x00007f0a7afc6000)
	libgobject-2.0.so.0 => /nix/store/030k372iyg241a706dprvkibc9q8brzn-glib-2.46.2/lib/libgobject-2.0.so.0 (0x00007f0a7ad75000)
	libglib-2.0.so.0 => /nix/store/030k372iyg241a706dprvkibc9q8brzn-glib-2.46.2/lib/libglib-2.0.so.0 (0x00007f0a7a834000)
	libpthread.so.0 => /nix/store/483br9kb3f5igsgmb6aqsjhl2ipj2bxr-glibc-2.21/lib/libpthread.so.0 (0x00007f0a7a617000)
	libc.so.6 => /nix/store/483br9kb3f5igsgmb6aqsjhl2ipj2bxr-glibc-2.21/lib/libc.so.6 (0x00007f0a7a277000)
	/nix/store/qlxp7vb63fp8kx5vk9a0y3rj8svbvl27-glibc-2.21/lib64/ld-linux-x86-64.so.2 (0x00005579ed57f000)

It's completely identical, except for the last line.

IBus has miraculously started working in Firefox and nothing else using GTK2. I took a look at things, and it could well be a glib mismatch causing problems. Using nix-store -q --requisites, I found the following:
executable                | glib package
--------------------------|-------------
ibus                      | 6qbv9vdygxwzwhcbw1kimd76vhl6hiv6-glib-2.46.2
firefox (working)         | 6qbv9vdygxwzwhcbw1kimd76vhl6hiv6-glib-2.46.2
thunderbird (not working) | zy7xi64lsmnx0i0d0h8qgqigs4m85crc-glib-2.44.1
terminator (not working)  | k70hhnsrz47la5201gwfnqn9g357avza-glib-2.44.0

After doing that table, I reïnstalled thunderbird. That made it use the 6qbv...-glib-2.46.2 package, and IBus indeed started working in it.
I think I understand why this happens, and keeping up with unstable releases probably exacerbates the issue. Ideally, it shouldn't happen, but I don't think Nix has any way to fix it (almost by design). It may have to be part of the ibus installation instructions to reïnstall any applications in which it doesn't work.

I have the same IBus configuration in my system config.  I have the following in my .xinitrc before starting Openbox:
export XMODIFIERS="@im=ibus"
export GTK_IM_MODULE="ibus"
export QT_IM_MODULE="ibus"

Emacs (GTK2), urxvt (no toolkit), Tagainijisho (Qt) all recognize the current input method; Firefox (GTK2), Chromium (GTK2), Terminator (GTK2), gedit (GTK3) don't.  But I get:
$ nix-store -qR $(readlink -f $(type -p $PKG)) | grep -e -glib-
/nix/store/r22zqk5frxb7ysp163gvh90vl9mp5s2f-glib-2.46.2

for all of the above packages, and I don't see the "GLib too old" messages.  On NixOS, release-16.03.

There is another IBus issue open at the moment (#17277), though my copy of IBus is currently working fine (I don't use Gnome either). At first glance, your problem seems to be the same as neither of these, which is a little unsettling. Have you had IBus working before?

I saw that one too, but chose to comment here because yes, not using Gnome, and also nixos-option i18n.inputMethod.package comes back empty for me.  The IBus binaries in my path are from ibus-with-plugins (though I don't know if that's a sufficient condition).
This same configuration works fully for me on Gentoo, but I haven't had it working fully on NixOS.

Could you post your /etc/nixos/configuration.nix? Also, I don't remember whether the big changes to input method configuration happened before or after 16.03, so I'll look that up.

@khumba I think you are facing #14019.
To summarize the problem, gtk has a cache for input mrthods set by a env var GTK_IM_MODULE_FILE, that can work only with one GTK version at a time, so we have a patched version of GTK2 and GTK3 to look in NIX_PROFILE for a special cache file (/etc/gtk-{2,3}.0/immodules.cache).
The fix for this, #14568, is in unstable but not in 16.03. (ibus module is present in 16.03).
Using the ibus module from unstable should fix the problem.

Yeah, that makes sense, thanks.  When I switch to staging, IBus starts, but when I try to activate Anthy via the tray applet, it fails with the warning below, and EN stays active.  I couldn't see where this was actually being written to; there were no relevant IBus or Anthy messages in journalctl, journalctl --user, .xsession-errors.  I'm starting IBus with ibus-daemon -d -x.  My NixOS configuration is here.
$ strace -p $(pidof ibus-ui-gtk3) -s 1000
...lots of garbage...
futex(0x2655030, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x265d1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x261b278, FUTEX_WAKE_PRIVATE, 1) = 1
poll([{fd=12, events=POLLIN}], 1, 16000) = 1 ([{fd=12, revents=POLLIN}])
poll([{fd=12, events=POLLIN}], 1, 16000) = 1 ([{fd=12, revents=POLLIN}])
read(12, "\1\0\0\0\0\0\0\0", 16)        = 8
poll([{fd=12, events=POLLIN}], 1, 16000

* LONG PAUSE HERE *

) = 1 ([{fd=12, revents=POLLIN}])
read(12, "\1\0\0\0\0\0\0\0", 16)        = 8
write(12, "\1\0\0\0\0\0\0\0", 8)        = 8
futex(0x27ef420, FUTEX_WAKE_PRIVATE,<PHONE_NUMBER>) = 0
close(12)                               = 0
write(2, "\n(ibus-ui-gtk3:1676): IBUS-WARNING **: ibus_bus_call_sync: org.freedesktop.IBus.SetGlobalEngine: GDBus.Error:org.freedesktop.DBus.Error.Failed: Set global engine failed: Timeout was reached\n", 190) = 190
write(2, "\n(ibus-ui-gtk3:1676): IBUS-WARNING **: panel.vala:812: Switch engine to anthy failed.\n", 86) = 86
recvmsg(3, 0x7ffd19ee3200, 0)           = -1 EAGAIN (Resource temporarily unavailable)

Does starting ibus with ibus-daemon -d -x --cache=refresh changes something?

(triage) what’s the current status?

I think the conclusion is https://github.com/NixOS/nixpkgs/issues/11558#issuecomment-170702789. The solution is probably to explain it somewhere in the (NixOS?) manual.

@laMudri are you interested in preparing a tab?

Could do. I've never worked on the manual before, but I'll have a look.

Outside of needing ibus-setup and all the other non-declarative stuff right now...
This seems to work fine for me.
Language tested: Japanese (Hiragana)
Apps tested:
LibreOffice, Chromium, GitKraken, GtkPerf (gtk2), Firefox, Kitty (https://github.com/kovidgoyal/kitty/issues/469#issuecomment-419406438).
This is all I have in terms of ibus configuration at the moment.
Happy to test any other applications or languages, or have any of this confirmed by other ibus users.
- system: `"x86_64-linux"`
 - host os: `Linux 5.4.8, NixOS, 19.09.1778.db3e8325a9b (Loris)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.1`
 - channels(root): `"nixos-19.09.1778.db3e8325a9b"`
 - channels(evanjs): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`


Fix return void on "yield from" calls

the yield from token is not identical to yield
That PR fix does not change the signature of such method:
function foo() {
  yield from bar();
}

I don't figured out how to add a test that assert that the Fixer did not change the signature of the method...

Hi @jderusse
Thanks for the PR :)
Here is a test case to prove the issue:
['<?php function foo($param) { yield from test(); }'],

to be added to tests/Fixer/FunctionNotation/VoidReturnFixerTest.php somewhere in provideFixCases.
Can you rebase/retarget the PR to 2.12 as well, that way we've the bug fix on all the supported branched :)

@see https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/4344


[CLI] Investigate switching to click for CLI option processing

Initially the need to be compatible with the potential Python ecosystem available on SLE 12 SP5 systems, where click was not available in the standard supported repos, limited our choice of CLI option processing to the argparse module.
However is that restriction goes away we may want to consider click again, and it would be good to determine if this is worth doing.

The command line options we have for the tool are simple and we do not use any sub-commands in our tool that requires the need for the click library. In addition, click does not have native support for mutually exclusive options. So we will have to pull in additional dependency: https://github.com/click-contrib/click-option-group which creates additional burden with building the tool in OBS relating to maintenance. As part of this evaluation, we are going to defer/close this issue.

Let's close this for now - we can reopen later if we want to revisit.


ISSUE: Setup Failed

Describe the bug
I'm getting this setup failed for numpy but I have never touched or installed this in the past.  I looked at the links referenced below but am not sure which option, if any would apply as Im not sure how this library is normally installed.
Environment (please complete the following information):

version
core-2021.4.3

installation_type
Home Assistant Supervised

dev
false

hassio
true

docker
true

virtualenv
false

python_version
3.8.7

os_name
Linux

os_version
4.19.0-16-amd64

arch
x86_64

timezone
America/New_York

Home Assistant Community Store

GitHub API
ok

Github API Calls Remaining
4820

Installed Version
1.11.3

Stage
running

Available Repositories
847

Installed Repositories
29

AccuWeather

can_reach_server
ok

remaining_requests
18

Home Assistant Cloud

logged_in
false

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Home Assistant Supervisor

host_os
Debian GNU/Linux 10 (buster)

update_channel
stable

supervisor_version
supervisor-2021.04.0

docker_version
20.10.6

disk_total
181.1 GB

disk_used
15.2 GB

healthy
true

supported
true

supervisor_api
ok

version_api
ok

installed_addons
File editor (5.2.0), Mosquitto broker (5.1.1), NGINX Home Assistant SSL proxy (3.0.1), Duck DNS (1.12.5), Samba share (9.3.1), AdGuard Home (4.0.0), MariaDB (2.3.0), WireGuard (0.5.1), Home Assistant Google Drive Backup (0.103.1), AppDaemon 4 (0.6.0), chrony (2.0.2), TasmoBackup (1.04.10), Glances (0.11.2), Visual Studio Code (3.3.0)

Lovelace

dashboards
2

resources
19

views
11

mode
storage

Logs
Logger: homeassistant.setup
Source: setup.py:163
First occurred: 11:59:43 AM (1 occurrences)
Last logged: 11:59:43 AM
Setup failed for mail_and_packages: Unable to import component: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the numpy C-extensions failed. This error can happen for many reasons, often due to issues with your setup or how NumPy was installed. We have compiled some common reasons and troubleshooting tips at: https://numpy.org/devdocs/user/troubleshooting-importerror.html Please note and check the following: * The Python version is: Python3.8 from "/usr/local/bin/python3" * The NumPy version is: "1.18.5" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: Error loading shared library libopenblas.so.3: No such file or directory (needed by /usr/local/lib/python3.8/site-packages/numpy/core/_multiarray_umath.cpython-38-x86_64-linux-gnu.so)
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
This began appearing after updating HA to the April release.

Try restarting Home Assistant (the container not the OS).

Try restarting Home Assistant (the container not the OS).

I stopped the homeassstant container then restarted it (via docker commands) and I still see this error.  I assume that is the container you meant, there are these other containers with the hassio/home assistant as part of the name:
hassio_cli
hassio_audio
hassio_dns
hassio_supervisor
Is there anything else that I could provide that might be helpful?
I also tried uninstalling the Mail in Packages integration in HACS and in Configuration>>Integrations and commented out the camera  entries in the configuration.yaml file then added it all back but am still getting this error.

This shows in the Notifications section after restarting HA:
The following integrations and platforms could not be set up:
mail_and_packages
Please check your config and logs.
The logs is a link and takes you to the error i listed in the first post.

Update to the latest: core-2021.4.6

upgraded o 2021.4.6 and the issues went away.  Still tracking down an issue with the camera but its generally working now! Thanks!!!


Viewing variables with the Variable Explorer is crashing Spyder

I'm having a problem in Spyder 2.2.5 (Python 2.7)
Using Anaconda distribution
When I try to view/edit any variable type in the Variable Explorer that opens a separate window, that window immediately reports (Not Responding).  I have to kill the process and start over.
# -*- coding: utf-8 -*-
"""
Created on Tue Jul 21 16:24:03 2015

@author: tyler.davis
"""

tDog = ('breed','poodle')
lDog = list(tDog)
sDog = str(lDog)

I can view/edit sDog in the Variable Explorer, but any attempt to open/edit/view lDog or tDog opens the separate window that immediately freezes.  I understand that tuples are immutable, but I need to expand them because they are too long to display in the Variable Explorer window and are truncated with an ellipsis.

@twd000 spyder is currently in version 2.3.5, can you please update and check if the problems still persists in the newest version?
Cheers

Unfortunately 2.2.5 is the latest distribution that is approved/available on my corporate network.  If I can point to a bugfix that corrects this error, I could make an argument to our IT department to make 2.3.5 available to us.  Is there a bugfix/change list I can search?  Thanks

I found this changelog https://github.com/spyder-ide/spyder/blob/2.3/CHANGELOG.md, but any issue I click takes me to a 404 error page.  Is there another location to link detailed descriptions of the changes?

@twd000, I fixed the links to issues and PRs in our Changelog. It seems Github changed the way they handle internal markdown links, so that's why those links were broken.
Also, didn't you post this problem to StackOverflow? There you mentioned that trying to view tuples was crashing Spyder only on debugging. Is this the case with this problem too?
Finally, 2.2.5 is more than two years old and is not maintained anymore. We're not going to solve this problem for that version.

Thanks for fixing the links; it works now.
I have only tested this feature using debugging mode.  I need to be able to view the contents of large tuples and lists during code execution.
I have a Help Ticket in to my IT Dept to update Anaconda/Spyder

I confirmed that this issue only occurs in debug mode.  If I pass the variables out from a function, I can view tuples and view/edit lists just fine via the pop-up windows in Variable Explorer.

I ran your example code (present in your first comment) on debug mode, and using our latest stable version (i.e. <IP_ADDRESS>) with Anaconda.
For me everything is working as expected, i.e. you can open and inspect tuples in a new window without problems.
So the only thing you need to do is to update Spyder. One thing that you perhaps are not aware of is that you don't need admin privileges to install Anaconda. You can just install it in your Users dir without problems, that's one of its main advantages :-)


Add support for Angular Package Format 4.0

https://docs.google.com/document/d/1CZC2rcpxffTDfRDs6p1cfbmKNLA6x5O-NtkJglDaBVs/edit

Could you please provide a sample third-party package adhering to these standards for reference purposes?


Update stable version in repo from 0.0.0 to 0.1.3

Think about adding version 0.1.3 to stable repository.
Version: stable=0.0.0 (0 days old) => latest=0.1.3 (163 days old)
Installs: stable=0 (0%), latest=25 (96.15%), total=26
Click to edit

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 0.1.3 but in the meantime an update to version 1.0.6 is suggested.
So this issue will be closed and replaced by an updated one.
@mcm1957 for evidence


[STYLE CHANGE] navbar in importance of shloks

Description:
[Provide a clear and concise description of the style change you are requesting.]
Reason for Change:
[Explain the reasons behind the requested style change, such as usability, branding, or user experience.]
Uniformity in a website is essential
Current Styling:
[Describe the current styling that needs to be changed.]

Proposed Styling:
[Describe the desired styling or changes you would like to see.]

Screenshots or Design Mockups (optional):
[If available, include relevant screenshots or design mockups illustrating the requested style changes.]
Additional Information (optional):
[Provide any additional information that may help in understanding or implementing the style change. This can include any specific requirements or constraints.]

Priority Level (optional):

[ ] Low
[x] Medium
[ ] High

Timeline (optional):
[Specify any preferred or required timeline for implementing the style change.]
Possible Implementation Approach (optional):
[If you have any suggestions or ideas on how the style change could be implemented, feel free to provide them here.]

@akshitagupta15june please assign me this task

@RitiChandak are you talking about the background color of navbar in shlok section, or you are talking about aligning of text in the footer section, because in the above images, it looks like what you have written and what you have shown in images is different


Name and link to git hub profile is added

Related issue

What changes does this PR do?
Screenshots (If any)
Questions

@KSRATHORE761 apologies, didn't see your next commit 🙂

I Have removed the extra lines in the README.Md file.


Error while playing JioTv

I am from Singapore and used VPN to connect to india. Certainly I am exited to this JioTV plugin.
I keyed in My Id and password. However I am trying to play the videos but failed to play. the following is what I could find from log. Hope this would help you to let me know if there is anything else that I need to change in settings to make it work.
Thanks,
Vamsi
2020-04-20 10:43:27.659 T:31450  NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.jiotv/play/Nick_Hindi?maxq=1200
2020-04-20 10:43:27.663 T:31532  NOTICE: Creating InputStream
2020-04-20 10:43:29.974 T:31534   ERROR: <IP_ADDRESS> - - [20/Apr/2020 10:43:29] "GET /play/Nick_Hindi/master.m3u8?maxq=1200 HTTP/1.1" 451 -
2020-04-20 10:43:29.976 T:31532   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 451
2020-04-20 10:43:29.976 T:31532   ERROR: CCurlFile::Open failed with code 451 for http://<IP_ADDRESS>:48996/play/Nick_Hindi/master.m3u8?maxq=1200:
2020-04-20 10:43:29.976 T:31532   ERROR: AddOnLog: InputStream Adaptive: Cannot download http://<IP_ADDRESS>:48996/play/Nick_Hindi/master.m3u8?maxq=1200
2020-04-20 10:43:29.976 T:31532   ERROR: AddOnLog: InputStream Adaptive: Could not open / parse mpdURL (http://<IP_ADDRESS>:48996/play/Nick_Hindi/master.m3u8?maxq=1200)
2020-04-20 10:43:29.977 T:31532   ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.jiotv/play/Nick_Hindi?maxq=1200]
2020-04-20 10:43:29.977 T:31532  NOTICE: CVideoPlayer::OnExit()
2020-04-20 10:43:29.982 T:31534  NOTICE: [Errno 32] Broken pipe
2020-04-20 10:43:29.982 T:31534   ERROR: <IP_ADDRESS> - - [20/Apr/2020 10:43:29] "GET /play/Nick_Hindi/master.m3u8?maxq=1200 HTTP/1.1" 500 -
2020-04-20 10:43:29.983 T:31534   ERROR: Traceback (most recent call last):
2020-04-20 10:43:29.983 T:31534   ERROR:   File "/home/jenkins/workspace/Android-ARM64-Leia/tools/depends/xbmc-depends/aarch64-linux-android-21-release/lib/python2.7/SocketServer.py", line 596, in process_request_thread
2020-04-20 10:43:29.983 T:31534   ERROR:   File "/home/jenkins/workspace/Android-ARM64-Leia/tools/depends/xbmc-depends/aarch64-linux-android-21-release/lib/python2.7/SocketServer.py", line 331, in finish_request
2020-04-20 10:43:29.983 T:31534   ERROR:   File "/home/jenkins/workspace/Android-ARM64-Leia/tools/depends/xbmc-depends/aarch64-linux-android-21-release/lib/python2.7/SocketServer.py", line 654, in init
2020-04-20 10:43:29.984 T:31534   ERROR:   File "/home/jenkins/workspace/Android-ARM64-Leia/tools/depends/xbmc-depends/aarch64-linux-android-21-release/lib/python2.7/SocketServer.py", line 713, in finish
2020-04-20 10:43:29.984 T:31534   ERROR:   File "/home/jenkins/workspace/Android-ARM64-Leia/tools/depends/xbmc-depends/aarch64-linux-android-21-release/lib/python2.7/socket.py", line 283, in close
2020-04-20 10:43:29.984 T:31534   ERROR:   File "/home/jenkins/workspace/Android-ARM64-Leia/tools/depends/xbmc-depends/aarch64-linux-android-21-release/lib/python2.7/socket.py", line 307, in flush
2020-04-20 10:43:29.984 T:31534   ERROR: error: [Errno 32] Broken pipe
2020-04-20 10:43:30.002 T:31450  NOTICE: CVideoPlayer::CloseFile()
2020-04-20 10:43:30.009 T:31450  NOTICE: VideoPlayer: waiting for threads to exit
2020-04-20 10:43:30.009 T:31450  NOTICE: VideoPlayer: finished waiting
2020-04-20 10:43:38.905 T:31450  NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.jiotv/play/Sony_Yay_Hindi?maxq=1200
2020-04-20 10:43:38.906 T:31590  NOTICE: Creating InputStream
2020-04-20 10:43:40.824 T:31592   ERROR: <IP_ADDRESS> - - [20/Apr/2020 10:43:40] "GET /play/Sony_Yay_Hindi/master.m3u8?maxq=1200 HTTP/1.1" 451 -
2020-04-20 10:43:40.825 T:31590   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 451
2020-04-20 10:43:40.825 T:31590   ERROR: CCurlFile::Open failed with code 451 for http://<IP_ADDRESS>:48996/play/Sony_Yay_Hindi/master.m3u8?maxq=1200:
2020-04-20 10:43:40.825 T:31590   ERROR: AddOnLog: InputStream Adaptive: Cannot download http://<IP_ADDRESS>:48996/play/Sony_Yay_Hindi/master.m3u8?maxq=1200
2020-04-20 10:43:40.825 T:31590   ERROR: AddOnLog: InputStream Adaptive: Could not open / parse mpdURL (http://<IP_ADDRESS>:48996/play/Sony_Yay_Hindi/master.m3u8?maxq=1200)
2020-04-20 10:43:40.826 T:31590   ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.jiotv/play/Sony_Yay_Hindi?maxq=1200]
2020-04-20 10:43:40.826 T:31590  NOTICE: CVideoPlayer::OnExit()
2020-04-20 10:43:40.830 T:31592  NOTICE: [Errno 32] Broken pipe
2020-04-20 10:43:40.830 T:31592   ERROR: <IP_ADDRESS> - - [20/Apr/2020 10:43:40] "GET /play/Sony_Yay_Hindi/master.m3u8?maxq=1200 HTTP/1.1" 500 -
2020-04-20 10:43:40.831 T:31592   ERROR: Traceback (most recent call last):
2020-04-20 10:43:40.831 T:31592   ERROR:   File "/home/jenkins/workspace/Android-ARM64-Leia/tools/depends/xbmc-depends/aarch64-linux-android-21-release/lib/python2.7/SocketServer.py", line 596, in process_request_thread
2020-04-20 10:43:40.831 T:31592   ERROR:   File "/home/jenkins/workspace/Android-ARM64-Leia/tools/depends/xbmc-depends/aarch64-linux-android-21-release/lib/python2.7/SocketServer.py", line 331, in finish_request
2020-04-20 10:43:40.831 T:31592   ERROR:   File "/home/jenkins/workspace/Android-ARM64-Leia/tools/depends/xbmc-depends/aarch64-linux-android-21-release/lib/python2.7/SocketServer.py", line 654, in init
2020-04-20 10:43:40.831 T:31592   ERROR:   File "/home/jenkins/workspace/Android-ARM64-Leia/tools/depends/xbmc-depends/aarch64-linux-android-21-release/lib/python2.7/SocketServer.py", line 713, in finish
2020-04-20 10:43:40.831 T:31592   ERROR:   File "/home/jenkins/workspace/Android-ARM64-Leia/tools/depends/xbmc-depends/aarch64-linux-android-21-release/lib/python2.7/socket.py", line 283, in close
2020-04-20 10:43:40.832 T:31592   ERROR:   File "/home/jenkins/workspace/Android-ARM64-Leia/tools/depends/xbmc-depends/aarch64-linux-android-21-release/lib/python2.7/socket.py", line 307, in flush
2020-04-20 10:43:40.832 T:31592   ERROR: error: [Errno 32] Broken pipe
2020-04-20 10:43:40.849 T:31450  NOTICE: CVideoPlayer::CloseFile()
2020-04-20 10:43:40.852 T:31450  NOTICE: VideoPlayer: waiting for threads to exit
2020-04-20 10:43:40.852 T:31450  NOTICE: VideoPlayer: finished waiting
2020-04-20 10:43:40.927 T:31485   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 451
2020-04-20 10:43:40.928 T:31485   ERROR: CCurlFile::Open failed with code 451 for http://jiotv.catchup.cdn.jio.com/dare_images/shows/2020-04-20/200420872000.jpg:
2020-04-20 10:44:59.082 T:31450  NOTICE: CWinSystemAndroid::DestroyWindow

After I click on "Setup Simple IPTV PVR" from add on settings, the issue is resolved.


Add Sum method and tests

https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable.sum?view=netcore-2.1

Will take this one if that's okay? @jreina :)

It looks like there is already a PR in for this one, but I haven't gotten a chance to review it.

Grand no worries, will look for another issue I can do something for 👍 @jreina

Sounds good. There is also a JavaScript version of this repo
https://github.com/jreina/ShittyLINQ.js


feat: add excimer 1.2.0 release

update excimer with release 1.2.0

:tada: This PR is included in version 1.298.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: