iOS WebSSH app asks for password even when the server doesn't

Bug description
We (@Tailscale) have a custom SSH server that runs over Wireguard. Because we already know the user's identity from Wireguard, we skip all the SSH-level authentication. When the SSH client connects and requests auth type "none", usually the SSH server replies with a rejection and a list of which auth types can proceed. Our SSH server, on the other hand, accepts auth type none immediately. This confuses the WebSSH app which assumes that if you don't have a private key you must need a password.
Our workaround that we've told users is to set a fake password. The password is never used (never sent on the wire) but it makes the WebSSH app happy.
Screenshots

Steps to reproduce

try to ssh to <IP_ADDRESS> on port 2222 (any username)
notice that WebSSH asks for a password, even though that test server never asks for any auth types
enter a dummy password to proceed (any password will make the app happy, even though it's never sent to the server)

/cc @maisem

With OpenSSH,
$ ssh -v -p 2222 <IP_ADDRESS>
...
debug1: Authentication succeeded (none).
...
It worked.
10 ...
9 ...
8 ...
7 ...
6 ...
5 ...
4 ...
3 ...
2 ...
1 ...

Hello @bradfitz Brad 👋
Thank you a lot for your strong feedback (and your strong products too ;) 👍
May I use the 188.X.X.X IP address in order to make a fix in the next few hours?

May I use the 188.X.X.X IP address in order to make a fix in the next few hours?

Yup! It exists specifically for testing. Test away. No rush. I'll keep it up as long as needed.
Thanks for looking into it!

Thank you Brad 🙏

It's almost done. A beta release will be available tomorrow, July 21.

Please find a fix inside the latest beta release (19.5 build 949) :
https://testflight.apple.com/join/QSrBK59z
When no password are set inside the connection form :

If server accepts 'none' authentication : WebSSH won't ask user password
If server don't accept 'none' authentication : WebSSH will require user to put password

@isontheline, it doesn't work for me. It looks like it's always sending username "test", regardless of what username I enter. Did you accidentally leave some debug code in the build?

@bradfitz No hard coded credentials inside the build, even in beta releases.
And I'm able to connect to my own servers with usernames like 'apple', 'root' and many others.
So 'test' is not from my side.

I don't find any string reference to "test" inside WebSSH code :/
That's strange.
Are you able to connect to a non Wireguard endpoint?

Does build 19.4 #932 (July 10) sends bad username? (This build doesn't contains an update about SSH related things)

I ran our SSH server with a ton of debug logs. Other SSH clients send my actual username.

WebSSH build 932 sends the correct username
WebSSH build 932 sends the correct username
WebSSH build 941 sends the correct username
WebSSH build 943 sends the correct username
WebSSH build 949 sends "test" as the username

BTW, typo in all the TestFlight release notes: It should say "Its codename is ...." with the possessive rather than "It's" == "It is". :)

BTW, typo in all the TestFlight release notes: It should say "Its codename is ...." with the possessive rather than "It's" == "It is". :)

Thank you Brad 🙏
I'm fixing this typo.
Thank you a lot for your tests agains 932; 939, 941, 943 and 949!
In order to drive me in my searches : could you try to put a password inside the connection form? (even a bad password). When done, does the username is always 'test'?
I ask this because I have added some lines of code in order to check if server supports 'none' authentication and the kill switch of these lines is to set a password inside the connection form.

Yes, that's it:

WebSSH build 949 with empty password sends "test" as the username
WebSSH build 949 with dummy "foo" password sends the correct username

That's crazy :/
It works on my side, isn't it?

You seem to have a race.
The behavior depends on latency to the server. If the server is low latency, WebSSH sends "test". But if it's sufficiently "far away", something in the WebSSH code has time to initialize the username to the right one before it gets past the host key exchange phase of the SSH protocol and gets to auth.
If you have Go installed on your Mac, I can prepare a demo server you can run locally so you have a low latency SSH server to test against?

@bradfitz

If you have Go installed on your Mac, I can prepare a demo server you can run locally so you have a low latency SSH server to test against?

Yes, it would be awesome!
Thank you a lot Brad for your help.

Oh, when there's no password saved in WebSSH, it makes two concurrent TCP connections to port 22. One has the right user ("foo" in my case) and  one has "test". Is that maybe for testing the host key or something?
This is me trying to hit my <IP_ADDRESS>:2222 server running on the same wifi network:
$ go run tailscale.com/cmd/ssh-auth-none-demo@a3777f0dc8915f7aee7633747f56294268532936
2022/07/21 11:15:47 Running on :2222 ...
2022/07/21 11:15:50 Got connection from user "test", "SSH-2.0-PuTTY_Release_0.70" from <IP_ADDRESS>:60621
2022/07/21 11:15:50 Got connection from user "foo", "SSH-2.0-PuTTY_Release_0.70" from <IP_ADDRESS>:60622
2022/07/21 11:15:50 Started session from user "foo"

You should be able to run that server too using that go run command above.
Code's at https://github.com/tailscale/tailscale/pull/5115 if you're curious.

Also, why's there a ~3 second pause when connecting to the local LAN SSH server?
The 10 second countdown from that demo server's always at "7..." by the time the terminal shows up.

Also, why's there a ~3 second pause when connecting to the local LAN SSH server?

A legacy animation timer for old iOS devices. I'm opening an issue to check if it's still required : https://github.com/isontheline/pro.webssh.net/issues/688

Oh, when there's no password saved in WebSSH, it makes two concurrent TCP connections to port 22. One has the right user ("foo" in my case) and one has "test". Is that maybe for testing the host key or something?

Yes I'm opening a connection in order to check server capabilities but I think I'm opening it wrongly.

You should be able to run that server too using that go run command above.

Thank you, I'm trying it. It will help me to address the fix.

@bradfitz I've done a fix : only one connection will be opened
Xcode Cloud pipeline is running.
I will release access to the binary tomorrow July 22 (morning Europe/Paris)

Available build 950 should fix related issues :
https://testflight.apple.com/join/QSrBK59z

Works for me now! 🙏

Thank you a lot for your feedback Brad 👍


Angular Material Table (mat-sort-header + expandable rows)

Bug, feature request, or proposal:
Bug
What is the expected behavior?
When creating expandable rows ie (https://stackblitz.com/edit/angular-material-expandable-table-rows) they should only open when clicked. In addition when you add a mat-sort-header and click a header to sort they should not open up.
What is the current behavior?
I created an angular material table with expandable rows and added mat-sort-header to the columns. When I click on a column it sorts, but when it finishes sorting some of the rows are open. In the repro none of the rows are opened, however you can see the affect it is having in mine. Once you filter by the heading you have to click on a row multiple times to get it to open(similar to mine, but with mine it is actually open) I added a console.log so that you can see what the show value is.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-material2-issue-a8kjon
Is there anything else we should know?
I'm pretty sure it is a problem with the when predicate. It doesn't get run correctly when you sort on the header.

Would be nice to solve this issue. Makes impossible to use expandable and sortable rows features together.
I have checked that expandable rows are opened one after the other (sometimes more than one at a time) always at the same order for the same data. Once you close them (clicking twice as @Bradenb25 stated) everything works just fine. You canthen click on the sortable header cells, visible rows are sorted and expandable rows are not opened.

Okey, fixed by changing my detailExpand animation. This is the one applied to the expandable rows:
<ng-container matColumnDef="expandedDetail">

    <div class="element-detail"<EMAIL_ADDRESS>? 'expanded' : 'collapsed'" [style.height]="element.expanded ? 'unset' : '0 !important'">

My expandable content

</ng-container>

By changing the animation from
trigger('detailExpand', [
      state('collapsed', style({ height: '0px', minHeight: '0', display: 'none' })),
      state('expanded', style({ height: '*' })),
      transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),
    ]),

to
trigger('detailExpand', [
      state('collapsed, void', style({ height: '0px', minHeight: '0', display: 'none' })),
      state('expanded', style({ height: '*' })),
      transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),
    ]),

Only change is first state('collapsed' to state('collapsed, void'
Now both sorting and expanding rows work as expected.

Thank you Pablo for the fix!
I got the code from the StackBlitz at https://stackblitz.com/angular/mkgqybdjdmj?file=app%2Ftable-expandable-rows-example.ts and burned a few hours trying to work around it before finding this thread.
Does anybody know how to contact the author so it can be updated?

Thanks @pabloFuente for the fix!
For anyone else looking at this, I also had to add a second transition parameter to cover the case 'expanded <=> void', e.g:
trigger('detailExpand', [       state('collapsed, void', style({ height: '0px', minHeight: '0', display: 'none' })),       state('expanded', style({ height: '*' })),       transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),       transition('expanded <=> void', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),     ])

Nice @ClientsideDesign , you're right. Without that second transition the slide animation would be missing when opening a expandable row after sorting. I'll update my answer.

@pabloFuente Hi! Could you post a complete example? I can't get the OP example to work with your (and ClientsideDesign) edits.

Sure.
My expandable row (last ng-container and just before
 definitions inside
) is this:
<ng-container matColumnDef="expandedDetail">

    <div class="element-detail"<EMAIL_ADDRESS>? 'expanded' : 'collapsed'" [style.height]="element.expanded ? 'unset' : '0 !important'">
      ...

</ng-container>

And my animation is this:
animations: [
    trigger('detailExpand', [
      state('collapsed, void', style({ height: '0px', minHeight: '0', display: 'none' })),
      state('expanded', style({ height: '*' })),
      transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),
      transition('expanded <=> void', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))
    ]), .....
]

Obviously yuor dataSource elements need an expanded property that should change when clicking on a row, so the animation state change is triggered. Something like:
dataSource: MatTableDataSource<MyTableElement>;

export interface MyTableElement {
  data1: string;
  data2: string;
  expanded: boolean;
}

@pabloFuente Thanks ;)

Okey, fixed by changing my detailExpand animation. This is the one applied to the expandable rows:
<ng-container matColumnDef="expandedDetail">

    <div class="element-detail"<EMAIL_ADDRESS>? 'expanded' : 'collapsed'" [style.height]="element.expanded ? 'unset' : '0 !important'">

My expandable content

</ng-container>

By changing the animation from
trigger('detailExpand', [
  state('collapsed', style({ height: '0px', minHeight: '0', display: 'none' })),
  state('expanded', style({ height: '*' })),
  transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),
])

to
trigger('detailExpand', [
  state('collapsed, void', style({ height: '0px', minHeight: '0', display: 'none' })),
  state('expanded', style({ height: '*' })),
  transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),
  transition('expanded <=> void', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))
])

Only changes are first state('collapsed' to state('collapsed, void' and the last transition(...) line
Now both sorting and expanding rows work as expected.

Thanks @pabloFuente  You save my day

In recent versions of the library, I had to remove display property in the state declaration for the animation to work from collapsed to expanded. So:
state('collapsed, void', style({ height: '0px', minHeight: '0', display: 'none' })),

now is simply
state('collapsed, void', style({ height: '0px' })),

Though this fixes the issue, it is just a work around. The underlying problem of the state being updated to 'void' after sort still exists.


feat(@angular/cli): add trailing slash to deployUrl when missing

Closes #7295

@clydin can you review please?

As currently implemented, the deploy URL option mimics the behavior of webpack's public path option which simply prepends the value provided to resource requests.  So technically this PR would be a breaking change.  However, I'm not sure anyone is currently using the option to prepend directly to the filename of the resource (as opposed to the common case of adjusting the path).
Also of note, the CLI's base href option also would typically require the user to use a trailing slash.  According to the specification, the trailing slash is actually significant to the meaning of the base href value (i.e., /base/ and /base have different behavior within a web browser).

@clydin I had similar worries and asked Webpack guys directly and got response that it is always safe to append trailing slash when missing on publicPath. Then again I the context in the question was lacking so it's possible that answer didn't account for all use cases.


[Enhancement] optimize MIN/MAX on partition columns

Why I'm doing:

SELECT MAX(partition_col) can be used to retrieve the latest data in a table, which is very common for realtime-analytics
But the query plan is vanilla and inefficient because it needs to scan all partitions

What I'm doing:
Introduce several methods to optimize performance:

Partition prune: try to scan only the last partition but not all of them
Partition value: for List-Partition Table, we can evaluate the MIN/MAX in optimizer directly
TopN: since we have TopN-Filter, the TopN is more efficient than MIN/MAX

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.3
[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

Just curious, why is the optimization disabled if a limit is present?

Just curious, why is the optimization disabled if a limit is present?

good question. i didn't think about it seriously TBH.

SELECT min(c1) FROM tbl LIMIT 10 is meaningless actually, it's same as SELECT min(c1) FROM tbl.
SELECT min(c1) FROM (SELECT * from tbl LIMIT 10) t, this case is meaningful, and we should not apply this optimization on it because the subquery can be faster than a pruned query

so I can try to remove that restriction if there's no bad case.


Unable to paste flow

I'm unable to paste a flow that my coworker extracted from his machine and saved to share drive

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

ID: f370eb5f-d0fb-2779-3055-d55dc2ca804e
Version Independent ID: 7ccac574-8fea-055e-cb37-8d39a26113ca
Content: Share/export a desktop flow - Power Automate
Content Source: articles/desktop-flows/how-to/share-export-desktop-flows.md
Service: power-automate
Sub-service: desktop-flow
GitHub Login: @georgiostrantzas
Microsoft Alias: v-gtrantzas

Hello @ahuang23, thank you for using Power Automate. The schema of some actions might change from one version of Power Automate for desktop to another. These actions might not be recognized when pasting between different versions of the designer. You can find more information regarding this issue in Managing the workspace toolbar.


Query for Country code

Hi i try to write a query to  see any communication from specific country.
Example
I would like to see if there is any network activity from russia by example or any country

union IdentityLogonEvents, DeviceNetworkEvents
| summarize count() by DeviceName, Location
| limit 10

thx you  for the quick answer


N/A

Just wanted to say thank you for this unbelievable resource. I know there are a thousand component websites out there, but they are either laid out terribly, or require a login, or aren't free, or a number of other annoyances. Yours is fantastic, and really well designed in terms of ease-of-use, and free, and could not be simpler to just find what you need and have it in 10 seconds without all the bullshit.
Really well done, I appreciate the time that went into this, and your generosity for offering a very well made product for free.

All good @merchalex, thanks for the kind words!


Funds not received on cosmostation

I sent 16.77 ATOM from Coinbase to cosmostation but no new ATOM are showing up in my cosmostation wallet.  It shows as sent but pending on Coinbase. The block explorer shows an error message for hub-4. On cosmostation (see pictures) it shows the transaction in my history but when I open the transaction it shows no information and If I try to share the transaction history for that transaction the app crashes. Using iPhone with up to date iOS.

If this is about Cosmostation Wallet, please report to https://www.cosmostation.io/.
In the meantime, you can check your balance with https://cosmos.bigdipper.live/account/{address}


IllegalArgumentsException: Empty Storage ID

FileFullPath.kt line 115

Fatal Exception: java.lang.IllegalArgumentException: Empty storage ID
       at com.anggrayudi.storage.file.FileFullPath.checkIfStorageIdIsAccessibleInSafSelector(FileFullPath.kt:115)
       at com.anggrayudi.storage.SimpleStorage.requestStorageAccess(SimpleStorage.kt:156)
       at com.anggrayudi.storage.SimpleStorageHelper.requestStorageAccess(SimpleStorageHelper.kt:353)
       at com.anggrayudi.storage.SimpleStorageHelper.requestStorageAccess$default(SimpleStorageHelper.kt:345)
       at com.anggrayudi.storage.SimpleStorageHelper.requestStorageAccess(SimpleStorageHelper.kt:8)

One of the user is getting this crash on Android 9. The Storage is located on SD card.

Probably this is because the user uses : special character in his file/folder. Maybe I need to replace the current logic from substring the SD card ID to regex extraction for more accurate results.

If any additional logging can be helpful, I can ask the user for installing custom apk.

Put logs wherever you construct FileFullPath() object. That will be really helpful.

The issue was empty path being passed to FileFullPath() in a specific case.


What sender is?

Hello im newbie to this TON blockchain, i already read this documentationhttps://docs.dedust.io/docs/adding-new-jettons and try to run swap for jettons to jettons, but what i can't figure it out is from where can i get the sender variable? i can't find answer searching in the documentation.
Thanks in advance.

Found it here https://docs.dedust.io/recipes/interaction-with-dedust-protocol-using-wallet-contract i miss that part sorry :)


New node MipMap [Stride.Rendering] which allows to generate mipmaps

The input texture is rendered multiple times in order to generate all mipmaps. It's the same technique as seen in the VideoTexture class of Stride.
Related issues #215 and #369
My main question is whether we're happy with the name/category (MipMap [Stride.Rendering]) of the node. Or should it be placed in the TextureFX category due to having in- and output texture?

great great great!
i think the category could be texturefx since this might be the place where a user searches for it.
regarding texturefx:
would it be an option to have this node/code included in all texturefx?
similar to like it was in the dx11 texturefx - a bool pin whether to compute mips. when this is true, this mipmap pass is added after the texturefx.

would it be an option to have this node/code included in all texturefx?

You'd only enable that pin on the last node of the chain, no? Having it enabled on all nodes would be a waste of resources as the nodes in the chain usually do no down/up-sampling. Further if I imagine it to be a bool input which I would need to enabled at the last node in the chain, what when adding another node to it? I'd need to remember to enable that pin on the new node and disable on the previous. And finally the amount input pins of is already rather high.

How about two nodes? one in rendering that represents the functinality
in:

source
dest
out:
IRenderer

and one high-level node in TextureFX that take care of resources and auto rendering:
in:

texture

out:

texture

As for the call itself, it would be good to find out whether the device supports it and call that method then and only use the explicit rendering calls when that isn't available.

Well I wanted to keep the discussion on the high level node itself. As you can see the code is all internal, so we can discuss how the node is actually implemented in another issue.

Ok, then yes, definitely in the category TextureFX. And I would also say that it should be an extra node and (at least for now) not built into every TextureFX node.

Ok will move it to texturefx and merge after.
In the other thread I linked in the issue they talk about that in some dx12 toolkit it's done by a compute shader. So I guess that would probably be the optimal solution.


how can I use a custom font for syntax highlighting ?

Also, I'm unable to change the case of user name, its always in capital.

Hello @somu1795 !
To modify styling and highlight colors for the syntax highlighting you can edit /_sass/_syntax.scss. You can change the colors and use your own font.
I'm not sure I understand your second question, but take a look at /_sass/_layout.scss and search for the uppercase value. This should give you a starting point for changing what you are looking for.

Thanks, and is there any way to use a custom font , apart from google fonts?
Do I have to use @font-face?

Exactly, you need to use @font-face :+1:


Error converting EvolvedOp to instruction

Environment

Qiskit Terra version: cffbb849344a501be624a75e64dcf757a41a6921
Python version: 3.9.6
Operating system: RHEL 8.5

What is happening?
Attempting to convert an EvolvedOp to an instruction raises ExtensionError: 'Input matrix is not unitary.'
How can we reproduce the issue?
from qiskit.opflow import EvolvedOp, X

op = EvolvedOp(0.5 * X)
op.to_instruction()

---------------------------------------------------------------------------
ExtensionError                            Traceback (most recent call last)
<ipython-input-1-59021ff152db> in <module>
      2
      3 op = EvolvedOp(0.5 * X)
----> 4 op.to_instruction()

~/projects/qiskit-terra/qiskit/opflow/evolutions/evolved_op.py in to_instruction(self, massive)
    173         if not isinstance(mat_op, MatrixOp):
    174             raise OpflowError("to_instruction is not allowed for ListOp.")
--> 175         return mat_op.to_instruction()

~/projects/qiskit-terra/qiskit/opflow/primitive_ops/matrix_op.py in to_instruction(self)
    229
    230     def to_instruction(self) -> Instruction:
--> 231         return (self.coeff * self.primitive).to_instruction()

~/projects/qiskit-terra/qiskit/quantum_info/operators/operator.py in to_instruction(self)
    263         from qiskit.extensions.unitary import UnitaryGate
    264
--> 265         return UnitaryGate(self.data)
    266
    267     def conjugate(self):

~/projects/qiskit-terra/qiskit/extensions/unitary.py in __init__(self, data, label)
     83         # Check input is unitary
     84         if not is_unitary_matrix(data):
---> 85             raise ExtensionError("Input matrix is not unitary.")
     86         # Check input is N-qubit matrix
     87         input_dim, output_dim = data.shape

ExtensionError: 'Input matrix is not unitary.'

What should happen?
It should work.
Any suggestions?
Apparently to_instruction is trying to convert op.primitive instead of op and failing because op.primitive is not unitary. For EvolvedOp, op and op.primitive represent different things (op.primitive is the logarithm of op) so this logic is incorrect.

The EvolvedOp is only representing an object which still needs to be evolved. So you'll have to convert it using an EvolutionBase before you can ask for the circuit/convert it to an instruction. For example
from qiskit.opflow import EvolvedOp, X, PauliTrotterEvolution

to_evolve = EvolvedOp(0.5 * X)
evolved = PauliTrotterEvolution().convert(to_evolve)
evolved.to_instruction()

So this behavior is actually expected, but we definitely should improve documentation if it differs from the behavior you expected 🙂

The following code works, and returns a matrix representation of the exponentiated operator:
from qiskit.opflow import EvolvedOp, X

op = EvolvedOp(0.5 * X)
op.to_matrix_op()

According to the documentation, to_matrix_op and to_instruction are both supposed to return an object "equivalent to this Operator":

This documentation is inherited from the PrimitiveOp base class. So the behavior of to_matrix_op and to_instruction should be consistent with each other (or else the documentation is incorrect and should be fixed).


Unable to run command on App Instances terminal

Current behavior:
We are encountering an issue where we are unable to run command on terminal once an application is up and running.
For eg: while trying to run ls command, the terminal moves to not connected state and doesn't run the command.
Expected behaviour:
We should be able to run command from terminal, so that we can run any commands from terminal.

FYI @gainsley @levshvarts
After app instances being up and running (after few days), terminal commands do not run.

Do the QA acceptance tests pass? Each of the appinst_docker, appinst_k8s tests include terminal exec tests.
Have you looked at the CRM logs? There should be some failure message somewhere, either in the logs (i.e. docker logs of the crm docker run on the platform VM) or the audit logs (from the UI for the exec terminal command).


Fixed issue when multiple params with the same name are passed with empty values

I recently ran into a problem where I had multiple form inputs with the same name when empty values are sent.
For example, if a parameter list looked like the following:
?slides=foo&slides=bar&slides=baz&timeouts=&timeouts=1000&timeouts=

In the route handling this request, I would expect this as the app.params list:
{
  slides: ['foo', 'bar', 'baz'],
  timeouts: ['', '1000', '']
}

But instead, you'll receive:
{
  slides: ['foo', 'bar', 'baz'],
  timeouts: ['1000', '']
}

Or if an entire set of inputs are empty, let's say timeouts, it'll look like this:
{
  slides: ['foo', 'bar', 'baz'],
  timeouts: ''
}

Pulled, thanks.


Update to new view specific settings format

It seems the current version of Full Calendar uses a new format to enter view specific options.
Haven't confirmed it, but it seems this is already present in the version the widget uses as well.
We should update to the newest Full Calendar and make it fit this new format.
http://fullcalendar.io/docs/views/View-Specific-Options/
More specifically, this seems to give troubles when using both the Custom Date/Time Format and using View specific formats for these, which results in the view specific formats never been seen/used.
I've fixed the errors that these lead to in c749e972a8ba88174c6f7caeed7b0d54d38b5694, but the actual problem still persists. It just doesn't break the widget anymore for now.

This will be fixed in the next version


[6] Create API endpoint for GET Me

https://github.com/nimblehq/liveman/projects/1#card-63294167
What happened
Implement the first new endpoint /v1/me using randomly generated data.
Resolves #6
Insight

faker is used in all environments (normally only test) to render data.
jsonapi is used to generate JSON API compliant response. However, the last released version (dating back to March 2020) does not work with any Elixir version above 1.11.3. However, a fix was merged in the master branch so the mix dependency uses the git URL instead of the hex package.
Using https://boringavatars.com/ to have fancy avatar images.
I needed to fix a few test set up related things to have the 100% test coverage.

Proof Of Work
Random data is generated on every request 🎉

*I could have used Postman to show this but we are trying to replace it 🙈 *

Merging this branch as there seems to be something wrong with the cache on Github Actions. There is no coverage issue locally:

In my experience, this happens when there are dependency changes.

And there was indeed no issues as the branch pass on main:


Tinx 35

Reduce the number of CMDs.
Get the database host via an environmental variable.

Not needed. This was moved to https://github.com/unmtransinfo/tinx-api/pull/5.


[Android] Bluetooth permission issue fix not working

The fix for the #11 bug doesn't work when there's no space before the self-closing xml element: <uses-permission android:maxSdkVersion="18" android:name="android.permission.BLUETOOTH"/>.
Could you update merge-bluetooth-permission.js with the following RegExp to handle both cases?
var result = data.replace(/<uses-permission android:maxSdkVersion="18" android:name="android\.permission\.BLUETOOTH"\s?\/>/, '');

OK. won't do this before a few days though.

This script fixes what's been introduced by this plugin:
<uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="18" />
How do you end up with no space? another plugin?

Yes, I'm using another plugin https://github.com/don/cordova-plugin-ble-central which inserts <uses-permission android:name="android.permission.BLUETOOTH"/> without a space before self closing tag. The plugin has an inconsistent use of spaces vs no spaces. I can create a PR for that plugin if you don't want to update the regex here

I'm fine with the RegExp,
I just want to figure out why you end up with no space.
It does not make sense to me.

Not sure why but I see that there's no space before all self-closing tags in platforms/android/app/src/main/AndroidManifest.xml after running cordova platform add android.

OK. I'll do an update.

done


remove stuff

Looks good. Probably also makes sense to remove the old console implementation from ink.

yep, i already have that on my machine.
Will make a pr once I get on the Internet.

xref: https://github.com/JunoLab/atom-ink/pull/214


Improve consistency when working with OSAL status codes

Is your feature request related to a problem? Please describe.
Quite often in the CFE implementation, OSAL status codes are mixed with CFE status codes, often times sharing a single stack variable to hold either one, and even switching back and forth.
To improve clarity and consistency, OSAL status codes should be stored in a separate stack variable from the CFE status codes.  Ideally, in the future, these should also migrate to a separate type (e.g. osal_status_t, as in nasa/osal#1108, or CFE_Status_t, as in nasa/cfe#921).
Describe the solution you'd like

Anywhere that an OSAL status code is stored on the stack, make a separate variable.
Always use a consistent name for that variable, e.g. OsStatus  (as opposed to "Status" or "ReturnCode" etc, which are vague).
Avoid intermixing CFE status codes and OSAL status codes whenever possible (there will still be some times its necessary, when calling generic functions).  When it is necessary, make conversions between these types explicit/obvious via comments and/or type casting.
When printing OSAL status codes in a log or event message, print it as long decimal (%ld), not as hex as the CFE status codes are.  This is because OSAL defines its status codes as decimal numbers, so logs/events should match this.

Additional context
This can be considered a prerequisite to nasa/cfe#921 (cannot introduce a unique CFE_Status_t type until it is no longer being used to store OSAL codes).
This would be a fix for next release (not 7.0.0).
Requester Info
Joseph Hickey, Vantage Systems, Inc.

This is yet another addition to the growing list of problems due to OSAL error codes. #1676 #1672 #1723 #1675 #1599.

This is yet another addition to the growing list of problems due to OSAL error codes. #1676 #1672 #1723 #1675 #1599.

Yes, I consider this related to #1676, as this addresses part of that one - however that previous issue was more general in nature.  This issue just deals with specifically having a separate variable for OSAL status vs. CFE status.


Cannot validate or deploy a custsecret_

Your environment
OS : macOS Big Sur (11.4)
Node.js version : v15.11.0
suitecloud-cli version : 1.2.1
Terminal/CMD tool : WebStormTerminal
Describe the bug
Attempting to include a 'Secret' in our SuiteApp using Secrets Management (for distribution with our SuiteApp)
To Reproduce
Steps to reproduce the behavior:

Create a Secret in NetSuite's "Secrets Management" tool
In SDF, add the customization object custsecret_example_id.xml, which contains the line
Deploy (or Validate) against a different Netsuite Account
Fails with An error occurred during custom object validation. (custsecret_chr_secret) Details: Referenced secret: 'custsecret_chr_secret' is not available.

Actual Behavior

Expected Behavior
Since the 'secret' is correctly installed when packaged/distributed via the SuiteApp Control Center, I would expect the same behavior from SDF CLI.
Additional context
Interestingly, if I 'package' the SuiteApp and include the custsecret, create a new version, and install the SuiteApp via 'SuiteApp Control Center', the secret is correctly created and works.
Further
We have several developers working against the same code-base in different NetSuite accounts. Now, our authentication fails in all accounts other than the DEV account (where the secret was created).  We want to include this secret in the SuiteApp, but now have to revert not using the Secrets Management tool at all!

@Extend-Apps  This is not a defect of tool but server side error.
But anyway maybe there is something you can do.
For the marketplacecustsecret is configured already. No additional steps required, and also as you said it works from marketplace.
But if you want to deploy from tool, there are some additional steps we need to perform.
How to configure:
Using the first account create a secret object in the UI (app/common/scripting/secrets/settings.nl).
In the restrictions, Check 'AVAILABLE TO SUITEAPP', then add:

 SUITEAPP ID: ID of the project you want to deploy the secret object with. (i.e. com.netsuite.suiteapp1)

 (IGNORE THIS STEP IF YOU ARE USING PRODUCTION ACCOUNT) ALLOW ON TEST ACCOUNTS: Specify the target account where you want the secret object to deploy to.

 After creating the secret object in the UI, import it to your SuiteApp project (i.e. com.netsuite.suiteapp1)

 Deploy the project to the target account.

@alii-gator , unfortunately, the solution you provided did not work.  Would I need to delete and recreate the secret completely?  I'm worried that doing that will break the installs into other accounts.
I'm happy to meet/screen share.  This issue has forced our multi-developer project to all use a single DEV account ... which has introduced a nightmare of coordination.

@starlingjon This logic is handled on the server side, CLI is conveying the information.
Please contact Netsuite Support, and they will direct it to the proper team!


Delete not needed  tag

Delete not needed  tag

Coverage remained the same at 71.527% when pulling 4383fc846d98a023905f2ec056322c095d9867a3 on madeITBelgium:patch-1 into 2f2c6bbaf427f35c0d265e19b09f6b98978476a8 on troolee:master.


Does not work when running Vim in a Poetry shell

nvim-tmux-navigation doesn't work at all if the neovim session is run after poetry shell. Would appreciate help debugging, if possible.
:checkhealth outside of poetry shell:
Python 3 provider (optional) ~
- pyenv: Path: /opt/homebrew/Cellar/pyenv/2.3.18/libexec/pyenv
- pyenv: Root: /Users/g/.pyenv
- `g:python3_host_prog` is not set.  Searching for python3 in the environment.
- Executable: /Users/g/.pyenv/versions/3.10.11/bin/python3
- Python version: 3.10.11
- pynvim version: 0.4.3
- OK Latest pynvim is installed.

and inside poetry shell, the same except for a virtualenv error:
Python 3 provider (optional) ~
- pyenv: Path: /opt/homebrew/Cellar/pyenv/2.3.18/libexec/pyenv
- pyenv: Root: /Users/g/.pyenv
- `g:python3_host_prog` is not set.  Searching for python3 in the environment.
- Executable: /Users/g/.pyenv/versions/3.10.11/bin/python3
- Python version: 3.10.11
- pynvim version: 0.4.3
- OK Latest pynvim is installed.

Python virtualenv ~
- WARNING $VIRTUAL_ENV is set to: /Users/g/Desktop/zeit/ml/.venv
  And its /bin directory contains: python, python3, python3.10, pythoni, pythoni1
  But $PATH yields this pythoni executable: Traceback (most recent call last):
  File "/Users/g/Desktop/zeit/ml/.venv/bin/pythoni", line 30, in <module>
  from pyrepl.python_reader import main
  File "/Users/g/Desktop/zeit/ml/.venv/lib/python3.10/site-packages/pyrepl/python_reader.py", line 25, in <module>
  from pyrepl.completing_reader import CompletingReader
  File "/Users/g/Desktop/zeit/ml/.venv/lib/python3.10/site-packages/pyrepl/completing_reader.py", line 22, in <module>
  from pyrepl import commands, reader
  File "/Users/g/Desktop/zeit/ml/.venv/lib/python3.10/site-packages/pyrepl/commands.py", line 376, in <module>
  from pyrepl import input
  File "/Users/g/Desktop/zeit/ml/.venv/lib/python3.10/site-packages/pyrepl/input.py", line 39, in <module>
  from trace import trace
  ImportError: cannot import name 'trace' from 'trace' (/Users/g/.pyenv/versions/3.10.11/lib/python3.10/trace.py)

  And $PATH in subshells yields this pythoni executable: Traceback (most recent call last):
  File "/Users/g/Desktop/zeit/ml/.venv/bin/pythoni", line 30, in <module>
  from pyrepl.python_reader import main
  File "/Users/g/Desktop/zeit/ml/.venv/lib/python3.10/site-packages/pyrepl/python_reader.py", line 25, in <module>
  from pyrepl.completing_reader import CompletingReader
  File "/Users/g/Desktop/zeit/ml/.venv/lib/python3.10/site-packages/pyrepl/completing_reader.py", line 22, in <module>
  from pyrepl import commands, reader
  File "/Users/g/Desktop/zeit/ml/.venv/lib/python3.10/site-packages/pyrepl/commands.py", line 376, in <module>
  from pyrepl import input
  File "/Users/g/Desktop/zeit/ml/.venv/lib/python3.10/site-packages/pyrepl/input.py", line 39, in <module>
  from trace import trace
  ImportError: cannot import name 'trace' from 'trace' (/Users/g/.pyenv/versions/3.10.11/lib/python3.10/trace.py)

  And $PATH yields this pythoni1 executable:   File "/Users/g/Desktop/zeit/ml/.venv/bin/pythoni1", line 16
  print 'Python', sys.version
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

  And $PATH in subshells yields this pythoni1 executable:   File "/Users/g/Desktop/zeit/ml/.venv/bin/pythoni1", line 16
  print 'Python', sys.version
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

  So invoking Python may lead to unexpected results.
  - ADVICE:
    - $PATH ambiguities arise if the virtualenv is not properly activated prior to launching Nvim. Close Nvim, activate the virtualenv, check that invoking Python from the command line launches the correct one, then relaunch Nvim.
    - $PATH ambiguities in subshells typically are caused by your shell config overriding the $PATH previously set by the virtualenv. Either prevent them from doing so, or use this workaround: https://vi.stackexchange.com/a/34996

This thread is relevant, but I didn't find a satisfactory solution: https://github.com/christoomey/vim-tmux-navigator/issues/230

Here is a workaround involving checking for a poetry environment. It's a little weird because the tty does not show up with poetry in it at all, but rather as a long filepath like:
S<+<EMAIL_ADDRESS># add a check for the poetry env
is_poetry="ps -o state= -o comm= -t '#{pane_tty}' | grep -iqE 'Frameworks\/Python.framework'"

# all other lines in tmux config remain the same, but change the "bind-key" lines to:
bind -n C-h run "($is_vim && tmux send-keys C-h) || ($is_poetry && tmux send-keys C-h) || tmux select-pane -L"
bind -n C-j run "($is_vim && tmux send-keys C-j)  || ($is_poetry && tmux send-keys C-j) || tmux select-pane -D"
bind -n C-k run "($is_vim && tmux send-keys C-k) || ($is_poetry && tmux send-keys C-k)  || tmux select-pane -U"
bind -n C-l run  "($is_vim && tmux send-keys C-l) || ($is_poetry && tmux send-keys C-l) || tmux select-pane -R"
bind-key -n 'C-\\' if-shell "$is_vim" 'send-keys C-\\\\'  'select-pane -l'

Hey,
Thanks for reporting the issue! I am aware that some of the functionality of the plugin is broken inside python* shells/environments. It's always Python that's broken, am I right..
My long term idea was to completely change how the plugin detects vim/neovim and tmux, since we cannot always determine them reliably with the current solution.
However, due to life issues, I am currently unable to look into it. I will be able to do so in about 1 to 2 months.
I cannot provide a workaround solution for now, since I don't use any of the tools, however I will keep the thread open, and perhaps someone else would be able to find a fix.
In the meantime, please keep posting if you do find new information that could be helpful for a future fix.
Regards

The workaround works for me, thanks @gegnew! Would love to see a fix still.

The problem I have is that, although I can detect the Poetry environment, it cannot detect vim in a pane if it's in the Poetry environment. The is_poetry ps command returns true, but the is_vim poetry command returns false, because the output of ps in the pane with the Poetry env is<EMAIL_ADDRESS>If anyone has any ideas, I'm all 👂

So, I've been coming back to this issue on and off for a while now and found how to get things working right with pipenv at least and also know why is_vim does not work for any future references.  Hope it helps.
For is_vim, the ps command looks at the current pane's tty.  When poetry shell or pipenv shell are called, it starts a new tty  under the pipenv process.  See below where you see pts/10 has been started.
akail      30255    2760  0 Dec02 pts/4    00:00:00       -zsh
akail     237624   30255  6 10:54 pts/4    00:00:00         /usr/bin/python /usr/bin/pipenv shell
akail     237626  237624  1 10:54 pts/10   00:00:00           /bin/zsh -i

I found the same experience with poetry shell
akail      30255    2760  0 Dec02 pts/4    00:00:01       -zsh
akail     238893   30255  8 11:05 pts/4    00:00:00         /usr/bin/python /usr/bin/poetry shell
akail     238899  238893  1 11:05 pts/10   00:00:00           /bin/zsh -i

I've been trying to find a way to extract all the children but it gets cumbersome pretty quickly.
Pipenv offers a flag on the shell to command  --fancy which changes the behavior and keeps everything under the same tty.
  --fancy             Run in shell in fancy mode. Make sure the shell have no
                      path manipulating scripts. Run $pipenv shell for issues
                      with compatibility mode.

When running in this mode, it does not start a new process in a new tty and only seems to modify the environment variables.

Just wanted to chime in here with another workaround. I've found trying to modify the $is_vim logic to be unsatisfactory, and instead I use https://github.com/linux-cultist/venv-selector.nvim to select the appropriate poetry or pipenv-created virtualenv when I launch a project in nvim.
This makes lsp functionality work properly with packages, etc., but doesn't break navigation in panes running poetry shell (eg to run tests, etc). The downside of course is that you must start nvim from outside a poetry shell and then select the venv, but I find that preferable because afterwards all navigation commands work, including from inside a tmux pane running poetry shell; eg to run tests, etc.
I also tried this workaround but found it to be a bit slow because it needs multiple shell commands to first see if we're inside poetry, then to get its child processes to see if we're inside vim as well.

One workaround is to activate the poetry in the current shell instead of of using poetry shell to spawn a subshell.
In bash you can run this command:
source $(poetry env info --path)/bin/activate
https://python-poetry.org/docs/basic-usage#activating-the-virtual-environment

I've been trying to find a solution for this for a long time. I generally don't use poetry shell but when I do, I'm annoyed that it breaks navigation in nvim. Or I was annoyed until I figured out the following workaround.
As described by akail, poetry shell creates a new tty, that's why ps -o state= -o comm= -t '#{pane_tty}' does not find nvim - #{pane_tty} links to the tty from which poetry shell was run, not the one started by it.
While it's possible to find the pid of the poetry process, and then find the tty of its children, this is kind of slow, as was mentioned by prurph.
I've found a way that is rather naive and may not work for everybody, but it works for me just fine and I find it practically as fast as the default solution with just one ps call.
I use the user options feature of Tmux and the fact that on my system (Manjaro Linux), ttys are numbered consecutively for each newly created shell including the poetry shell. So in my bashrc I've got this code:
get_next_tty() {
  echo /dev/pts/$(($(ls /dev/pts | \grep -E "^[0-9]+$" | tail -n1) + 1))
}
alias psh="tmux set -p @active_tty \$(get_next_tty) >/dev/null 2>&1; poetry shell"

I can then start a poetry shell by typing psh in the terminal. This first creates the tmux user option @active_tty and sets it to the next available tty. It redirects stderr to /dev/null for the case that tmux is not running. Then it simply starts the poetry shell.
In my tmux.conf I use the ternary choice operator in the is_vim string to use the user option @active_tty if set, otherwise to fall back to #{pane_tty}:
is_vim="ps -o state= -o comm= -t '#{?#{@active_tty},#{@active_tty},#{pane_tty}}' \
    | grep -iqE '^([^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?)$'"

One workaround is to activate the poetry virtual env in the current shell instead of of using poetry shell to spawn a subshell.
In bash you can run this command: source $(poetry env info --path)/bin/activate
https://python-poetry.org/docs/basic-usage#activating-the-virtual-environment

This works, ty


NameService: minor improvements, part 2

The second part of NNS contract update, depends on https://github.com/neo-project/non-native-contracts/pull/23, waiting for the first part to be merged.
Includes:

Require admin signature for subdomain registration.
Check domain expiration for read functions.

I'll rebase it to the current master in a few minutes to omit merged commits.

Ready for review.

subdomain

I think NNS don't have a concept of subdomain, all domain will be xxx.neo

The second part of NNS contract update, depends on #23, waiting for the first part to be merged.
Includes:

Require admin signature for subdomain registration.
Check domain expiration for read functions.

I think NNS don't have a concept of subdomain, all domain will be xxx.neo

IIUC currently you can have a.neo registered to someone and then someone else can register b.a.neo, this PR solves that. And it allows to have subzones owned/managed by different entities.

And it allows to have subzones owned/managed by different entities.

I think it's too complicated.

Well, that's the way proper DNS is and it solves some real-world problem. At the same time, maybe we can move 1891f40553d090fcba2bf635790f470566b14446 out of this set, because IIUC the second patch doesn't raise any questions?

IUC currently you can have a.neo registered to someone and then someone else can register b.a.neo, this PR solves that

No, he can't, because it's set as false here(https://github.com/neo-project/non-native-contracts/blob/36b55cbaea1e5dbda7e70babcc77d2863ea47baa/src/NameService/NameService.cs#L209), xxx.neo.org will return format exception.

I think these are improvement and rework of the structure, we need discuss it further more because design has been changed. I guess we can iterate these changes later after release first version. https://github.com/neo-project/non-native-contracts/pull/31/commits/4a769b17f788434b45da65714175252562143125 This one is more critical, we can apply it ASAP.

, xxx.neo.org will return format exception.

Yeah, that's also changed in #29, sorry, we've got three NNS contracts currently with a number of PRs.
Check out https://github.com/coredns/coredns/compare/master...nspcc-dev:coredns:master also, this one works with NeoFS version of NNS.

Rebased onto the current master (8d72b92e5e5705d763232bcc24784ced0fb8fc87).


Update quickstart-onboard-github.md

Adding Note for restrictive GitHub repo onboarding to the quickstart page as well for more visibility to customers.

@ElazarK

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Alpha value

Hello,
First of all, thank you for your work. I have a question regarding the use of the alpha value in the demo_grayscale.py file. Specifically, I'm curious about the appropriateness of calculating the alpha value as np.mean(yn/0.33) in scenarios where no additional noise is introduced to the image.
As an example:
x_list, k_list = iterative_scheme(yn, np.mean(yn/0.33), networks, opts)
In this context, yn represents my input image, and I intend to process it without manually adding any noise.

Hi Sahar,
Thank you for the question. The method is designed for images corrupted for shot noise and hence we require a heuristic to estimate the average photon level in these images. Assuming the unnormalized image y  = Poisson (\alpha H*x),  where the clean image x is between [0,1], np.mean(y)/0.33 has turned out to be a good heuristic from one of my previous papers here.
As to your question about deblurring noiselss images, the original method cannot be applied directly but can be done with a few changes. You can use the pretrained non-blind solver DWDN from here. This network is designed for noisless blurry images and can be plugged into our method by replacing the non-blind solver we provided. Some hyperparameter tuning may be required for optimal performance.
Hope this helps! Please let me know if you have any further questions. If your noiseless deblurring method works well, we can add it to this repository as well!


Use SIGTERM to terminate cargo task

This fixes #23 on my Linux machine. Note that this fix is untested on other platforms.
Currently cargo ignores SIGINT. By sending SIGTERM instead, the desired behavior (cargo terminates) can be achieved.

@ntruessel,
What OS does when a process killed by SIGTERM?

The default action on receiving SIGTERM is to terminate the process.
Compare:

http://man7.org/linux/man-pages/man7/signal.7.html
https://en.wikipedia.org/wiki/Unix_signal

@ntruessel,
I will look at it as soon as possible.
If everything is ok, I will merge it.
I am going sleep.
Bye

I will merge it and open an issue to change it back when the problem is fixed on rustup side.


Table Builder ID optional

Make the ID optional in the table builder.

There will be a major Upgrade for this. Including some cool stuff that is being worked by the hecho en laravel Team. I will put this on hold in favor of that.


Session failed on windows worker agent

Describe Behaviour
I've install succesfully windows worker agent on a personnal windows server VM.
The agent is well synchronised with AWS deadline cloud.
When I launch a job from my PC the job is successfully created and the worker get information about the job to proceed.
But it always fails on session start.
I've test 2 cases.

Run as the user agent, I get this error
{
"level": "ERROR",
"ti": "🔷",
"type": "Session",
"subtype": "Failed",
"session_id": "session-d56ae162a27845b1a0fe1d916d5d9f80",
"message": "Job cannot run as WORKER_AGENT_USER. Worker Agent is running with Administrator privileges.",
"queue_id": "queue-5f67046e5ac146459e1ae40aff3b83b0",
"job_id": "job-4b34bc9760b94215aa11c2571e4e1495"
}

Run with a dedicated user (create on windows and setup on aws deadline cloud)
{
"level": "ERROR",
"ti": "🔷",
"type": "Session",
"subtype": "Failed",
"session_id": "session-59d61d1b21514806a7eae34a1514dfa6",
"message": "No valid credentials for NXP-3DWLOAD\jobuser available. Credentials will be fetched again 5.0 minutes after last fetch",
"queue_id": "queue-5f67046e5ac146459e1ae40aff3b83b0",
"job_id": "job-10a85ca5cf36434faccad160b3fee704"
}

In both cases, it doesn't work.
Expected Behaviour
The session should be okay and the task must be executed
Current Behaviour
The session failed and task is never executed
Reproduction Steps
On windows server I have installed python 3.12 and aws deadline cloud worker 0.27.1.
I start the worker with :
deadline-worker-agent --farm-id farm-xxxxxxxxxxxxxxxxxxxx --fleet-id fleet-xxxxxxxxxxxxx --logs-dir C:\Users\puuser\demoenv-logs --persistence-dir C:\Users\puuser\demoenv-persist --profile AdministratorAccess-xxxxxxxx
On my personnal PC  (linux ubuntu), I have installed deadline cloud (pip install deadline) and configure it following this guide (https://docs.aws.amazon.com/deadline-cloud/latest/userguide/create-a-farm.html).
When I start a sample job all is working as excepted until the worker failed on session step.
Possible Solution
No response
Package Version
deadline-worker-agent (0.27.1)
Language Version
Python (3.12.3)
Dependencies
No response
Operating System
Windows server 2022 Standart
Other information
No response

Hi there.
For the error:

Job cannot run as WORKER_AGENT_USER. Worker Agent is running with Administrator privileges.

This is a security control to help prevent jobs from running over-privileged by default that may not be documented come to think of it.
For the error:

No valid credentials for NXP-3DWLOAD\jobuser available. Credentials will be fetched again 5.0 minutes after last fetch

That sounds like you've configured your Queue to use a jobs run as user for Windows, with the username jobuser. This instructs the worker agent to run jobs as the user jobuser -- it does this by logging in as jobuser with a provided password. To use this you will have had to put the jobuser's password in a Secret within SecretsManager and passed the ARN of that secret to the Queue API.  If you're seeing this, then the agent wasn't able to log in as jobuser using the password provided; there should be other log statements above that one that point to a reason (e.g. "please check your password is correct")
You mention a VM. Just to make sure, have you created a local user in that VM that is called jobuser?

Hi and thank for your rapid answer.
For the second point I have well create password in secretmanager.
You're right, I find this log above in the log :
 📥 API.Resp 📥 [secrets-manager:GetSecretValue](400) error={'Message': 'User: arn:aws:sts::533267371924:assumed-role/AWSDeadlineCloudFleetRole-1775113762/worker-2bd53c0381be431f94731c860f27df98 is not authorized to perform: secretsmanager:GetSecretValue on resource: arn:aws:secretsmanager:eu-central-1:533267371924:secret:deadline/windows/jobuser-duFO4j because no identity-based policy allows the secretsmanager:GetSecretValue action', 'Code': 'AccessDeniedException'} params={} request_id=268be638-2f43-49e6-9d27-50502beab64a
[2024-06-07 11:15:40,435][ERROR   ] Access to secret was denied. Please ensure the resource policy for arn:aws:secretsmanager:eu-central-1:533267371924:secret:deadline/windows/jobuser-duFO4j allows access to the fleet role, and the fleet role is correctly configured
[2024-06-07 11:15:40,435][ERROR   ] Contents of secret arn:aws:secretsmanager:eu-central-1:533267371924:secret:deadline/windows/jobuser-duFO4j could not be fetched or were not valid: An error occurred (AccessDeniedException) when calling the GetSecretValue operation: User: arn:aws:sts::533267371924:assumed-role/AWSDeadlineCloudFleetRole-1775113762/worker-2bd53c0381be431f94731c860f27df98 is not authorized to perform: secretsmanager:GetSecretValue on resource: arn:aws:secretsmanager:eu-central-1:533267371924:secret:deadline/windows/jobuser-duFO4j because no identity-based policy allows the secretsmanager:GetSecretValue action
[2024-06-07 11:15:40,435][ERROR   ] 🔷 Session.Failed 🔷 [session-d31a21171d3c4916bf8babcd0a170291] No valid credentials for jobuser2 available. Credentials will be fetched again 5.0 minutes after last fetch [queue-5f67046e5ac146459e1ae40aff3b83b0/job-6d9db5d435f44dbd8a8ce85e880f80a8]

I will try to create policy.
I keep you informed.
Best regards.

Great. What you're looking for is in the documentation here: https://docs.aws.amazon.com/deadline-cloud/latest/userguide/manage-access-windows-secrets.html#grant-access

Hi,
It works now. worker try to execute the task.
Thanks a lot for your very appreciated help.


Unable to Disable Terminal through 'jupyter_server_config.py`

Description
The jupyter server terminal is not disabled on jupyterhub after setting the jupyter_server_config.py like so:
c.ServerApp.terminals_enabled = False

I can confirm that the configuration is acknowledged by the jupyter server by executing the following command jupyter server --show-config which outputs:
...
Loaded config files:
  /Users/rprater/.jupyter/jupyter_server_config.py

ServerApp
  .jpserver_extensions = <LazyConfigValue value={'jupyter_lsp': True, 'jupyter_server_terminals': True, 'jupyterlab': True, 'nbclassic': True, 'notebook_shim': True}>
  .terminals_enabled = False # <--- acknowledged

Reproduce
python -m venv venv
source venv/bin/activate
pip install jupyterhub jupyterlab notebook
jupyter server --generate-config
# Edit jupyter_server_config file as described above
jupyterhub

Context
I can confirm this issue does not occur if I pin the jupyter_server package to less than version 2.
Looking at the source code this may make sense, the value gets hard coded here.

Nice catch!
In version 1.x, terminal-related functionality has not yet been fully separated from the Jupyter server: https://github.com/jupyter-server/jupyter_server/blob/1.x/jupyter_server/serverapp.py#L2048

by looking at the source code, it does respect the terminal config.
However, I believe it should update termina_avaliable to False instead of just return.
nbclassic actually read this field and will fail to launch if the value is missing.
I know they should have a default value for missing fields. But I also believe it should be populated, instead of just missing.
Link to nbclassic issue: https://github.com/jupyter/nbclassic/issues/255

I know they should have a default value for missing fields(issue raised). But I also believe it should be populated, instead of just missing.

Agree, this allows us to be consistent with Jupyter Server 1.x behaviour.
https://github.com/jupyter-server/jupyter_server/blob/1.x/jupyter_server/serverapp.py#L363


Publish schema for Google Analytics

This is partially done - we have published schemas for ecommerce and enhanced ecommerce...


Fixed a few links to checkpoint syncing section

links to the '''###Beacon Chain Checkpoint Syncing with Infura''' broken as the md pointer was pointing to '''eth2-checkpoint-syncing-with-infura''' which I assume was updated to show Beacon chain when eth2 term was deprecated.
the title pointed to itself also had an extra #, which caused it to not render in a lg pink box as the entire section. made for inconsistency with the format of the rest of the page

Yep, this was an oversight that stemmed from the terminology rename. Thank you for catching it!


⚠ Bofrost.at has degraded performance

In 0350fa1, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1285 ms

Resolved: Bofrost.at performance has improved in 0c680b6.


Updating form output for school finder modal.

Fixes #5788
What's this PR do?
There was an additional form wrapper for elements that did not contian any markup or content but was still being output as an empty div with styled padding which was causing the extra spacing.
Where should the reviewer start?
Quick :eyes: on the one file changed.
Any background context you want to provide?
@DFurnes do you happen to know if something gets otherwise populated into the elements container in some other version of the school finder modal (if there is one) that I might not be accounting for?
What are the relevant tickets?
#5788

@DFurnes
cc: @angaither

Hmmm, it looks like the sections on the modal were intended to be placed in there. I don't really remember why that was the way I set things up though. :sweat_smile:
This seems reasonable, though it might be good to remove the following lines (like this one) that reference $form['elements'] since it won't exist anymore. It also looks like the t-shirt form used that container, but that's RIP :skull: so probably no worries there.

Hmmm, good call. I was trying to see if there was a way to check if stuff was getting placed in there and if empty then unset it....?

Yeah, ideally we only create the container if we need it. But it's strange that it's showing up as empty since it looks like we're putting things in there a few lines below. :confused:

So the issue is that since it's building a Droooooooopal render array thing, it populates with some preliminary stuff like the #attributes and #type so there will technically always be something in the array when it checks whether to output or not.

:grimacing: :ship: :+1:


JoinClause::whereIn not supported

I got this error:
"Call to undefined method Illuminate\Database\Query\JoinClause::whereIn()"
for the following code:
$query = $query->leftJoin('components', function($join)
{
$join->on('components.sku', '=', 'products.sku')
->whereIn('components.channel_user_id', $channelUsers));
});
It would be nice to support it.
Any other way I can do that in the meantime?

+1
Just hit this limitation myself, got here from first result on Google.

+1

This sucks and needs to be fixed

This sucks and needs to be fixed

Send a pull then.

+1
Had the same issue.

@GrahamCampbell

This sucks and needs to be fixed

Send a pull then.

*Okay-face*
https://github.com/laravel/framework/pull/8849

Any chance this could be included in 4.2?

@phazei No, 4.2 is not supported anymore.


[Question] CompareExchangeHashes.ps1 finds more than 50000 Errors?

Script is missing Baselines for 15.0.712.23 and 15.0.516.30... tried to disable them in the script with "false". Then the scripts is running and has over 13.000 entries in the result.csv

Looks like a duplicate of #313 . 15.0.516.30 and 15.0.712.23 are already in the list.


Ability to flush buffer before expect

I have a use case where I believe the remaining buffer after a matched expect is tripping up my processing for next.
I'm using ExpectIt with SSHJ to handle password expiry.  In this use case, against OpenSSH, when the initial connect is made "passwd" is activated server-side.
The issue (for me) is that passwd issues error and instructions lines like:
BAD PASSWORD: The password fails the dictionary check - it is based on a dictionary word
New password:

Currently I am matching on "BAD PASSWORD" so that I can feed back info to the user - however if I feed in next entered password in then password responds with
Retype new password:

...which is reasonable, but at this point the buffer is:
The password fails the dictionary check - it is based on a dictionary word
New password:
Retype new password:

...(i.e. with the "BAD PASSWORD" removed and the left over "New password" indicates first password - whereas "Retype new password" indicates second.
So is it possible to add a "flush()" method to allow controlling the buffer before sending the password?   I have done this in a cloned version using the following - which works well, but I may not have considered all threading implications and attributes.
In SingleInputExpect
    void flush() {
        try {
            ByteBuffer byteBuffer = ByteBuffer.allocate(BUFFER_SIZE);
            int len = source.read(byteBuffer);
            buffer.delete(0, buffer.length());
        } catch (IOException ex) {
            LOG.warning("Error reading source");
        }
    }

and in ExpectImpl
    @Override
    public void flush() {
        SingleInputExpect[] inputs = getInputs();
        for (SingleInputExpect input : inputs) {
            input.flush();
        }
    }

Can you wait for "Retype new password:" after sending the new password on a response to "New password:"?


Examples/chef not installing properly

Reproduction steps
When I am running the below command, installation stop here "ninja: Entering directory `out'"
With code error mentioned below. How can we fix this error?
Error - ninja: build stopped: subcommand failed
$ ./chef.py -zbr -d rootnode_dimmablelight_bCwGYSDpoe -t linux

Logs:

Downloading packages into local source directory:
Setting up CIPD package manager...done (15.3s)
Setting up Project actions........skipped (0.1s)
Setting up Python environment.....[|]
[notice] A new release of pip is available: 23.2 -> 23.2.1
[notice] To update, run: pip install --upgrade pip
done (1m17.4s)
Setting up pw packages............skipped (0.1s)
Setting up Host tools.............done (0.1s)
Activating environment (setting environment variables):
Setting environment variables for CIPD package manager...done
Setting environment variables for Project actions........skipped
Setting environment variables for Python environment.....done
Setting environment variables for pw packages............skipped
Setting environment variables for Host tools.............done
Checking the environment:
20230725 10:20:43 INF Environment passes all checks!
Environment looks good, you are ready to go!
To reactivate this environment in the future, run this in your
terminal:
source ./activate.sh
To deactivate this environment, run this:
deactivate
Installing pip requirements for all...
[notice] A new release of pip is available: 23.2 -> 23.2.1
[notice] To update, run: pip install --upgrade pip
Running ZAP script to generate artifacts
Searching for zcl file from /Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.zap
🔧 Using temporary state directory: /var/folders/q9/684jnz8j00b9187_lwt93f7r0000gp/T/zap.8Fo7we
🤖 ZAP generation started:
🔍 input files: /Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.zap
🔍 output pattern: /Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/out/rootnode_dimmablelight_bCwGYSDpoe/zap-generated/
🔍 using templates: /Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/src/app/zap-templates/matter-idl-server.json
🔍 using zcl data: /Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/src/app/zap-templates/zcl/zcl.json
🔍 zap version: ver. 2023.7.20, featureLevel 97, commit: b57cef1fc261cedcbee418566a3d1e83b2d200d6 from 2023-07-20T18:42:00.000Z, mode: binary, exe: zap-cli
🕐 Setup time: 820ms
👉 using input file: /Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.zap
👉 using output destination: /Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/out/rootnode_dimmablelight_bCwGYSDpoe/zap-generated/
🕐 File loading time: 87ms
🤖 Generating files:
✍  /Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/out/rootnode_dimmablelight_bCwGYSDpoe/zap-generated/Clusters.matter
🕐 Generation time: 356ms
Files generated in: /Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/out/rootnode_dimmablelight_bCwGYSDpoe/zap-generated/
RPC PW enabled
RPC PW on linux not supported
Software Version String: ""
Product ID 0x8000 / Vendor ID 0xFFF1
Building...
arm64
Done. Made 3798 targets from 276 files in 386ms
ninja: Entering directory out
[711/1363] c++ obj/third_party/connectedhomeip/third_party/pigweed/repo/pw_bytes/pw_bytes.byte_builder.cc.o
FAILED: obj/third_party/connectedhomeip/third_party/pigweed/repo/pw_bytes/pw_bytes.byte_builder.cc.o
g++ -MMD -MF obj/third_party/connectedhomeip/third_party/pigweed/repo/pw_bytes/pw_bytes.byte_builder.cc.o.d -target arm64-apple-macos11.0 -O0 -g2 -fno-common -ffunction-sections -fdata-sections -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -Wall -Werror -Wextra -Wshadow -Wunreachable-code -Wvla -Wformat -Wformat-nonliteral -Wformat-security -Wconversion -Wno-deprecated-declarations -Wno-missing-field-initializers -Wno-unknown-warning-option -Wno-unused-parameter -Wno-cast-function-type -Wno-psabi -Wno-maybe-uninitialized -fdiagnostics-color -fno-strict-aliasing -fdiagnostics-color -g -fno-common -fno-exceptions -ffunction-sections -fdata-sections -Wall -Wextra -Wimplicit-fallthrough -Wcast-qual -Wundef -Wpointer-arith -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -ffile-prefix-map=/Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/linux/out/=out/ -ffile-prefix-map=/Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/linux/out= -ffile-prefix-map=/Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/linux/= -ffile-prefix-map=../= -ffile-prefix-map==out/ -ffile-prefix-map=../= -ffile-prefix-map=/Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/linux/= -ffile-prefix-map=/Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/linux/out= -ffile-prefix-map=/Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/linux/out/=out/ -std=gnu++17 -frtti -Wnon-virtual-dtor -fno-rtti -Wnon-virtual-dtor -std=c++17 -Wno-register -DCHIP_DEVICE_CONFIG_DEVICE_VENDOR_ID=65521 -DCHIP_DEVICE_CONFIG_DEVICE_PRODUCT_ID=32768 -DCONFIG_ENABLE_PW_RPC=1 -DCHIP_DEVICE_CONFIG_DEVICE_PRODUCT_NAME="TEST_PRODUCT" -DPW_SPAN_ENABLE_ASSERTS=false -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_bytes/public -I../third_party/connectedhomeip/third_party/pigweed/repo/third_party/fuchsia/repo/sdk/lib/stdcompat/include -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_containers/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_polyfill/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_polyfill/standard_library_public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_preprocessor/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_span/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_status/public -c ../third_party/connectedhomeip/third_party/pigweed/repo/pw_bytes/byte_builder.cc -o obj/third_party/connectedhomeip/third_party/pigweed/repo/pw_bytes/pw_bytes.byte_builder.cc.o
In file included from ../third_party/connectedhomeip/third_party/pigweed/repo/pw_bytes/byte_builder.cc:15:
../third_party/connectedhomeip/third_party/pigweed/repo/pw_bytes/public/pw_bytes/byte_builder.h:192:14: error: implicit conversion changes signedness: 'int64_t' (aka 'long long') to 'uint64_t' (aka 'unsigned long long') [-Werror,-Wsign-conversion]
return value;
~~~~~~ ^~~~~
1 error generated.
[719/1363] c++ obj/third_party/connectedhomeip/third_party/pigweed/repo/pw_hdlc/decoder.decoder.cc.o
FAILED: obj/third_party/connectedhomeip/third_party/pigweed/repo/pw_hdlc/decoder.decoder.cc.o
g++ -MMD -MF obj/third_party/connectedhomeip/third_party/pigweed/repo/pw_hdlc/decoder.decoder.cc.o.d -target arm64-apple-macos11.0 -O0 -g2 -fno-common -ffunction-sections -fdata-sections -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -Wall -Werror -Wextra -Wshadow -Wunreachable-code -Wvla -Wformat -Wformat-nonliteral -Wformat-security -Wconversion -Wno-deprecated-declarations -Wno-missing-field-initializers -Wno-unknown-warning-option -Wno-unused-parameter -Wno-cast-function-type -Wno-psabi -Wno-maybe-uninitialized -fdiagnostics-color -fno-strict-aliasing -fdiagnostics-color -g -fno-common -fno-exceptions -ffunction-sections -fdata-sections -Wall -Wextra -Wimplicit-fallthrough -Wcast-qual -Wundef -Wpointer-arith -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -ffile-prefix-map=/Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/linux/out/=out/ -ffile-prefix-map=/Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/linux/out= -ffile-prefix-map=/Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/linux/= -ffile-prefix-map=../= -ffile-prefix-map==out/ -ffile-prefix-map=../= -ffile-prefix-map=/Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/linux/= -ffile-prefix-map=/Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/linux/out= -ffile-prefix-map=/Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/linux/out/=out/ -std=gnu++17 -frtti -Wnon-virtual-dtor -fno-rtti -Wnon-virtual-dtor -std=c++17 -Wno-register -DCHIP_DEVICE_CONFIG_DEVICE_VENDOR_ID=65521 -DCHIP_DEVICE_CONFIG_DEVICE_PRODUCT_ID=32768 -DCONFIG_ENABLE_PW_RPC=1 -DCHIP_DEVICE_CONFIG_DEVICE_PRODUCT_NAME="TEST_PRODUCT" -DPW_SPAN_ENABLE_ASSERTS=false -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_hdlc/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_varint/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_polyfill/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_polyfill/standard_library_public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_preprocessor/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_span/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_bytes/public -I../third_party/connectedhomeip/third_party/pigweed/repo/third_party/fuchsia/repo/sdk/lib/stdcompat/include -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_containers/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_status/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_checksum/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_result/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_assert/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_assert/assert_compatibility_public_overrides -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_assert_log/check_backend_public_overrides -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_assert_log/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_log/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_log_basic/public_overrides -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_log_basic/public -c ../third_party/connectedhomeip/third_party/pigweed/repo/pw_hdlc/decoder.cc -o obj/third_party/connectedhomeip/third_party/pigweed/repo/pw_hdlc/decoder.decoder.cc.o
../third_party/connectedhomeip/third_party/pigweed/repo/pw_hdlc/decoder.cc:38:69: error: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Werror,-Wsign-conversion]
address, frame[address_size], frame.subspan(address_size + 1, data_size));
~~~~~~~                   ^~~~~~~~~
1 error generated.
[722/1363] c++ obj/third_party/connectedhomeip/third_party/pigweed/repo/pw_hdlc/encoder.encoder.cc.o
FAILED: obj/third_party/connectedhomeip/third_party/pigweed/repo/pw_hdlc/encoder.encoder.cc.o
g++ -MMD -MF obj/third_party/connectedhomeip/third_party/pigweed/repo/pw_hdlc/encoder.encoder.cc.o.d -target arm64-apple-macos11.0 -O0 -g2 -fno-common -ffunction-sections -fdata-sections -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -Wall -Werror -Wextra -Wshadow -Wunreachable-code -Wvla -Wformat -Wformat-nonliteral -Wformat-security -Wconversion -Wno-deprecated-declarations -Wno-missing-field-initializers -Wno-unknown-warning-option -Wno-unused-parameter -Wno-cast-function-type -Wno-psabi -Wno-maybe-uninitialized -fdiagnostics-color -fno-strict-aliasing -fdiagnostics-color -g -fno-common -fno-exceptions -ffunction-sections -fdata-sections -Wall -Wextra -Wimplicit-fallthrough -Wcast-qual -Wundef -Wpointer-arith -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -ffile-prefix-map=/Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/linux/out/=out/ -ffile-prefix-map=/Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/linux/out= -ffile-prefix-map=/Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/linux/= -ffile-prefix-map=../= -ffile-prefix-map==out/ -ffile-prefix-map=../= -ffile-prefix-map=/Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/linux/= -ffile-prefix-map=/Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/linux/out= -ffile-prefix-map=/Users/sdubey/Sahitya/Projects/ChipTool/connectedhomeip/examples/chef/linux/out/=out/ -std=gnu++17 -frtti -Wnon-virtual-dtor -fno-rtti -Wnon-virtual-dtor -std=c++17 -Wno-register -DCHIP_DEVICE_CONFIG_DEVICE_VENDOR_ID=65521 -DCHIP_DEVICE_CONFIG_DEVICE_PRODUCT_ID=32768 -DCONFIG_ENABLE_PW_RPC=1 -DCHIP_DEVICE_CONFIG_DEVICE_PRODUCT_NAME="TEST_PRODUCT" -DPW_SPAN_ENABLE_ASSERTS=false -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_hdlc/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_varint/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_polyfill/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_polyfill/standard_library_public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_preprocessor/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_span/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_bytes/public -I../third_party/connectedhomeip/third_party/pigweed/repo/third_party/fuchsia/repo/sdk/lib/stdcompat/include -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_containers/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_status/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_checksum/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_stream/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_assert/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_assert/assert_compatibility_public_overrides -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_assert_log/check_backend_public_overrides -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_assert_log/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_log/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_log_basic/public_overrides -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_log_basic/public -I../third_party/connectedhomeip/third_party/pigweed/repo/pw_result/public -c ../third_party/connectedhomeip/third_party/pigweed/repo/pw_hdlc/encoder.cc -o obj/third_party/connectedhomeip/third_party/pigweed/repo/pw_hdlc/encoder.encoder.cc.o
In file included from ../third_party/connectedhomeip/third_party/pigweed/repo/pw_hdlc/encoder.cc:15:
In file included from ../third_party/connectedhomeip/third_party/pigweed/repo/pw_hdlc/public/pw_hdlc/encoder.h:16:
In file included from ../third_party/connectedhomeip/third_party/pigweed/repo/pw_bytes/public/pw_bytes/span.h:18:
In file included from ../third_party/connectedhomeip/third_party/pigweed/repo/pw_span/public/pw_span/span.h:44:
../third_party/connectedhomeip/third_party/pigweed/repo/pw_span/public/pw_span/internal/span_impl.h:272:63: error: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Werror,-Wsign-conversion]
constexpr span(T* begin, T* end) noexcept : span(begin, end - begin) {
~~~~        ^~~
../third_party/connectedhomeip/third_party/pigweed/repo/pw_hdlc/encoder.cc:48:39: note: in instantiation of function template specialization 'pw::span<const std::byte,<PHONE_NUMBER>3709551615>::span' requested here
if (Status status = writer_.Write(span(begin, end)); !status.ok()) {
^
1 error generated.
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/Users/Projects/ChipTool/connectedhomeip/examples/chef/./chef.py", line 934, in
sys.exit(main())
File "/Users/Projects/ChipTool/connectedhomeip/examples/chef/./chef.py", line 802, in main
shell.run_cmd("ninja -C out")
File "/Users/Projects/ChipTool/connectedhomeip/examples/chef/stateful_shell.py", line 139, in run_cmd
raise RuntimeError(
RuntimeError: Error. Nonzero return code.
Returncode: 1
Cmd: ninja -C out`
Bug prevalence
Whenever I do this
GitHub hash of the SDK that was being used
master
Platform
android
Platform Version(s)
No response
Anything else?
No response

@andy31415 @andreilitvin
Do you have any update here?

Tried in ghcr.io/project-chip/chip-build-vscode:1 and it seems to work fine:
> ./chef.py -zbr -d rootnode_dimmablelight_bCwGYSDpoe -t linux
....
[1176/1176] stamp obj/default.stamp
Done

I am unclear where you compile.
The error seems environment-specific, guessing a different compiler version than what chef on linux is using (maybe clang instead of gcc, which may be more strict).

I am trying to run on mac

I don't think anyone tried to use mac before (otherwise they would have found the same error). I am guessing you get mac which uses clang which is more strict on errors. I do not have a mac to try things out, but guessing some Wsign-conversion exclusion is needed somewhere or a patch to pigweed is required.

You can probably adjust the flags in build/config/compiler/BUILD.gn however I would not do that by default on the entire project since it seems we want this king of warnings.

It may also be that is_clang is not correctly set since on mac even gcc is clang.

If you run this in the linux container it will probably just work, but you will get a linux app instead of a mac app.

On Linux container, I am getting two separate error.

Virtual device container not working
Log-

sh-5.0$  cd ~/matter-virtual-device-gui/
sh-5.0$ electron main.js --s=localhost:33000 --no-sandbox
qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
Connecting to Socket Target: localhost:33000
[443:0727/095542.589014:ERROR:ozone_platform_x11.cc(240)] Missing X server or $DISPLAY
[443:0727/095542.591546:ERROR:env.cc(255)] The platform failed to initialize.  Exiting.

After successfully running below command I am not able to commission the device in my mobile phone GHA.
Is there anything I am missing ?

Command-
./linux/out/rootnode_dimmablelight_bCwGYSDpoe
Log-
sh-5.0$ ./linux/out/rootnode_dimmablelight_bCwGYSDpoe
DBG  [1690445022.366123][357:357] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_kvs
DBG  [1690445022.418726][357:357] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_kvs
ERR  [1690445022.420842][357:357] CHIP:DL: ChipLinuxStorage::Init: Attempt to re-initialize with KVS config file: /tmp/chip_kvs
DBG  [1690445022.426871][357:357] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_factory.ini
DBG  [1690445022.432072][357:357] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_config.ini
DBG  [1690445022.432669][357:357] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_counters.ini
INF  [1690445022.437257][357:357] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-VisTje)
ERR  [1690445022.438500][357:357] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
INF  [1690445022.438693][357:357] CHIP:DL: NVS set: chip-counters/reboot-count = 3 (0x3)
ERR  [1690445022.441402][357:357] CHIP:DL: Failed to get Ethernet interface
ERR  [1690445022.441733][357:357] CHIP:DL: Failed to reset Ethernet statistic counts
ERR  [1690445022.442027][357:357] CHIP:DL: Failed to get WiFi interface
ERR  [1690445022.442216][357:357] CHIP:DL: Failed to reset WiFi statistic counts
ERR  [1690445022.442821][357:357] CHIP:SPT: *** WARNING: Using temporary passcode 20202021 due to no neither --passcode or --spake2p-ver
ERR  [1690445022.443275][357:357] CHIP:SPT: *** WARNING: Using temporary test discriminator 3840 due to --discriminator not given on com
ERR  [1690445022.443431][357:357] CHIP:SPT: PASE PBKDF iterations set to 1000
INF  [1690445022.444003][357:357] CHIP:SPT: LinuxCommissionableDataProvider didn't get a PASE salt, generating one.
INF  [1690445022.491203][357:357] CHIP:DL: Device Configuration:
INF  [1690445022.491501][357:357] CHIP:DL:   Serial Number: TEST_SN
INF  [1690445022.491631][357:357] CHIP:DL:   Vendor Id: 65521 (0xFFF1)
INF  [1690445022.491742][357:357] CHIP:DL:   Product Id: 32768 (0x8000)
INF  [1690445022.491916][357:357] CHIP:DL:   Hardware Version: 0
INF  [1690445022.492018][357:357] CHIP:DL:   Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
INF  [1690445022.492117][357:357] CHIP:DL:   Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
INF  [1690445022.492302][357:357] CHIP:DL:   Manufacturing Date: (not set)
INF  [1690445022.492408][357:357] CHIP:DL:   Device Type: 65535 (0xFFFF)
INF  [1690445022.492487][357:357] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ====
INF  [1690445022.493705][357:357] CHIP:SVR: SetupQRCode: [MT:Y.K90AFN00KA0648G00]
INF  [1690445022.494093][357:357] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code:
INF  [1690445022.494178][357:357] CHIP:SVR: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3AY.K90AFN00KA0648G00
INF  [1690445022.494919][357:357] CHIP:SVR: Manual pairing code: [34970112332]
INF  [1690445022.495474][357:357] CHIP:-: PW_RPC initialized.
INF  Starting pw_rpc server on port 33000

INF  [1690445022.501459][357:357] CHIP:SVR: Server initializing...
DBG  [1690445022.501787][357:357] CHIP:FP: Initializing FabricTable from persistent storage
INF  [1690445022.504827][357:357] CHIP:TS: Last Known Good Time: 2023-07-26T17:37:30
INF  [1690445022.505306][357:357] CHIP:DMG: AccessControl: initializing
INF  [1690445022.505380][357:357] CHIP:DMG: Examples::AccessControlDelegate::Init
INF  [1690445022.505597][357:357] CHIP:DMG: AccessControl: setting
INF  [1690445022.505867][357:357] CHIP:DMG: DefaultAclStorage: initializing
INF  [1690445022.505951][357:357] CHIP:DMG: DefaultAclStorage: 0 entries loaded
DBG  [1690445022.506593][357:357] CHIP:IN: UDP::Init bind&listen port=5540
DBG  [1690445022.507292][357:357] CHIP:IN: UDP::Init bound to port=5540
DBG  [1690445022.507423][357:357] CHIP:IN: TransportMgr initialized
INF  [1690445022.508553][357:357] CHIP:DL: writing settings to file (/tmp/chip_kvs-GYrpVb)
ERR  [1690445022.508816][357:357] CHIP:DL: renamed tmp file to file (/tmp/chip_kvs)
INF  [1690445022.509073][357:357] CHIP:DL: writing settings to file (/tmp/chip_kvs-9rfcHc)
ERR  [1690445022.509202][357:357] CHIP:DL: renamed tmp file to file (/tmp/chip_kvs)
INF  [1690445022.513288][357:357] CHIP:DL: writing settings to file (/tmp/chip_kvs-bNFcKd)
ERR  [1690445022.513557][357:357] CHIP:DL: renamed tmp file to file (/tmp/chip_kvs)
INF  [1690445022.513855][357:357] CHIP:ZCL: Using ZAP configuration...
DBG  [1690445022.515578][357:357] CHIP:DMG: Failed to read stored attribute (0, 0x0000_0028, 0x0000_0005: ../third_party/connectedhomeip
DBG  [1690445022.515866][357:357] CHIP:DMG: Failed to read stored attribute (0, 0x0000_0028, 0x0000_0010: ../third_party/connectedhomeip
DBG  [1690445022.515978][357:357] CHIP:DMG: Failed to read stored attribute (0, 0x0000_002C, 0x0000_0000: ../third_party/connectedhomeip
DBG  [1690445022.516088][357:357] CHIP:DMG: Failed to read stored attribute (0, 0x0000_002C, 0x0000_0001: ../third_party/connectedhomeip
INF  [1690445022.516347][357:357] CHIP:DMG: AccessControlCluster: initializing
DBG  [1690445022.517013][357:357] CHIP:DMG: Endpoint 0, Cluster 0x0000_0030 update version to b0578120
DBG  [1690445022.517554][357:357] CHIP:ZCL: GeneralDiagnostics: OnDeviceReboot
DBG  [1690445022.518533][357:357] CHIP:DMG: Endpoint 0, Cluster 0x0000_0033 update version to 8a73ca7d
DBG  [1690445022.521613][357:357] CHIP:EVL: LogEvent event number: 0x0000000000020000 priority: 2, endpoint id:  0x0 cluster id: 0x0000_
INF  [1690445022.521936][357:357] CHIP:ZCL: Initiating Admin Commissioning cluster.
DBG  [1690445022.522314][357:357] CHIP:DMG: Endpoint 0, Cluster 0x0000_0004 update version to 4531e74b
DBG  [1690445022.522450][357:357] CHIP:DMG: Endpoint 0, Cluster 0x0000_0004 update version to 4531e74c
ERR  [1690445022.522681][357:357] CHIP:ZCL: Failed to read ActiveLocale with error: 0x86
DBG  [1690445022.523259][357:357] CHIP:DMG: Endpoint 1, Cluster 0x0000_0004 update version to c140cd07
DBG  [1690445022.523309][357:357] CHIP:DMG: Endpoint 1, Cluster 0x0000_0004 update version to c140cd08
DBG  [1690445022.523407][357:357] CHIP:DMG: Endpoint 1, Cluster 0x0000_0005 update version to 7a70e843
DBG  [1690445022.526638][357:357] CHIP:IN: SecureSession[0x4000290ef0]: Allocated Type:1 LSID:47118
DBG  [1690445022.527507][357:357] CHIP:SC: Assigned local session key ID 47118
DBG  [1690445022.527732][357:357] CHIP:SC: Waiting for PBKDF param request
INF  [1690445022.527882][357:357] CHIP:DIS: Updating services using commissioning mode 1
INF  [1690445022.529079][357:357] CHIP:DIS: CHIP minimal mDNS started advertising.
DBG  [1690445022.533242][357:357] CHIP:DL: Using wifi MAC for hostname
INF  [1690445022.534297][357:357] CHIP:DIS: Advertise commission parameter vendorID=65521 productID=32768 discriminator=3840/15 cm=1
DBG  [1690445022.536011][357:357] CHIP:DIS: Responding with _matterc._udp.local
DBG  [1690445022.536346][357:357] CHIP:DIS: Responding with 9D64DB96A68C600C._matterc._udp.local
DBG  [1690445022.536463][357:357] CHIP:DIS: Responding with<PHONE_NUMBER>000000.local
DBG  [1690445022.536599][357:357] CHIP:DIS: Responding with<PHONE_NUMBER>000000.local
DBG  [1690445022.536943][357:357] CHIP:DIS: Responding with _V65521._sub._matterc._udp.local
DBG  [1690445022.537164][357:357] CHIP:DIS: Responding with _S15._sub._matterc._udp.local
DBG  [1690445022.537318][357:357] CHIP:DIS: Responding with _L3840._sub._matterc._udp.local
DBG  [1690445022.537426][357:357] CHIP:DIS: Responding with _CM._sub._matterc._udp.local
DBG  [1690445022.538409][357:357] CHIP:DIS: Responding with 9D64DB96A68C600C._matterc._udp.local
INF  [1690445022.538491][357:357] CHIP:DIS: CHIP minimal mDNS configured as 'Commissionable node device'; instance name: 9D64DB96A68C600
INF  [1690445022.545131][357:357] CHIP:DIS: mDNS service published: _matterc._udp
INF  [1690445022.545427][357:357] CHIP:DIS: Updating services using commissioning mode 1
INF  [1690445022.545788][357:357] CHIP:DIS: CHIP minimal mDNS started advertising.
DBG  [1690445022.547178][357:357] CHIP:DL: Using wifi MAC for hostname
INF  [1690445022.547412][357:357] CHIP:DIS: Advertise commission parameter vendorID=65521 productID=32768 discriminator=3840/15 cm=1
DBG  [1690445022.547767][357:357] CHIP:DIS: Responding with _matterc._udp.local
DBG  [1690445022.547818][357:357] CHIP:DIS: Responding with 9D64DB96A68C600C._matterc._udp.local
DBG  [1690445022.547854][357:357] CHIP:DIS: Responding with<PHONE_NUMBER>000000.local
DBG  [1690445022.547890][357:357] CHIP:DIS: Responding with<PHONE_NUMBER>000000.local
DBG  [1690445022.547937][357:357] CHIP:DIS: Responding with _V65521._sub._matterc._udp.local
DBG  [1690445022.547979][357:357] CHIP:DIS: Responding with _S15._sub._matterc._udp.local
DBG  [1690445022.548017][357:357] CHIP:DIS: Responding with _L3840._sub._matterc._udp.local
DBG  [1690445022.548085][357:357] CHIP:DIS: Responding with _CM._sub._matterc._udp.local
DBG  [1690445022.548160][357:357] CHIP:DIS: Responding with 9D64DB96A68C600C._matterc._udp.local
INF  [1690445022.548187][357:357] CHIP:DIS: CHIP minimal mDNS configured as 'Commissionable node device'; instance name: 9D64DB96A68C600
INF  [1690445022.549251][357:357] CHIP:DIS: mDNS service published: _matterc.udp
INF  [1690445022.549738][357:357] CHIP:IN: CASE Server enabling CASE session setups
DBG  [1690445022.550082][357:357] CHIP:IN: SecureSession[0x40002902f0]: Allocated Type:2 LSID:47119
DBG  [1690445022.550462][357:357] CHIP:SC: Allocated SecureSession (0x40002902f0) - waiting for Sigma1 msg
INF  [1690445022.550761][357:357] CHIP:SVR: Joining Multicast groups
DBG  [1690445022.550902][357:357] CHIP:ZCL: Emitting StartUp event
DBG  [1690445022.551250][357:357] CHIP:EVL: LogEvent event number: 0x0000000000020001 priority: 2, endpoint id:  0x0 cluster id: 0x0000
INF  [1690445022.551375][357:357] CHIP:SVR: Server Listening...
INF  [1690445022.551424][357:357] CHIP:DL: Device Configuration:
INF  [1690445022.551519][357:357] CHIP:DL:   Serial Number: TEST_SN
INF  [1690445022.551620][357:357] CHIP:DL:   Vendor Id: 65521 (0xFFF1)
INF  [1690445022.551692][357:357] CHIP:DL:   Product Id: 32768 (0x8000)
INF  [1690445022.551756][357:357] CHIP:DL:   Hardware Version: 0
INF  [1690445022.551785][357:357] CHIP:DL:   Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
INF  [1690445022.551809][357:357] CHIP:DL:   Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
INF  [1690445022.551858][357:357] CHIP:DL:   Manufacturing Date: (not set)
INF  [1690445022.551886][357:357] CHIP:DL:   Device Type: 65535 (0xFFFF)
INF  [1690445022.551973][357:357] CHIP:SVR: SetupQRCode: [MT:Y.K90AFN00KA0648G00]
INF  [1690445022.552015][357:357] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code:
INF  [1690445022.552059][357:357] CHIP:SVR: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3AY.K90AFN00KA0648G00
INF  [1690445022.552126][357:357] CHIP:SVR: Manual pairing code: [34970112332]
INF  [1690445922.659101][357:357] CHIP:SVR: Closing pairing window
DBG  [1690445922.662939][357:357] CHIP:IN: SecureSession[0x4000290ef0]: Released - Type:1 LSID:47118
INF  [1690445922.664552][357:357] CHIP:DIS: Updating services using commissioning mode 0
INF  [1690445922.668680][357:357] CHIP:DIS: CHIP minimal mDNS started advertising.

FWIW, I got the example to build on MacOS by removing -Wconversion from build/config/compiler/BUILD.gn and src/platform/Darwin/Build.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 31f396a457..3e636bd0f6 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -250,7 +250,7 @@ config("strict_warnings") {
   }

   if (current_os == "mac" || current_os == "ios") {
-    cflags += [ "-Wconversion" ]
+    # cflags += [ "-Wconversion" ]
   }

   if (matter_enable_java_compilation) {
diff --git a/src/platform/Darwin/BUILD.gn b/src/platform/Darwin/BUILD.gn
index 1769d4a29f..22e2dc7374 100644
--- a/src/platform/Darwin/BUILD.gn
+++ b/src/platform/Darwin/BUILD.gn
@@ -38,7 +38,7 @@ config("darwin_config") {

   cflags = [
     "-fobjc-arc",
-    "-Wconversion",
+    # "-Wconversion",
   ]
 }

As far as I understand the root issue is that pigweed does not build with -Wconversion enabled (https://issues.pigweed.dev/issues/259746255)  and it's explicitly enabled on mac builds.

That however ends up with the software dying when trying to read the attributes:
Device logs:
Connected to rpc.
[RPC] Send rpc 'chip.rpc.Device.GetDeviceInfo'.
Starting chip.rpc.Device.GetDeviceInfo on channel 1
Received data which length is 173
[RPC] Send rpc 'chip.rpc.Descriptor.DeviceTypeList'.
Starting chip.rpc.Descriptor.DeviceTypeList on channel 1
Received data which length is 49
[RPC] Send rpc 'chip.rpc.Descriptor.PartsList'.
Starting chip.rpc.Descriptor.PartsList on channel 1
Received data which length is 48
[RPC] Send rpc 'chip.rpc.Descriptor.ServerList'.
Starting chip.rpc.Descriptor.ServerList on channel 1
Received data which length is 158
[RPC] Send rpc 'chip.rpc.Attributes.Read'.
Starting chip.rpc.Attributes.Read on channel 1
Connection closed

Chef logs:
[1693426243808] [20996:854395] [DIS] Advertise commission parameter vendorID=65521 productID=32768 discriminator=3840/15 cm=1
[1693426243808] [20996:854395] [DIS] Registering service 440B92AF5F070CAA on host<PHONE_NUMBER>00.local. with port 5540 and type: _matterc._udp,_V65521,_S15,_L3840,_CM on interface id: 0
[1693426243810] [20996:854395] [IM] No subscriptions to resume
[1693426244533] [20996:854395] [DIS] Mdns: OnRegister name: 440B92AF5F070CAA, type: _matterc._udp., domain: local., flags: 2
[1693426244534] [20996:854395] [DIS] mDNS service published: _matterc._udp; instance name: 440B92AF5F070CAA
[1693426244542] [20996:854395] [DIS] Status: Satisfied
[1693426244542] [20996:854395] [DIS]    lo0 (1)
[1693426244543] [20996:854395] [DIS]            * ipv6: ::1
[1693426244543] [20996:854395] [DIS]            * ipv6: fe80::1
[1693426244544] [20996:854395] [DIS]    en0 (12 / WiFi)
[1693426244544] [20996:854395] [DIS]            * ipv6: fe80::c06:b969:469d:e586
[1693426244545] [20996:854395] [DIS] Mdns: OnRegisterRecord flags: 1
[1693426244545] [20996:854395] [DIS] Mdns: OnRegisterRecord flags: 1
[1693426244545] [20996:854395] [DIS] Mdns: OnRegisterRecord flags: 0
[1693426250702] [20996:854397] [DMG] Reading attribute: Cluster=0x0000_0008 Endpoint=1 AttributeId=0x0000_0002 (expanded=0)
[1693426250702] [20996:854397] [DL] Chip stack locking error at 'src/app/util/attribute-storage.cpp:572'. Code is unsafe/racy
[1693426250702] [20996:854397] [-] chipDie chipDie chipDie
[1]    20996 abort      ./linux/out/rootnode_dimmablelight_bCwGYSDpoe

Possibly related to https://github.com/project-chip/connectedhomeip/issues/7557 ?

Mac does not support chip stack locking, so if chef tries to use that in any way it probably fails. Chef was never tested to run on mac.

I see, thanks for clarification


Website down

The website in the description of the repository seems to be down:
www.stokenetfaucet.com/

Hey! This was a a repo I put together for a simple faucet I did for Olympia. In Babylon we now have a faucet as part of the network. I believe that if you're using the Radix wallet there is a GUI way to get funds from the faucet on stokenet.