Lens 5 does not start if shell autostarts tmux

Describe the bug
Lens 5 does not start
To Reproduce
Steps to reproduce the behavior:

Use ZSH with oh my zsh tmux plugin and ZSH_TMUX_AUTOSTART=true
Launch Lens
Lens is stuck on loading window

Expected behavior
Lens will launch
Screenshots

Environment (please complete the following information):

Lens Version: 5.0.2
OS: macOS
Installation method: DMG

Logs:
When you run the application executable from command line you will see some logging output. Please paste them here:
info: 📟 Setting Lens as protocol client for lens://
info: 📟 Protocol client register succeeded ✅
info: 🚀 Starting Lens from "/Users/omja/Library/Application Support/Lens"
info: 🐚 Syncing shell environment
error: shellEnv: TypeError: Cannot read property 'split' of undefined
info: 💾 Loading stores
info: [STORE]: LOADED from /Users/omja/Library/Application Support/Lens/lens-user-store.json
info: [STORE]: LOADED from /Users/omja/Library/Application Support/Lens/lens-cluster-store.json
info: [STORE]: LOADED from /Users/omja/Library/Application Support/Lens/lens-hotbar-store.json
info: [STORE]: LOADED from /Users/omja/Library/Application Support/Lens/lens-extensions.json
info: [STORE]: LOADED from /Users/omja/Library/Application Support/Lens/lens-filesystem-provisioner-store.json
info: [STORE]: LOADED from /Users/omja/Library/Application Support/Lens/lens-weblink-store.json
info: 🔌 Starting LensProxy
info: [LENS-PROXY]: Proxy server has started at <IP_ADDRESS>:62668
info: 🔎 Testing LensProxy connection ...
info: ⚡ LensProxy connection OK
info: 🖥  Starting WindowManager
info: 🧩 Initializing extensions
info: [EXTENSION-DISCOVERY] loading extensions from /Users/omja/Library/Application Support/Lens
info: [EXTENSION-INSTALLER] installing dependencies at /Users/omja/Library/Application Support/Lens
info: [WINDOW-MANAGER]: Loading Main window from url: http://localhost:62668 ...
info: [EXTENSION-INSTALLER] dependencies installed at /Users/omja/Library/Application Support/Lens
info: [EXTENSION-DISCOVERY] watching extension add/remove in /Users/omja/.k8slens/extensions
info: [STORE]: LOADED from /Users/omja/Library/Application Support/Lens/extension-store/lenscloud-lens-extension/auth-token-store.json
error: [EXTENSIONS-LOADER]: can't load main for "lens-telemetry": TypeError: Cannot create a second singleton while creating a first {"extension":{"id":"/Users/omja/Library/Application Support/Lens/node_modules/lens-telemetry/package.json","absolutePath":"/Applications/Lens.app/Contents/Resources/extensions/telemetry/lens-telemetry-5.0.2-latest.20210705.2.tgz","manifestPath":"/Users/omja/Library/Application Support/Lens/node_modules/lens-telemetry/package.json","manifest":{"name":"lens-telemetry","version":"5.0.2-latest.20210705.2","description":"Lens IDE telemetry","main":"dist/main.js","renderer":"dist/renderer.js","lens":{"metadata":{},"styles":[]},"scripts":{"build":"webpack -p && npm pack","dev":"webpack --watch","test":"jest --passWithNoTests --env=jsdom src $@"},"files":["dist/**/*"],"devDependencies":{"@k8slens/extensions":"file:../../src/extensions/npm/extensions","@types/analytics-node":"^3.1.3","@types/node":"^14.14.14","@types/react":"^17.0.0","@types/universal-analytics":"^0.4.4","analytics-node":"^3.4.0-beta.3","conf":"^7.1.2","jest":"^26.6.3","mobx":"^6.3.2","mobx-react":"^7.1.0","node-machine-id":"^1.1.12","react":"^16.13.1","ts-loader":"^8.0.4","typescript":"^4.0.3","universal-analytics":"^0.4.23","webpack":"^4.44.2","webpack-cli":"^3.3.11"}},"isBundled":true,"isEnabled":true,"isCompatible":true}}
error: [EXTENSION]: failed to activate<EMAIL_ADDRESS>Error: [MobX] No annotations were passed to makeObservable, but no decorated members have been found either
info: [EXTENSION]: enabled<EMAIL_ADDRESS>error: [EXTENSION]: failed to activate<EMAIL_ADDRESS>Error: Error while obtaining machine id: Error: Command failed: ioreg -rd1 -c IOPlatformExpertDevice
/bin/sh: ioreg: command not found

    at ChildProcess.exithandler (child_process.js:304:12)
    at ChildProcess.emit (events.js:223:5)
    at maybeClose (internal/child_process.js:1021:16)
    at Socket.<anonymous> (internal/child_process.js:430:11)
    at Socket.emit (events.js:223:5)
    at Pipe.<anonymous> (net.js:664:12)
info: [WINDOW-MANAGER]: Main window loaded
info: [STORE]: LOADED from /Users/omja/Library/Application Support/Lens/lens-user-store.json
info: [STORE]: LOADED from /Users/omja/Library/Application Support/Lens/lens-cluster-store.json
info: [CLUSTER-STORE] requesting initial state sync
info: [STORE]: LOADED from /Users/omja/Library/Application Support/Lens/lens-hotbar-store.json
info: [STORE]: LOADED from /Users/omja/Library/Application Support/Lens/lens-extensions.json
info: [STORE]: LOADED from /Users/omja/Library/Application Support/Lens/lens-filesystem-provisioner-store.json
info: [STORE]: LOADED from /Users/omja/Library/Application Support/Lens/lens-weblink-store.json
info: [CLUSTER-STORE] start to listen (1)
info: [STORE]: LOADED from /Users/omja/Library/Application Support/Lens/extension-store/lenscloud-lens-extension/auth-token-store.json
info: [STORE]: LOADED from /Users/omja/Library/Application Support/Lens/extension-store/lens-survey/preferences-store.json
info: [EXTENSION]: enabled<EMAIL_ADDRESS>info: [EXTENSION]: enabled<EMAIL_ADDRESS>info: [EXTENSION]: enabled<EMAIL_ADDRESS>info: [EXTENSION]: enabled<EMAIL_ADDRESS>error: [EXTENSION]: failed to activate<EMAIL_ADDRESS>TypeError: Cannot create a second singleton while creating a first
error: [EXTENSION]: failed to activate<EMAIL_ADDRESS>Error: Error while obtaining machine id: Error: Command failed: ioreg -rd1 -c IOPlatformExpertDevice
/bin/sh: ioreg: command not found

    at ChildProcess.exithandler (child_process.js:304:12)
    at ChildProcess.emit (events.js:223:5)
    at maybeClose (internal/child_process.js:1021:16)
    at Socket.<anonymous> (internal/child_process.js:430:11)
    at Socket.emit (events.js:223:5)
    at Pipe.<anonymous> (net.js:664:12)
info: [StorageHelper]: loading finished for /Users/omja/Library/Application Support/Lens/lens-local-storage/app.json
error: Can't find working API for the Kubernetes resource ingresses
info: [StorageHelper]: saving /Users/omja/Library/Application Support/Lens/lens-local-storage/app.json
info: [CLUSTER]: disconnect {"id":"8fd2dbea6c376e032d664b49b09852a1","name":"arn:aws:eks:us-east-1:453793470413:cluster/staging-use1","ready":false,"online":false,"accessible":false,"disconnected":true}
info: [CLUSTER]: unbind events {"id":"8fd2dbea6c376e032d664b49b09852a1","name":"arn:aws:eks:us-east-1:453793470413:cluster/staging-use1","ready":false,"online":false,"accessible":false,"disconnected":true}
info: [CLUSTER]: disconnect {"id":"c38b5de1f68b8e581300b360b41c0437","name":"arn:aws:eks:ap-southeast-2:453793470413:cluster/staging-apse2","ready":false,"online":false,"accessible":false,"disconnected":true}
info: [CLUSTER]: unbind events {"id":"c38b5de1f68b8e581300b360b41c0437","name":"arn:aws:eks:ap-southeast-2:453793470413:cluster/staging-apse2","ready":false,"online":false,"accessible":false,"disconnected":true}
info: SERVICE:QUIT

Kubeconfig:
Quite often the problems are caused by malformed kubeconfig which the application tries to load. Please share your kubeconfig, remember to remove any secret and sensitive information.
your kubeconfig here

Additional context
When ZSH_TMUX_AUTOSTART=false Lens opens properly.

Thank you for reporting this. There seems to be two issues. An error related to shell sync and one related to ioreg not being found.
Have you changed your $PATH to not have /usr/sbin in it?

I have ran ZSH_TMUX_AUTOSTART=true make dev (and it launched fine) but will try it when running a released version.

Just checked my path and can confirm that /usr/sbin is present

I just found this https://github.com/sindresorhus/shell-env/issues/4, not sure what can be done here (apart from perhaps finding a different solution to gather environment variables)

Thanks for finding that. And I realize that I am not running the tmux plugin so that is probably why I didn't run into the issue.

If you run ioreg yourself, do you get output (don't post it if you do).

I do get output when I run ioreg


Update images

Ensure that standard Win2012 machine has 4.6.2
Patch testimpact 2016 machine to see whether it fixes occasional bugchecks shortly after startup

/fyi @stephentoub @danmosemsft


Does not display high resolution images

I have images with those size 1944, 2592. which part of the code should I modify for displaying the whole image?
thanks in advance.

Hi @holak0
you can resize the image into less then 800px. After you can view the image
Use this below code for resize to 10%
magick mogrify -resize 10% rose.jpg


[Bug Fix] Fix SVG scaling Problem in Folder: MesheryMeshInterface

Fix the problems with SVG in MesheryMeshInterface
Folder: https://github.com/meshery/meshery/tree/master/ui/components/MesheryMeshInterface
All the files here should be incorporating the changes, described below.

When an icon is used directly from the libraries like MUI or font-awesome or something else, always specify the height and width prop.

There are some set of SVG styles specifying common height and width
All the icons imported from any library, could be either small, or medium, or large, or xl. One of these styles based on icon demand should be applied to all those svgs.
Examples of how to do it:

https://github.com/meshery/meshery/pull/6690/commits/ecc260461b6015ca680d6969e01bfa9565f373f2
https://github.com/meshery/meshery/pull/6690/commits/4b000e07a2eeb70c402085cdf86544783bcc939c

Files Done:

ui/components/CatalogFilter.js
ui/components/ConfirmationModal.js
ui/components/Content.js
ui/components/CustomTableFooter.js
ui/components/DashboardComponent.js
ui/components/ErrorHandling.js
ui/components/Filters.js
ui/components/Header.js
ui/components/MeshAdapterConfigComponent.js
ui/components/MesherySettings.js
ui/components/MeshConfigComponent.js
ui/components/MesheryAdapterPlayComponent.js
ui/components/MesheryApplications.js
ui/components/MesheryMetrics.js
ui/components/MesheryNotification.js

Originally posted by @Abhishek-kumar09 in https://github.com/meshery/meshery/issues/6690#issuecomment-1384202999

Hey @Abhishek-kumar09, I would like to work on this issue!

https://github.com/meshery/meshery/issues/7035


I restarted CI.

failed waiting for middleware service,,,,trying with middleware v1.3.0

@kiranparajuli589 are you making the matching core commit id bump PRs to cs3org/reva edge and master?

@kiranparajuli589 are you making the matching core commit id bump PRs to cs3org/reva edge and master?

I'm on it @phil-davis


"Not found" on loading kernel: no idea what error is

I have no idea what the error is because the bootloader isn't verbose enough.
Anyway, this is what my error looks like:

Some details:
64-bit ELF kernel, load at 1MiB.
Stivale 1 protocol.
Compiled as position-independent executable.
GitHub (for linkerscript/makefile): https://github.com/microNET-OS/microCORE/tree/work/rizet/interface
My config:
# Timeout in seconds that TomatBoot will use before automatically booting.
TIMEOUT=0

:microNET 0.6 Glassi
PROTOCOL=stivale

KERNEL_PATH=boot:///sys/core/microCORE.kernel

My header:
__attribute__((section(".stivalehdr"), used))
struct stivale_header stivale_hdr = {

    .stack = 0,

    .flags = 0b001,

    .framebuffer_width = 0,

    .framebuffer_height = 0,

    .framebuffer_bpp = 32,

    .entry_point = 0,
};

The stivale header is at the first address in the executable.
The section is aligned to fill exactly 1 page.
Bootloader-triggered register-dump:
!!!! X64 Exception Type - 03(#BP - Breakpoint)  CPU Apic ID - 00000000 !!!!
RIP  - 000000001EA4F84C, CS  -<PHONE_NUMBER>000038, RFLAGS -<PHONE_NUMBER>000206
RAX  -<PHONE_NUMBER>000000, RCX - 000000001F16ADE0, RDX -<PHONE_NUMBER>000000
RBX  - 000000001FF07638, RSP - 000000001FF07370, RBP -<PHONE_NUMBER>000036
RSI  - FFFFFFFFFFFFFFFF, RDI -<PHONE_NUMBER>000002
R8   -<PHONE_NUMBER>000004, R9  -<PHONE_NUMBER>000000, R10 -<PHONE_NUMBER>00000D
R11  -<PHONE_NUMBER>000010, R12 - 000000001EA5E000, R13 -<PHONE_NUMBER>000006
R14  - 000000001EA54BB8, R15 - 000000001EA55170
DS   -<PHONE_NUMBER>000030, ES  -<PHONE_NUMBER>000030, FS  -<PHONE_NUMBER>000030
GS   -<PHONE_NUMBER>000030, SS  -<PHONE_NUMBER>000030
CR0  -<PHONE_NUMBER>010033, CR2 -<PHONE_NUMBER>000000, CR3 - 000000001FC01000
CR4  -<PHONE_NUMBER>000668, CR8 -<PHONE_NUMBER>000000
DR0  -<PHONE_NUMBER>000000, DR1 -<PHONE_NUMBER>000000, DR2 -<PHONE_NUMBER>000000
DR3  -<PHONE_NUMBER>000000, DR6 - 00000000FFFF0FF0, DR7 -<PHONE_NUMBER>000400
GDTR - 000000001F9EEA98<PHONE_NUMBER>000047, LDTR -<PHONE_NUMBER>000000
IDTR - 000000001F175018<PHONE_NUMBER>000FFF,   TR -<PHONE_NUMBER>000000
FXSAVE_STATE - 000000001FF06FD0
!!!! Find image based on IP(0x1EA4F84C) (No PDB)  (ImageBase=000000001EA47000, EntryPoint=000000001EA484BC) !!!!

UPDATE: It appears that TomatBoot doesn't support PIEs. Why is this? It's a major PITA as position-independence is an objective here.

Right now tomatboot doesn't support pic/pie binaries because we don't handle elf relocations, I am working on a refactor they does support it but it is not ready yet, I hope this weekend I will get it into a state where I can switch the refactor to master


Fix verticaldrift modules for v10

It looks as if most of the v10 refactoring work has aleady been done in protoduneana/verticaldrift.  Just a few things had to be tweaked to get the modules to compile under v10.

trigger build

:heavy_check_mark: CI build for LArSoft Succeeded on slf7 for c14:prof -- details available through the CI dashboard

:heavy_check_mark: CI build for LArSoft Succeeded on slf7 for e26:prof -- details available through the CI dashboard

:x: CI build for DUNE Failed at phase build DUNE on slf7 for c14:prof -- details available through the CI dashboard
:rotating_light: For more details about the failed phase, check the build DUNE phase logs
parent CI build details are available through the CI dashboard

:warning: CI build for DUNE Warning at phase ci_tests DUNE on slf7 for e26:prof -- details available through the CI dashboard
:rotating_light: For more details about the warning phase, check the ci_tests DUNE phase logs
parent CI build details are available through the CI dashboard


Investigate externalizing comment attachment

It seems possible to externalize the comment attachment functionality such that anyone can plug in their own algorithm. The goal here is to find a way to remove comment attachment from the core while allowing esprima customers to optionally add it back in.
I'm investigating the effort involved to do this.

Okay, so I was right, the comment attachment logic can be wholly externalized using a minimum amount of information from Esprima. I did a proof-of-concept in Espree that removes all comment attachment logic into a separate file: https://github.com/eslint/espree/pull/66
This implementation requires three things:

To somehow be notified when a comment node is available. https://github.com/eslint/espree/pull/66/files#diff-7a476a3203e745831344f37dd24a8a97R111
To be notified when a node has finished being processed. https://github.com/eslint/espree/pull/66/files#diff-7a476a3203e745831344f37dd24a8a97R1993
To reset its internal status when parse() is called (may not be necessary, implementation-dependent).

I can see a few ways of doing this in Esprima:

Create allow onComment and postprocessNode functions to be passed in on the options object to parse(). The onComment would be called whenever a new comment node is ready and postprocessNode would be called just before a node has been finalized (node.finish*Node()).
Expose similar methods via exports so they can be overridden.

Thoughts?

@ariya @mikesherov

The idea is sound and I think we should pursue this. Is there any PoC that works with the latest Esprima?
The API might require some thoughts. A possibility is to re-use the existing attachComment. From the consumer side, it may look like:
var myAttacher = {
  collect: function (comment) {
  },
  attach: function (node) {
  }
};

esprima.parse(code, { attachComment: myAttacher });

This also simplifies the internal implementation. If Esprima sees that attachComment is true (not an object), then it will use a built-in internal attacher.
Suggestions for better interface or naming are welcomed. Thoughts?

I can put together a PoC for Esprima, I just wasn't sure what the preferred interface would be. If you want to remove the functionality from Esprima, it might be better to have a new onComment rather than reusing attachComment, since it would be up to the developer whether or not it actually attaches.
So maybe pass onComment and onNode as properties on the options object?

Good point on the non-attaching possibility. On the other hand, grouping simple options with callbacks might be confusing. We can use the delegation pattern (similar to original SM Parser API Builder, which I have attempted in the past but aborted it). Here is an example:
var myDelegate = {
  collectComment: function (comment) {
  },
  processNode: function (node) {
  }
};

esprima.parse(code, { delegate: myDelegate });

There is also a potential risk exposing the generic processNode right now. I haven't thought much about it, but I think it's fair to evaluate its ramifications w.r.t the new ES6 features coming in.
As a side note, I personally don't feel comfortable with on + some noun (as opposed to on + verb).

Tell me what you want the names to be and I'll put together a PR

I think it's fine to use any names for now. It's easy enough to iterate on the interface and naming.

For the general design on the syntax delegator, refer to #1113.

This is now supported with the implementation of #1113.


python311Packages.rpyc: disable failing tests

Description of changes
Fix build (https://hydra.nixos.org/build/253883131)

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

angr broken with the last Python mass updates.


Restructure the "Working with Kafka" tutorial

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? Yes
Ran FindSecurityBugs plugin and verified report? Yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? Yes

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: RukshiW:x: sajithshnYou have signed the CLA already but the status is still pending? Let us recheck it.


Remix Forms and Remix Auth

First, thanks for this amazing library, can you guys provide example how to use Remix Auth and Remix Forms ?

I'll be making a tutorial about it soon!
Will make sure to post here


feat(forge): simulating multiple transactions in a single test with a dependency tree

Component
Forge
Describe the feature you would like
With forge, is it possible to simulate multiple transactions (in a single block or in multiple ones) within a single test? If not, are there plans to extend forge into this direction?
Currently, the answer to the first question seems to be yes and no. Yes, because we can set the block number, the sender, tx.origin etc to multiple values within a test. No, because not all aspects of a transaction are simulated faithfully. As an example, the code of a contract that has self-destructed is not removed, even if we increase the block number (in the hope to start a new transaction with the new block). Confusingly, the code is removed if the contract already selfdestructs in function setUp().
Can we assume that each test is a separate transaction? If yes, is there a way of running tests in a fixed order, without resetting the environment in between? Would this be a way to simulate a sequence of transactions? How precise is this simulation?
Additional context
No response

As a concrete example: Suppose I'm testing a wallet that, within the same transaction, is created at a specific address, performs some tasks, and then selfdestructs. How do I check that after the transaction, the code is indeed gone?

that's quite similar with https://github.com/foundry-rs/foundry/issues/1543 (see comment there why code is removed if selfdestruct in setup. I think would be neat to be able to chain multiple tests, like testB to operate on state after testA and should also solve #1543 will look into complexity of this change

Thanks for considering an extension. Yes, this looks like the same issue.
But actually, my desires would go even further. Suppose we want to demonstrate that the order of transactions has/does not have an effect. Then I would like to run a test in forge, remember the results, run another test (same initial setup, but different (trans)actions), and then compare the results of the two tests. So the idea would be to have not only a single sequence of transactions within a test (like we are just discussing), but several of them in parallel from the same initial conditions. Is this something that forge possibly can do, or is this totally against the  basic concept of forge?

what I was thinking at was to have capability of inline configuring a test like
/// forge-config: default.unit.prereqs=create_contract,selfdestroy_contract`
function testSelfdestroy() public

where testSelfdestroy has create_contract and selfdestroy_contract functions as prereqs, in specified order. I think this should cover your scenario?

what I was thinking at was to have capability of inline configuring a test like [...]. I think this should cover your scenario?

Looks great, seems to solve my original problem!
Do you see a possibility to use forge for a test that compares the results of several sequences of transactions that are executed from the same initial conditions, e.g., to demonstrate that there is a transaction order dependence? As I understand it, your extension would allow us to execute a sequence of transactions within a single test, which improves the current situation with at most two transactions (the setup and the test).

what I was thinking at was to have capability of inline configuring a test like [...]. I think this should cover your scenario?

Looks great, seems to solve my original problem!
Do you see a possibility to use forge for a test that compares the results of several sequences of transactions that are executed from the same initial conditions, e.g., to demonstrate that there is a transaction order dependence? As I understand it, your extension would allow us to execute a sequence of transactions within a single test, which improves the current situation with at most two transactions (the setup and the test).

hm, you mean like instead setup -> [tx1, tx2,.. ] -> test to have something like  setup -> shuffle[tx1, tx2,.. ] -> test
Are you starting from a known failure or you want to assert invariants (if so check the invariant testing support in foundry)

My current use case is to demonstrate existential properties (mostly known failures: There is a sequence of calls that leads to some problematic behavior). One case that doesn't work well with forge at the moment is the demonstration that there is a transaction order dependence, since this would require
          / txa1, txa2, ... \
setup -> |                   | -> test
          \ txb1, txb2, ... /

test would need access to the states after the txa and txb chain, respectively, in order to compare them and assert a difference. For many cases, it would be sufficient to have just one transaction in each sequence (txa1 and txb1), as it is often possible to simulate the transaction sequence tx1,tx2,... in a single transaction (say, a constructor performing a sequence of calls).
setup -> shuffle[tx1, tx2,.. ] -> test
might be a cool feature, too. If shuffle means that forge tests all permutations, then one could use it to demonstrate certain universal properties, like transaction order independence for certain cases. If shuffle just selects one random sequence, then one could still rerun it a certain number of times (like with fuzz tests) to find a transaction order dependence, or assert its absence, with some degree of certainty.

setup -> shuffle[tx1, tx2,.. ] -> test might be a cool feature, too. If shuffle means that forge tests all permutations, then one could use it to demonstrate certain universal properties, like transaction order independence for certain cases.

I think we could have a strategy to test all permutations, let's have basic support in and we can expand after.

@grandizzy Thanks for adding beforeTestSetup, works great. I also experimented with the --isolate flag, but prefer your approach. With --isolate, each top-level call becomes a separate transaction (without being visible in the trace as such), and I found it tricky if I wanted to get several calls executed in a single transaction. Moreover, it doesn't seem to possible to specify in the test file itself that it should be run in isolation mode, which may give misleading results if one forgets to specify the flag.

Do you have any ideas how one could have a test comparing the results of two tests? Say, run several transactions in one order and also in a another, different one, and then assert that the two states differ (thus demonstrating a transaction order dependence)?

Do you have any ideas how one could have a test comparing the results of two tests? Say, run several transactions in one order and also in a another, different one, and then assert that the two states differ (thus demonstrating a transaction order dependence)?

hey @gsalzer maybe you could use startStateDiffRecording / stopAndReturnStateDiff cheatcodes to accomplish such?
https://book.getfoundry.sh/cheatcodes/start-state-diff-recording
https://book.getfoundry.sh/cheatcodes/stop-and-return-state-diff

Hey @grandizzy Do you know how could I run thousands of tokens transfers on a single test, and that each transfer would be treated as an individual tx?
The problem I'm having is that the test runs out of gas while doing the transfers, and what I want to test is something that involves doing thousands of transfers to an account over different timestamps, let's say, I'd want to reproduce in the same test what would happen if I'd execute thousands of individual token transfers on a chain.

I'd like to run a test where each transfer would be an individual tx and after I've completed all the transfers, to test if the execution of a function reverts because of all the updates that were made by each individual transfer.

@stalinMacias did you try isolation mode?
--isolate
          Whether to enable isolation of calls. In isolation mode all top-level calls are executed
          as a separate transaction in a separate EVM context, enabling more precise gas accounting
          and transaction state changes

This or beforeTestSetup should work I think

@grandizzy Thanks for the super quick answer. I've just tried but the out of gas error still shows up.
This is what I'm trying to do, but execution reverts after aprox 15k transfers
vm.startPrank(maliciousUser);
    for(uint i = 0; i < 12_000; i++) {
      token.transfer(legitUser, 1);    }
    for(uint i = 0; i < 12_000; i++) {
      token.transfer(legitUser, 1);
    }
    vm.stopPrank();

Any other idea that comes up to your mind?

hm, maybe bump the gas limit
gas_limit = "18446744073709551615"


Personalize the extract request process

[ ] add messaging for "your extract" to make it clear that this is a personalized request
[ ] allow the ability to rename an extract request

This will require a database change, so we should do the PR handoff around that.


Kaizala regional availability

add Sourth Korea

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

ID: 2033900c-d18a-cdd3-313c-7efed2ceb4ec
Version Independent ID: 87b1f4a4-abb8-f3f6-241e-ca8b9b3d5015
Content: Kaizala regional availability
Content Source: Office365-Kaizala/regional-availability.md
Service: kaizala
GitHub Login: @chuckedmonson
Microsoft Alias: chucked

@officedocsbot assign @mypil

@Kwonsoonman - Thank you for submitting feedback.
Based on the article, it shows that Beginning in May 2019, Kaizala Pro will be commercially available internationally and this may already include South Korea. Looping in chuckedmonson to get confirmation.
@chuckedmonson - can you please confirm if South Korea will be part of this?
Thank you.

@Kwonsoonman - Yes, the release will include South Korea. A specific release date in May still hasn't been announced. Thank you.


asyncio.exceptions.TimeoutError

I cloned your repository (directory is /Users/yoshinaga/Work/Project/), and set OPENAI_API_KEY (export OPENAI_API_KEY="sk-xxxxx") and executed the example (python examples/analyze_dataset.py).
However, the following error was occured.
How should I deal with this?
yoshinaga@mG37QYXD7HF codeinterpreter-api % python examples/analyze_dataset.py
Traceback (most recent call last):
  File "/Users/yoshinaga/.pyenv/versions/3.9.16/lib/python3.9/site-packages/websockets/legacy/client.py", line 655, in __await_impl_timeout__
    return await self.__await_impl__()
  File "/Users/yoshinaga/.pyenv/versions/3.9.16/lib/python3.9/site-packages/websockets/legacy/client.py", line 662, in __await_impl__
    await protocol.handshake(
  File "/Users/yoshinaga/.pyenv/versions/3.9.16/lib/python3.9/site-packages/websockets/legacy/client.py", line 323, in handshake
    status_code, response_headers = await self.read_http_response()
  File "/Users/yoshinaga/.pyenv/versions/3.9.16/lib/python3.9/site-packages/websockets/legacy/client.py", line 139, in read_http_response
    status_code, reason, headers = await read_response(self.reader)
  File "/Users/yoshinaga/.pyenv/versions/3.9.16/lib/python3.9/site-packages/websockets/legacy/http.py", line 120, in read_response
    status_line = await read_line(stream)
  File "/Users/yoshinaga/.pyenv/versions/3.9.16/lib/python3.9/site-packages/websockets/legacy/http.py", line 194, in read_line
    line = await stream.readline()
  File "/Users/yoshinaga/.pyenv/versions/3.9.16/lib/python3.9/asyncio/streams.py", line 540, in readline
    line = await self.readuntil(sep)
  File "/Users/yoshinaga/.pyenv/versions/3.9.16/lib/python3.9/asyncio/streams.py", line 632, in readuntil
    await self._wait_for_data('readuntil')
  File "/Users/yoshinaga/.pyenv/versions/3.9.16/lib/python3.9/asyncio/streams.py", line 517, in _wait_for_data
    await self._waiter
asyncio. exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/yoshinaga/Work/Project/codeinterpreter-api/examples/analyze_dataset.py", line 24, in <module>
    asyncio.run(main())
  File "/Users/yoshinaga/.pyenv/versions/3.9.16/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/Users/yoshinaga/.pyenv/versions/3.9.16/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
    return future.result()
  File "/Users/yoshinaga/Work/Project/codeinterpreter-api/examples/analyze_dataset.py", line 6, in main
    async with CodeInterpreterSession() as session:
  File "/Users/yoshinaga/.pyenv/versions/3.9.16/lib/python3.9/site-packages/codeinterpreterapi/session.py", line 194, in __aenter__
    await self.astart()
  File "/Users/yoshinaga/.pyenv/versions/3.9.16/lib/python3.9/site-packages/codeinterpreterapi/session.py", line 32, in astart
    await self.codebox.astart()
  File "/Users/yoshinaga/.pyenv/versions/3.9.16/lib/python3.9/site-packages/codeboxapi/box/localbox.py", line 139, in astart
    self.ws = await ws_connect(
  File "/Users/yoshinaga/.pyenv/versions/3.9.16/lib/python3.9/site-packages/websockets/legacy/client.py", line 655, in __await_impl_timeout__
    return await self.__await_impl__()
  File "/Users/yoshinaga/.pyenv/versions/3.9.16/lib/python3.9/site-packages/websockets/legacy/async_timeout.py", line 169, in __aexit__
    self._do_exit(exc_type)
  File "/Users/yoshinaga/.pyenv/versions/3.9.16/lib/python3.9/site-packages/websockets/legacy/async_timeout.py", line 252, in _do_exit
    raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x13db47a60>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x13dc60a60>, 1.316770625)]']
connector: <aiohttp.connector.TCPConnector object at 0x13dc69100>

I face a similar issue. Is there a fix for it ?

me too

Could you please assign this task to any developer?
@shroominic

need udpate on it


"An error occurred while zipping the api artifacts" error trying to use shared library package

I have a node library which is shared between my function API and my client.  I can run the static web app, including the API locally, but when I use GitHub actions, I get the following:
Zipping Api Artifacts
An error occurred while zipping the api artifacts: Could not find file '/bin/staticsites/<id>-swa-oryx/api/node_modules/titancommon'.
This error may be due to a broken symbolic link. Please review the build logs for any warnings or errors

In the GitHub workflow yaml, I have a step which builds the common library, and a step to build the API (it's in typescript), which look like this:
      - name: Build common Local Package
        run: |
          cd common
          npm install
          npm run build

      - name: Build service API
        run: |
          cd service
          npm install
          npm run build
          ls node_modules  # output: this DOES include the titancommon library

The API's package.json includes the common library as such:
  "dependencies": {
    "titancommon": "file:../common"

This seems like a bug, but in the mean-time is there a work-around place to put a file based dependency like this so that it will be properly copied into the API deployment?

I have the same issue. And indeed the node_modules includes the library in the dependencies. However it is a symbolic link to the folder it refers to (in your case ../common). Use "ls -l node_modules" to check. The refered folder is not included in the api artifact, hence the error.
I didn't find a solution for this problem though...

Hi folks, did anybody find a workaround for this? Eagerly looking for one :)


AP-858 Avoid webhint false positives

What
Link to story
Avoid these WebHint false positives:

Don't check pages from TrueLayer
Doctype not being present
"'charset' meta element should be the first thing in ''."

The last one happened because Capybara's page.save_page inserts <base href="http://localhost:3004" />  as the first element in the <head> tag.
So this PR implements it better to avoid the WebHint error.
For the Doctype error, the problem is that the page saved to file does not include the Doctype and I didn't manage to fix that so I added this error as an exception in Webhint's config.
Checklist
Before you ask people to review this PR:

[X] Tests and rubocop should be passing: bundle exec rake
[X] Github should not be reporting conflicts; you should have recently run git rebase master.
[X] There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
[X] The PR description should say what you changed and why, with a link to the JIRA story.
[X] You should have looked at the diff against master and ensured that nothing unexpected is included in your changes.
[X] You should have checked that the commit messages say why the change was made.

Capybara's page.html which is delegated to Selenium and then to the chrome driver returns the html without the DOCTYPE unfortunately


The body will shake where Modal component show  in IE11

Version & browser
0.19.1 & IE 11
Which component
Modal
Steps to reproduce the problem

body has vertical scrollbar
modal don't have vertical scrollbar
show the modal

Expected behavior

hide the body's scrollbar
the body will not shake

Actual behavior
the body will shake

https://github.com/hetianqi/images/blob/master/uiv-modal-shaking-bug.gif?raw=true

thanks for the feedback. fixed now.


Add support for CNI 1.0.0 config

Trivially upgraded github.com/containernetworking/cni to v1.1.2 and expanded the list of known versions to all the ones it supports for auto-conversion.
Specifically, the internal CNI representation is still using CNI spec 0.4.0, changing that would have required deeper changes. As long as any future CNI library updates can still convert to/from 0.4.0, we should be able to trivially upgrade CNI support using the CNI library auto-conversion. It might make sense to move to 1.0.0 internally, but that isn't necessary now.
Tested with the NAT plugin and the following CNI config, mostly generated by nerdctl 1.6.2. (I had to add the DNS config myself, and the gateway and subnet generated by nerdctl were incorrect for the existing NAT network created by (I think) Docker; both are things I'm chasing up elsewhere)
{
  "cniVersion": "1.0.0",
  "name": "nat",
  "nerdctlID": "d919a100ce6b45524d415d52d088d5817587c6dd8c3691b03b8063c44d043523",
  "nerdctlLabels": {
    "nerdctl/default-network": "true"
  },
  "plugins": [
    {
      "type": "nat",
      "master": "Ethernet",
      "ipam": {
        "routes": [
          {
            "gateway": "<IP_ADDRESS>"
          }
        ],
        "subnet": "<IP_ADDRESS>/20",
        "type": ""
      },
      "dns": {
        "nameservers": [ "<IP_ADDRESS>" ]
      }
    }
  ]
}

Oops. I just noticed #90 which did update the internal structure to a later CNI version (and it looks like it was a pretty trivial change), but did not enable newer CNI versions to be parsed/output.
So I guess the best of both worlds would be to combine them both?

Thanks for the PR @TBBle, we've been exploring the CNI 1.0.0 update for the last few weeks with @aznashwan. I've tested this locally and seems issue is we've updated  cni to github.com/containernetworking/cni v1.1.2 but didn't push the corresponding go mod vendor updates for Server 2019. Server 2022 was broken before the update

Thanks @TBBle for the PR, recent commit has restored CI to match state on master. Appears we oscillate between failure on 2019 and failure on 2022. I can't repro the test failure on a local Server 2019, we should perhaps consider hosting our own runner and see whether that improves  CI stability. cc: @debj1t
@aznashwan please help review and see whether we can merge this then port your fixes over.

LGTM FWIW, thank you!

and the gateway and subnet generated by nerdctl were incorrect for the existing NAT network created by (I think) Docker

There is indeed currently no logic in this repo which compares the network config provided to the plugins with the actual properties of the HCN network if it is pre-created. (it simply looks the network up by name and trusts it matches)
IMO this should be fixed and the plugins should error on config mismatches with pre-existing networks, but that will be a separate patch for another day.
I'll be following up with a patch which'll add a workflow to run containerd+cri integration tests on top of both the NAT and Bridge/Overlay plugins, so I'd suggest we merge this now @debj1t

IMO this should be fixed and the plugins should error on config mismatches with pre-existing networks, but that will be a separate patch for another day.

Makes sense. I was also planning to poke at nerdctl and see if I can work out why it created a faulty CNI config; I got rabbitholed trying to make sense of the duality of HCN/HNS and forgot about that. (I _suspect without actually checking that nerdctl just output a set of hard-coded details assuming the network doesn't already exists, rather than asking HCN for details of an existing network.)
An alternative to this (which I thought I mentioned elsewhere, I think there's a discussion about CNI network name/type behaviour in another ticket) would be to actually complete the TODO in this repo and remove network-creation support, relying on the host to already have the desired network created. That would actually remove (I think...) the need to have multiple CNI network types in this codebase at all, since they all trust HCN over the user config anyway.

I _suspect without actually checking that nerdctl just output a set of hard-coded details

You are correct, nerdctl will simply use some hardcoded defaults for the subnet unless the user explicitly passes in a different one.

assuming the network doesn't already exists

Also correct, nerdctl does zero checking/creation of OS-side resources when the user creates a network (on Windows and Linux too afaik), all a nerdctl network create does is write the CNI config JSON and call it a day.

An alternative to this (which I thought I mentioned elsewhere, I think there's a discussion about CNI network name/type behaviour in another ticket) would be to actually complete the TODO in this repo and remove network-creation support

IMHO, it should be expected, and even downright warranted of the CNI plugins to create underlying OS resources as needed (the trivial reference Linux CNI plugins do this, at least), so from my PoV the real question is what the WinCNI plugins should do in case of the HNS networks pre-existing with different properties, for which I have opened the following issue for further discussion: https://github.com/microsoft/windows-container-networking/issues/98

I think there's a discussion about CNI network name/type behaviour in another ticket

I hope to contribute a patch which should alleviate the BinaryName != HcnType issue (https://github.com/microsoft/windows-container-networking/issues/57) which would hopefully not break any of the usecases these plugins are already used for.
An honest thank you for all your help in all of this, @TBBle!
@debj1t looks like the updated test suite has passed (at least for 0.2.0 configs, which are the only ones we currently test) just fine on this PR so please consider merging this!

To move to using the 1.0.0 structures internally? Replace the use of "github.com/containernetworking/cni/pkg/types/040" with "github.com/containernetworking/cni/pkg/types/100" and adapt to any differences in the structures in code in this repo that interacts with them, as far as I know.
And yeah, nerdctl's code on Windows starts with a blank IPAM structure, and never populates the type field. The comparable code on Unix has different methods for different IPAM types which prepopulate the type field.
I suspect the Windows-side nerdctl CNI generation implementation has been bitrotting a little, since it still references CNI 0.2.0, while the Unix side references 1.0.1 and 1.1.0.

Had already half-baked the reply to question 1 so posting it for posterity anyway:

What is the work required to move to 1.0.0?

If you meant moving the internal structures used by the plugins to 1.0.0, it's a matter of switching the containernetworking/cni/pkg/types/040 deps to types/100, which seemed as trivial as dropping some fields in my other closed PR, though I did not get to thoroughly test those changes since the testing framework was pretty faulty.

I suspect the Windows-side nerdctl CNI generation implementation has been bitrotting a little

Indeed, the nerdctl network create code is a whole other can of worms, but it should be a completely separate issue from whether the plugins can handle 1.0.0 configs or not, and should hopefully not imply express updates to the plugins to facilitate it further.

nerdctlID

Hi  @TBBle
I wonder how did you got the nerdctlID in Powershell ?

@Lin-Huang-Wei note that the nerdctlID field is only set by nerdctl network create when it is the one creating the network, but there's nothing stopping you from defining CNI networks yourself, in which case they will not have an ID.
Example containerd setup script creating ID-less CNI network:
https://github.com/containerd/containerd/blob/main/script/setup/install-cni-windows#L78-L97

Thanks @TBBle, I was able to use this request/branch to get networking working with containerd.
I have someone else has since submitted a pull request, #101 which has merged. I'm yet to try building that and checking that but perhaps this require is due for being closed.

Yeah, that makes sense, #101 appears to be the union of these changes, #90, and the resolution of the missing CHECK support discussion in this PR.
So I'll close this as redundant.


Added iOS 8 support.

Added code to support ios-arkit for iOS 8.

Thanks @PrajeetShrestha, just a couple of minor comments left there before merging.

Ok added the descriptions to the keys.

@PrajeetShrestha That's great. Thank you very much for the PR!

It's a great library! Thank you very much. :) Seems like the hound is taking too much time reviewing changes :)

Great!! Any other improvements? Suggestions?
I had in mind to publish it as a cocoapod. What do you think?

It would be too handy if you make Pod of it. I am exploring your library in details starting from today since I have to implement it in a project. I will be definitely sending you some more pull requests / comments if I find a room for great improvement in it.

Perfect, let me know if you need a hand.


Spotify controls via libspoitfy

ref: http://www.node-spotify.com/
Using this node lib, this vim script could do anything that spotify can do. the v8 engine would be a requirement, but iojs now ships with it as of v1.0.0.
Just throwing the idea out there.

Thanks for the comments, but this is out of scope for this small vim plugin.


Solution is incomplete. There is no way to get cos(x)^2+2*cos(x)+1 from (cos(x)+1)^2.

https://github.com/asc-community/AngouriMath/issues/61#issuecomment-619862708

Fixed


feat: migrate from apiextensions.k8s.io/v1beta1 to apiextensions.k8s.…

…io/v1
v1beta1 will no longer be supported in 1.22 and has been supported since 1.16

I've validated that this doesn't change behavior, tests still run without modification, etc. But the important part would be to ensure that any PRs merged after this have the updated makefile and regenerate the CRD based on the v1 extension api


Add joiner and devops users

🗣 Description
Add the devops and joiner users to the guacamole image.  These users will soon be used by the devs and NOMers, respectively, to log in and join the guacamole host to the FreeIPA domain.
💭 Motivation and Context
We are eventually going to remove the user accounts specific to devs in favor of temporarily pushing up our keys and using shared accounts.  The use of these accounts will only be necessary to gain initial access to join the host to the domain.  After that HBAC rules in FreeIPA will allow access when necessary.
🧪 Testing
I used this version of this image to successfully deploy a kerberized version of guacamole to env0 in our staging environment.  While doing that, I was able to verify that the joiner and devops users are both present.
🚥 Types of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (causes existing functionality to change)

✅ Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Makes sense. Small nitpick, but I believe the order of users in the PR description is backwards unless I'm misunderstanding something.

You are correct, my sharp-eyed friend!  It has been fixed.


showing vs code  error

Type: Bug
error in fetching the extension plese help me to resolve the issue
VS Code version: Code 1.94.2 (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z)
OS version: Windows_NT x64 10.0.26100
Modes:

Thanks for the update, could you please submit a Fiddler trace recording to look further or share details by using MTR.
To capture MTR:
Download WinMTR.

Enter marketplace.visualstudio.com as the hostname and click Start.
Regards,
VS Marketplace Team

Closing the issue since there has been no updates on the information requested. If the issue still persists, please feel free to reopen or create a new issue.
Regards,
VS Marketplace Team


Didn't compile

hello,
I tried to compile ols (ubuntu) and I got this following message:
LLVM Error: invalid PostOrderFunctionAttrs pass parameter 'skip-non-recursive'

How did you compile Odin? You most likely have an old llvm version. Try llvm 17.


Support Fractional payment in collection service

This validation in PaymentValidator.class is preventing fractional payment.
// Checks if the amount paid is fractional
if ((paymentDetail.getTotalAmountPaid().remainder(BigDecimal.ONE)).doubleValue() != 0)
    errorMap.put("INVALID_PAYMENTDETAIL", "The amount paid cannot be fractional");

it is recommended that a flag be added to application.properties file that can be used to decide if fractional values need to be supported or not.
@suresh12 @subhashini-egov

https://github.com/pucardotorg/dristi-solutions/pull/648

Hi @atulgupta2024  This changes are done @Ajith-beehyv  raised A PR

This Changes are merged UAT

Hi  @Ramu-kandimalla  @rajeshcherukumalli Tested in UAT, working as expected,
Ref,
https://jam.dev/c/2cf92711-9f9e-4cb7-96e4-0c1e55d7c453


Dropdown menu enhancements

Hi the following page has some drop down enhancement which are very nice. It would be nice if you adopt this enhancements in bootstrap
http://behigh.github.io/bootstrap_dropdowns_enhancement/index.html

Hey @Hemanth089 — thanks for sharing! V3 is currently frozen though in preparation for V4 public beta later this month. May be something that could be incorporated into V4 though.

A lot of the features are related to using Dropdowns as Select2/Selectize-like widgets. Due to the complexity, I think it's unlikely that the team would want to implement+maintain such features.

Indeed, as they also prove more challenging to convey accessibly...

The other major enhancement is submenus, which were deliberately removed in Bootstrap 3. You can argue the wisdom of that, but I don't think @mdo is inclined to revisit that decision any time soon.


Perform joins in subscriptions

The problem faced currently?
Yes
How can we solve it?
Not sure!
Related: https://github.com/spaceuptech/space-cloud/issues/1413

If you want this feature to be implemented, give it a thumbs up reaction, so that we can determine which features are important to you.
👍

I'll add a PR to specify this limitation in the docs.

Adding this feature in v0.22.0


Added MapVirtualKey calls in AddKeyDown and AddKeyUp to fix compatibility issues with some applications.

Sometimes, key up and key down events from InputSimulator are not received by certain applications, unless the Scan field of the KEYBDINPUT struct is set. (Sadly, this happens even if the KEYEVENTF_UNICODE flag is not specified.)
The proper value for this field can be retrieved using the MapVirtualKey native function (from the user32.dll library), which I've declared in the NativeMethods class.

@TChatzigiannakis Are you interested in separating your changes so they can be incorporated back into the root project?
@michaelnoonan Are you interested in reviewing proposals and incorporating changes?

@sharwell I absolutely am willing to merge any changes I've made back into the root projec. However, we haven't heard from @michaelnoonan at all — especially with respect to the MapVirtualKey issue, which has been asked and even solved by others before. Thus, I've assumed that the original creator has abandoned the maintenance of the root project.

I filed #15 with hopes that it gets seen. 🤞


Feature Request: Non-array pools

Unraid 7.0 will remove the need for the "array" pool to be populated with disks, allowing people to not use the array at all and instead use unraid with multiple other pool types on their own such as zfs and btrfs pools. There are already an amount of people who have created their array with just a usb stick in it and used unraid solely with pools.
It would be useful if this api could read these pools as separate entities to the array, especially when calculating things like free space etc.
For example, I have my main array for media, plus another pool that uses zfs. It would be useful to be able to have a config such as:
disks:
  cache:
    - /mnt/cache
  array:
    - /mnt/disk1
    - /mnt/disk2
    - /mnt/disk3
    - /mnt/disk4
  pool1:
    - /mnt/TANK

Aware that at least with ZFS pools, there's just a single mount point.
Currently i'm having to add this mount point in to the array section and just have the total rather than being able to see individual pool free space.

This is an interesting suggestion, I am unsure how I would format the response, though.
I will look into after the holiday season.


bump prettier from 3.3.2 to 3.3.3

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

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

Totals

Change from base Build<PHONE_NUMBER>1:
0.0%

Covered Lines:
12546

Relevant Lines:
12547

💛  - Coveralls


Migration. Help

Hello.
Is it possible to migrate Data from version <IP_ADDRESS>6 to a new host with 12.7?

Hello @mmbdv the best way to migrate is the backup/restore feature in Control Panel. Have you tried it?

I'm waiting for the Onlyoffice 12.7 installation to finish in the background for now.
So it's possible, right? No problem with the backup/restore function if there will be different versions.

For the best way you should update your server to the current version 12.7. Are you having any problems with this?

Sorry, been a bit busy last week.
Yes, there are some limitations when upgrading an existing server.
I did a data migration using the backup/restore function from the control panel.
Everything seems to have migrated, but now some files won't open and the control panel page is not responding. It looks like the transition from version 12.0 to 12.7 has not been easy.
Can I just download the new OnlyOffice package and upgrade. Or do I need to make some changes to the database and so on? I'm thinking of cloning the old server (if I get permission :\ ) and trying to upgrade.

Nah, I can't do cloning. Because the server is on debian 10.
Maybe I will download the exact same version in debian 12. And then update the package.

Did you encrypt your storage via Control Panel?
Also please specify the same core.machinkey for the new server.
Sorry, but old versions are only available in Docker. Debian packages only have the latest release version.


Internal Server Error while getting connected vertices.

OrientDB Version: 3.0.3
Java Version: "1.8.0_131"
OS: CentOS 7.3
Expected behavior
Return all the vertices having an edge to the vertex with name 'main',
g.V().has('MyVertex', 'name', 'main').in()
Actual behavior
Returns Error: java.lang.NullPointerException: out vertex on edge COMPONENT_OF#89:7648{out:null,in:#45:2} v2
on studio and in server logs this:
Internal server error: java.lang.NullPointerException: out vertex on edge COMPONENT_OF#89:7648{out:null,in:#45:2} v2
        at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:226)
        at org.apache.tinkerpop.gremlin.orientdb.OrientEdge.<init>(OrientEdge.java:32)
        at org.apache.tinkerpop.gremlin.orientdb.OrientEdge.<init>(OrientEdge.java:39)
        at org.apache.tinkerpop.gremlin.orientdb.OrientEdge.<init>(OrientEdge.java:48)
        at org.apache.tinkerpop.gremlin.orientdb.OElementFactory.wrapEdge(OElementFactory.java:18)
        at org.apache.tinkerpop.gremlin.orientdb.OrientVertex.lambda$edges$8(OrientVertex.java:131)
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
        at java.util.Iterator.forEachRemaining(Iterator.java:116)
        at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
        at org.apache.tinkerpop.gremlin.orientdb.OrientVertex.edges(OrientVertex.java:133)
        at org.apache.tinkerpop.gremlin.process.traversal.step.map.VertexStep.flatMap(VertexStep.java:55)
        at org.apache.tinkerpop.gremlin.process.traversal.step.map.FlatMapStep.processNextStart(FlatMapStep.java:49)
        at org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.hasNext(AbstractStep.java:143)
        at org.apache.tinkerpop.gremlin.process.traversal.step.util.ExpandableStepIterator.hasNext(ExpandableStepIterator.java:42)
        at org.apache.tinkerpop.gremlin.process.traversal.step.util.ReducingBarrierStep.processAllStarts(ReducingBarrierStep.java:83)
        at org.apache.tinkerpop.gremlin.process.traversal.step.util.ReducingBarrierStep.processNextStart(ReducingBarrierStep.java:113)
        at org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.hasNext(AbstractStep.java:143)
        at org.apache.tinkerpop.gremlin.process.traversal.util.DefaultTraversal.hasNext(DefaultTraversal.java:192)
        at org.apache.tinkerpop.gremlin.orientdb.executor.OGremlinScriptResultSet.hasNext(OGremlinScriptResultSet.java:37)
        at com.orientechnologies.orient.core.sql.parser.OLocalResultSetLifecycleDecorator.hasNext(OLocalResultSetLifecycleDecorator.java:44)
        at com.orientechnologies.orient.server.network.protocol.http.command.post.OServerCommandPostCommand.execute(OServerCommandPostCommand.java:92)
        at com.orientechnologies.orient.server.network.protocol.http.command.post.OServerCommandPostCommandGraph.execute(OServerCommandPostCommandGraph.java:36)
        at com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpAbstract.service(ONetworkProtocolHttpAbstract.java:172)
        at com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpAbstract.execute(ONetworkProtocolHttpAbstract.java:633)
        at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:82)

Steps to reproduce
We can't seem to reproduce this but there were some rollback transactions that failed, that may have caused this.
We tried running repair database command which did return this

Repairing database...
Removing broken links...
-- Done! Fixed links: 122, modified documents: 120
Repair database complete (0 errors)`
but that didn't solve this issue.

The only thing it did was in the exception returned one of the vertex which was deleted but was showing up like this:
Internal server error:
java.lang.NullPointerException: out vertex on edge COMPONENT_OF#89:7648{out:#44:7642,in:#45:2} v1

changed to

 java.lang.NullPointerException: out vertex on edge COMPONENT_OF#89:7648{out:null,in:#45:2} v2

that is I think it just cleared the dead vertices lying around but apparently was not able to clear the reference of the dead edge on this main vertex.
Any help is appreciated.
Thanks.

HI @anukul-mohil
The problem here is that your DB contains a broken edge: #89:7648{out:null,in:#45:2}
What I can suggest is to run a DELETE EDGE  #89:7648 from Studio.
If it fails, you can manually check record #45:2 (from Studio) and see if it points to the edge, detach it manually using plain SQL and delete the edge with DELETE #89:7648 UNSAFE
It would be interesting to understand how it happened, but I don't know how easy it is. What I can suggest in general is to upgrade to v 3.0.9, as it contains a lot of bug fixes
Thanks
Luigi


upload large file fails on Azure backend

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

/kind feature

What happened:
unable to upload a 5.8 MB file to Azure backend, following error continuously printed in s3 logs

What you expected to happen:
object to be uploaded
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

Gelato(release/branch) version:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

This is environment setting issue, upload to Azure works fine, see below:


Custom aliases breaks alias-completion.plugin.bash

When I start my terminal the input automatically drops into python interactive shell, but before this I see following error message:
-bash: complete: /usr/bin/python3: no completion specification

Short troubleshooting session point me to alias-completion.plugin.bash plugin.
Problematic alias
cat ~/.bash_aliases
alias python=/usr/bin/python3

Tracing output (CTRL + F - no completion specification):
https://pastebin.com/W22ztCew

Can you try to define the alias as just this, without the /usr/bin part?
alias python=python3

This way it works

Thanks for confirming! Does this resolve the issue for you? I'm not sure why the complete command does not work for commands using a full path...

testcase
alias_cmd=/usr/bin/python3
alias_name=python
new_completion="$(complete -p "$alias_cmd")"
test_data="${new_completion% *} $alias_name"
echo $test_data

should return:
new_completion='complete -F python /usr/bin/python3'

but returns:
new_completion=' python'

then added to $tmp_file:
echo "$new_completion" >> "$tmp_file"

and executed without validations:
source "$tmp_file" && rm -f "$tmp_file"

this way we can inject some malicious code btw :)

Complete works with a full path. True magic is made by command:
eval "$completion_loader $alias_cmd"

It invokes _completion_loader from /usr/share/bash-completion/bash_completion, then it invokes __load_completion function. The last function reduces full path to basename:
local OIFS=$IFS IFS=: dir cmd="${1##*/}" compfile

and works on it.
For example for /usr/bin/python.
Function __load_completion sources /usr/share//bash-completion/completions/python and returns 0 to _completion_loader. _completion_loader returns 124 to plugins/available/alias-completion.plugin.bash.

But again:
$ complete -p /usr/bin/vim
bash: complete: /usr/bin/vim: no completion specification

But for /usr/bin/xclip (an alias from clipboard.aliases.bash) it invokes:
complete -F _minimal -- /usr/bin/xclip

because __load_completion has returned 1 (false).
I think that basename should always go to _completion_loader ($completion_loader).

Last but not least. For example, in my company people use alias: alias vim='/usr/bin/vim -X so:
$ command -v vim
alias vim='/usr/bin/vim -X'
$ which vim
alias vim='/usr/bin/vim -X'
        /usr/bin/vim

This is on CentOS 7.4, while on another CentOS:
$ command -v vim
alias vim='/usr/bin/vim -X'
$ which vim
/usr/bin/vim

Strange...
Maybe each alias should also be defined with basename command. For example for aliases/available/vim.aliases.bash:
VIM=$(command -v vim | xargs --no-run-if-empty basename)

then
$ alias v
alias v='vim'
$ complete -p v
complete -F _filedir_xspec v

This issue is very stale, so I close it. Thanks for contributing and posting!


3.1 -> 3.2 UI Corruption with old data

Updating openrefine from 3.1 to 3.2, mataining old workspace makes the ui corrupted and unusable
Steps to reproduce the behavior:

Install openrefine 3.2
point the data direcotry to the previously used data dir
start open refine
Ui appears as in the screenshot

OS: CentOS Linux 7

Browser Version:Firefox 69

JRE or JDK Version:
openjdk version "9.0.4"
OpenJDK Runtime Environment (build 9.0.4+11)
OpenJDK 64-Bit Server VM (build 9.0.4+11, mixed mode)

Version 3.2

Thanks for this report!
Have you installed any third-party extensions?
Can you see any error message either in the server console or in the browser console?

We don't have any third party extension.
in the browser console i see thse errors:
Source map error: request failed with status 404
Resource URL: https://refine.diennea.lan/index-bundle.js
Source Map URL: jquery.contextMenu.min.js.map

TypeError: project is nullindex-bundle.js:28144:7
    _renderProjects https://refine.diennea.lan/index-bundle.js:28144
    success https://refine.diennea.lan/index-bundle.js:28130
    fire https://refine.diennea.lan/index-bundle.js:3121
    fireWith https://refine.diennea.lan/index-bundle.js:3233
    done https://refine.diennea.lan/index-bundle.js:9277
    callback https://refine.diennea.lan/index-bundle.js:9687
    send https://refine.diennea.lan/index-bundle.js:9693
    ajax https://refine.diennea.lan/index-bundle.js:9178
    _fetchProjects https://refine.diennea.lan/index-bundle.js:28125
    _buildTagsAndFetchProjects https://refine.diennea.lan/index-bundle.js:28093
    OpenProjectUI https://refine.diennea.lan/index-bundle.js:28062
    renderActionArea https://refine.diennea.lan/index-bundle.js:27688
    <anonymous> https://refine.diennea.lan/index-bundle.js:27692
    fire https://refine.diennea.lan/index-bundle.js:3121
    fireWith https://refine.diennea.lan/index-bundle.js:3233
    ready https://refine.diennea.lan/index-bundle.js:3445
    completed https://refine.diennea.lan/index-bundle.js:3476

and
TypeError: Refine.actionAreas[i].ui is undefinedindex-bundle.js:27669:7
    resize https://refine.diennea.lan/index-bundle.js:27669

Do you have access to the server console at all? See https://github.com/OpenRefine/OpenRefine/wiki/Installation-Instructions#obtaining-server-logs-on-mac if you are using MacOS.

Do you have access to the server console at all? See https://github.com/OpenRefine/OpenRefine/wiki/Installation-Instructions#obtaining-server-logs-on-mac if you are using MacOS.

Is a linu Server, and yes i have console and root access to the server

In that case, can you please paste here OpenRefine's server logs?

yes
Sep 11 17:23:05 openrefine-srv.arezzo.diennea.lan systemd[1]: Started OpenRefine data reconciliation tool. Sep 11 17:23:06 openrefine-srv.arezzo.diennea.lan refine[129831]: You have 31993M of free memory. Sep 11 17:23:06 openrefine-srv.arezzo.diennea.lan refine[129831]: Your current configuration is set to use 30G of memory. Sep 11 17:23:06 openrefine-srv.arezzo.diennea.lan refine[129831]: OpenRefine can run better when given more memory. Read our FAQ on how to allocate more memory here: Sep 11 17:23:06 openrefine-srv.arezzo.diennea.lan refine[129831]: https://github.com/OpenRefine/OpenRefine/wiki/FAQ:-Allocate-More-Memory Sep 11 17:23:06 openrefine-srv.arezzo.diennea.lan refine[129831]: Starting OpenRefine at 'http://localhost:3333/' Sep 11 17:23:06 openrefine-srv.arezzo.diennea.lan refine[129831]: 17:23:06.313 [            refine_server] Starting Server bound to 'localhost:3333' (0ms) Sep 11 17:23:06 openrefine-srv.arezzo.diennea.lan refine[129831]: 17:23:06.315 [            refine_server] refine.memory size: 30G JVM Max heap:<PHONE_NUMBER>0 (2ms) Sep 11 17:23:06 openrefine-srv.arezzo.diennea.lan refine[129831]: 17:23:06.324 [            refine_server] Initializing context: '/' from '/data/openrefine-3.2/webapp' (9ms) Sep 11 17:23:06 openrefine-srv.arezzo.diennea.lan refine[129831]: SLF4J: Class path contains multiple SLF4J bindings. Sep 11 17:23:06 openrefine-srv.arezzo.diennea.lan refine[129831]: SLF4J: Found binding in [jar:file:/data/openrefine-3.2/server/target/lib/slf4j-log4j12-1.7.18.jar!/org/slf4j/impl/StaticLoggerBinder.class] Sep 11 17:23:06 openrefine-srv.arezzo.diennea.lan refine[129831]: SLF4J: Found binding in [jar:file:/data/openrefine-3.2/webapp/WEB-INF/lib/slf4j-log4j12-1.7.18.jar!/org/slf4j/impl/StaticLoggerBinder.class] Sep 11 17:23:06 openrefine-srv.arezzo.diennea.lan refine[129831]: SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. Sep 11 17:23:06 openrefine-srv.arezzo.diennea.lan refine[129831]: SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] Sep 11 17:23:06 openrefine-srv.arezzo.diennea.lan refine[129831]: 17:23:06.867 [                   refine] Starting OpenRefine 3.2 [55c921b]... (543ms) Sep 11 17:23:06 openrefine-srv.arezzo.diennea.lan refine[129831]: 17:23:06.867 [                   refine] initializing FileProjectManager with dir (0ms) Sep 11 17:23:06 openrefine-srv.arezzo.diennea.lan refine[129831]: 17:23:06.867 [                   refine] /data/openrefine-data (0ms) Sep 11 17:23:08 openrefine-srv.arezzo.diennea.lan refine[129831]: WARNING: An illegal reflective access operation has occurred Sep 11 17:23:08 openrefine-srv.arezzo.diennea.lan refine[129831]: WARNING: Illegal reflective access by org.python.core.PySystemState (file:/data/openrefine-3.2/webapp/extensions/jython/module/MOD-INF/lib/jython-standalone-2.7.1.jar) to method java.io.Console.encoding() Sep 11 17:23:08 openrefine-srv.arezzo.diennea.lan refine[129831]: WARNING: Please consider reporting this to the maintainers of org.python.core.PySystemState Sep 11 17:23:08 openrefine-srv.arezzo.diennea.lan refine[129831]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations Sep 11 17:23:08 openrefine-srv.arezzo.diennea.lan refine[129831]: WARNING: All illegal access operations will be denied in a future release Sep 11 17:23:10 openrefine-srv.arezzo.diennea.lan refine[129831]: 17:23:10.245 [                   refine] Running in headless mode (3378ms) Sep 11 17:23:16 openrefine-srv.arezzo.diennea.lan refine[129831]: 17:23:16.428 [                   refine] POST /command/core/load-language (6183ms) Sep 11 17:23:16 openrefine-srv.arezzo.diennea.lan refine[129831]: 17:23:16.489 [                   refine] GET /command/core/get-preference (61ms) Sep 11 17:23:16 openrefine-srv.arezzo.diennea.lan refine[129831]: 17:23:16.541 [                   refine] POST /command/core/load-language (52ms) Sep 11 17:23:16 openrefine-srv.arezzo.diennea.lan refine[129831]: 17:23:16.588 [                   refine] POST /command/core/load-language (47ms) Sep 11 17:23:16 openrefine-srv.arezzo.diennea.lan refine[129831]: 17:23:16.809 [                   refine] POST /command/core/get-importing-configuration (221ms) Sep 11 17:23:16 openrefine-srv.arezzo.diennea.lan refine[129831]: 17:23:16.875 [                   refine] GET /command/core/get-all-project-tags (66ms) Sep 11 17:23:17 openrefine-srv.arezzo.diennea.lan refine[129831]: 17:23:17.097 [                   refine] GET /command/database/saved-connection (222ms) Sep 11 17:23:17 openrefine-srv.arezzo.diennea.lan refine[129831]: 17:23:17.161 [                   refine] GET /command/core/get-all-project-metadata (64ms)

Could you share with us the list of project metada? You should be able to obtain it like this:
curl http://localhost:3333/command/core/get-all-project-metadata > project_metadata.json

Hi, there are our project metadata.
Best Regards
project_metadata.zip

Hi, there is any news?
Ther are other info that i can send to help you to fix the problem?

Sorry I have not had time to investigate your issue further.

@Cobra1978 Hi, have you resolved your issue some other way?  I would like to know if using OpenRefine 3.3 our newest beta version helps resolve this issue for you? Let us know, so we can close this issue.

Hi.
I think you are thelepatic: i've isntalled the 3.3 beta some days ago and the issue is not present anymore :)
Sorry that i've forgot to write this.


RN's demo proj for iOS failing to build; fresh MacOS install, fresh XCode install

Description
Summary
React Native's primary demo project (CLI Quick-Start, macOS + iOS) is failing to build for a fresh install of MacOS (13.1), running a fresh install of XCode (14.2).
When the demo's instructions are followed exactly:
npx react-native init AwesomeTSProject --template react-native-template-typescript

cd ./AwesomeTSProject && npx react-native run-android

...numerous errors of the form "error: implicit declaration of function 'assert' is invalid in C99" appear.
These errors occur when building the SocketRocket pod dependency, and when these errors  are silenced (by adding the C flag: -Wno-error=implicit-function-declaration for the SocketRocket target; not recommended but possible), more errors of the same form appear for the FlipperPeerTalk pod dependency. When these errors in turn are silenced (with the same flag, for the FlipperPeerTalk target), compilation fails with:
Undefined symbols for architecture x86_64:
  "_assert",

Somehow, assert() is getting lost - not just for SocketRocket, but also for FlipperPeerTalk.
Possible Work-Around (with Unknown Consequences)
If, in the XCode Settings for the "Pods" project, the C Language Dialect is changed from gnu11 (the default for the react native demo) to gnu99, all errors magically disappear, and the code builds & runs. (But are there hidden consequences? Features that silently depend on c11? Why does RN's demo not build and run with its given settings?)
Note: While the demo's pod x-code project has the C Language Dialect setting:gnu11, the demo's application project has the C Language Dialect setting: gnu99. Is it a problem that these two settings differ from each other?
Environment

MacBook Pro (Intel)
MacOS: Ventura 13.1
XCode 14.2
XCode Tools 14.2 (14C18)
Targets: iPhone 7 (iOs 15.5), Simulator (iOS 16.2)

Version
Seen on RN 0.70.6, and also RN 0.69.5
Output of npx react-native info
System:
    OS: macOS 13.1
    CPU: (4) x64 Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz
    Memory: 366.93 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 19.3.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.2.0 - /usr/local/bin/npm
    Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
    Android SDK:
      Android NDK: 20.0.5594570
  IDEs:
    Android Studio: 2021.2 AI-212.5712.43.2112.8609683
    Xcode: 14.2/14C18 - /usr/bin/xcodebuild
  Languages:
    Java: 14.0.1 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.1.0 => 18.1.0
    react-native: 0.70.6 => 0.70.6
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to reproduce
On an Intel Mac running MacOS 13.1 (Ventura), with XCode 14.2 / XCode Tools 14.2 (14C18), run the demo on React Native's site (for CLI, macOS, iOS):
npx react-native init AwesomeTSProject --template react-native-template-typescript

cd ./AwesomeTSProject && npx react-native run-android

Snack, code example, screenshot, or link to a repository
To reproduce, just build React Native's CLI Quick-Start, macOS + iOS demo, on React Native's site, using React Native's instructions, with the environment described above.
Sample error output:
...

/Users/krispin/Desktop/test-rct-proj/AwesomeTSProject/ios/Pods/SocketRocket/SocketRocket/SRWebSocket.m:1230:9: error: implicit declaration of function 'assert' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        assert(consumer.bytesNeeded);
        ^
/Users/krispin/Desktop/test-rct-proj/AwesomeTSProject/ios/Pods/SocketRocket/SocketRocket/SRWebSocket.m:1399:5: error: implicit declaration of function 'assert' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    assert(frameBufferSize <= frameData.length);
    ^
/Users/krispin/Desktop/test-rct-proj/AwesomeTSProject/ios/Pods/SocketRocket/SocketRocket/SRWebSocket.m:1441:13: error: implicit declaration of function 'assert' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
            assert(_readBuffer);
            ^
...11 errors generated.

...

** BUILD FAILED **

The following build commands failed:
	CompileC /Users/krispin/Library/Developer/Xcode/DerivedData/AwesomeTSProject-fstqxvjpcmzswyepucfydwxyjbdx/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SocketRocket.build/Objects-normal/x86_64/SRWebSocket.o /Users/krispin/Desktop/test-rct-proj/AwesomeTSProject/ios/Pods/SocketRocket/SocketRocket/SRWebSocket.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'SocketRocket' from project 'Pods')
(1 failure)

...

Having the same exact problem builiding a fresh project for ios with react-native run-ios


detect opam.export automatically in check_opam_switch

See PR #11569 for compatible and #11570 for develop.

Done in this commit.


Treatment of FIX message parsing corner cases

The parser produces one of the three results for every message: a ValidMsg message, a Garbled message or a SessionRejectedMessage. There are some situations when it is not very clear whether one should consider a message as Grabled or as SessionRejectedMessage:
The following is pretty clear from FIX specification

BeginString<8> not the first tag  -> Garbled
MsgType<35> not the third tag -> Garbled
BodyLength<9> not the second tag  -> Garbled
wrong format for 8=FIX.n.m. -> Garbled
9 does not correspond to byte count of the message body -> Garbled

But there are some corner situations that do not have a specific responce:

duplicate 8 tag -> ?  Garbled or SessionRejectReason<373> = TagAppearsMoreThanOnce<13>
9 is not properly formatted integer -> ? Garbled or SessionRejectReason<373> =  IncorrectDataFormat<6>
duplicate 9 tag -> ?  Garbled or   SessionRejectReason<373> = TagAppearsMoreThanOnce<13>
35 value is empty -> ? Garbled or TagSpecifiedWithoutAValue<4>
duplicate 35 tag -> ?  Garbled or TagAppearsMoreThanOnce<13> or  InvalidMsgType <11>
Checksum<10> is not equal to byte count of the message body ->  ? Garbled or ValueIsIncorrect<5>

Especially important problem is with sequence number field

SeqNumber<34> is not present -> ? Garbled or RequiredTagMissing<2>
SeqNumber<34> is ill formatted -> ? Garbled or ValueIsIncorrect<5>
SeqNumber<34> is empty -> ? Garbled or TagSpecifiedWithoutAValue<4>

In case If the message is not considered as Garbled when there are problems with SeqNumber<34>, then what must one put in the required field RefSeqNum<45> of the Reject<3> message?

For now, when in question, message is considered Garbled. Comment was added by @KKostya to the readme page for further community discussions.


feat(client): support Expect: 100-continue

This patch modifies hyper clients to respect the Expect: 100-Continue header.
When the header is present on a request, the client will not send the request body
until the 100 Continue informational response is received from the server.
Related issue: #2565
The implementation follows the existing on_informational callback mechanism,
threading the connection state through to the reponse header parsing.
This seems like the most straightforward modification to get Expect: 100-Continue
support, but happy to discuss alternatives.

Thanks for the PR and taking this on!
One thing I was wondering about is how would someone choose to wait only a certain amount of time for the server to respond? We could add another timeout into the connection state, but if it's not super hard to do outside, I think that's preferable.
A different way of doing this would be to make the Body be responsible for pausing, and thus it could hold onto a timeout there. Perhaps an extension callback would allow a user to signal a oneshot channel that the 100 response was received.
I'm not sure which is best, at the moment.

FWIW - I hit this bug recently as well and was just about to file something.  Thanks @iasoon for proposing a fix.  I work on some storage services where this feature is key to avoiding sending large amounts of data that would otherwise be rejected anyway so this is super high value to my users and my service's scalability.  I'm glad to test patches if it helps validate things.

A different way of doing this would be to make the Body be responsible for pausing

I actually started going down this route as it seemed like a way to avoid requiring patching hyper but ended up having to give up as there was no good way to signal the continue came through.  However, after thinking about what this would look like my 2c is that the connection is the right place to do this as it's part of the protocol and not a property of the body.  If you wire up the continue logic in the body's poll method, for example, then failure to choose the right body implementation that can pause results in not speaking the protocol correctly which seems error prone.


ios: webClientId only works intermittently

Hi,
I have a bit of a strange problem. On android everything is fine, webClientId is used to generated the IdToken which I can then verify. On IOS, it sometimes works but most of the time just uses the iosClientId which then fails when I come to verify it on my backend server.
Has anyone else come across this issue?
Thanks

Had a look at the code.
iOS only sends through the webClientId if offlineAccess = true? However android doesn't populate IdToken if offlineAccess = true.
Seems a bit inconsistent to have it that way...

I had the same issue #254 , ended up using https://github.com/joonhocho/react-native-google-sign-in

I would recommend flipping offlineaccess depending on platform.
If you use that library it means having to include swift which means the binary ends up bigger. You also have to use “use_frameworks!” In cocoapods which means you cant use the latest react native maps.
I was using joonhochos version but had to switch back to this library because of those problems

@timothylui I'm not sure if you found a way to overcome this, it's not very clear to me. We are trying to clean up the issues to prioritise things for the contributors. If this is still an issue please try to create a reproducible example with our latest version which should be release this week.


Failure Migrating von Alma 8.5 to Rocky

Hi,
I tested some migration scenarios. My path is CentOS 8.4 -> Rocky -> Alma -> Rocky.
The last step from Alma to Rocky I encountered a problem. The script says it want to exit but continues anyway. The log is:
Preparing to migrate AlmaLinux 8.5 (Arctic Sphynx) to Rocky Linux 8.
Determining repository names for AlmaLinux 8.5 (Arctic Sphynx).Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Failed to fetch info for package apr-util-ldap.x86_64.
An error occurred while we were attempting to convert your system to Rocky Linux. Your system may be unstable. Script will now exit to prevent possible damage.
.Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
.Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
.Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
.Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Found the following repositories which map from AlmaLinux 8.5 (Arctic Sphynx) to Rocky Linux 8:
AlmaLinux 8.5 (Arctic Sphynx)  Rocky Linux 8
appstream                      appstream
baseos                         baseos
extras                         extras
Getting system package names for AlmaLinux 8.5 (Arctic Sphynx)Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
.Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
.Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
.Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
.Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
.Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
.Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
.Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
.Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
.Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
.Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Found the following system packages which map from AlmaLinux 8.5 (Arctic Sphynx) to Rocky Linux 8:
AlmaLinux 8.5 (Arctic Sphynx)  Rocky Linux 8
almalinux-logos-ipa            rocky-logos-ipa
almalinux-backgrounds          rocky-backgrounds
almalinux-release              rocky-gpg-keys
almalinux-logos                rocky-logos
almalinux-indexhtml            rocky-indexhtml
almalinux-release              rocky-release
almalinux-logos-httpd          rocky-logos-httpd
almalinux-release              rocky-repos
(...)
xkeyboard-config-2.28-1.el8.noarch
zlib-1.2.11-17.el8.x86_64
Complete!
Done, please reboot your system.

This is very strange indeed.  For one thing if it can't find the package apr-util-ldap then it shouldn't have been able to map the appstream repository but it does seem to manage to map it just fine and the migration completes just fine.
The failovermethod=priority warning can be fixed by removing or commenting that line out from salt.repo but it's harmless.


No results be loaded when using network-related functions

Brief description of your issue

No results be loaded when using network-related functions, its always loading and loading.
Steps to reproduce

Expected behavior
Such as winget search poytoys  can be executed normally

Actual behavior

It's loading for a long time but noting appear.
Environment
[winget --info]
PS C:\Users\causingbrick> winget --info
Windows Package Manager v0.2.10191 Preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19042.804
Package: Microsoft.DesktopAppInstaller v1.11.10191.0

One of the log messages is as follow
[Log]
2021-2-21 15:53:54.464 [CORE] WinGet, version [0.2.10191], activity [{40A7C087-9C91-4FBB-8625-EA00F4ACC497}]
2021-2-21 15:53:54.464 [CORE] OS: Windows.Desktop v10.0.19042.804
2021-2-21 15:53:54.464 [CORE] Command line Args: "C:\Users\causingbrick\AppData\Local\Microsoft\WindowsApps\winget.exe" search powershell
2021-2-21 15:53:54.464 [CORE] Package: Microsoft.DesktopAppInstaller v1.11.10191.0
2021-2-21 15:53:54.485 [CLI ] WinGet invoked with arguments: 'search' 'powershell'
2021-2-21 15:53:54.485 [CLI ] Found subcommand: search
2021-2-21 15:53:54.485 [CLI ] Leaf command to execute: root:search
2021-2-21 15:53:54.485 [CORE] Setting action: Get, Type: UserFile, Name: settings.json
2021-2-21 15:53:54.501 [CORE] Setting action: Get, Type: UserFile, Name: settings.json.backup
2021-2-21 15:53:54.518 [CORE] Valid settings file not found. Using default values.
2021-2-21 15:53:54.518 [CLI ] Executing command: search
2021-2-21 15:53:54.518 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2021-2-21 15:53:54.520 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2021-2-21 15:53:54.520 [REPO] Default source requested, only 1 source available, using the only source: winget
2021-2-21 15:53:54.520 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2021-2-21 15:53:54.521 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2021-2-21 15:53:54.521 [REPO] Named source requested, found: winget
2021-2-21 15:53:54.521 [REPO] Source past auto update time [5 mins]; it has been at least 10462 mins
2021-2-21 15:53:54.537 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2021-2-21 15:53:54.537 [CORE] Found matching extension.

This instruction has been executed for half an hour but still noting appear.

Are there any policies restricting the Microsoft store on this machine?
Is this machine behind a firewall or VPN?

The firewall is turned off and there is no VPN

What happens if you execute winget source update?

It's still loading

Logs are as bellow
2021-2-23 16:10:33.689 [CORE] WinGet, version [0.2.10191], activity [{36C67D0E-DE06-4364-A691-E9D54A2B3599}]
2021-2-23 16:10:33.690 [CORE] OS: Windows.Desktop v10.0.19042.804
2021-2-23 16:10:33.690 [CORE] Command line Args: "C:\Users\causingbrick\AppData\Local\Microsoft\WindowsApps\winget.exe" source update
2021-2-23 16:10:33.690 [CORE] Package: Microsoft.DesktopAppInstaller v1.11.10191.0
2021-2-23 16:10:33.707 [CLI ] WinGet invoked with arguments: 'source' 'update'
2021-2-23 16:10:33.708 [CLI ] Found subcommand: source
2021-2-23 16:10:33.708 [CLI ] Found subcommand: update
2021-2-23 16:10:33.708 [CLI ] Leaf command to execute: root:source:update
2021-2-23 16:10:33.708 [CORE] Setting action: Get, Type: UserFile, Name: settings.json
2021-2-23 16:10:33.723 [CORE] Setting action: Get, Type: UserFile, Name: settings.json.backup
2021-2-23 16:10:33.738 [CORE] Valid settings file not found. Using default values.
2021-2-23 16:10:33.738 [CLI ] Executing command: update
2021-2-23 16:10:33.738 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2021-2-23 16:10:33.741 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2021-2-23 16:10:33.756 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2021-2-23 16:10:33.757 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2021-2-23 16:10:33.757 [REPO] Named source to be updated, found: winget
2021-2-23 16:10:33.773 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2021-2-23 16:10:33.773 [CORE] Found matching extension.

The firewall has been turned off, and ping source like bellow

@CausingBrick this appears to be a network connectivity issue. I've seen one other issue that appeared similar to this one. I'm not sure about what to try next. I'll reach out to some of our other engineers to see if we can com up with other suggestions.

It may be possible to implement a work-around.
If you download the "source package" from https://winget.azureedge.net/cache/source.msix and install it (either by double clicking the file or using PowerShell Add-AppxPackage) you will have the package index.
You would also need to set your update interval in winget settings to "0" to prevent the tool from checking for new versions of the package.
From that point you should be able to execute "search" and "install". The network issues would potentially persist depending on the location of the installer.
Any time you wanted to get a current copy of the available packages, you would need to download and install the source again.

Note that since you seem to be located in China that some installer downloads can fail due to slow download speeds and package loss caused by the Great Firewall of China. I've had my fair share of problems with projects in China and the only mitigation was to use Chinese mirrors. This is not possible here because winget essentially acts as a wrapper to install packages hosted all over the internet.

@denelon It works as you said but this is not a convenient method. Although the network is not steady for accessing the source but eventually can reach it, so will have a better optimization logic in the program the feature? Anyway Thank you for your answer and help! 😆

Note that since you seem to be located in China that some installer downloads can fail due to slow download speeds and package loss caused by the Great Firewall of China. I've had my fair share of problems with projects in China and the only mitigation was to use Chinese mirrors. This is not possible here because winget essentially acts as a wrapper to install packages hosted all over the internet.

Yeah, quite a few projects cannot be accessed smoothly in China's network environment. But I hope I can install program which can access in China by using winget.😂

We are looking at adding a bit of additional "retry" logic, and some other enhancements with Delivery Optimization. I hope those help alleviate some of the networking issues. Hopefully we'll be able to get the peer to peer behavior working for the Windows Package Manager in the near future.

We have added retry logic, and the initial implementation of Delivery Optimization. We still have additional work to do on the service side to support peer to peer and parallel download.

This appears to be network related. We've done as many of the improvements as we could identify for retry logic. We will also look into the possibility of additional CDN endpoints to see if that will improve customer experiences.


Changed to AuditableRestAction

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[x] Internal code
[x] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other

Closes Issue: NaN
Description
Changes a return type error. Method was incorrectly returning RestAction, rather than the documented AuditableRestAction

Did you confirm that the routes used by these actions permit the additional audit information that can be provided via AuditableRestAction?


ionic project has error when running 'angular.js'

[Steps]
open ionic project for few second,
bracket will show error msg as below, and then crash.
[What happens]
error msg
"Bracket ran into troble processing C:/...../ionic/js/angular-ui/xxx.js"
[Brackets version] 1.7
[OS version] Win7 64bit
[Extensions] Reload Without Extensions still has same issue

@oahehc Could you try disabling code hints and see if code hints is indeed causing this issue?

Yes, issue stop after disable code hints, thanks.
But will this error been fix?
Or need to disable code hints at all ionic project?


Release process

Description
Changes proposed in this pull request:

Github action which creates a release and waits for template yaml

Related issue(s)

/test pull-btp-manager-build


Automated Package Upgrade

:tada: This PR is included in version 27.1.26 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


typo

recieve => receive

 You should sign our Contributor License Agreement in order to get your pull request merged.

Thanks @shinriyo for finding this - however we're no longer using ICU!


DPP broadcast unsupported for gfx10 present in Batch Norm reduction

gfx10 does not support broadcast as written with DPP instructions. Need to check architecture and fallback to LDS based reduction until rewrite is complete.
<inline asm>:14:20: error: not a valid operand.
v_add_f32 v3 v3 v3 row_bcast:15 row_mask:0xa
^
error: cannot compile inline asm
<inline asm>:15:20: error: not a valid operand.
v_add_f32 v5 v5 v5 row_bcast:15 row_mask:0xa
^
error: cannot compile inline asm
<inline asm>:17:20: error: not a valid operand.
v_add_f32 v3 v3 v3 row_bcast:31 row_mask:0xc
^
error: cannot compile inline asm
<inline asm>:18:20: error: not a valid operand.
v_add_f32 v5 v5 v5 row_bcast:31 row_mask:0xc
^
error: cannot compile inline asm
4 errors generated.

#493 Works around this issue, so it is no longer a bug, but we need a design of this section of the code for gfx10.

All openCL kernels use AMDGCN flag. This flag comes during kernel invocation.  Batchnorm code uses this AMDGCN flag to use inline ASM code.  May be we should disable this flag when "-mcpu" is undefined.
#ifndef MIOPEN_USE_AMDGCN
#if defined(AMDGCN) && !(defined(MIO_BN_GFX103X) && MIO_BN_GFX103X)
#define MIOPEN_USE_AMDGCN 1
#else
#define MIOPEN_USE_AMDGCN 0
#endif
#endif


Security vulnerability in debug package

Hi,
The used version of debug package has a vulnerability: https://nodesecurity.io/advisories/534
Could it be upgraded?

yes! i will update it in the weekend but i can also accept a PR from you i want to do it first.

Ok, thanks.
I submitted a pull request