revert to debian

https://github.com/rancher/rancher/issues/34548
PROBLEM
the ruby multi-json gem does not work on alpine, this cascaded up  to the es plugin causing writes to fail
SOLUTION
reverted the image back to debian
TESTING
reproduced the issue in the ticket, I build this image locally and manually changed the ds image to mine.  The logs started flowing to es and I saw no notable errors.

Building zk-ruby/zookeeper requires https://github.com/rancher/fluentd/pull/51#discussion_r698776209


feat(comp:select): add selelct component

fix #212
PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines
[x] Tests for the changes have been added/updated or not needed
[x] Docs and demo have been added/updated or not needed

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Component style update
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

What is the new behavior?
Other information

我只看overlay的，其他的我不看，我没参与select的API评审，我不知道你设计是怎样的

我只看overlay的，其他的我不看，我没参与select的API评审，我不知道你设计是怎样的

overlay 的已经单独提 PR， #258


Build out README with proper documentation, add CommonJS support

Major Changes

Add support for CommonJS imports using require
Add disableDefaultEventHandling prop
Add comprehensive documentation to the README (finally!)

Minor Changes

Make preload prop default to null so it will defer to the browser default unless otherwise specified
Make videoCaptions prop explicitly default to null for consistency/cleanliness

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Istio retry not working as expected

Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[X ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
Retries to work and 15 GET requests to be sent to the unavailable service.
Steps to reproduce the bug

Deploy the httpbin sample app
Apply the following rety rule.
`apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: retry
spec:
hosts:

httpbin
http:
route:

destination:
host: httpbin
retries:
attempts: 15         # 2
perTryTimeout: 1s   # 3
retryOn: "5xx"`

curl to the httpbin.pgeetha-bookinfo:8000/status/503 from any other service with side car injected.

Version (include the output of istioctl version --remote and kubectl version)
client version: 1.2.2
citadel version: 1.2.2
galley version: 1.2.2
ingressgateway version: 1.2.2
pilot version: 1.2.2
policy version: 1.2.2
sidecar-injector version: 1.2.2
sidecar-injector version: 1.2.2
sidecar-injector version: 1.2.2
telemetry version: 1.2.2
How was Istio installed?
Using helm

Can you enclose your config in triple backticks (ie ```)? It's hard to figure out if this might be related to wrong indentation. Note that the retries: block should be on the same indentation level as route:

Hi Have used below virtual service config still getting intermittent 503s
`apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: shelf-stg-vs
spec:
hosts:

shelf.stg.xyz.com
http:
route:

destination:
host: shelf.stg.xyz.com
retries:
attempts: 4
perTryTimeout: 1s
retryOn: "503"`

@dgn Updated the config. I am using retries at the same level.

I can not reprodoce this, neither on master nor on 1.2.2. Can you post relevant parts of your proxy config?
Try:
istioctl pc route <CLIENT_POD_NAME> -o json
You should see something like this:
        "virtualHosts": [
            {
                "name": "httpbin.default.svc.cluster.local:80",
                "domains": [
                    "httpbin.default.svc.cluster.local",
                    "httpbin.default.svc.cluster.local:80"
                ],
                "routes": [
                    {
                        "match": {
                            "prefix": "/"
                        },
                        "route": {
                            "cluster": "outbound|80||httpbin.default.svc.cluster.local",
                            "timeout": "0s",
                            "retryPolicy": {
                                "retryOn": "5xx",
                                "numRetries": 15,
                                "perTryTimeout": "1s",
                                "retryHostPredicate": [
                                    {
                                        "name": "envoy.retry_host_predicates.previous_hosts"
                                    }
                                ],
                                "hostSelectionRetryMaxAttempts": "5"
                            },
                            "maxGrpcTimeout": "0s"
...


doc(toc): add missing shadows entry

GitHub Issue (If applicable): n/a
PR Type
What kind of change does this PR introduce?

Bugfix
Documentation content changes

What is the new behavior?
add missing ShadowContainer entry to Table of Contents
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tested code with current supported SDKs
[ ] Tested the changes where applicable:

[ ] UWP
[ ] WinUI
[ ] iOS
[ ] Android
[ ] WASM
[ ] MacOS

[x] Updated the documentation as needed:

[ ] General Doc Update
[x] Controls Doc Update
[ ] Extensions Doc Update
[ ] controls-styles.md
[ ] lightweight-styling.md (LightWeight Styling Resource Keys)

[ ] Runtime Tests and/or UI Tests for the changes have been added (for bug fixes / features) (if applicable)
[x] Contains NO breaking changes
[ ] Associated with an issue (GitHub or internal)
[x] Commits must be following the Conventional Commits specification.

@Mergifyio backport legacy/3x release/stable/3.1

@Mergifyio backport release/stable/4.2


Updated ppc64le_ubuntu_16_04.json contact details

@shahmishal Updated ppc64le_ubuntu_16_04.json contact details as I would be continuing on this. Kindly close the original PR - https://github.com/apple/swift-community-hosted-continuous-integration/pull/13 opened by Atul Sowani.

Hi @shahmishal ,
Currently I am working on building Apple Swift 5.1 toolchain on PowerPC64LE, and almost nearing completion, pending a couple of PRs/issues awaiting approvals and merge.
Towards this end, I wanted to add a job for Swift 5.1 below:-
https://github.com/apple/swift-community-hosted-continuous-integration/blob/master/nodes/ppc64le_ubuntu_16_04.json
The preset that gets invoked by build-toolchain is 'buildbot_linux' from 'build-presets.ini'.
However for PowerPC64LE, we need to have a few workarounds for some known issues, like having to export environment variables and copy a few libraries from a child directory to parent directory.
Do we have any way by which we can set the environment for the jobs, copy libraries, etc.
Please suggest how can we incorporate this for the new job.
Regards,
Sarvesh
PS:- I could not find another way to reach out to you, hence commenting here.


OSDP: ERROR: PD[0]: PHY: Invalid MAC; discarding SC

Describe the bug
Enabled SC with a commercial CP. Negotiates channel properly then fails and loops forever in failure mode.
Expected behavior
Not sure what isn't working to be honest.
Observed behavior
libosdp-1.5.0 [master (7190302+)]
OSDP: WARN : PD[0]: PD: SCBK not provided. PD is in INSTALL_MODE
OSDP: PD: Setup complete - libosdp-1.5.0 master (7190302+)
OSDP: DEBUG: PD[0]: PD: CMD: ID(61) REPLY: PDID(45)
OSDP: DEBUG: PD[0]: PD: CMD: CAP(62) REPLY: PDCAP(46)
OSDP: DEBUG: PD[0]: PD: CMD: CHLNG(76) REPLY: CCRYPT(76)
OSDP: DEBUG: PD[0]: PD: CMD: CHLNG(76) REPLY: CCRYPT(76)
OSDP: DEBUG: PD[0]: PD: CMD: CHLNG(76) REPLY: CCRYPT(76)
OSDP: DEBUG: PD[0]: PD: CMD: SCRYPT(77) REPLY: RMAC_I(78)
OSDP: WARN : PD[0]: PD: SC Active with SCBK-D
CP: CMD_ID: 5 OSDP: DEBUG: PD[0]: PD: CMD: KEYSET(75) REPLY: ACK(40)
OSDP: DEBUG: PD[0]: PD: CMD: ID(61) REPLY: PDID(45)
OSDP: DEBUG: PD[0]: PD: CMD: CAP(62) REPLY: PDCAP(46)
OSDP: DEBUG: PD[0]: PD: CMD: CHLNG(76) REPLY: CCRYPT(76)
OSDP: DEBUG: PD[0]: PD: CMD: SCRYPT(77) REPLY: RMAC_I(78)
OSDP: INFO : PD[0]: PD: SC Active
OSDP: DEBUG: PD[0]: PD: CMD: LSTAT(64) REPLY: LSTATR(48)
OSDP: INFO : PD[0]: PD: PD is not capable of handling CMD: BUZ(6a); Reply with NAK_CMD_UNKNOWN
OSDP: DEBUG: PD[0]: PD: CMD: BUZ(6a) REPLY: NAK(41)
OSDP: ERROR: PD[0]: PHY: seq-repeat/reply-resend not supported!
OSDP: ERROR: PD[0]: PHY: seq-repeat/reply-resend not supported!
OSDP: ERROR: PD[0]: PHY: Invalid MAC; discarding SC
OSDP: ERROR: PD[0]: PHY: seq-repeat/reply-resend not supported!
OSDP: ERROR: PD[0]: PHY: seq-repeat/reply-resend not supported!
OSDP: ERROR: PD[0]: PHY: seq-repeat/reply-resend not supported!
OSDP: ERROR: PD[0]: PHY: seq-repeat/reply-resend not supported!
OSDP: ERROR: PD[0]: PHY: seq-repeat/reply-resend not supported!
OSDP: ERROR: PD[0]: PHY: seq-repeat/reply-resend not supported!
OSDP: DEBUG: PD[0]: PD: CMD: ID(61) REPLY: PDID(45)
OSDP: DEBUG: PD[0]: PD: CMD: CAP(62) REPLY: PDCAP(46)
OSDP: DEBUG: PD[0]: PD: CMD: CHLNG(76) REPLY: CCRYPT(76)
OSDP: DEBUG: PD[0]: PD: CMD: SCRYPT(77) REPLY: RMAC_I(78)
OSDP: INFO : PD[0]: PD: SC Active
OSDP: DEBUG: PD[0]: PD: CMD: LSTAT(64) REPLY: LSTATR(48)
OSDP: INFO : PD[0]: PD: PD is not capable of handling CMD: BUZ(6a); Reply with NAK_CMD_UNKNOWN
OSDP: DEBUG: PD[0]: PD: CMD: BUZ(6a) REPLY: NAK(41)
OSDP: ERROR: PD[0]: PHY: seq-repeat/reply-resend not supported!
OSDP: ERROR: PD[0]: PHY: seq-repeat/reply-resend not supported!
OSDP: ERROR: PD[0]: PHY: Invalid MAC; discarding SC
OSDP: ERROR: PD[0]: PHY: seq-repeat/reply-resend not supported!
OSDP: ERROR: PD[0]: PHY: seq-repeat/reply-resend not supported!
OSDP: ERROR: PD[0]: PHY: seq-repeat/reply-resend not supported!
OSDP: ERROR: PD[0]: PHY: seq-repeat/reply-resend not supported!
OSDP: ERROR: PD[0]: PHY: seq-repeat/reply-resend not supported!
OSDP: ERROR: PD[0]: PHY: seq-repeat/reply-resend not supported!
pastebin with all debug turned on: https://pastebin.com/cVz5pf4x
Additional context
OPENSSL_ROOT_DIR=/usr/local/opt/openssl cmake -DCONFIG_OSDP_PACKET_TRACE=ON -DCONFIG_OSDP_DATA_TRACE=ON ..
Definitely building master, only disabled python in CMakeLists.txt

Breaking it down using https://libosdp.gotomain.io/protocol/packet-structure.html
First the PD got a Buzzer command (6a) with sequence number 2
OSDP: PD[0]: Received [31] =>
    0000  ff 53 00 1e 00 0f 02 17  6a 44 42 91 b7 93 18 72  |.S......jDB....r|
    0016  6a 1a be fd 46 a1 af 04  1c a8 58 5a 21 a2 54     |j...F.....XZ!.T |

For which it replied with a NAK (41) with the same sequence number as the capability was not advertised.
OSDP: PD[0]: Sent [31] =>
    0000  ff 53 80 1e 00 0f 02 18  41 79 69 20 28 9c 79 80  |.S......Ayi (.y.|
    0016  57 24 a7 af f1 19 ad bd  d8 23 46 c9 3b 81 03     |W$.......#F.;.. |

After this transaction, the CP sent the same command with the same sequence number but with a different R-MAC (since the body of the command has changed).
OSDP: PD[0]: Received [31] =>
    0000  ff 53 00 1e 00 0f 02 17  6a 2e a3 32 28 a0 f0 7a  |.S......j..2(..z|
    0016  3f 7a 7f 9e df bb 83 ba  63 0c 2b eb ec ca c6     |?z......c.+.... |

One of two things may be happening:

CP thinks that the PD is currently busy so it is trying to resend the same command with the same sequence number. This is a spec violation since we sent a NAK and not a BUSY.
The CP is sending a different buzzer command but without the sequence number increment since it thinks the last command was unsuccessful so it can re-use the same sequence number (or it is a bug in the CP where the sequence number increment happens in the happy-code-path). Which is clearly wrong, but I'm not 100% sure if the spec explicitly forbids this (I'll have a look at it later tonight).

A bit more context of the CP would also help (such as model, maker, version, etc.,). Also a good time to kick off a communication with the CP developer with this information and your logs.

I changed my PD to support buzzer and the problem goes away. What's more, they are also sending an LED command which I also do not support but NAK'ing that is handled OK.
It seems the CP really goes off once I NAK the buzzer.
CP is a Tyco iSTAR Edge G2 with firmware <IP_ADDRESS>14.

I cannot imagine a sane control flow that would lead to this behaviour :) It is still better to report this issue to Tyco and see if they fix it in future.
Since your issue is resolved, closing this one.


PhantomJSEnv does not properly escape JS code in webpage

The following code will fail:
console.log("<script></script>");

Discovered while debugging #2322.

This is a hard problem:
PhantomJS seems to correctly interpret everything between <script> tags as CDATA, so simply escaping the tag doesn't work. Of course a closing </script> tag can only appear in a literal string, so usually the solution is to do:
console.log("<script></sc" + "ript>");

However, this is hard to back-fit on code (without parsing it) because JS has two types of quotes.
An easy fix would be to just write stuff to temp files and include it, completely mitigating the escaping issue. However, this wont work trivially for runner code, since we need to wrap it in an onload handler (see writeCodeLauncher).
An option would be to wrap it in a magic function, write it to a file, include the file via script tag and register the onload handler on the magic function. But that seems very ugly.


Curious about cross-compatibility with my project

Howdy!
I see we were both inspired by wchill's controller project! I have a similar fork of that meant for easy-to-setup UART->Nintendo Switch connections. Namely, my project UARTSwitchCon. I was wondering if you ever needed Joy-Con support (without IMU/NFC/IR support, but it could be added by someone) you could try out my ESP32-based project! Some games (Like Clubhouse Games) need Joy-Cons for the games to work, and I built that for simple games to be played with a Twitch Chat via ClubchatGames.
It should be a drop-in for the original wchill project, but I haven't been able to glean the differences between that and yours yet.
It can also act as a Pro Controller, but that's less important when we have the existing projects.
Just wanted to share this and see if it could help you at all! Take care and stay safe.

Hi! Thanks for coming here.
I'm currently targetting Arduino Uno (the one I have at home) and AVR devices. For me, changing to a entirely different FW architect would be a lot of work and a waste of time. However, I have looked at your project for inspiration and I think I can make some improvements to mine.
I don't know why I removed the avr_mock, but I'm getting it back.
Also, I'm going to investigate if it's viable to also emulate Joy-Cons. Afaik, there was a Joy-Con grip with a USB connection, and I guess input is sent over USB. I'm limited to one USB interface and no BT connection, so this could work. What fo you think?

 Even I don't fully know how to utilize the esp-idf, I mostly cobbled together an existing wireless controller project with examples concerning UART input then added some of my own logic and various fixes. I'm glad you were able to find some inspiration, though!
I do own the Charging Grip and looked into doing something similar to what you just described but didn't come to any conclusion on whether it would work. I think you have a better chance at figuring that one out, considering you were able to swap the descriptor to the Pro Con instead of the Horipad!
If you need me to get you some information from it (like copying a descriptor with an app, for example), I'll gladly assist however I can.


/batchgenerators/batchgenerators/augmentations/crop_and_pad_augmentations.py:140: UserWarning: Raause the crop along with the dasired margin does not fit the data. data: (1, 4, 160, 192, 160), crop_s4.0]   str(margins)))

@FabianIsensee Hi, sir. When I trained the network the following warning emerged : /batchgenerators/batchgenerators/augmentations/crop_and_pad_augmentations.py:140: UserWarning: Raause the crop along with the dasired margin does not fit the data. data: (1, 4, 160, 192, 160), crop_s4.0]
str(margins))). I am puzzled. Did you experience it?

please pull batchgenerators again and reinstall it with "pip install --upgrade ."

Thank you！

Thank you very much！


Import Suggestions not showing in quick fix.

VS Code used to suggest imports for JavaScript. After installing Eslint extension, the import suggestion is no longer exists.
The issue is already discussed in this issue of vs-code repo, but the solution could be provided by eslint extension only.

@Safnaj could it please provide me with a GitHub repository I can clone that demos what you are seeing.
This works for me having errors from ESLint and import proposal from JS/TS.

This is what i able to see when the plugin is enabled. It doesn't provide import suggestions for me.
Repo : https://github.com/Safnaj/GraphQL-Job-Portal

@Safnaj actually when disabling ESLint not quick fixes are proposed. The TS/JS language server doesn't report any error for JOBS_QUERY hence there is no quick fix.

Can you please provide detailed steps on how to reproduce what you are seeing

@dbaeumer It should report an error for the JOBS_QUERY since the import of the query has commented.
It should prompt to give suggestions to import it.

Any updates on this?

@dipunj can you please provide me with a GitHub repository I can clone that has a minimal setup to reproduce this. Otherwise it is very hard to tell what is going on.

This issue has been closed because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Selection(Marking) with 4 points

Hi
In General Demonstration, i chose SelectionMode : Rectangle. it works well.
i was wondering if it is possible to mark 4 points to define a rectangle (thought of rotating the rectangle by 45 degrees)
Once user chooses 4 points on Image, giving option to altering(dragging) any of 4 point's position will give preciseness for selection.
Thanks

Similar feature is implemented in "Resizable Selection Demonstration", but its not working properly with ScrollBarExperiments branch

Hello,
Thanks for the comment. As you mentioned, the demonstration project does include that functionality as separate code - it will be rolled into the core ImageBox control eventually in v2. The demo should work with the experimental code, I'll take a look the branch code and figure out how it's broken the demo.
Thanks;
Richard Moss


Build error on VTKImageExporter

I tried adding update(0) in VTKImageExporter.cpp and VTKImageImporter.cpp, which fixed one error but there was another error I couldn't figure out.
10%] Building CXX object CMakeFiles/FAST.dir/source/FAST/Exporters/VTKImageExporter.cpp.o
[ 11%] Building CXX object CMakeFiles/FAST.dir/source/FAST/Exporters/VTKMeshExporter.cpp.o
/build/fast/FAST/source/FAST/Exporters/VTKImageExporter.cpp: In member function ‘virtual int fast::VTKImageExporter::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*)’:
/build/fast/FAST/source/FAST/Exporters/VTKImageExporter.cpp:53:12: error: no matching function for call to ‘fast::VTKImageExporter::update()’
     update(); // Run FAST pipeline
            ^
In file included from /build/fast/FAST/source/FAST/Exporters/VTKImageExporter.hpp:5:0,
                 from /build/fast/FAST/source/FAST/Exporters/VTKImageExporter.cpp:1:
/build/fast/FAST/source/FAST/ProcessObject.hpp:28:14: note: candidate: void fast::ProcessObject::update(uint64_t, fast::StreamingMode)
         void update(uint64_t timestep, StreamingMode streamingMode = STREAMING_MODE_PROCESS_ALL_FRAMES);
              ^
/build/fast/FAST/source/FAST/ProcessObject.hpp:28:14: note:   candidate expects 2 arguments, 0 provided
/build/fast/FAST/source/FAST/Exporters/VTKMeshExporter.cpp: In member function ‘virtual int fast::VTKMeshExporter::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*)’:
/build/fast/FAST/source/FAST/Exporters/VTKMeshExporter.cpp:30:12: error: no matching function for call to ‘fast::VTKMeshExporter::update()’
     update(); // Run FAST pipeline
            ^
In file included from /build/fast/FAST/source/FAST/Exporters/VTKMeshExporter.hpp:5:0,
                 from /build/fast/FAST/source/FAST/Exporters/VTKMeshExporter.cpp:1:
/build/fast/FAST/source/FAST/ProcessObject.hpp:28:14: note: candidate: void fast::ProcessObject::update(uint64_t, fast::StreamingMode)
         void update(uint64_t timestep, StreamingMode streamingMode = STREAMING_MODE_PROCESS_ALL_FRAMES);
              ^
/build/fast/FAST/source/FAST/ProcessObject.hpp:28:14: note:   candidate expects 2 arguments, 0 provided
CMakeFiles/FAST.dir/build.make:1048: recipe for target 'CMakeFiles/FAST.dir/source/FAST/Exporters/VTKImageExporter.cpp.o' failed
make[2]: *** [CMakeFiles/FAST.dir/source/FAST/Exporters/VTKImageExporter.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/FAST.dir/build.make:1061: recipe for target 'CMakeFiles/FAST.dir/source/FAST/Exporters/VTKMeshExporter.cpp.o' failed
make[2]: *** [CMakeFiles/FAST.dir/source/FAST/Exporters/VTKMeshExporter.cpp.o] Error 1
CMakeFiles/Makefile2:69: recipe for target 'CMakeFiles/FAST.dir/all' failed
make[1]: *** [CMakeFiles/FAST.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Couldn't figure this one out
[ 62%] Building CXX object CMakeFiles/testFAST.dir/source/FAST/Importers/Tests/VTKImageImporterTests.cpp.o
In file included from /build/fast/FAST/source/FAST/Importers/VTKImageImporter.hpp:4:0,
                 from /build/fast/FAST/source/FAST/Importers/Tests/VTKImageImporterTests.cpp:2:
/build/fast/FAST/source/FAST/ProcessObject.hpp: In function ‘void ____C_A_T_C_H____T_E_S_T____10()’:
/build/fast/FAST/source/FAST/ProcessObject.hpp:170:21: error: ‘fast::DataObject::pointer fast::ProcessObject::getOutputData(uint) [with DataType = fast::Image; fast::DataObject::pointer = fast::SharedPointer<fast::DataObject>; uint = unsigned int]’ is protected
 DataObject::pointer ProcessObject::getOutputData(uint portID) {
                     ^
/build/fast/FAST/source/FAST/Importers/Tests/VTKImageImporterTests.cpp:13:63: error: within this context
     Image::pointer fastImage = importer->getOutputData<Image>();
                                                               ^
In file included from /build/fast/FAST/source/FAST/Importers/VTKImageImporter.hpp:4:0,
                 from /build/fast/FAST/source/FAST/Importers/Tests/VTKImageImporterTests.cpp:2:
/build/fast/FAST/source/FAST/ProcessObject.hpp:170:21: error: ‘fast::DataObject::pointer fast::ProcessObject::getOutputData(uint) [with DataType = fast::Image; fast::DataObject::pointer = fast::SharedPointer<fast::DataObject>; uint = unsigned int]’ is protected
 DataObject::pointer ProcessObject::getOutputData(uint portID) {
                     ^
/build/fast/FAST/source/FAST/Importers/Tests/VTKImageImporterTests.cpp:23:70: error: within this context
     Image::pointer importedImage = vtkImporter->getOutputData<Image>();
                                                                      ^
CMakeFiles/testFAST.dir/build.make:400: recipe for target 'CMakeFiles/testFAST.dir/source/FAST/Importers/Tests/VTKImageImporterTests.cpp.o' failed
make[2]: *** [CMakeFiles/testFAST.dir/source/FAST/Importers/Tests/VTKImageImporterTests.cpp.o] Error 1
CMakeFiles/Makefile2:180: recipe for target 'CMakeFiles/testFAST.dir/all' failed
make[1]: *** [CMakeFiles/testFAST.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Hi
Thank you for reporting this.
The FAST pipeline has recently been rewritten and thus not tested with VTK interop.
I believe I have now fixed the VTKImageImporter and VTKImageExporter, but I have not tested it thoroughly.
The fix is committed to the development branch, can you verify if it is working for you?

Thank you so much for taking a look at it.
getting a build error on the development branch.
[ 61%] Building CXX object CMakeFiles/testFAST.dir/source/FAST/Importers/Tests/ITKImageImporterTests.cpp.o /home/sansomk/build/fast/FAST/source/FAST/Importers/Tests/ITKImageImporterTests.cpp: In function ‘void ____C_A_T_C_H____T_E_S_T____6()’: /home/sansomk/build/fast/FAST/source/FAST/Importers/Tests/ITKImageImporterTests.cpp:21:22: error: no matching function for call to ‘fast::ITKImageImporter<itk::Image<float, 2u> >::update()’      importer->update();                       ^ In file included from /home/sansomk/build/fast/FAST/source/FAST/Importers/ITKImageImporter.hpp:4:0,                  from /home/sansomk/build/fast/FAST/source/FAST/Importers/Tests/ITKImageImporterTests.cpp:2: /home/sansomk/build/fast/FAST/source/FAST/ProcessObject.hpp:28:14: note: candidate: void fast::ProcessObject::update(uint64_t, fast::StreamingMode)          void update(uint64_t timestep, StreamingMode streamingMode = STREAMING_MODE_PROCESS_ALL_FRAMES);               ^ /home/sansomk/build/fast/FAST/source/FAST/ProcessObject.hpp:28:14: note:   candidate expects 2 arguments, 0 provided /home/sansomk/build/fast/FAST/source/FAST/ProcessObject.hpp:170:21: error: ‘fast::DataObject::pointer fast::ProcessObject::getOutputData(uint) [with DataType = fast::Image; fast::DataObject::pointer = fast::SharedPointer<fast::DataObject>; uint = unsigned int]’ is protected  DataObject::pointer ProcessObject::getOutputData(uint portID) {                      ^ /home/sansomk/build/fast/FAST/source/FAST/Importers/Tests/ITKImageImporterTests.cpp:22:63: error: within this context      Image::pointer fastImage = importer->getOutputData<Image>();                                                                ^ CMakeFiles/testFAST.dir/build.make:413: recipe for target 'CMakeFiles/testFAST.dir/source/FAST/Importers/Tests/ITKImageImporterTests.cpp.o' failed make[2]: *** [CMakeFiles/testFAST.dir/source/FAST/Importers/Tests/ITKImageImporterTests.cpp.o] Error 1 CMakeFiles/Makefile2:180: recipe for target 'CMakeFiles/testFAST.dir/all' failed make[1]: *** [CMakeFiles/testFAST.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2
git log -n 3
commit 18047c052b498bdb8b783b415ab4bcf8a24a069f
Author: Erik Smistad<EMAIL_ADDRESS>Date:   Fri Feb 23 16:13:47 2018 +0100

    Fixed comment

Now the ITK interop should be fixed as well.

It is compiling now without issue. Gracias!


Projects cleanup

This simplifies the project by moving as much as possible into the Directory.Build.props file.
Also, by using <GenerateDocumentationFile>true</GenerateDocumentationFile> instead of DocumentationFile, the xmldoc files are generated inside the obj directory, avoiding to pollute the different projects with the generated xmldoc files (which will still be included in the NuGet packages).
Finally, package validation as been enabled for all projects instead of only the main ZiggyCreatures.FusionCache project.

Hi @0xced , I was trying to update your fork to finish merging this, but got a "permission denied": would you like to grant me access so I can align everything and get to merge the changes?
Let me know, thanks!


Authorization Issues

With the Azure API for FHIR, I can see the metadata just fine.
My metadata file, has an authorization URL that departs from your guidance:
It does NOT include the aud/resource parameter.  I find that curious.  Have I missed something?
https://login.microsoftonline.com/********-****-****-****-************/oauth2/token
Authorization is refused when I use the resource parameter.  In contrast, when I adhere to the URL in the metadata, I can attain a token.  Yet, my attempts to read search for any patient resource(s) search encounter:
URL: https://*********.azurehealthcareapis.com/patient
Status 404 --
"issue": [
{
"severity": "error",
"code": "not-found",
"diagnostics": "The requested route was not found."
}

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

ID: a9d1459d-b21b-7a56-d484-50c20a95c628
Version Independent ID: 9adb2b55-d08f-aa34-7d6f-5fa87e1603ae
Content: Postman FHIR server in Azure tutorial - Azure API for FHIR
Content Source: articles/healthcare-apis/access-fhir-postman-tutorial.md
Service: healthcare-apis
GitHub Login: @hansenms
Microsoft Alias: mihansen

@kirtnoel The resource parameter must be used when requesting an authorization code from the /authorize endpoint. This is what is know as authorization code flow. When obtaining a token directly from the /token endpoint, the resource parameter must be included in the body of the POST request to that endpoint. Otherwise your token will not have the right audience (aud claim).
The correct route is https://*********.azurehealthcareapis.com/Patient with a capital P.
Hope this helps.

I've got this sorted now.  Thanks.


[jsonifier, discordcoreapi] Fix build hangs and warnings.

2 potential causes:

At least in my testing, build requires >9GB per thread of memory, which might have been 'hanging' by causing the OOM killer to kill the agent.
There are 'sub' CMake builds which write to the source tree and stomp on each other.

Related: https://github.com/RealTimeChris/Jsonifier/issues/35
Related: https://github.com/microsoft/vcpkg/pull/40229

I'm hoping this also fixes the build being very very slow on osx:

since this is forcing those machines into heavy swap use.

/cc @RealTimeChris

/cc @RealTimeChris

TBH discordcoreapi is fairly strange CMake code.
The port should be disabled in CI, if not delisted, until revised.
As an addtional note, the package optimizes for the capabilities of the physical host CPU. It  is unable to cross-build.
Taking a second look, this trouble starts at jsonifier.
(I do acknowledge that the source code offers excellent optimizations. I'm unhappy with CMake code and the ports.)

The build taking a long time should be fixed by the new tuple implementation I've added to Jsonifier since its last release.

/cc @RealTimeChris

TBH discordcoreapi is fairly strange CMake code. The port should be disabled in CI, if not delisted, until revised.
As an addtional note, the package optimizes for the capabilities of the physical host CPU. It is unable to cross-build.
Taking a second look, this trouble starts at jsonifier.
(I do acknowledge that the source code offers excellent optimizations. I'm unhappy with CMake code and the ports.)

You can cross-compile, you just need to set JSONIFIER_CPU_INSTRUCTIONS flags to correctly align with whichever target CPU architecture you're compiling for.

Looks like this fixed the warnings on Windows, taking forever on macOS, and the OOM killer on Linux:
Elapsed time to handle discordcoreapi:x64-osx: 1 min
Elapsed time to handle discordcoreapi:x64-linux: 35 s

TBH discordcoreapi is fairly strange CMake code.
The port should be disabled in CI, if not delisted, until revised.

I agree that, for example, invoking a sub complete CMake build is a little unorthodox, but unless it is causing problems for other ports I don't think it should be deindexed for that.

As an addtional note, the package optimizes for the capabilities of the physical host CPU. It is unable to cross-build.

That's true, but it's hardly the only port to do that. I don't think we have settled on a great answer to this situation: It's true that changing stuff based on the host CPU is bad for binary caching, but the alternative of force disabling all such optimizations makes ports that care about doing this useless for their customers much of the time, so we haven't tried to ban it despite the potential issues.

The build taking a long time/extreme RAM consumption should be fixed by the new tuple implementation I've added to Jsonifier since its last release. Let me push the changes to main.

Awesome, thanks!

You can cross-compile, you just need to set JSONIFIER_CPU_INSTRUCTIONS flag to correctly align with whichever target CPU architecture you're compiling for.

I started to study this already.
Jsonifier comes as header-only. It shouldn't need to commit to a particular CPU, but it burns the host CPU type into a header. Even worse, it forces its compile flags on consumers. -march=native (GNU, CLANG) as well as /fp:native (MSVC).

You can cross-compile, you just need to set JSONIFIER_CPU_INSTRUCTIONS flag to correctly align with whichever target CPU architecture you're compiling for.

I started to study this already.
Jsonifier comes as header-only. It shouldn't need to commit to a particular CPU, but it burns the host CPU type into a header. Even worse, it forces its compile flags on consumers. -march=native (GNU, CLANG) as well as /fp:fast (MSVC).

My mistake the -march=native should have never been in there and I've removed the /fp:fast from msvc.


[Bug]: Transition from Compare tab to Professor tab has lag time

What happened?
When 3 tabs are available, once all data has loaded. Going from Tab 3 (compare) to Tab 1 (professor) causes some lag time.
Could have something to do with loading-unloading of the Tab Components in the carousel

[ ] Ensure that an API call is not being made every time you switch tabs
[ ] Fix the lag time

Version
Beta 0.1.0
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@TyHil what was your insight on this?

Currently we're using the framer library to animate between the tabs which unmounts the tabs when switched, so they have to reload when switched back. The solution right now could be to ditch the animations and use Material UI's TabPanel which has a keepMounted prop. Animation is very likely possible with TabPanel but could be differed to after the redesign release. @AbhiramTadepalli what do you think?
Material UI Tabs: https://mui.com/material-ui/react-tabs/
TabPanel API: https://mui.com/material-ui/api/tab-panel/
This would all be changed in the src/components/common/Carousel/carousel.tsx file btw.

Sidenote: I think the transition looks really good and it should be kept.
However, even after https://github.com/UTDNebula/utd-trends/pull/188/commits/aa89093ded77bf8e11d0d161b909584114154de2 it exhibits lag time when switching from the compare tab to the professor tab. Which probably has something to do with the actual unmounting

Sidenote: I think the transition looks really good and it should be kept.
However, even after https://github.com/UTDNebula/utd-trends/commit/aa89093ded77bf8e11d0d161b909584114154de2 it exhibits lag time when switching from the compare tab to the professor tab. Which probably has something to do with the actual unmounting and not the transition.
@TyHil do you concur?


powershell_script user attribute: no method for uid

This is copied from CHEF-5344:

using the powershell_script resource and documentation states also has the user attribute like execute or bash on linux.
The powershell_script resource executes the script fine, unless the user attribute is supplied. I used a local user account which chef created for testing purposes.
I saw a similar ticket for the powershell cookbook that julian dunn closed recently, but nothing for chef

This is still a problem in Chef-Client 12.0.3
It seems Mixlib::ShellOut has the ability to change user (requiring a password, and possibly a domain), but the powershell_script resource/provider hasn't been updated.

I searched, but couldn't find the ticket from the powershell cookbook mentioned.

I've hit this too and it's standing in the way of some important stuff. I've got a different issue with joining a Windows 2012 domain, because SYSTEM on 2012 does not appear to be allowed to perform the action of joining the domain. This was the workaround, to use the user feature in powershell_script, to run the commands necessary for joining the domain, in a different script, as a different user.

If you use the chef-client::task instead of the windows service you can have it run as Administrator. As a work around.

I'll give that a try if my current test fails. Thanks @docwhat

@alex-williams The domain join problem is mostly unrelated.  The only way domain join works under the local Administrator account is when the local Administrator password is the same as the domain's Administrator password and NTLM auth just matches that up.  No local user account (or service account) has rights to join a machine to a domain.  Only domain accounts with rights to join a computer account can do so.  In a default configuration, active directory will let a normal user account join 10 machines to the domain.  Most production domains I've worked on disable that and require specific accounts to be used to join machines to domains.

@docwhat Agreed this is a bug and should get some attention. Paging @btm, @jdmundrawala, @ksubrama :)  Likely won't make it for the 12.1.0 release, but we'll get some attention on it.

@smurawski I think you've misunderstood what I was trying to do. I wasn't attempting to join the domain as the local admin, I was attempting to run the powershell script within the cookbook, as a user other than SYSTEM. It appeared at the time, that there was an issue running the Add-Computer command as SYSTEM on 2012 server, so I was attempting to run it as Administrator, with 'user'. As it turned out, the original issue wasn't an issue and was resolved another way, but this is still a feature that would be very desirable.

So if powershell_script calls script which calls execute, then this is likely a bug that should be addressed by teaching the execute resource how to properly read the user property off itself on windows, which would fix all the windows script resources (i.e. this is also likely a problem with batch and if anyone expects bash and such to work under cygwin, etc).

I suspect this is easy as long as its just wiring up the execute resource to working code in mixlib-shellout it should be a couple lines of code plus tests...

Yes, this has never been implemented, and as @lamont-granquist suggests, it may be simply a matter of integrating the resource with mixlib-shellout's support for running as an alternate user.

Is this still a problem? I have exactly this problem - I need to run a command as a domain user. I see a note about powershell_out - is that a supported/usable way to go?

powershell_out is a stable API that can be used

What's up with this open issue, then? Does this mean it's something that will be introduced into powershell_script at some point (as in I should tag any code I do on my end to update it to use powershell_script when that's added), or should I go ahead and use powershell_out and be done with it?

Does anyone have a powershell_out example using a different set of credentials (i.e. chef-client is running as Local System, but I want the PowerShell command to run as a domain account)? I can't find anything like that, or maybe I'm misunderstanding how this works.

@rayterrill we'll look at testing and adding the user/password properties to powershell_script soon
powershell_out takes an options hash as a second argument. Specify a username and password in the hash like so:
powershell_out(command_to_run, { "user": username, "password": password})

It looks like you can pass domain too. all these just pass through to powershell_out.

This should be fixed when https://github.com/chef/chef/pull/5722 is complete.

We've split the relevant portion of https://github.com/chef/chef/pull/5722 that fixes this issue out into https://github.com/chef/chef/pull/5764, which is ready for review.

This is fixed in 12.19.8+ (only available in current at this time) by passing user, password, and domain to to powershell_script (and other execute resources should work too).


JMLL-1073 Don't send emails to SRE

SRE Emails to be replaced by JUST slack messages

TODO: Create tests

Codecov Report
Base: 77.24% // Head: 77.27% // Increases project coverage by +0.02% :tada:

Coverage data is based on head (344a423) compared to base (220808d).
Patch coverage: 40.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #227      +/-   ##
==========================================
+ Coverage   77.24%   77.27%   +0.02%
==========================================
  Files         193      193
  Lines        7657     7657
==========================================
+ Hits         5915     5917       +2
+ Misses       1742     1740       -2

Impacted Files
Coverage Δ

leavers/workflow/tasks.py
75.54% <0.00%> (ø)

core/notify.py
84.78% <100.00%> (ø)

core/service_now/interfaces.py
33.00% <0.00%> (+0.97%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

I have added the ability for this to be done in the admin pages so that we can log who did it and when.


nixos-rebuild on 23.05 fails apparently due to jupyter-server

Steps To Reproduce
I tried to update my system (without any modification) with
sudo nixos-rebuild boot --upgrade

and the update fails with the following error
...
building '/nix/store/n4r4y30mgx6z64wfwa121aixrxirkrf8-emacs-packages-deps.drv'...
building '/nix/store/6036qvs7l5vwznq7wcl14lz0rb8v8k0p-emacs-gtk3-with-packages-28.2.drv'...
tests/auth/test_authorizer.py .......................................... [ 25%]
....................                                                     [ 28%]
tests/auth/test_identity.py ....................                         [ 30%]
tests/auth/test_legacy_login.py ..................                       [ 33%]
tests/auth/test_login.py ..............                                  [ 34%]
tests/auth/test_security.py ....                                         [ 35%]
tests/auth/test_utils.py ............                                    [ 36%]
tests/base/test_handlers.py .......                                      [ 37%]
tests/base/test_websocket.py ....                                        [ 38%]
tests/extension/test_app.py ................                             [ 40%]
tests/extension/test_config.py .                                         [ 40%]
tests/extension/test_entrypoint.py .                                     [ 40%]
tests/extension/test_handler.py .....                                    [ 41%]
tests/extension/test_launch.py .
 Timeout

 Captured stderr
/nix/store/n5fr2ppq4i3hdjbbf4636gk54s07022v-python3-3.10.13/lib/python3.10/runpy.py:126: RuntimeWarning: 'tests.extension.mockextensions.app' found in sys.modules after import of package 'tests.extension.mockextensions', but prior to execution of 'tests.extension.mockextensions.app'; this may result in unpredictable behaviour
  warn(RuntimeWarning(msg))
[I 2023-11-18 09:16:31.156 ServerApp] tests.extension.mockextensions | extension was successfully linked.
[I 2023-11-18 09:16:31.156 ServerApp] tests.extension.mockextensions.mock1 | extension was successfully linked.
/nix/store/9iyr1y1s3y0lc3i890hni8x7h9q90xd2-python3.10-traitlets-5.9.0/lib/python3.10/site-packages/traitlets/traitlets.py:2548: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use '3fcbcdd0' instead of '"3fcbcdd0"' if you require traitlets >=5.
  warn(
[I 2023-11-18 09:16:31.164 ServerApp] tests.extension.mockextensions | extension was successfully loaded.
[I 2023-11-18 09:16:31.164 ServerApp] tests.extension.mockextensions.mock1 | extension was successfully loaded.
[I 2023-11-18 09:16:31.166 ServerApp] The port 9999 is already in use, trying another port.
[I 2023-11-18 09:16:31.166 ServerApp] Serving notebooks from local directory: /build/jupyter_server-2.0.6
[I 2023-11-18 09:16:31.166 ServerApp] Jupyter Server 2.0.6 is running at:
[I 2023-11-18 09:16:31.166 ServerApp] http://<IP_ADDRESS>:10000/foo/?token=...
[I 2023-11-18 09:16:31.166 ServerApp]  or http://<IP_ADDRESS>:10000/foo/?token=...
[I 2023-11-18 09:16:31.166 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

 Stack of MainThread<PHONE_NUMBER>44416)
  File "/nix/store/n5fr2ppq4i3hdjbbf4636gk54s07022v-python3-3.10.13/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/nix/store/n5fr2ppq4i3hdjbbf4636gk54s07022v-python3-3.10.13/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/pytest/__main__.py", line 5, in <module>
    raise SystemExit(pytest.console_main())
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/config/__init__.py", line 190, in console_main
    code = main()
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/config/__init__.py", line 167, in main
    ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main
    return wrap_session(config, _main)
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/main.py", line 270, in wrap_session
    session.exitstatus = doit(config, session) or 0
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/main.py", line 324, in _main
    config.hook.pytest_runtestloop(session=session)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/main.py", line 349, in pytest_runtestloop
    item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/runner.py", line 112, in pytest_runtest_protocol
    runtestprotocol(item, nextitem=nextitem)
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/runner.py", line 131, in runtestprotocol
    reports.append(call_and_report(item, "call", log))
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/runner.py", line 220, in call_and_report
    call = call_runtest_hook(item, when, **kwds)
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/runner.py", line 259, in call_runtest_hook
    return CallInfo.from_call(
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/runner.py", line 339, in from_call
    result: Optional[TResult] = func()
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/runner.py", line 260, in <lambda>
    lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/runner.py", line 167, in pytest_runtest_call
    item.runtest()
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/python.py", line 1789, in runtest
    self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/nix/store/9ipd6dh9zlb0sm0cn40d9zw7w163r2sm-python3.10-pytest-jupyter-0.6.2/lib/python3.10/site-packages/pytest_jupyter/pytest_tornasync.py", line 29, in pytest_pyfunc_call
    pyfuncitem.obj(**testargs)
  File "/build/jupyter_server-2.0.6/tests/extension/test_launch.py", line 105, in test_base_url
    launch_instance(["--ServerApp.base_url=/foo"])
  File "/build/jupyter_server-2.0.6/tests/extension/test_launch.py", line 83, in _run_in_subprocess
    wait_up(url, check=lambda: process.poll() is None)
  File "/build/jupyter_server-2.0.6/tests/extension/test_launch.py", line 40, in wait_up
    time.sleep(interval)

 Timeout
/nix/store/gv2cl6qvvslz5h15vqd89f1rpvrdg5yc-stdenv-linux/setup: line 1604: pop_var_context: head of shell_variables not a function context
error: builder for '/nix/store/crxnqidkwkgxm9s7ahkhvilx1cisrki6-python3.10-jupyter-server-2.0.6.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/z8h0ric06294fi8xs1nlpwp2xclsfmm3-python3.10-nbclassic-0.5.2.drv' failed to build
error: 1 dependencies of derivation '/nix/store/6wyqkkj9crkzck7gya4sy45v8zzk9dhs-python3.10-notebook-6.5.2.drv' failed to build
error: 1 dependencies of derivation '/nix/store/b5zjwz5l96mapdsisna97664a0026bap-wolfram-notebook.drv' failed to build
error: 1 dependencies of derivation '/nix/store/bwkqhzh05gzyhlcnqk9grl5zac4mgd16-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/zpq45lq207bg638nfcv5dw2yy8l0nax6-nixos-system-orione-23.05.4860.9fb122519e9c.drv' failed to build

Note that this is on nixos-23.05, not unstable.
Notify maintainers
@risicle @natsukium
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.60, NixOS, 23.05 (Stoat), 23.05.4662.34bdaaf1f0b7`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.6`
 - channels(beffa): `""`
 - channels(root): `"nixos-23.05"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

I tried
nix-shell -p 'python3.withPackages (ps: with ps; [notebook ])'

and seems to fail in the same way
...
tests/extension/test_config.py .                                         [ 40%]
tests/extension/test_entrypoint.py .                                     [ 40%]
tests/extension/test_handler.py .....                                    [ 41%]
tests/extension/test_launch.py .
 Timeout

 Captured stderr
/nix/store/n5fr2ppq4i3hdjbbf4636gk54s07022v-python3-3.10.13/lib/python3.10/runpy.py:126: RuntimeWarning: 'tests.extension.mockextensions.app' found in sys.modules after import of package 'tests.extension.mockextensions', but prior to execution of 'tests.extension.mockextensions.app'; this may result in unpredictable behaviour
  warn(RuntimeWarning(msg))
[I 2023-11-18 09:47:24.549 ServerApp] tests.extension.mockextensions | extension was successfully linked.
[I 2023-11-18 09:47:24.549 ServerApp] tests.extension.mockextensions.mock1 | extension was successfully linked.
/nix/store/9iyr1y1s3y0lc3i890hni8x7h9q90xd2-python3.10-traitlets-5.9.0/lib/python3.10/site-packages/traitlets/traitlets.py:2548: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'f1f43ec4' instead of '"f1f43ec4"' if you require traitlets >=5.
  warn(
[I 2023-11-18 09:47:24.557 ServerApp] tests.extension.mockextensions | extension was successfully loaded.
[I 2023-11-18 09:47:24.557 ServerApp] tests.extension.mockextensions.mock1 | extension was successfully loaded.
[I 2023-11-18 09:47:24.558 ServerApp] The port 9999 is already in use, trying another port.
[I 2023-11-18 09:47:24.558 ServerApp] Serving notebooks from local directory: /build/jupyter_server-2.0.6
[I 2023-11-18 09:47:24.559 ServerApp] Jupyter Server 2.0.6 is running at:
[I 2023-11-18 09:47:24.559 ServerApp] http://<IP_ADDRESS>:10000/foo/?token=...
[I 2023-11-18 09:47:24.559 ServerApp]  or http://<IP_ADDRESS>:10000/foo/?token=...
[I 2023-11-18 09:47:24.559 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

 Stack of MainThread<PHONE_NUMBER>44416)
  File "/nix/store/n5fr2ppq4i3hdjbbf4636gk54s07022v-python3-3.10.13/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/nix/store/n5fr2ppq4i3hdjbbf4636gk54s07022v-python3-3.10.13/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/pytest/__main__.py", line 5, in <module>
    raise SystemExit(pytest.console_main())
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/config/__init__.py", line 190, in console_main
    code = main()
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/config/__init__.py", line 167, in main
    ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main
    return wrap_session(config, _main)
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/main.py", line 270, in wrap_session
    session.exitstatus = doit(config, session) or 0
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/main.py", line 324, in _main
    config.hook.pytest_runtestloop(session=session)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/main.py", line 349, in pytest_runtestloop
    item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/runner.py", line 112, in pytest_runtest_protocol
    runtestprotocol(item, nextitem=nextitem)
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/runner.py", line 131, in runtestprotocol
    reports.append(call_and_report(item, "call", log))
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/runner.py", line 220, in call_and_report
    call = call_runtest_hook(item, when, **kwds)
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/runner.py", line 259, in call_runtest_hook
    return CallInfo.from_call(
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/runner.py", line 339, in from_call
    result: Optional[TResult] = func()
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/runner.py", line 260, in <lambda>
    lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/runner.py", line 167, in pytest_runtest_call
    item.runtest()
  File "/nix/store/p30wij6qgqfndhif6hr99gb24qrlkavk-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/python.py", line 1789, in runtest
    self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/nix/store/vs3gfnsvg7l773cn5zvpqz9772nn945b-python3.10-pluggy-1.0.0/lib/python3.10/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/nix/store/9ipd6dh9zlb0sm0cn40d9zw7w163r2sm-python3.10-pytest-jupyter-0.6.2/lib/python3.10/site-packages/pytest_jupyter/pytest_tornasync.py", line 29, in pytest_pyfunc_call
    pyfuncitem.obj(**testargs)
  File "/build/jupyter_server-2.0.6/tests/extension/test_launch.py", line 105, in test_base_url
    launch_instance(["--ServerApp.base_url=/foo"])
  File "/build/jupyter_server-2.0.6/tests/extension/test_launch.py", line 83, in _run_in_subprocess
    wait_up(url, check=lambda: process.poll() is None)
  File "/build/jupyter_server-2.0.6/tests/extension/test_launch.py", line 40, in wait_up
    time.sleep(interval)

 Timeout
/nix/store/gv2cl6qvvslz5h15vqd89f1rpvrdg5yc-stdenv-linux/setup: line 1604: pop_var_context: head of shell_variables not a function context
error: builder for '/nix/store/crxnqidkwkgxm9s7ahkhvilx1cisrki6-python3.10-jupyter-server-2.0.6.drv' failed with exit code 1;
       last 10 log lines:
       >     pyfuncitem.obj(**testargs)
       >   File "/build/jupyter_server-2.0.6/tests/extension/test_launch.py", line 105, in test_base_url
       >     launch_instance(["--ServerApp.base_url=/foo"])
       >   File "/build/jupyter_server-2.0.6/tests/extension/test_launch.py", line 83, in _run_in_subprocess
       >     wait_up(url, check=lambda: process.poll() is None)
       >   File "/build/jupyter_server-2.0.6/tests/extension/test_launch.py", line 40, in wait_up
       >     time.sleep(interval)
       >
       >  Timeout
       > /nix/store/gv2cl6qvvslz5h15vqd89f1rpvrdg5yc-stdenv-linux/setup: line 1604: pop_var_context: head of shell_variables not a function context
       For full logs, run 'nix log /nix/store/crxnqidkwkgxm9s7ahkhvilx1cisrki6-python3.10-jupyter-server-2.0.6.drv'.
error: 1 dependencies of derivation '/nix/store/4ym2cbd2aibw00m1vgimkwx3gjylb9gw-python3-3.10.13-env.drv' failed to build

@natsukium

seems the same as #267916

Fix is in staging-next-23.05 #267121

I tried
nix-shell -p 'python3.withPackages (ps: with ps; [notebook ])'

As the log shows, this is not related to https://github.com/NixOS/nixpkgs/issues/255923, so that workaround would not work.


No URP Package via PackageManager

Describe the bug
There is no URP Package via PackageManager, only Builtin.
Builtin is installed at the time of import.
If you import from Package Manager as described in the document,
Go to Assets (in Project tab) ▶ “URP Package” folder ▶ FlatKit URP ▶ unpack.
does not exist.
To Reproduce
Importing FlatKit latest 2.1.4 via PackageManager in URP project on Unity 2019.4.20. (The same problem has been confirmed in other URP projects as well.)
Expected behavior
Package exists as described in the document.
Unity details:

Flat Kit version: [e.g. 2.1.4]
Unity version: [e.g. 2019.4.20]
Graphics Pipeline: [URP]
Development OS: [macOS BigSur]

Hi,
Thank you for reporting this.
If I understood correctly, you took this guide instead of this one
If so, please, follow the latter one.
Once you complete all 6 steps in the guide from the second link (this one), Flat Kit should be ready to go. If the issue is still there, could you please do the following:

Could you please send me a screenshot of the Package Manager during the import, like here:

Also, please, send me a screenshot of Flat Kit folder's contents in Project tab in Unity.

Have you unpacked the [Render Pipeline] URP unitypacke? It looks like here:

Hope it helps

Thank you so much for your reply!
I was referring to the former, as you said.
I thought it might be a problem in my environment, so I tried it right after creating a new project.
Since the icons are different, I deleted the UnityPackage stored in Unity and tried again, but the situation is the same.
The following is a part of the progress of the specified part. Because of this condition, the image in this picture is imported even if Import is done, and UnityShaderCompiler runs out of control when Importing for some reason, the image after Importing is omitted.
(1) Downloaded state as before.

(2) The old version is also displayed for some reason, and it does not change no matter how many times I try to update.

(3) Pressing "Import" in that state.

(4) Deleting the UnityPackage stored inside Unity, and pressing Download and Import.

These are all the states right after I created the project with URP on 2019.4.20.

Thank you for your screenshots and all the additional info.
It seems like it should be working ok but your second screenshot shows the 'white' icon of Flat Kit. It is the icon for pre-2 version of Flat Kit. In v.2 and later the icon became 'purple'. This leads me to the following possible reason: since you've got an older version of Flat Kit — you'll need to select the newer one and press Update. But, as you were saying, you couldn't update because it wouldn't let you do that, I think it is a cache problem. Could you please clear the Package Manager cache and re-import Flat Kit? Here's how to do it in macOS:

Delete Flat Kit from your project if you haven't yet
Press Cmd + Shift + G in any Finder window or find 'Go' menu on the top bar and press 'Go to Folder'
Type/paste this path in the window that pops out:
~/Library/Unity/Asset Store-5.x
Delete the cache in that folder
Relaunch Unity
Go to Window -> Package Manager -> My Assets -> Flat Kit
Update Flat Kit to the newest version
Install Flat Kit as described in the guide

Let me know how it goes.

Thank you very much.
I've taken the following actions, and I'm in the state shown in the attached screenshot.

Delete all files in AsssetStore-5.x as you told me.
Delete Chache in the directory above.
(3) Delete the Image Cashe in AssetStore.
URP, 2019.4.20
URP,2019.4.20 The result is as shown in the attached screenshot, although the download also started from scratch.
I will try deleting the cache when I have time.

As an additional report, the date I purchased this asset is
Dec 29, 2020
I'm not sure why the 1.5.5 version is appearing this time.
Dec 18, 2019
I'm at a loss as to why the 1.5.5 version ...... is from a time when I didn't own it yet.
I'm going to try everything I can think of to figure out what's going on, but I'll let you know as soon as I can.

Yes, it definitely looks like the cache problem. In the more recent 2020's Unity versions it is a more rare issue. You see older versions because, theoretically, apart from the latest version, you should also have access to any previous version of Flat Kit. But the bug is that you can't have the latest one... It is the Unity's bug of a Package Manager and the only workaround would be trying deleting the cache and trying importing the asset (not only Flat Kit) from a more recent version of Unity.
I am sorry for this issue, many developers requested Unity to fix this weird problem...
So, I'd suggest you doing this:

Try cleaning the cache, installing Unity 2020.2.x or 2020.3.x, importing Flat Kit using that version of Unity, moving it to your existing project in 2019.4.20f1
Shoot me an email and I'll directly send you the correct package.

Please re-open the issue if it's not been resolved.


Hover - hover cannot be reached with the mouse due to the scrollbar

Steps to Reproduce:

Open Extensions viewlet
Ensure that the list has enough items for the hover to show
Hover over an extension that has a link in its hover, and  the hover appears on the right-hand side
Try to reach the hover without pressing the modifier key
This works as expected if the list does not have a vertical scrollbar

Closing as duplicate of https://github.com/microsoft/vscode/issues/228121


Convert deprecated listpeer usage to listpeerchannels

Construct a "compatibility struct" to convert listpeerchannels output into a "virtual" legacy listpeers format.
This maintains the semantics of all of the use sites which currently traverse peer, then channel to make decisions and take actions.
Tests written using the legacy listpeers format can use the convert_legacy_listpeers utility to construct a compatibility struct.
The test_peerjudge_datagatherer malformed test needed to be malformed differently to achieve the desired effect.

Testing on mutinynet

rebased and merging


Unable to load picture or pdf file

I insert a bmp file and I get this error.

This is because your file names contain special character i.e. \\, it seems that latex will wrong when meetting them.


"Cannot access a disposed object" when reading large JSON from Web

Description
Hello everyone,
we are deserializing a large JSON reply from our web server. The source code has been generated with NSwag.CodeGeneration.CSharp and used to work fine with WPF, .NET MAUI iOS and .NET MAUI Android. Since a few weeks ago, the functionality has stopped working with .NET MAUI Android and sporadically throws ObjectDisposedException exceptions. Both WPF and iOS work fine.
We have not found out why and how this occurs. The only big change we had in the last few weeks was updating Visual Studio and .NET MAUI workloads.
EDIT: The error does not occur in .NET MAUI 8.0.61
Steps to Reproduce
    try
    {
        using (var responseStream = await response.Content.ReadAsStreamAsync().ConfigureAwait(false))
        using (var streamReader = new System.IO.StreamReader(responseStream))
        using (var jsonTextReader = new Newtonsoft.Json.JsonTextReader(streamReader))
        {
            var serializer = Newtonsoft.Json.JsonSerializer.Create(JsonSerializerSettings);
            var typedBody = serializer.Deserialize<T>(jsonTextReader);
            return new ObjectResponseResult<T>(typedBody, string.Empty);
        }
    }
    catch (Newtonsoft.Json.JsonException exception)
    {
        var message = "Could not deserialize the response body stream as " + typeof(T).FullName + ".";
        throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception);
    }

The exception occurs on return new ObjectResponseResult<T>(typedBody, string.Empty);.
Link to public reproduction project repository
No response
Version with bug
8.0.72
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
8.0.61
Affected platforms
Android
Affected platform versions
Android 13
Did you find any workaround?
Unfortunately, we could not find any workaround.
Relevant log output
 dotnet workload list

Installed Workload Id      Manifest Version       Installation Source
---------------------------------------------------------------------------------
android                    34.0.113/8.0.100       SDK 8.0.400, VS 17.11.35219.272
aspire                     8.1.0/8.0.100          SDK 8.0.400, VS 17.11.35219.272
ios                        17.5.8020/8.0.100      SDK 8.0.400, VS 17.11.35219.272
maccatalyst                17.5.8020/8.0.100      SDK 8.0.400, VS 17.11.35219.272
maui-windows               8.0.72/8.0.100         SDK 8.0.400, VS 17.11.35219.272

System.ObjectDisposedException: Cannot access a disposed object.

 Object name: 'Java.IO.InputStreamInvoker'.
    at Java.Interop.JniPeerMembers.AssertSelf(IJavaPeerable self) in /Users/runner/work/1/s/xamarin-android/external/Java.Interop/src/Java.Interop/Java.Interop/JniPeerMembers.cs:line 153
    at Java.Interop.JniPeerMembers.JniInstanceMethods.InvokeVirtualVoidMethod(String encodedMember, IJavaPeerable self, JniArgumentValue* parameters) in /Users/runner/work/1/s/xamarin-android/external/Java.Interop/src/Java.Interop/Java.Interop/JniPeerMembers.JniInstanceMethods_Invoke.cs:line 57
    at Java.IO.InputStream.Close() in /Users/runner/work/1/s/xamarin-android/src/Mono.Android/obj/Release/net8.0/android-34/mcw/Java.IO.InputStream.cs:line 116
    at Android.Runtime.InputStreamInvoker.Close() in /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/InputStreamInvoker.cs:line 62
    at System.IO.Stream.Dispose()
    at System.IO.BufferedStream.Dispose(Boolean disposing)
    at System.IO.Stream.Close()
    at System.IO.Stream.Dispose()
    at System.IO.DelegatingStream.Dispose(Boolean disposing)
    at System.IO.Stream.Close()
    at System.IO.StreamReader.Dispose(Boolean disposing)
    at System.IO.StreamReader.Close()
    at Newtonsoft.Json.JsonTextReader.Close()
    at Newtonsoft.Json.JsonReader.Dispose(Boolean disposing)
    at Newtonsoft.Json.JsonReader.System.IDisposable.Dispose()
    at PSServerClients.Api.V5_0.Client.<ReadObjectResponseAsync>d__87`1[[System.Collections.Generic.List`1[[PSServerClients.Api.V5_0.ShortProject, PSServerClients, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext() in /builds/software/profisignal-20/psserver-clients/PSServerClients/Api/V5_0/Client.cs:line 7102

Duplicate of https://github.com/dotnet/android/issues/9039.


Complex vectors for Fourier representations, Image processing, DSP, and Quantum states

Vectors of complex numbers are common in different scientific applications, and aren't fully supported by NumPy, which only handles double-precision variants.

The implementation of complex inner products is ready and will be shipped in the next major release, as it breaks the API, introducing new interfaces. Optimized Haversine distances may be included there as well.


configuration with Google Container Engine

How to configure this resource with the google container engine and the service account key?

I would love to know this too.

We recommends using a serviceaccount. First you should create a serviceaccount, and create a rolebinding for the serviceaccount which is bound an appropriate role.
$ kubectl create serviceaccount bot
serviceaccount "bot" created
$ kubectl create rolebinding bot --clusterrole=edit --serviceaccount=default:bot
rolebinding "bot" created

Next you should build a kubeconfig from the serviceaccount. create-kubeconfig is a handy script which builds a kubeconfig from a serviceaccount. See https://github.com/zlabjp/kubernetes-scripts.
$ create-kubeconfig bot

If you don't prefer to use a kubeconfig, you can also use cluster configs.
## server
kubectl config view --minify -o json | jq -r '.clusters[0].cluster.server'
## token
kubectl get secret bot-token-mslxf -o json | jq -r '.data.token' | base64 -d
## namespace
kubectl get secret bot-token-mslxf -o json | jq -r '.data.namespace' | base64 -d
## certificate_authority
kubectl get secret bot-token-mslxf -o json | jq -r '.data["ca.crt"]' | base64 -d

Please see the below as reference. Thanks.

https://github.com/zlabjp/concourse-meetup-tokyo-7-demo/blob/master/ci/pipeline.yml
https://github.com/zlabjp/kubernetes-resource#example


Lens for python

Original implementation: https://github.com/diffplug/selfie/blob/main/jvm/selfie-lib/src/commonMain/kotlin/com/diffplug/selfie/Lens.kt

Implemented.


test-branch/execute-job/quoted-authorization/3fe9c1c6-409d-4cb1-98c8-9af3ec64e6be

PR for testing 875974ff3fcb7dc0e2b133140d484ed9b290cd2c

/canonical/self-hosted-runners/run-workflows 875974ff3fcb7dc0e2b133140d484ed9b290cd2c


1.11.2 server crash - client call

https://gist.github.com/Terpo/97cc40008a78da7953886544fe80927f
bdlib-<IP_ADDRESS>-mc1.11.2.jar
generators-<IP_ADDRESS>-mc1.11.2.jar
Crash happened when I was trying to open the GUI of a turbine generator.

Your bdlib is outdated, update to the latest version for 1.11.2 and it'll fix it i think.
https://minecraft.curseforge.com/projects/bdlib/files/2392618

wow, ok.... thats kind of interesting as there were six modpack updates since april. I will try the new version, ty


Support for specifying type translations as part of the forwarding configuration.

@smolkaj is this still in play?

We still want something like this eventually, but we aren't currently actively working on it.

I think we'd also want to add a semi-static & semi-dynamic mapping.
@antoninbas any thoughts on whether it would be more or less preferable to add this as a separate RPC?

I think we'd also want to add a semi-static & semi-dynamic mapping.
@antoninbas any thoughts on whether it would be more or less preferable to add this as a separate RPC?

In my mind, it was going to be decoupled from the ForwardingPipelineConfig: even if a new P4 pipeline was pushed, the mapping would typically remain the same as it would be specific to the switch hardware (and the P4 architecture) and not to the P4 program.
I am also not clear about how the dynamic mapping would work. Your comment in the Protobuf implies that the switch / server would be responsible for allocating "P4 values", which does not match my current understanding.
It's probably something worth discussing at the next WG meeting. I doubt I have the most comprehensive perspective on this.

In my mind, it was going to be decoupled from the ForwardingPipelineConfig: even if a new P4 pipeline was pushed, the mapping would typically remain the same as it would be specific to the switch hardware (and the P4 architecture) and not to the P4 program.

Makes sense, I agree.

I am also not clear about how the dynamic mapping would work. Your comment in the Protobuf implies that the switch / server would be responsible for allocating "P4 values", which does not match my current understanding.

That's right. This is meant as a convenience. Consider the following use case:
table 1 (route lookup): matches on dst IP and sets a "route ID", some user metadata
table 2 (route execution): matches on "route ID" and sets the egress port/src mac/dst mac appropriately.
Maybe in our control, we want to give these routes semantically meaningful names, so we define
@p4runtime_translation("", string)
type bit<10> route_id_t;

Now we can program routes as follows:
Table 1:

<IP_ADDRESS>/8 -> "internal VM route"
<IP_ADDRESS>.0/32 -> "default route"

Table 2:

"internal VM route" -> egress_port:1, src_mac: x, dst_mac:y
"default route" -> egress_port:1, src_mac: a, dst_mac:b

Internally, the switch will map the route IDs to bit<10>. It may use the mapping
"internal VM route" <-> 1
"default" <-> 2

Or, it could use
"internal VM route" <-> 2
"default" <-> 1

Or it could use any other bijection between strings and bit<10>. The interesting observation is that it doesn't matter which mapping the switch uses, since there will be no observable difference from the controller (as long as the mapping is a bijection):

the packet input-output behavior will be the same either way
INSERT/MODIFY/DELETE operations via P4Runtime will behave the same either way

Since the mapping is irrelevant, it would be very convenient if we didn't have to specify it explicitly.

@smolkaj thanks for the reminder. I think we discussed this before, but I was very much focused on the special case of port translation.
When we added the p4runtime_translation annotation, I don't think we considered the "dynamic" case. I also think we were focused on the case where the annotated type is defined as part of the architecture.
I believe that both cases ("static" and "dynamic") can be supported using a separate RPC. As you pointed out, the only guarantee for the "dynamic" case is that the mapping is a bijection. The underlying values can stay the same or be re-generated when a new ForwardingPipelineConfig is sent to the switch (implementation-dependent), even for a RECONCILE_AND_COMMIT.
With a separate RPC however, there are a few open questions:

what happens if there is no available mapping data (mapping was not defined, or a value is missing in a static mapping)?
can the mapping data be updated dynamically after a ForwardingPipelineConfig has been sent to the switch and table entries have been inserted?

With your current proposal, things become easier (the second question does not exist), but static mappings have to be included for each ForwardingPipelineConfig. The port translation mapping has to be provided by the P4Runtime controller, which may not be an issue for you.

RE dynamic mappings: For better or worse, we started using them in SONIC/PINS. I am starting to wonder if that was a mistake, as explaining them to people is rather tricky, and so is reasoning about their correctness. At further thought, I think it might be a mistake to standardize them, and perhaps instead Google should stop using them. Either way, perhaps it would be best to not include them for the initial proposal, we could always revisit them later.

what happens if there is no available mapping data (mapping was not defined, or a value is missing in a static mapping)?

I guess we should return a FAILED_PRECONDITION error in that case?
https://grpc.github.io/grpc/core/md_doc_statuscodes.html

can the mapping data be updated dynamically after a ForwardingPipelineConfig has been sent to the switch and table entries have been inserted?

This is a trickier one. In SONIC/PINS, for ports, we decided that no, this is not legal. But it is not entirely trivial to implement.