git checkout errors out the first time when adding core tools

2017-08-23 14:31:30,002 - vent.api.plugin_helpers - ERROR - checkout failed with error: Command '['git', 'checkout', 'master']' returned non-zero exit status 128

Appears the issue is somehow the clone function is returning True that it successfully cloned, but it didn't actually clone the repository

Fixed in my fork's feature/586 branch, but now inventory and start core plugins don't work. T_T

No longer an issue with the rewrite


[RFE] Creating new VMware vSphere cluster should create folder

Is your feature request related to a problem? Please describe.
If specifying the folder field in the VmwarevsphereConfig object when creating a new VMware vSphere cluster, the provisioning fails if the folder does not exist. This is a reasonable default behavior, but I think that the UX would be smoother if the folder was (optionally) created automatically by Rancher.
Describe the solution you'd like
I would like there to be an option so that Rancher tries to create the folder if it does not already exist.
Describe alternatives you've considered
The only alternative is currently to create the folder manually (which is acceptable but not great).
Additional context
Logs from the machine provisioner pod:
$ kubectl -n fleet-default logs -f andreas-test-18-controlplane-4997410d-qqf8s-machine-provision-x2w6t
Running pre-create checks...
(andreas-test-18-controlplane-4997410d-qqf8s) Connecting to vSphere for pre-create checks...
(andreas-test-18-controlplane-4997410d-qqf8s) Using datacenter /FOO
(andreas-test-18-controlplane-4997410d-qqf8s) Using network /FOO/network/n123
(andreas-test-18-controlplane-4997410d-qqf8s) Using ResourcePool /FOO/host/BAR/Resources/Production
Error with pre-create check: "folder '/FOO/vm/Rancher/andreas-test-18' not found"
The default lines below are for a sh/bash shell, you can specify the shell you're using, with the --shell flag.

Current description of the API object:
$ kubectl explain VmwarevsphereConfig.folder
KIND:     VmwarevsphereConfig
VERSION:  rke-machine-config.cattle.io/v1

DESCRIPTION:
     vSphere folder for the docker VM. This folder must already exist in the
     datacenter

Ping

Ping

I want this to stay open until some human have responded.


hubConnection.connectionId in HubConnectionDelegate.connectionDidOpen contains connectionToken instead of connectionId

Before filing an issue
Check Frequently Asked Questions
Describe the bug
hubConnection.connectionId in HubConnectionDelegate.connectionDidOpen contains connectionToken instead of connectionId
Expected behavior
In my application I need to provide signalR connectionId to the backend. Backend then use the value provided to call client methods. In current implementation, the real connectionId is not accessible since hubConnection.connectionId
in connectionDidOpen contains connectionToken value. The official signalR backend needs to know the client's connectionId in order to call its methods. I've checked your test server implementation - it gets connection id from the context - await Clients.Client(Context.ConnectionId). But this won't work if I need to send message to another client.
Enable logging at the debug level and attach/past to the issue
n/a
Code To Reproduce the Issue
Here is the code example:
public class SignalRService: HubConnectionDelegate {
    public func connectionDidOpen(hubConnection: SwiftSignalRClient.HubConnection) {
        print("SignalR connection did open; connectionID: \(hubConnection.connectionId!)")

        // at this point I need to send connectionId to the backend
    }

    public func connectionDidFailToOpen(error: Error) {
    }

    public func connectionDidClose(error: Error?) {
    }

    var connection: HubConnection?

    public init(url: URL) {
        connection = HubConnectionBuilder(url: url)
            .withLogging(minLogLevel: .debug)
            .withHubConnectionDelegate(delegate: self)
            .build()

        connection!.start()
    }
}

Additional context
The official Java client (https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/clients/java/signalr/core/src/main/java/com/microsoft/signalr/HubConnection.java#L390) works as expected - getConnectionId() returns connectionId from negotiation response.

Are you using Azure? I found this commit that added support for connectionToken because Azure SignalR service use(d) v0 of negotiate protocol: b870b2bcc7ee62383de9950004a5d73d23e7cb82. I can see similar logic in the Java client you pointed to: https://github.com/dotnet/aspnetcore/blob/9ec0753f61b7d80fd989e6e1d30f356cf85e1d37/src/SignalR/clients/java/signalr/core/src/main/java/com/microsoft/signalr/HubConnection.java#L393-L394. If the protocol version is 0 they handle this differently.
If you are not using Azure please post the logs at debug level - AFAIR negotiate response should be included there.

Thank you for the answer! No, I am not using Asure. At the moment I use the test server implementation from this repository.
Here are my logs:
Client:
2023-01-23T10:04:02.295Z debug: HttpConnection init
2023-01-23T10:04:02.311Z debug: HubConnection init
2023-01-23T10:04:02.311Z info: Starting hub connection
2023-01-23T10:04:02.311Z info: Starting reconnectable connection
2023-01-23T10:04:02.311Z debug: Attempting to change state from: 'disconnected' to: 'starting'
2023-01-23T10:04:02.313Z debug: Changing state to: 'starting' succeeded
2023-01-23T10:04:02.313Z debug: Starting or reconnecting
2023-01-23T10:04:02.313Z debug: HttpConnection init
2023-01-23T10:04:02.313Z debug: HttpConnection deinit
2023-01-23T10:04:02.313Z info: Starting connection
2023-01-23T10:04:02.313Z debug: Attempting to change state from: 'initial' to: 'connecting'
2023-01-23T10:04:02.314Z debug: Changing state to: 'connecting' succeeded
2023-01-23T10:04:02.378Z debug: Negotiate completed with OK status code
2023-01-23T10:04:02.378Z debug: Negotiate response: {"negotiateVersion":1,"connectionId":"eaXSFxhG_wfgklXePj5kvA","connectionToken":"e4FV2AtWlvWBUB1FU__znA","availableTransports":[{"transport":"WebSockets","transferFormats":["Text","Binary"]}]}
2023-01-23T10:04:02.379Z debug: Negotiation response received
2023-01-23T10:04:02.380Z info: Selected WebSockets transport
2023-01-23T10:04:02.380Z info: Starting WebSocket transport
2023-01-23T10:04:02.402Z info: WebSocket open
2023-01-23T10:04:02.403Z info: Transport started
2023-01-23T10:04:02.403Z debug: Attempting to change state from: 'connecting' to: 'connected'
2023-01-23T10:04:02.403Z debug: Changing state to: 'connected' succeeded
2023-01-23T10:04:02.403Z debug: Leaving startDispatchGroup (transportDidOpen(connectionId:): 240)
2023-01-23T10:04:02.405Z debug: Invoking connectionDidOpen
2023-01-23T10:04:02.407Z debug: Connection opened successfully
2023-01-23T10:04:02.408Z debug: Attempting to change state from: 'starting, reconnecting' to: 'running'
2023-01-23T10:04:02.409Z debug: Changing state to: 'running' succeeded
2023-01-23T10:04:02.410Z info: Hub connection started
2023-01-23T10:04:02.410Z debug: Sending handshake request: {"protocol": "json", "version": 1}
2023-01-23T10:04:02.410Z info: Received send request
2023-01-23T10:04:02.410Z debug: Sending data
2023-01-23T10:04:02.426Z debug: Received data from transport
2023-01-23T10:04:02.426Z debug: Data received
2023-01-23T10:04:02.426Z debug: Processing handshake response: {}
SignalR connection did open; connectionID: e4FV2AtWlvWBUB1FU__znA
2023-01-23T10:04:02.428Z debug: Resetting keep alive
2023-01-23T10:04:02.428Z debug: Payload contains 0 message(s)

Server:
dbug: Microsoft.AspNetCore.Hosting.Diagnostics[3]
      Hosting starting
dbug: Microsoft.AspNetCore.SignalR.Internal.DefaultHubProtocolResolver[1]
      Registered SignalR Protocol: json, implemented by Microsoft.AspNetCore.SignalR.Protocol.JsonHubProtocol.
dbug: Microsoft.AspNetCore.SignalR.Internal.DefaultHubProtocolResolver[1]
      Registered SignalR Protocol: messagepack, implemented by Microsoft.AspNetCore.SignalR.Protocol.MessagePackHubProtocol.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'Echo' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'ErrorMethod' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'VoidMethod' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'InvokeGetNumber' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'InvokeGetPerson' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'SortByName' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'StreamNumbers' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'ErrorStreamMethod' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'GetHeader' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'KillConnection' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'InvokeManyArgs' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'InvokeNoArgs' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'InvokeManyArgs1' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'InvokeManyArgs2' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'InvokeManyArgs3' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'InvokeManyArgs4' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'InvokeManyArgs5' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'InvokeManyArgs6' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'InvokeManyArgs7' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'InvokeManyArgs8' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'Concatenate' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'StreamManyArgs0' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'StreamManyArgs1' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'StreamManyArgs2' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'StreamManyArgs3' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'StreamManyArgs4' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'StreamManyArgs5' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'StreamManyArgs6' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'StreamManyArgs7' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'TestHub' hub method 'StreamManyArgs8' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'ChatHub' hub method 'Broadcast' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'PlaygroundHub' hub method 'Broadcast' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'PlaygroundHub' hub method 'Add' is bound.
trce: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[9]
      'PlaygroundHub' hub method 'StreamNumbers' is bound.
trce: Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionManager[9]
      Starting connection heartbeat.
dbug: Microsoft.AspNetCore.Hosting.Diagnostics[4]
      Hosting started
dbug: Microsoft.AspNetCore.Hosting.Diagnostics[13]
      Loaded hosting startup assembly TestServer
Hosting environment: Production
Content root path: /Users/evgeniy.belyaev/code/SignalR-Client-Swift/Examples/TestServer/bin/Debug/net7.0
Now listening on: http://localhost:5000
Now listening on: https://localhost:5001
Application started. Press Ctrl+C to shut down.
dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[39]
      Connection id "0HMNT54JMSIFP" accepted.
dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[1]
      Connection id "0HMNT54JMSIFP" started.
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 POST http://localhost:5000/testhubWebsockets/negotiate?negotiateVersion=1 - 0
dbug: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[0]
      Wildcard detected, all requests with hosts will be allowed.
trce: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[2]
      All hosts are allowed.
dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1001]
      1 candidate(s) found for the request path '/testhubWebsockets/negotiate'
dbug: Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware[1]
      Request matched endpoint '/testhubWebsockets/negotiate'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint '/testhubWebsockets/negotiate'
dbug: Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionManager[1]
      New connection eaXSFxhG_wfgklXePj5kvA created.
dbug: Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionDispatcher[10]
      Sending negotiation response.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint '/testhubWebsockets/negotiate'
dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[9]
      Connection id "0HMNT54JMSIFP" completed keep alive response.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/1.1 POST http://localhost:5000/testhubWebsockets/negotiate?negotiateVersion=1 - 0 - 200 192 application/json 19.1738ms
dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[39]
      Connection id "0HMNT54JMSIFQ" accepted.
dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[1]
      Connection id "0HMNT54JMSIFQ" started.
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://localhost:5000/testhubWebsockets?id=e4FV2AtWlvWBUB1FU__znA - -
trce: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[2]
      All hosts are allowed.
dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1001]
      1 candidate(s) found for the request path '/testhubWebsockets'
dbug: Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware[1]
      Request matched endpoint '/testhubWebsockets'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint '/testhubWebsockets'
dbug: Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionDispatcher[4]
      Establishing new connection.
dbug: Microsoft.AspNetCore.SignalR.HubConnectionHandler[5]
      OnConnectedAsync started.
dbug: Microsoft.AspNetCore.Http.Connections.Internal.Transports.WebSocketsTransport[1]
      Socket opened using Sub-Protocol: '(null)'.
trce: Microsoft.AspNetCore.Http.Connections.Internal.Transports.WebSocketsTransport[9]
      Message received. Type: Binary, size: 35, EndOfMessage: True.
dbug: Microsoft.AspNetCore.SignalR.Internal.DefaultHubProtocolResolver[2]
      Found protocol implementation for requested protocol: json.
dbug: Microsoft.AspNetCore.SignalR.HubConnectionContext[1]
      Completed connection handshake. Using HubProtocol 'json'.
trce: Microsoft.AspNetCore.Http.Connections.Internal.Transports.WebSocketsTransport[11]
      Sending payload: 3 bytes.
dbug: Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets[6]
      Connection id "0HMNT54JMSIFP" received FIN.
dbug: Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets[6]
      Connection id "0HMNT54JMSIFQ" received FIN.
dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[10]
      Connection id "0HMNT54JMSIFP" disconnecting.
dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[2]
      Connection id "0HMNT54JMSIFP" stopped.
dbug: Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets[7]
      Connection id "0HMNT54JMSIFQ" sending FIN because: "The client closed the connection."
dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[10]
      Connection id "0HMNT54JMSIFQ" disconnecting.
dbug: Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets[7]
      Connection id "0HMNT54JMSIFP" sending FIN because: "The Socket transport's send loop completed gracefully."
dbug: Microsoft.AspNetCore.Http.Connections.Internal.Transports.WebSocketsTransport[14]
      Socket connection closed prematurely.
      System.Net.WebSockets.WebSocketException (2): The remote party closed the WebSocket connection without completing the close handshake.
         at System.Net.WebSockets.ManagedWebSocket.ThrowEOFUnexpected()
         at System.Net.WebSockets.ManagedWebSocket.EnsureBufferContainsAsync(Int32 minimumRequiredBytes, CancellationToken cancellationToken)
         at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
         at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TResult](Memory`1 payloadBuffer, CancellationToken cancellationToken)
         at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
         at Microsoft.AspNetCore.Http.Connections.Internal.Transports.WebSocketsServerTransport.StartReceiving(WebSocket socket)
dbug: Microsoft.AspNetCore.Http.Connections.Internal.Transports.WebSocketsTransport[4]
      Waiting for the application to finish sending data.
dbug: Microsoft.AspNetCore.Http.Connections.Internal.Transports.WebSocketsTransport[2]
      Socket closed.
trce: Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionContext[1]
      Disposing connection eaXSFxhG_wfgklXePj5kvA.
trce: Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionContext[2]
      Waiting for application to complete.
dbug: Microsoft.AspNetCore.SignalR.HubConnectionHandler[6]
      OnConnectedAsync ending.
trce: Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionContext[3]
      Application complete.
dbug: Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionManager[2]
      Removing connection e4FV2AtWlvWBUB1FU__znA from the list of connections.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint '/testhubWebsockets'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/1.1 GET http://localhost:5000/testhubWebsockets?id=e4FV2AtWlvWBUB1FU__znA - - - 101 - - 5709.5984ms
dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[2]
      Connection id "0HMNT54JMSIFQ" stopped.

In server logs you can see that server disposes connection with id eaXSFxhG_wfgklXePj5kvA (connectionId from the necogotiation response) but later, when it removes the connection from the list, it uses e4FV2AtWlvWBUB1FU__znA (connection token from the negotiation response) which is a bit confusing. But anyway, in order to call client method we need to address the client with connectionId, not connectionToken.

Thanks for posting. This definitely feels like a bug. I will need to investigate. Having said that, I am wondering if you could do what you want to do on the server. I believe you should be able to get the connectionId on the server when the client connects (OnConnectedAsync?) and send it to the other client.

Yes, it is possible since on server side Context.ConnectionId contains correct value. But unfortunately, my backend implementation is different so I need to provide connectionId not through the signalR connection but with another API. So, at the moment, the only option for me is to patch the iOS client.

This should be now fixed.

Thank you! Do you have any plans for release of the new version?

I will cut a new release in the next few weeks.

I pushed version 0.9.2 to Cocoapods.


Add dependencies list

Building the project requires npm, which is not not documented on the README.

Hi @minecraftchest1
Thanks for your contribution.
Michel

No problem.


standard_init_linux.go:219: exec user process caused: no such file or directory

Hello.
I'm trying to run this docker container on the jetson nano / arm64 "platform" because I need to run teamviewer there. So,I've got the Dockerfile and I tried to build it on my jetson nano,but unfortunately it didn't work :
root@zi-desktop:~/Desktop/Docker-Images/netpi-teamviewer# docker build -t netpi-teamviewer .
Sending build context to Docker daemon  3.584kB
Step 1/14 : FROM balenalib/armv7hf-debian:stretch
---> 9bee5def703c
Step 2/14 : ARG BUILD_DATE
---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
---> Running in afae1c715672
Removing intermediate container afae1c715672
---> c289ca8942ae
Step 3/14 : ARG VCS_REF
---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
---> Running in c12202c0dc46
Removing intermediate container c12202c0dc46
---> 0070ec2369cd
Step 4/14 : LABEL org.label-schema.build-date=$BUILD_DATE       org.label-schema.vcs-url="https://github.com/HilscherAutomation/netPI-teamviewer"       org.label-schema.vcs-ref=$VCS_REF
---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
---> Running in 4cd17510eced
Removing intermediate container 4cd17510eced
---> a1a9161e3dee
Step 5/14 : RUN [ "cross-build-start" ]
---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
---> Running in 5fa06493ecea
standard_init_linux.go:219: exec user process caused: no such file or directory
The command 'cross-build-start' returned a non-zero code: 1

I've commented out the line "#RUN [ "cross-build-start" ]" as requested since I'm on the arm64 and I have enabled the arm32 libraries and this is what happened :
Setting up teamviewer-host (14.1.9025) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Removing intermediate container 8c5fdc983764
---> 1fa1b2eb8fe0
Step 10/13 : COPY "./init.d/*" /etc/init.d/
COPY failed: no source files were specified


OG-USA developer meeting agenda, 12/7/20, 12pm ET

Agenda for OG-USA developer meeting: 12/7/20
12-1pm ET
Zoom Meeting ID:<PHONE_NUMBER>
Zoom Meeting Password: ogusa
Zoom Meeting URL: https://riceuniversity.zoom.us/j/4073958475
This meeting is open to the public.
Agenda

Follow up on 11/23/20 developer meeting discussion.

Next meeting: Monday, January 4, 2021, noon-1pm ET

Notes

Discussed progress of UBI PR #683 with large documentation changes
Discussed progress and status of dynamic firms PR #457
Discussed how to write UBI report
Discussed OG-MOD approach to OG-USA and how to apply it to openfisca-UK to do UK analysis.
Discussed adding broader (more countries) pension module that includes the distortionary tax incentives of pensions.


Cryptography documentation

Do we have a place where we can talk about hashing? I.e. how hashing is typically done (let's say for sha256 and keccak256) and that we do not add them as host function?

We can add that to the overview page of cryptography. Seems like it would fit there neatly


Add trailing slash to avoid redirects

Resolves #499

Newer versions (>=1.9.0) of yarl don't seem to agree with / "".  If you prefer the later versions of yarl I can change the syntax to str(yarl.URL("foo") / "bar") + "/".  But I felt that was breaking convention too much

Thanks for your contribution @ClaytonAstrom 🙌🏽 I will request a review from @costrouc to keep this moving


Update directory-admin-roles-secure.md

Correct SharePoint and Exchange admin role names to what's seen in the Azure AD portal.

@SteveBurkettNZ : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Xcode feature request: Format File with 'swift-format' on save

Xcode 16 has the new Format File with 'swift-format' option. I used a 3rd party app to trigger that on file save (⌘S). I think this should be a simple checkbox in the Xcode settings. 🙏🏻

Synced to Apple’s issue tracker as rdar://136327495

This would be a request to Xcode, not the swift-format open source project. Could you file a feedback for this at http://feedbackassistant.apple.com?


[docs-only] fix NATS configuration in wopi example

Description
The example did not work for me, I believe the NATS settings need to be adjusted.
Wit this change, both collabora and onlyoffice work fine
Related Issue

Fixes #8100

Motivation and Context
NATS seems not to work with mdns
How Has This Been Tested?

run collabora & onlyoffice on private ocis instance
run the example locally

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[ ] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation ticket raised:

@individual-it thas can go into master, right?

@butonic yes, this applies to both master & stable-5. I've made a forward-port in #8173


[connectivity_for_web]  Crash when run or build in release mode

Hi. i have no idea why in debug it works ok . but when i build and or run in release, it gives out this js console error message
js_helper.dart:1348 Uncaught TypeError: J.aL(...).ga5P is not a function
http://localhost:7357/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_for_web-0.3.0/lib/src/network_information_api_connectivity_plugin.dart
so the function does not exist. im confused why on debug it works ok but does not in release.
yes there is a not in readme that not all browsers support it. but that it has a fallback and it doesny fall back on release because that error shows up.
please advise. thank you.

Code Sample
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// ignore_for_file: public_member_api_docs

import 'dart:async';
import 'dart:io';

import 'package:connectivity/connectivity.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

// Sets a platform override for desktop to avoid exceptions. See
// https://flutter.dev/desktop#target-platform-override for more info.
void _enablePlatformOverrideForDesktop() {
  if (!kIsWeb && (Platform.isWindows || Platform.isLinux)) {
    debugDefaultTargetPlatformOverride = TargetPlatform.fuchsia;
  }
}

void main() {
  _enablePlatformOverrideForDesktop();
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  String _connectionStatus = 'Unknown';
  final Connectivity _connectivity = Connectivity();
  StreamSubscription<ConnectivityResult> _connectivitySubscription;

  @override
  void initState() {
    super.initState();
    initConnectivity();
    _connectivitySubscription =
        _connectivity.onConnectivityChanged.listen(_updateConnectionStatus);
  }

  @override
  void dispose() {
    _connectivitySubscription.cancel();
    super.dispose();
  }

  // Platform messages are asynchronous, so we initialize in an async method.
  Future<void> initConnectivity() async {
    ConnectivityResult result;
    // Platform messages may fail, so we use a try/catch PlatformException.
    try {
      result = await _connectivity.checkConnectivity();
    } on PlatformException catch (e) {
      print(e.toString());
    }

    // If the widget was removed from the tree while the asynchronous platform
    // message was in flight, we want to discard the reply rather than calling
    // setState to update our non-existent appearance.
    if (!mounted) {
      return Future.value(null);
    }

    return _updateConnectionStatus(result);
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Connectivity example app'),
      ),
      body: Center(child: Text('Connection Status: $_connectionStatus')),
    );
  }

  Future<void> _updateConnectionStatus(ConnectivityResult result) async {
    switch (result) {
      case ConnectivityResult.wifi:
        String wifiName, wifiBSSID, wifiIP;

        try {
          if (!kIsWeb && Platform.isIOS) {
            LocationAuthorizationStatus status =
                await _connectivity.getLocationServiceAuthorization();
            if (status == LocationAuthorizationStatus.notDetermined) {
              status =
                  await _connectivity.requestLocationServiceAuthorization();
            }
            if (status == LocationAuthorizationStatus.authorizedAlways ||
                status == LocationAuthorizationStatus.authorizedWhenInUse) {
              wifiName = await _connectivity.getWifiName();
            } else {
              wifiName = await _connectivity.getWifiName();
            }
          } else {
            wifiName = await _connectivity.getWifiName();
          }
        } on PlatformException catch (e) {
          print(e.toString());
          wifiName = "Failed to get Wifi Name";
        }

        try {
          if (!kIsWeb && Platform.isIOS) {
            LocationAuthorizationStatus status =
                await _connectivity.getLocationServiceAuthorization();
            if (status == LocationAuthorizationStatus.notDetermined) {
              status =
                  await _connectivity.requestLocationServiceAuthorization();
            }
            if (status == LocationAuthorizationStatus.authorizedAlways ||
                status == LocationAuthorizationStatus.authorizedWhenInUse) {
              wifiBSSID = await _connectivity.getWifiBSSID();
            } else {
              wifiBSSID = await _connectivity.getWifiBSSID();
            }
          } else {
            wifiBSSID = await _connectivity.getWifiBSSID();
          }
        } on PlatformException catch (e) {
          print(e.toString());
          wifiBSSID = "Failed to get Wifi BSSID";
        }

        try {
          wifiIP = await _connectivity.getWifiIP();
        } on PlatformException catch (e) {
          print(e.toString());
          wifiIP = "Failed to get Wifi IP";
        }

        setState(() {
          _connectionStatus = '$result\n'
              'Wifi Name: $wifiName\n'
              'Wifi BSSID: $wifiBSSID\n'
              'Wifi IP: $wifiIP\n';
        });
        break;
      case ConnectivityResult.mobile:
      case ConnectivityResult.none:
        setState(() => _connectionStatus = result.toString());
        break;
      default:
        setState(() => _connectionStatus = 'Failed to get connectivity.');
        break;
    }
  }
}

  connectivity: ^0.4.9
  connectivity_for_web: ^0.3.0

zone.dart:1175 Uncaught TypeError: J.b4(...).gGl is not a function
    at Object.Sa (main.dart.js:3305)
    at network_information_api_connectivity_plugin.dart:16
    at OW.a (async_patch.dart:315)
    at OW.$2 (async_patch.dart:340)
    at Object.a4 (async_patch.dart:245)
    at Object.BB (main.dart:8)
    at js_helper.dart:2677
    at js_helper.dart:2677
    at dartProgram (js_helper.dart:2677)
    at js_helper.dart:2677

flutter doctor -v
[✓] Flutter (Channel master, 1.20.0-3.0.pre.130, on Mac OS X 10.15.5 19F101,
    locale en-GB)
    • Flutter version 1.20.0-3.0.pre.130 at /Users/taha/Code/flutter_master
    • Framework revision a74310242e (13 hours ago), 2020-07-05 14:58:01 -0400
    • Engine revision f8bbcc396b
    • Dart version 2.9.0 (build 2.9.0-20.0.dev c190fc3a31)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-30, build-tools 30.0.0
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.46.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.1

[✓] Connected device (2 available)
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome
      83.0.4103.116

• No issues found!

Exactly same issue, it happens on BETA and DEV channels.
No issues debugging the app, only happens on release mode.
Workaround:
dependency_overrides:
  connectivity: 0.4.8

funny why i never thought of downgrading in the meantime

if i use 0.4.8+6 , does it support web? i checked the change log and only 0.4.9 is mentioned supporting web.
do i have to explicitly include dependency for connectivity_for_web 0.2.0 in pubspec.yaml?

Web support isn't working properly. So, I believe if you need connectivity on your web version, you will have to wait or submit a PR. On my case, the only library I need that has this dependency is graphql_flutter, but it works ok without it.
And about the version, I think it is ok to use 0.4.8+6. Sorry, I was in a rush and didn't realize the build number.

thats ok. seems like ill have to wait for the 0.4.9 fix. 0.4.8+6 results in
some blank white page for me when flutter web is run.
On Tue, Jul 7, 2020 at 9:20 AM Rodrigo Boratto<EMAIL_ADDRESS>wrote:

Web support isn't working properly. So, I believe if you need connectivity
on your web version, you will have to wait or submit a PR. On my case, the
only library I need that has this dependency is graphql_flutter, but it
works ok without it.
And about the version, I think it is ok to use 0.4.8+6. Sorry, I was in a
rush and didn't realize the build number.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/60855#issuecomment-654543400,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA6FWDQ3NVBEEY3XVUHBUDTR2JZ5FANCNFSM4OQ243YQ
.

This needs attention, I am facing the same problem. Even if you add connectivity: ^0.4.9 to the pubspec.yaml without even importing/using it, The release build becomes error prone.

Some issue with release mode:
  connectivity: ^0.4.9   connectivity_for_web: ^0.3.0

Chrome:
Uncaught TypeError: J.ba(...).gaat is not a function   at Object.as3 (main.dart.js:4327)   at network_information_api_connectivity_plugin.dart:16   at anC.a (async_patch.dart:315)   at anC.$2 (async_patch.dart:340)   at Object.u (async_patch.dart:245)   at Object.Uj (main.dart:8)   at js_helper.dart:3246   at js_helper.dart:3246   at dartProgram (js_helper.dart:3246)   at js_helper.dart:3246

VS Code:
Error parsing request. Invalid argument (requestedUri): handlerPath "null" and url "null" must combine to equal requestedUri path "/C:/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_for_web-0.3.0/lib/src/network_information_api_connectivity_plugin.dart".: Instance of '_Uri' dart:isolate  _RawReceivePortImpl._handleMessage

Some issue with release mode too: connectivity: ^0.4.9 connectivity_for_web: ^0.3.0

This (catching an exception) fixes the issue. I only get this error when published, not on localhost:
connectivity_for_web/lib/src/network_information_api_connectivity_plugin.dart:
  /// A check to determine if this version of the plugin can be used.
  static bool isSupported() {
    try {
      return dom.navigator?.connection != null;
    } catch (_) {
      // Somehow when published this throws an exception:
      // NoSuchMethodError: method not found: 'ga5S' (J.a6(...).ga5S is not a function)
    }
    return false;
  }

Thanks for reporting this one! I'll work on this ASAP. Apologies for the breakage!

I'll publish the fix to pub.dev as soon as the post-submit checks pass:
https://github.com/flutter/plugins/runs/867167158

connectivity_for_web 0.3.1 is now published. This should resolve the issue.
Please reopen if it doesn't!

confirmed working.


Selection feedback is lost when modifying a property

Describe the Bug
Selection feedback is lost when modifying a property
Steps to Reproduce the Bug or Issue

select a node
notice the selection feedback on the node
modify a value in the property panel
--> the selection feedback is removed

Screenshots or Videos
https://github.com/KaotoIO/kaoto-next/assets/1105127/17ff738c-ea1d-4e27-99ea-d4f5988ef011
Platform

OS: Linux
Browser: Firefox
Version: main

might be a side-effect only of https://github.com/KaotoIO/kaoto-next/issues/213

This issue it's a byproduct of #213  but the root cause of it is #266.

Fixed with https://github.com/KaotoIO/kaoto-next/pull/325


Intended behavior simply doesn't happen... :-(

Hello. I type "b" followed by a space and some queries but I do no get bookmarks as results in the dropdown list.
This is what I see when I type simply "b " (b followed by a space):

Then, when I type "b conjur" for example, I see this (no bookmarks in the list):

Is this the expected behavior? I thought it would list bookmark-type items only...
BTW, if I simply type "conjur", on the other hand, I see this (bookmarks and other, non-bookmark items mixed):

That's weird! It works with my Firefox without any problems.
I have two questions:

What Firefox version do you have installed?
In what bookmark subfolder is the bookmark saved under?

Thank's for reporting.

Hello.

Firefox 63.0.3 64bit (in Windows 8.1).
I don't know how to answer "what subfolder". Each bookmark belongs to a
folder or subfolder. I have hundreds of bookmarks in dozens of folders and
subfolders organizing the whole thing.

Em seg, 26 de nov de 2018 às 14:05, Nils Albrecht<EMAIL_ADDRESS>escreveu:

That's weird! It works with my Firefox without any problems.
I have two questions:

What Firefox version do you have installed?
In what bookmark subfolder is the bookmark saved under?

Thank's for reporting.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nralbrecht/bookmark-search/issues/1#issuecomment-441717423,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABcUQ3AMlP-STdfInpitzmBUdSFJphJfks5uzB9agaJpZM4YxsL8
.


Is project alive?

It's not being kept in sync with any upstream repositories if that's what you mean. I still actively use it in a few projects though, and I'm not aware of any breaking issues. I'm happy to accept pull requests if you run into anything.


use setupRemixContext inside a default remix server

Hello,
is it possibile to use the setupRemixContext inside a standard remix server instead of using a custom one?
tx

Hey @eliawk! It's certainly possible to perform authentication that is similar to what setupRemixContext does using @remix-run/serve. However, setupRemixContext is designed to work with Express Middleware and getLoadContext -- neither of which are accessible to developers using @remix-run/serve. So you wouldn't be able to use that function in the exact same way. When you need more than what the standard Remix Server provides, the recommendation from the docs and from Discord seems to be to just use an Express server. But if you prefer not to do that, there is another alternative:
You can create a Higher Order Function (HOF) that accepts a server function (an action or a loader). This HOF would perform authentication based on the Request information. If authentication succeeds, it will pass the user data to the server function that it receives as an argument. If authentication fails, the HOC can redirect the user to the proper location. Below is some rough example code, but it is untested. The code below is only intended to get you started. (Feel free to ask questions if you run into trouble, though.)
// In `requestHelpers.ts`

import type { ActionFunction, LoaderFunction, LoaderFunctionArgs, ActionFunctionArgs } from "@remix-run/node";
import Session from "supertokens-node/recipe/session";
import { parse } from "cookie";
import { authCookieNames, createHeadersFromTokens } from "~/.server/supertokens/cookieHelpers";
import { commonRoutes } from "~/utils/constants";

type UserInfo = { id: string };

export function withAuthentication<
  T extends (
    user: UserInfo | undefined,
    args: LoaderFunctionArgs | ActionFunctionArgs,
  ) => ReturnType<LoaderFunction> | ReturnType<ActionFunction>,
>(
  serverFunction?: T,
): (requestData: Parameters<T>[1]) => Promise<ReturnType<T> extends Promise<infer U> ? U : ReturnType<T>> {
  return async (requestData) => {
    try {
      const cookies = parse(requestData.request.headers.get("Cookie") ?? "");
      const accessToken = cookies[authCookieNames.access] ?? "";
      const antiCsrfToken = cookies[authCookieNames.csrf];
      const session = await Session.getSessionWithoutRequestResponse(accessToken, antiCsrfToken);
      const userId = session.getUserId();

      type ServerFunctionReturnType = ReturnType<T> extends Promise<infer U> ? U : ReturnType<T>;
      const user = userId ? { id: userId } : undefined;
      return (serverFunction?.(user, requestData) ?? null) as ServerFunctionReturnType;
    } catch (error) {
      if (!Session.Error.isErrorFromSuperTokens(error)) {
        throw new Response("An unexpected error occurred", { status: 500 });
      }

      // URL Details
      const { request } = requestData;
      const url = new URL(request.url);
      const isDataRequest = url.searchParams.has("_data");
      if (isDataRequest) url.searchParams.delete("_data");

      const userNeedsSessionRefresh = error.type === Session.Error.TRY_REFRESH_TOKEN;
      const basePath = userNeedsSessionRefresh ? commonRoutes.refreshSession : commonRoutes.login;
      const returnUrl = encodeURI(`${url.pathname}${url.search}`);
      const redirectUrl = `${basePath}?returnUrl=${returnUrl}`;

      // Redirect the user to the proper auth page. Delete their tokens if they don't need to attempt a token refresh.
      const headers = userNeedsSessionRefresh ? new Headers() : createHeadersFromTokens({});
      headers.set(isDataRequest ? "x-remix-redirect" : "Location", redirectUrl);

      if (isDataRequest) throw new Response(null, { status: 204, headers });
      throw new Response(null, { status: userNeedsSessionRefresh ? 307 : 303, headers });
    }
  };
}

You could then use this HOF to add authentication to any server function
// In some route file ...

export const loader = withAuthentication((user, { request }) => {
  // ...
});

export const action = withAuthentication(async (user, { request }) => {
  // ...
});

If you want to protect a page that doesn't need to fetch any data, you can just call withAuthentication without any arguments.
export const loader = withAuthentication();

Note that you will still have to initialize SuperTokens in a central location to get this working, and that initialization should only happen once during the lifetime of the application. Additionally, you don't have to throw error Responses if you don't want to, though it throwing is recommended here.
Notice that there is no requestAllowed logic in this HOF (compared to setupRemixContext). This is a HOF that you'll need to use on every server function that you want to be authenticated. Therefore, any server function that isn't wrapped in this HOF will automatically be public.

Let me know if you have any additional questions.

Hey @eliawk, I haven't heard back from you in about 2 weeks, so I'm going to close the issue for now. Feel free to re-open it if you have any other problems or concerns. Thanks!


Gateway - make Earn page compatible with phones

See screenshot of non-ideal layout

Fixes as been done and looks like screen attached below.

Closing the issue as it has been already merged


readme: Payload Headers

Added documentation for the header field.
This was previously erroneously specified as string.

Thanks for the PR. I am kinda surprised we missed this.

No problem, thanks for quick pull

:+1:


Backup Failed Trigger should Emit a reason why

Feature Request
Feature Information:

The backup failed trigger emits 2 values, Id and Filename. This isn't that useful for a lot of people, maybe consider adding another value, Reason. Reason would be the exception message, and if you wanted to take it a step further could even offer the Stack as a emitted value too.
I confirm:

[x] that I have searched for an existing feature request matching the description.

This has been implemented for the next update, along with some extra information. Stack traces are not exposed this way, but for cases where the reason isn't well known it'll prompt you to check the logs.


No module named 'langchain_core' - Langchain in Vertex AI

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
import langchain
Error Message and Stack Trace (if applicable)
No module named 'langchain_core'
Description
Starting this morning we are getting different kind of errors while trying to use langchain in Vertex AI, not quite sure what is the root of problem, Google or Langchain.
System Info
Python 3.10.12

Hello! Could you confirm you have the dependency installed? In order to import things from langchain, you'll have to pip install langchain

oh actually I'm going to close this. This seems to be an issue in the hosted Google Vertex AI product, and not the open source library.
If you can reproduce this in a local environment, happy to take a look!

Thank you for your response, I installed it, now I'm getting the following error:
cannot import name 'create_model' from 'langchain_core_runnables.utils'
it happens when it tries to import the following:
from langchain.agents import AgentExecuter

Btw, we have been using langchain packages in Vertex AI and never had this issue before, (package not found error), could this be a bug in Vertex AI?

Could be! We don't have a package langchain_core_runnables (maybe this is the module within core langchain_core.runnables), and it should be AgentExecutor with an o instead
Would try to debug it with whichever infrastructure provider you're using!

Oh yes, sorry for typos, I am not able to use GitHub in my work laptop, so I wrote the errors myself, apparently there were some typos, :D

Hi @maryshgh, This most likely is an issue with the LangChain on VertexAI deployment. Can you ask this question in https://github.com/googleapis/python-aiplatform with the code snippet you are trying to run? Thanks!

@averikitsch thank you, I'll try that.


ssd1306: Support connecting SPI and I2C simultaneously

Support connecting different display for each SPI and I2C at the same time.
In a case like DTS below.
&spi1 {
        ssd1306_spi: ssd1306@0 {
		compatible = "solomon,ssd1306fb";
                ...
        };

};

&i2c0 {
        ssd1306_i2c: ssd1306@3c {
		compatible = "solomon,ssd1306fb";
		...
	};
};

In addition, I'm doing the necessary correspondence for connecting multiple devices.

@erwango @jfischer-no could you do another review pass once you have a chance?

@jfischer-no can you do another pass?

@jfischer-no can you do another pass?

I will look for my displays and test this PR ASAP

General higher level thought: the current approach for driver supporting multiple part numbers by redefining or defining DT_DRV_COMPAT conditionally does not feel very scalable. In Linux, where everything happens in runtime, there are these big compatible to id and then id to feature/quirk table: https://lxr.missinglinkelectronics.com/linux/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c#L39 https://lxr.missinglinkelectronics.com/linux/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c#L91. We may probably need something to close the gap down the road if we want to support more variants... Maybe @galak has some ideas already. :-)

What is in the way to do it? We also have examples in the tree, e.g. usb_dc_dw.c

@fabiobaltieri
Even it is not an essential solution, I clean up it so that undef is not used.
There are some drawbacks, but I think the macros that resolve devicetree work well currently and it is solid infrastructure.
I would like to follow the overall policy on this point.
BTW, https://github.com/zephyrproject-rtos/zephyr/issues/22941 Is this active? Should I better  to raise the issue?
@jfischer-no
I'm sorry it's so often.
Could you please take a look at it again?

@fabiobaltieri Even it is not an essential solution, I clean up it so that undef is not used.
There are some drawbacks, but I think the macros that resolve devicetree work well currently and it is solid infrastructure. I would like to follow the overall policy on this point.

Oh yeah, sorry I wasn't implying you should work on that here, just thinking that cases like these may benefit from something at device driver level. I like the change though, thanks.

@fabiobaltieri What is in the way to do it? We also have examples in the tree, e.g. usb_dc_dw.c

Hey only seen this now: yeah I guess it's one way of doing it but I'd say it does not scale as well compared to, for example, this: https://elixir.bootlin.com/linux/latest/source/drivers/gpio/gpio-pca953x.c#L1319

@erwango
Could you take look at please?

@erwango @mbolivar-ampere ping

What changed again?

@jfischer-no

What changed again?

Sinse Aug 9,
I fixed about pointed by @mbolivar-ampere https://github.com/zephyrproject-rtos/zephyr/pull/56887#pullrequestreview-1578986144
and I change to remove #undef DT_DRV_COMPAT line.
https://github.com/zephyrproject-rtos/zephyr/compare/382db6dd259f314d9527b2e25eedd2aa303a0c37..e4646cf81d7346a04b62e7497c8db786b5533297

@mbolivar-ampere
Could you take a look again, please?

@mbolivar-ampere
ping


NYX - Eiger incorporation

After the Eiger is installed on the beamline, it needs to be made available in LSDC.

Obviously, a detector is essential, and being able to collect data correctly will be important once the Eiger is installed.


Typing a keyword followed by space at start of another word deletes the preceding word when suggestions are triggered

Issue Description
When typing a keyword at the start of another word and then pressing the space bar, the preceding word gets deleted. This behavior seems to be triggered when the autocomplete suggestions pop up.
I've uninstalled all other extensions and reset the entire VScode configuration.

🎥 Video Recording Here! 🎥
Kooha-2023-06-19-02-45-00.webm

Steps to Reproduce

Open Visual Studio Code.
Enable the C# extension.
Create a new C# file or open an existing one.
Type a word, for example, exampleWord.
Place the cursor at the start of the word you just typed.
Begin typing a C# keyword such as bool.
Make sure the autocomplete suggestion popup appears.
Finish typing the word and press space bar

Expected Behavior
The keyword should be inserted at the cursor location followed by a space, without affecting the preceding word. For example, typing bool at the start of exampleWord should result in bool exampleWord.
Actual Behavior
The preceding word is deleted when the space bar is pressed after typing a keyword at the start of the word. Using the previous example, exampleWord is deleted and only bool   remains.
Logs
OmniSharp log
Nothing appears in OmniSharp log when the word is replaced.
C# log
Nothing appears in C# output when the word is replaced.
Environment information
VSCode version: 1.79.2
C# Extension: 1.25.9
Mono Information
        OmniSharp using mono: 6.12.0
Dotnet Information
.NET SDK:
 Version:   7.0.105
 Commit:    e1bc5e001c
Runtime Environment:
OS Name:     endeavouros
OS Version:
OS Platform: Linux
RID:         arch-x64
Base Path:   /usr/share/dotnet/sdk/7.0.105/
Host:
Version:      7.0.5
Architecture: x64
Commit:       8042d61b17
.NET SDKs installed:
6.0.118 [/usr/share/dotnet/sdk]
7.0.105 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 7.0.5 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.18 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.5 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
DOTNET_ROOT       [/usr/share/dotnet]
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download

Visual Studio Code Extensions

Extension
Author
Version

csharp
ms-dotnettools
1.25.9

vscode-neovim
asvetliakov
0.0.97

this also started recently for our team. i couldn't find any mention of this bug in the main vscode issues page, so i think this extension might be the source of it? my global "insert/replace" for suggestions is set to insert, so i don't think it's coming from that.

Same behavior for me, it's annoying...

Yes, just tested myself, same thing. Note: tested with Typescript in my project and it seems to be specific to C# extension/language


bind the goroutine pool with store and close on Close

Fix tidb CI

Signed-off-by: tiancaiamao<EMAIL_ADDRESS>

PTAL @sticnarf @hehechen


ExGaussian: lower limit of Tau is ~.005?

I noticed something quite odd which, if not a bug, should probably be documented.
The ExGaussian distribution behaves weirdly when Tau <= .005:
using Makie
using Distributions, SequentialSamplingModels

x = range(-0.1, 2, length=1000)
f = lines(x, pdf.(ExGaussian(0.5, 0.2, 0.05), x); color="red")
lines!(x, pdf.(ExGaussian(0.5, 0.2, 0.006), x); color="blue")
lines!(x, pdf.(ExGaussian(0.5, 0.2, 0.005), x); color="green", linewidth=6)
f

And basically shows all Nans when Tau = 0

The exponetial distribution is defined for tau > 0. You can see the problem here where 1 / tau.
The issue is numerical stability for tau <= .005. For example,
rt = .5
μ, σ, τ = 0.5, 0.2, 0.005
(0.5, 0.2, 0.005)

exp((μ - rt) / τ + (σ^2 / 2τ^2))

Which results in Inf because (μ - rt) / τ becomes large as the difference in the numerator increases.  The formulation of logpdf is more numerically stable:
julia> exp(logpdf(ExGaussian(0.5, 0.2, 0.005), 0.5))
1.9934670376605403

I will release a patch version which exponentiates logpdf. That should take care of most issues.

Version .11.5 should be available in about 20 minutes.
The plot looks correct.
using SequentialSamplingModels
using Plots

x = range(-0.1, 2, length=1000)
plot(x, pdf.(ExGaussian(0.5, 0.2, 0.05), x))
plot!(x, pdf.(ExGaussian(0.5, 0.2, 0.005), x))
savefig("example.png")

legend

legend

I do it for the children, but it turns out they don't care about SSMs.


Different height in select fields on Logs Page

Different height in select fields on Logs Page. Desktop.
38px instead of 42px

done


Clean miniconda dev container cannot install packages error 'NotWritableError: The current user does not have write permissions to a required path.'

Repo Steps

macOS Big Sur
CMD + Shift + P
Select 'Remote Containers: Add Development Container Conifguration'
Select Miniconda
Create new bash remote terminal
conda install jupyter

Just to add to this, I am getting this problem as well but with Laravel. I am trying to set up WWWGROUP and WWWUSER variables to dynamically fetch and persist in the env and the Dockerfile is unable to get them when passed via devcontainer.json through docker-compose.yml to Dockerfile.
I have tried everything containerEnv, remoteEnv, build.args but none pass the environment values down.
This is how my current setup looks like.
docker-compose.yml
# For more information: https://laravel.com/docs/sail
version: '3'
services:
    laravel.test:
        build:
            context: ./docker/dev/8.0
            dockerfile: Dockerfile
            args:
                WWWGROUP: '${WWWGROUP}'
        image: sail-8.0/app
        ports:
            - '${APP_PORT:-80}:80'
        environment:
            WWWUSER: '${WWWUSER}'
            LARAVEL_SAIL: 1
        volumes:
            - '.:/var/www/html'
        networks:
            - sail
        depends_on:
            - mysql
            # - pgsql
            - redis
            # - selenium
    # selenium:
    #     image: 'selenium/standalone-chrome'
    #     volumes:
    #         - '/dev/shm:/dev/shm'
    #     networks:
    #         - sail
    mysql:
        image: 'mysql:8.0'
        ports:
            - '${FORWARD_DB_PORT:-3306}:3306'
        environment:
            MYSQL_ROOT_PASSWORD: '${DB_PASSWORD}'
            MYSQL_DATABASE: '${DB_DATABASE}'
            MYSQL_USER: '${DB_USERNAME}'
            MYSQL_PASSWORD: '${DB_PASSWORD}'
            MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
        volumes:
            - 'sailmysql:/var/lib/mysql'
        networks:
            - sail
        healthcheck:
          test: ["CMD", "mysqladmin", "ping"]
#    pgsql:
#        image: postgres:13
#        ports:
#            - '${FORWARD_DB_PORT:-5432}:5432'
#        environment:
#            PGPASSWORD: '${DB_PASSWORD:-secret}'
#            POSTGRES_DB: '${DB_DATABASE}'
#            POSTGRES_USER: '${DB_USERNAME}'
#            POSTGRES_PASSWORD: '${DB_PASSWORD:-secret}'
#        volumes:
#            - 'sailpostgresql:/var/lib/postgresql/data'
#        networks:
#            - sail
#        healthcheck:
#          test: ["CMD", "pg_isready", "-q", "-d", "${DB_DATABASE}", "-U", "${DB_USERNAME}"]
    redis:
        image: 'redis:alpine'
        ports:
            - '${FORWARD_REDIS_PORT:-6379}:6379'
        volumes:
            - 'sailredis:/data'
        networks:
            - sail
        healthcheck:
          test: ["CMD", "redis-cli", "ping"]
    # memcached:
    #     image: 'memcached:alpine'
    #     ports:
    #         - '11211:11211'
    #     networks:
    #         - sail
    mailhog:
        image: 'mailhog/mailhog:latest'
        ports:
            - '${FORWARD_MAILHOG_PORT:-1025}:1025'
            - '${FORWARD_MAILHOG_DASHBOARD_PORT:-8025}:8025'
        networks:
            - sail
networks:
    sail:
        driver: bridge
volumes:
    sailmysql:
        driver: local
#    sailpostgresql:
#        driver: local
    sailredis:
        driver: local

Dockerfile
FROM ubuntu:20.04

ARG WWWGROUP

WORKDIR /var/www/html

ENV DEBIAN_FRONTEND noninteractive
ENV TZ=UTC

RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN apt-get update \
    && apt-get install -y gnupg gosu curl ca-certificates zip unzip git supervisor sqlite3 libcap2-bin libpng-dev python2 \
    && mkdir -p ~/.gnupg \
    && chmod 600 ~/.gnupg \
    && echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf \
    && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E5267A6C \
    && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C300EE8C \
    && echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu focal main" > /etc/apt/sources.list.d/ppa_ondrej_php.list \
    && apt-get update \
    && apt-get install -y php8.0-cli php8.0-dev \
       php8.0-pgsql php8.0-sqlite3 php8.0-gd \
       php8.0-curl php8.0-memcached \
       php8.0-imap php8.0-mysql php8.0-mbstring \
       php8.0-xml php8.0-zip php8.0-bcmath php8.0-soap \
       php8.0-intl php8.0-readline \
       php8.0-msgpack php8.0-igbinary php8.0-ldap \
       php8.0-redis \
    && php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer \
    && curl -sL https://deb.nodesource.com/setup_15.x | bash - \
    && apt-get install -y nodejs \
    && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
    && echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list \
    && apt-get update \
    && apt-get install -y yarn \
    && apt-get install -y mysql-client \
    && apt-get -y autoremove \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN setcap "cap_net_bind_service=+ep" /usr/bin/php8.0

RUN groupadd --force -g $WWWGROUP sail
RUN useradd -ms /bin/bash --no-user-group -g $WWWGROUP -u 1337 sail

COPY start-container /usr/local/bin/start-container
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY php.ini /etc/php/8.0/cli/conf.d/99-sail.ini
RUN chmod +x /usr/local/bin/start-container

EXPOSE 8000

ENTRYPOINT ["start-container"]

devcontainer.json
{
	"name": "Tailor Docs Dev Environment (VS Code)",

	"dockerComposeFile": "../docker-compose.yml",

	"service": "laravel.test",

	"initializeCommand": "./.devcontainer/init",

	"extensions": [
		"formulahendry.auto-close-tag",
		"eamodio.gitlens",
		"zignd.html-css-class-completion",
		"isudox.vscode-jetbrains-keybindings",
		"christian-kohler.path-intellisense",
		"octref.vetur",
		"dariofuzinato.vue-peek",
		"mikestead.dotenv"
	],

	"workspaceFolder": "/var/www/html",

	"settings": {
		"terminal.integrated.shell.linux": "/bin/bash"
	},

	"remoteEnv": {
		"WWWGROUP": "${WWWGROUP:-$(id -g)}",
		"WWWUSER": "${WWWUSER:-$UID}"
	}
}

Does this work if you use sudo conda install?

Hi. I had a similar issue with a different library (i.e. it doesn't matter if I'm trying to install jupyter or some other library), but it's effectively the same permissions issue mentioned above. I've pasted some commands I've tried below, but I'm not sure what to try next.
vscode ➜ /workspaces/MiniCondaTest $ conda install jupyter
Collecting package metadata (current_repodata.json): failed

NotWritableError: The current user does not have write permissions to a required path.
  path: /opt/conda/pkgs/urls.txt
  uid: 1000
  gid: 1000

If you feel that permissions on this path are set incorrectly, you can manually
change them by executing

  $ sudo chown 1000:1000 /opt/conda/pkgs/urls.txt

In general, it's not advisable to use 'sudo conda'.

vscode ➜ /workspaces/MiniCondaTest $ sudo chown 1000:1000 /opt/conda/pkgs/urls.txt
chown: cannot access '/opt/conda/pkgs/urls.txt': No such file or directory
vscode ➜ /workspaces/MiniCondaTest $ sudo conda intall jupyter
sudo: conda: command not found

Note that if I try to do the same thing, but remove the "remoteUser": "vscode" attribute in devcontainer.json (to run the devcontainer as a root user), then I can install jupyter as expected.
Having to switch between a root and non-root user just to install libraries seems like a bit of a hassle though. Ideally, it would be nice if I could install libraries as a non-root user. But, I'm not sure I'm knowledgeable enough about permissions to know the best way to do this. Does anyone know a good way to approach this?

The latest version of the miniconda and anaconda images should be fixed!


Add brew install gleam note

Relates to https://github.com/Homebrew/homebrew-core/pull/44466
The formula has been introduced into homebrew-core, so it would be nice to add instructions for using it. :)

Also keeping it up to date in this PR, https://github.com/Homebrew/homebrew-core/pull/44914. 😄


Bug: Authentik Integration

What happened?
Two different behaviors occur at the moment:

Unable to unlink authentik on a freshly created account
Setting an avatar on your Zipline account causes authentik to not function properly.

I am mentioning both in the same ticket because I'm unsure if these are related or different issues. They seem to merge into each other.

Unable to unlink authentik on a freshly created account

Integrate Authentik into your copy of Zipline, but do not link authentik to any accounts.
On the login page, click the button to sign in using Authentik.
You should be redirected back to Zipline under a new user.
Set a password for the account
Attempt to unlike Authentik and you will get the error below:

Avatars break authentik integration

Sign into a regular Zipline account with username / password, no authentik linked.
Go to the user settings, and upload a new avatar
Go down and click the button to link Authentik.
After going through the authentik process, you'll be redirected to an api page error:

"Cant link account, already linked with this provider"

Go back to the Zipline user settings page, and the button will still say "Unlink Authentik", even though it errored out.

Sign-In Symptoms:

(With avatar): If you link authentik and sign completely out of Zipline, and try to sign back in using Authentik, you will get the error:

Internal Server Error

(Without avatar): Signing out and back in with Authentik works fine.

Here are some screenshots.
This gif is of it failing. I have an avatar set, and no account is currently associated to that Authentik account I'm trying to link:

The odd thing though, is that if I remove my avatar, it works. In this gif, I remove my avatar and then try to link Authentik with my account:

If I remove the avatar, add my Authentik account, and then sign completely out and sign back in using Authentik, it works perfect.
If I add a new avatar, and then sign out and attempt to sign back in using Authentik, I get a blank page with Internal Server Error.

Here is a gif of me linking Authentik to my Zipline account, with an avatar set, and trying to sign in using Authentik:

And this is a gif of me removing the avatar from my account and then attempting to sign in:

Version
other (provide version in additional info)
What browser(s) are you seeing the problem on?

Firefox (latest)
Chrome (latest)

Zipline Logs
Typical logs, no errors:
tasks::deletefiles] found 0 expired files files=[]
tasks::clearinvites] found 0 expired invites files=[]
tasks::clearinvites] found 0 max used invites files=[]
tasks::maxviews] found 0 expired files files=[]
tasks::maxviews] found 0 expired urls dests=[]
tasks::metrics] created metric id="cm1o3x8yq00xlmvlx6f7a27ea" metric={"files":1,"urls":1,"users":1,"storage":35781,"fileViews":1,"urlViews":0,"filesUsers":[{"username":"Test","sum":1,"storage":35781,"views":1}],"urlsUsers":[{"username":"Test","sum":1,"views":0}],"types":[{"type":"image/png","sum":1}]}
tasks::deletefiles] found 0 expired files files=[]
tasks::maxviews] found 0 expired files files=[]
tasks::clearinvites] found 0 expired invites files=[]
tasks::maxviews] found 0 expired urls dests=[]
tasks::clearinvites] found 0 max used invites files=[]
tasks::metrics] created metric id="cm1o3xts9000mmvlxhacfe3ac" metric={"files":1,"urls":1,"users":1,"storage":35781,"fileViews":1,"urlViews":0,"filesUsers":[{"username":"Test","sum":1,"storage":35781,"views":1}],"urlsUsers":[{"username":"Test","sum":1,"views":0}],"types":[{"type":"image/png","sum":1}]}

Browser Logs
Normal browser dev prints, no errors.
Ruleset ignored due to bad selector. 0807c480506a71ea.css:11:126856
Expected declaration but found ‘@mixin’.  Skipped to next declaration. 0807c480506a71ea.css:59:3163
Expected declaration but found ‘@mixin’.  Skipped to next declaration. 0807c480506a71ea.css:59:3338
Expected declaration but found ‘@mixin’.  Skipped to next declaration.

Additional Info
Using v4 of Zipline.
Latest version of Authentik.

Hey @Aetherinox sorry to ask here. Can you tell me please which Authentik settings you have used? I am getting the 500 error without any avatar :(

It's cool, ask whatever.
You mean in regards to the application / provider / etc?
Application Tab:

Provider Tab

Outposts
You can skip this since this is an oAuth app.

Hmm I have them and still get 500. No idea what is wrong.

May be something the dev has to mess with. When I added Authentik, I didn't do anything special. I had Authentik pre-set up prior to today's patch, so I just updated and clicked the button.
You getting any type of error? In the docker container, authentik logs, etc. Sometimes 500s can be a permission issue.

Unfortunately no. Authentik log says login success, other than this I only see the 500 error.

So I added CORE_RETURN_HTTP, and manually changed the redirect to https. Seems it does not like that:
The request fails due to a missing, invalid, or mismatching redirection URI (redirect_uri).
I am also using traefik
CUSTOM REQUEST HEADERS
X-Forwarded-Proto: https
CUSTOM RESPONSE HEADERS
X-Forwarded-Proto: https
X-Robots-Tag: none,noarchive,nosnippet,notranslate,noimageindex
server:
HOSTS PROXY HEADERS
X-Forwarded-Host
SSL PROXY HEADERS
https
STS SECONDS
63072000
STS INCLUDE SUBDOMAINS
True
STS PRELOAD
True
FORCE STS HEADER
True
CONTENT TYPE NOSNIFF
True
BROWSER XSS FILTER
True
REFERRER POLICY
strict-origin-when-cross-origin

Seems like these issues were caused by some oversights after implementing sessions. After fixing sessions, it seems to be working perfectly fine!
Another note: I have renamed everything from authentik to oidc, so env vars like OAUTH_AUTHENTIK_X are now OAUTH_OIDC_X.
https://github.com/diced/zipline/commit/67a7d44198c306e935f2a74c0ef7ecd552b15a8d

So this one is a bit weird:
This gif is about 31 seconds in duration. I haven't even typed in my credentials yet and I noticed the button glitches out:

Yeah time the button blinks in the browser dev console, I see:
XHRGET
https://share.domain.com/api/user
[HTTP/3 401  155ms]

XHRGET
https://share.domain.com/api/user
[HTTP/3 401  61ms]

XHRGET
https://share.domain.com/api/user
[HTTP/3 401  63ms]

When I actually click the login button, I get a 500:
{"statusCode":500,"code":"P2022","error":"Internal Server Error","message":"\nInvalid `prisma.user.findUnique()` invocation:\n\n\nThe column `User.sessions` does not exist in the current database."}

Returning to the old version and things work again.
Tried the OCID button, and I get:

No changes made.
Going to test more

This gif is about 31 seconds in duration. I haven't even typed in my credentials yet and I noticed the button glitches out:

This is intended behavior (though i dont know why its doing it that frequent..), it just refetches every once in a while to check if you are logged in, and if you are it auto redirects to /dashboard.

When I actually click the login button, I get a 500:

This is because I made some changes to the database schema, so you have to run pnpm db:prototype (similar to how you first ran v4, just do the same steps!). sorry for not including this in my comment :)

Tried the OCID button, and I get:

You have to go into authentik, and edit provider, then look at the redirect uris and change the one that has https://domain.com/api/oauth/authentik to have oidc instead of authentik at the end.

I also made sure to change the env vars from AUTHENTIK_ to OCID_

In the screenshot you have OIDC but you typed OCID, so make sure all your variables are spelled correctly (trust me i messed this up too, idk why oidc is hard to type lol)
anyway, I think that covered everything here, lmk if you have any issues with syncing the db - if you have discord feel free to join too if im not available here

Appreciate the info. I'll go through and do all these steps.

https://domain.com/api/oauth/authentik to have oidc instead of authentik at the end.
I feel dumb for that one, should have thought about it earlier today. Brain is overloaded.

Thanks again.

One more thing to note, I found time to try this out. When pnpm db is ran, I get
✔ Do you want to ignore the warning(s)? … yes
Error: ERROR: invalid input value for enum "OAuthProviderType_new": "AUTHENTIK"
   0: sql_schema_connector::apply_migration::migration_step
           with step=AlterEnum(AlterEnum { id: MigrationPair { previous: EnumId(1), next: EnumId(2) }, created_variants: ["OIDC"], dropped_variants: ["AUTHENTIK"], previous_usages_as_default: [] })
             at schema-engine/connectors/sql-schema-connector/src/apply_migration.rs:21
   1: sql_schema_connector::apply_migration::apply_migration
             at schema-engine/connectors/sql-schema-connector/src/apply_migration.rs:10
   2: schema_core::state::SchemaPush
             at schema-engine/core/src/state.rs:436

 ELIFECYCLE  Command failed with exit code 1.

Just an update.
I decided once I got free time, I'd just wipe the database folder, and start a fresh install. After I did a fresh install and tried Authentik again, it worked. I also noticed that the login button started doing that periodic flashing thing. So it may just have been a migration issue.

Installing the beta is a two part task (and I'm putting this here in case anyone else needs help).
Once the container is started, you have to run the following on the PostgreSQL database:
DO
$$
DECLARE
    r RECORD;
BEGIN
    FOR r IN (SELECT tablename FROM pg_tables WHERE schemaname = 'public') LOOP
        EXECUTE 'DROP TABLE IF EXISTS ' || quote_ident(r.tablename) || ' CASCADE';
    END LOOP;
END
$$;

Afterwards, then run
pnpm db:prototype

Then it should start up fine.

I'd just wipe the database, and start a fresh install

yea unfortunately this is usually the best way to fix database issues while v4 is in development, since I don't tag releases on github I'm unable to provide how to update without needing to do so, but I do do this in the discord server if you are able to join. it's basically where anything v4 related is talked about, bugs are just reported here for my sake so I don't forget about them.
hopefully there aren't much db changes anymore since we're nearing the final stages of v4

Sounds good. Yeah I'm not using v4 as a perm solution yet until it releases. I don't want to start uploading a bunch of images, and then I need to wipe the DB, so for now I'm just testing it.
But v4 definitely looks good. I've liked it so far.
I'm actually in the discord. That's how I found the database query above. It was posted by another user in the discord.


Missing icon classes for buttons

I followed the instructions on buttons page and downloaded the zipped CSS file, however it doesn't contain the animation classes like ld-ring or ld-spin, which appear to be on the styl files but not on the distributed CSS.
Also worth noting that stylus files located in src folder are not compatible with any official compiler, and aren't compatible with VueJS CLI.
CSS used: https://github.com/loadingio/ldbutton/releases/latest/download/ldbtn.min.css

Hi @sebolio
Did you include the regular loading.css?
<EMAIL_ADDRESS>You need the loading.css cause it contains the loading icons
Source: https://loading.io/animation/

yes and sorry for this confusion; I think additional information should be added in the sample code section inside README about loading.css to make it more clear for users; will keep this issue opened until we update the doc. :)

it's been 3 years

We have made sure that both README and https://loading.io/button/ and confirmed that there are information about loading.css; additionally a note is added in the usage section of the online document.
To minimize confusion, I think it may be good to add a minimal set of loader directly in ldbutton, however I think we can open another issue to discuss this if needed, so I'll close this issue for now.


Elevate: Clickjack protection blocks access to Salesforce.org Elevate in Gift Entry form

Issue
When "Enable clickjack protection for customer Visualforce pages with headers disabled" is selected, the Credit Card fields for submitting payments to Elevate from the Gift Entry form will not load on the Gift Entry Form.
Steps to Reproduce

In session settings, click the checkbox next to "Enable clickjack protection for customer Visualforce pages with headers disabled" and save:

On a Gift Form with the Salesforce.org Elevate bundle included, the credit card fields fail to load and display an infinite spinner:

Workaround

Remove the "Enable clickjack protection for customer Visualforce pages with headers disabled"  setting:

Credit card fields load on Gift Entry form:

Closing this issue because clickjack is working as intended. Workaround for this limitation: https://powerofus.force.com/s/article/EL-Troubleshooting#ariaid-title2


StorageServiceProperties is null when it shouldn't be

This was found with version 1.4.0 and 1.4.1 of the Storage Explorer. When trying to delete a blob nothing happens (this does however work with the .net client since my webjobs are running just fine).
More discussion on this can be found in the following issues
https://github.com/Microsoft/AzureStorageExplorer/issues/60#issuecomment-417809216
https://github.com/Azure/azure-storage-node/issues/511

This is now resolved in the dev branch...
The next release should not be next week.

Close this for legacy Azurite V2. Please use Azurite V3.


Undefined error occurred

I've cloned the module in my magic mirror. It starts with no errors, but if i open the inspect window there are multiple errors like this: "Undefined error occurred", and annyang keep continuing log restart and stop.
Can you give more details about this error?
P.S. i attach an image with the error

Do you happen to know what kind of Hardware is needed to run this module on Raspberry Pi 3?


Multiple Keys on View

This is duplicate one from http://stackoverflow.com/questions/31288941/query-multiple-keys-in-couchbase-lite-view, I would like to filter the documents based on two key values. There is way to acheive this in Couchbase server through the Java SDK by using Complex Key. But i could not see anything like Complex key in Couhbase Lite Android.
{     "type": "card",     "userId": "u100",     "cardType": "debit" }
I want to filter the documents by userId and cardType
This is my view,
cardsByTypeView.setMap(new Mapper() {
    @Override
    public void map(Map<String, Object> document, Emitter emitter) {
        if (document.get("type").toString().equals("card")) {
            List<Object> keys = new ArrayList<Object>();
            keys.add(document.get("userId"));
            keys.add(document.get("cardType"));
            emitter.emit(keys, document);
        }
    }
}, "1");

Query orderedQuery = cardsByTypeView.createQuery();
List<Object> keys = new ArrayList<Object>();
keys.add("u100");
keys.add("debit");
orderedQuery.setKeys(keys);

But it did not get result. Is there any examples to get it works? Should i use emit two time like
cardsByTypeView.setMap(new Mapper() {
    @Override
    public void map(Map<String, Object> document, Emitter emitter) {
        if (document.get("type").toString().equals("card")) {
            emitter.emit(document.get("userId"), document);
            emitter.emit(document.get("cardType"), document);
        }
    }
}, "1");

Just i found this here https://gist.github.com/mikekaraa/b8c29721de3077bd8630

Hi @sivailango,
setKeys(keys) each key should match for each emit.
Could you please try following codes?
Query orderedQuery = cardsByTypeView.createQuery();
List<Object> keys = new ArrayList<Object>();
List<Object> key = new ArrayList<Object>();
key.add("u100");
key.add("debit");
keys.add(key);
orderedQuery.setKeys(keys);

Thanks!

@hideki Great it works, it should be documented. Another question, Can i add startKey in it?

Another question, Can i add startKey in it?

Yes, you can.

Can you add a simple snippet? It would be great.

Hi @sivailango,
Can you find the startKey query example from following unit tests?
https://github.com/couchbase/couchbase-lite-android/blob/master/src/androidTest/java/com/couchbase/lite/ApiTest.java
https://github.com/couchbase/couchbase-lite-android/blob/master/src/androidTest/java/com/couchbase/lite/ViewsTest.java
Thanks!

Hi, I have as scenario below, words 1~3 are emitted
"word1": "apple", "word2": "orange", "word2": "grapes"
search term: orange;
I want my app to search each "word" for the term orange and return documents where one or more of the keys contain the search word, how do i go about implementing this on couchbase android?
thanks in advance


Yet another refactor

Coverage increased (+0.002%) to 98.686% when pulling bc2f929a6433bdf9b5510997ec5819485c8b4506 on chore/refactor into a49f071dca3491e0204f12edddfb2dddded7433a on master.

Coverage increased (+0.002%) to 98.686% when pulling bc2f929a6433bdf9b5510997ec5819485c8b4506 on chore/refactor into a49f071dca3491e0204f12edddfb2dddded7433a on master.

Coverage increased (+0.002%) to 98.686% when pulling bc2f929a6433bdf9b5510997ec5819485c8b4506 on chore/refactor into a49f071dca3491e0204f12edddfb2dddded7433a on master.

Coverage increased (+0.002%) to 98.686% when pulling bc2f929a6433bdf9b5510997ec5819485c8b4506 on chore/refactor into a49f071dca3491e0204f12edddfb2dddded7433a on master.

Coverage increased (+0.002%) to 98.686% when pulling bc2f929a6433bdf9b5510997ec5819485c8b4506 on chore/refactor into a49f071dca3491e0204f12edddfb2dddded7433a on master.

Coverage increased (+0.002%) to 98.686% when pulling bc2f929a6433bdf9b5510997ec5819485c8b4506 on chore/refactor into a49f071dca3491e0204f12edddfb2dddded7433a on master.

Coverage increased (+0.002%) to 98.686% when pulling bc2f929a6433bdf9b5510997ec5819485c8b4506 on chore/refactor into a49f071dca3491e0204f12edddfb2dddded7433a on master.

Coverage increased (+0.002%) to 98.686% when pulling bc2f929a6433bdf9b5510997ec5819485c8b4506 on chore/refactor into a49f071dca3491e0204f12edddfb2dddded7433a on master.

Coverage increased (+0.002%) to 98.686% when pulling bc2f929a6433bdf9b5510997ec5819485c8b4506 on chore/refactor into a49f071dca3491e0204f12edddfb2dddded7433a on master.

Coverage increased (+0.002%) to 98.686% when pulling bc2f929a6433bdf9b5510997ec5819485c8b4506 on chore/refactor into a49f071dca3491e0204f12edddfb2dddded7433a on master.


cmd/compile: compiler built with PGO crashes occasionally on ppc64{le}

#!watchflakes
default <- goarch ~ `ppc64` && date != "" && date > "2023-05-22"

https://go.dev/cl/495596 added a default.pgo profile for cmd/compile, enabling a PGO build of the compiler (as long as -pgo=none is not set explicitly).
This caused a variety of crashes in the compiler on ppc64{le} builders:
2023-05-18T16:55:07-88f89d8/linux-ppc64le-power9osu
2023-05-18T13:41:27-33a601b/aix-ppc64
2023-05-18T12:52:14-7b0835d/aix-ppc64
2023-05-18T10:23:17-75add1c/aix-ppc64
2023-05-18T09:16:07-774f602/linux-ppc64-sid-power10
2023-05-18T09:16:07-774f602/linux-ppc64le-buildlet
2023-05-18T09:15:25-27906bb/aix-ppc64
2023-05-18T09:15:25-27906bb/linux-ppc64-sid-power10
2023-05-18T01:40:37-6ed8474/linux-ppc64-sid-buildlet
2023-05-18T01:40:37-6ed8474/linux-ppc64-sid-power10
2023-05-18T00:35:53-956d31e/linux-ppc64le-buildlet
2023-05-17T22:11:31-0b86a04/linux-ppc64le-buildlet
2023-05-17T21:53:11-c426c87/linux-ppc64-sid-buildlet
2023-05-17T21:53:11-c426c87/linux-ppc64le-power10osu
2023-05-17T21:44:30-2693ade/linux-ppc64-sid-power10
That CL also caused #60263. Since it caused several issues, the CL was reverted in https://go.dev/cl/496185. #60263 has since been fixed.
Given these failures are all on ppc64{le}, @dr2chase and I suspect that they are due to a bad ppc64-specific optimization (SSA rule, e.g.) that is tickled by the additional inlining caused by PGO.
I have had some success reproducing these crashes. Running all.bash in a loop on three linux-ppc64-sid-power10 builders concurrently with GOGC=5 usually gets me a failure in <30 minutes. Not stellar, but I think workable.
We should then be able to bisect down to a bad function with GOSSAHASH applied in inlineCostOK to enable/disable PGO-based inlining. (Also set -d=pgodevirtualize=0 to disable PGO-based devirtualization, which was submitted in https://go.dev/cl/492436, after the bad CL above was reverted).
Given that there is a path forward to debugging ppc64, and we'd like more soak time on the primary ports, I intend to resubmit https://go.dev/cl/495596, which will make ppc64 flaky until this issue is resolved. (GOARCH=ppc64{le} could also temporarily change the default of -pgo from auto to none if necessary).
cc @golang/ppc64 @dr2chase @aclements @cherrymui

We have done some experimenting with this. I found that if we build the default.pgo file natively instead of using the one built on amd64 we are not able to get the problem to occur. When using the default pgo file built on amd64 more inlining happens within cmd/compile/internal/ssagen.(*state).stmt and according to the stacktraces that seems like where many of the problems occur.
I was going to attempt to force more aggressive inlining and see if that forces the problem.

@laboger
PROGRESS!
I ran a binary search on the flake, and isolated it to a single PGO inline.
you can compare two versions of ssa.html with (full recipe):
First checkout experiment CL, build a known-good (no PGO-inlining) compiler, and save it:
cd whatever/go/src
git fetch https://go.googlesource.com/go refs/changes/57/497557/1 && git checkout -b change-497557 FETCH_HEAD
GOCOMPILEDEBUG=gossahash=10101010101010110101001011 ./make.bash
go install golang.org/x/tools/cmd/toolstash@latest
toolstash save

Then you can build a bad compiler, or a good compiler, with output to a nearby directory (../bad or ../good):
GOSSADIR=`pwd`/../bad  GOSSAFUNC='cmd/compile/internal/ssa.(*expandState).rewriteSelect' GOCOMPILEDEBUG=gossahash=v1100101001011 toolstash go install cmd/compile

GOSSADIR=`pwd`/../good  GOSSAFUNC='cmd/compile/internal/ssa.(*expandState).rewriteSelect' GOCOMPILEDEBUG=gossahash=10101010101010110101001011 toolstash go install cmd/compile

Note that gossahash=10101010101010110101001011 matches nothing, but is quieter than n which logs a lot about what it isn't doing.  When you build the bad compiler with the command line above, it should print:
# cmd/compile/internal/ssa
cmd/compile/internal/ssa/expand_calls.go:550:22 [bisect-match 0xa6214988bb18594b]
gossahash triggered cmd/compile/internal/ssa/expand_calls.go:550:22<PHONE_NUMBER>01100101001011
dumped SSA to ../bad/cmd/compile/internal/ssa.(*expandState).rewriteSelect.html

I have not had a chance to dig into this yet, it seems likely that you might be able to make faster progress than me, unless something obvious leaps out at me.

@mknyszek suggest turning off async preemption, and so far we are almost an hour in with no failure.

It's at 100 minutes, still running, I will leave it running.

6 hours, no failures.  Looks like there's an instruction sequence in that code that should not be preempted.

I can get it to fail pretty consistently a few times while running index0.go this way:
cd cmd/internal/testdir
GOMAXPROCS=4 go test -test.run=Test/index0.go -test.count=100
...

FAIL: Test (0.04s)
    --- FAIL: Test/index0.go (0.71s)
        testdir_test.go:132: exit status 1
            # command-line-arguments
            panic: runtime error: index out of range [8484704] with length 4028

            goroutine 472 [running]:
            cmd/internal/src.(*PosTable).Pos(...)
            	/home/boger/golang/base/go/src/cmd/internal/src/xpos.go:153
            cmd/internal/obj.(*Link).InnermostPos(...)
            	/home/boger/golang/base/go/src/cmd/internal/obj/inl.go:124
            cmd/internal/obj.(*Link).OutermostPos(0x10?, {0x56800?, 0xc0?})
            	/home/boger/golang/base/go/src/cmd/internal/obj/inl.go:105 +0x140
            cmd/compile/internal/base.FmtPos({0x11?, 0x0?})
            	/home/boger/golang/base/go/src/cmd/compile/internal/base/print.go:66 +0x50
            cmd/compile/internal/base.FatalfAt({0x9ad2e0?, 0xc0?}, {0xc0009ad2b8, 0x17}, {0xc0010c5260, 0x2, 0x2})
            	/home/boger/golang/base/go/src/cmd/compile/internal/base/print.go:218 +0xa8
            cmd/compile/internal/base.Fatalf(...)
            	/home/boger/golang/base/go/src/cmd/compile/internal/base/print.go:199
            cmd/compile/internal/ssagen.(*ssafn).Fatalf(0x665ad4?, {0x6?, 0x7f01?}, {0x96cbde, 0x11}, {0xc00116f5b0, 0x1, 0xc000817701?})
            	/home/boger/golang/base/go/src/cmd/compile/internal/ssagen/ssa.go:7986 +0x1a0
            cmd/compile/internal/ssagen.(*state).Fatalf(0xc000c1eb00?, {0x96cbde?, 0x104cb48?}, {0xc00116f5b0?, 0x42604?, 0x0?})
            	/home/boger/golang/base/go/src/cmd/compile/internal/ssagen/ssa.go:932 +0xb8
            cmd/compile/internal/ssagen.(*state).stmt(0xc000c1eb00, {0xacf3a8, 0xc000be1c98?})
            	/home/boger/golang/base/go/src/cmd/compile/internal/ssagen/ssa.go:2002 +0x2998
            cmd/compile/internal/ssagen.(*state).stmtList(...)
            	/home/boger/golang/base/go/src/cmd/compile/internal/ssagen/ssa.go:1418
            cmd/compile/internal/ssagen.buildssa(0xc002ee8840, 0x1)
            	/home/boger/golang/base/go/src/cmd/compile/internal/ssagen/ssa.go:548 +0x24d0
            cmd/compile/internal/ssagen.Compile(0xc002ee8840, 0x0?)
            	/home/boger/golang/base/go/src/cmd/compile/internal/ssagen/pgen.go:187 +0x48
            cmd/compile/internal/gc.compileFunctions.func5.1(0x0?)
            	/home/boger/golang/base/go/src/cmd/compile/internal/gc/compile.go:184 +0x4c
            cmd/compile/internal/gc.compileFunctions.func3.1()
            	/home/boger/golang/base/go/src/cmd/compile/internal/gc/compile.go:166 +0x48
            created by cmd/compile/internal/gc.compileFunctions.func3 in goroutine 10
            	/home/boger/golang/base/go/src/cmd/compile/internal/gc/compile.go:165 +0x20c

FAIL
exit status 1

It only fails if I set GOMAXPROCS=4, which is the number of processors available on the OSU builders.
I also suspected preemption because of the intermittent nature of the failure and the fact that some of the registers have to be bad some of the time, but this also fails if I turn off async preemption.
My other suspicion is inlining, and in particular in this case there is some recursion in the stmt, stmtList functions (since they appear in stacks in so many of the failures) along with being inlined. I don't know how to just force more aggressive inlining, I was thinking it was the -l option but I don't see many additional inlined functions when I set this. Maybe there is another way, or PGO just does more inlining than normally and that hasn't been tested very well on Power. I did try setting some //go:noinline directives before some suspicious functions inlined by stmt or stmtList but that caused the failures to appear in different places.
Because of the random nature of the failures, my next theory is data corruption and in a way where it doesn't matter very often, probably on the stack. That's as far as I got.

For better reproducibility in the future, use -trimpath with gossahash:
GOCOMPILEDEBUG=gossahash=v100010110000011001010011 GOARCH=ppc64le GOOS=linux go build -trimpath -o ./compile.ppc64le cmd/compile
# cmd/compile/internal/ssa
cmd/compile/internal/ssa/expand_calls.go:550:22 [bisect-match 0xe94438dd7b8b0653]
gossahash triggered cmd/compile/internal/ssa/expand_calls.go:550:22<PHONE_NUMBER>00011001010011

I'll try to find some way to make this the default for gossahash; this was explicitly NOT chosen for the other flags.

We've realized that the gossahash is using the full absolute path in the hash input, so it probably only works on @dr2chase's machine.
I wrote https://go.dev/cl/499217 to hard-code the bad position check. Enable with -gcflags=all=-d=ppc64bad=1 to get a bad binary.

I'm setting release blocker on this issue only to indicate that we should at least disable PGO on ppc64 before the RC, if we can't figure out the issue and/or solve it before then.
I think it would be worthwhile doing this ASAP, just because we're not explicitly relying on the builders to gather additional data anymore.

Neither 4406e8ef nor d59926ec include the fix commit, so those flakes are okay.

The new failure is unrelated.

Removed from the "Teat Flakes" project so watchflakes will not look at this. It's been long enough so I think we're confident that the original issue is fixed.

Bummer. Sorry about that. Thanks for the fix.


Equator

Implement equator.
We need to know distance from equator. Distance from equator will be used in determining temperature among other things. It will be central for the whole climate based biomes along with height.

Done


Add a "drop" option to squeeze

If True, squeezed dimensions should be dropped from the resulting object (instead of being retained as scalar)

Not sure if it's worth a separate feature request, but it'd be great to have a drop option in .isel() as well. For example:
>>> ds
<xarray.Dataset>
Dimensions:  (lat: 360, lon: 720, time: 2928)
Coordinates:
  * lon      (lon) float64 0.25 0.75 1.25 1.75 2.25 2.75 3.25 3.75 4.25 4.75 ...
  * lat      (lat) float64 -89.75 -89.25 -88.75 -88.25 -87.75 -87.25 -86.75 ...
  * time     (time) datetime64[ns] 2012-01-01 2012-01-01T03:00:00 ...
Data variables:
    dswrf    (time, lat, lon) float64 446.5 444.9 445.3 447.8 452.4 456.3 ...

>>> ds.isel(lat=0, lon=0, drop=True)
<xarray.Dataset>
Dimensions:  (time: 2928)
Coordinates:
  * time     (time) datetime64[ns] 2012-01-01 2012-01-01T03:00:00 ...
Data variables:
    dswrf    (time) float64 446.5 444.9 445.3 447.8 452.4 456.3 ...

This would be useful for making .to_dataframe() more efficient, too, I suspect, since I have to currently do forcing.isel(lat=0, lon=0).to_dataframe()[['dswrf']] to remove the  (constant) lat/lon data from the dataframe.

@naught101 Yes, I think that would be useful.

Awesome, thanks shoyer! :)


image substitution via templating

Description

Add a check to fix a bug when the yaml file has a field named image that is not a string
Add image substitution via templating. This substitution is more flexible and will work without for all custom resource definition.

Related Issue

Motivation and Context

How Has This Been Tested?

Types of changes

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

Checklist:

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

Updated README.


Add report

This is a first version of the report.
@mkoehnenlmu, some of the sections concern the unit tests and other things that you were mainly concerned with. Could you fill those out and have a general look at what I wrote. Feel free to correct or add anything.

Merging a first version to be on the safe side


bump level of graphmetrics

Signed-off-by: Toby Corbin<EMAIL_ADDRESS>graphmetrics has been updated under https://github.com/RuntimeTools/graphmetrics/pull/59 and as such, the level of graphmetrics we use in javametrics needs to be updated to pull in this change

Codecov Report

Merging #107 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #107   +/-   ##
=========================================
  Coverage     61.39%   61.39%
  Complexity      167      167
=========================================
  Files            26       26
  Lines           992      992
  Branches         81       81
=========================================
  Hits            609      609
  Misses          356      356
  Partials         27       27

Continue to review full report at Codecov.

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


Map: Draw tile spritesheet onto window

Produce:

[ ] A class named MapLoader with the following methods

loadMap(filePath)
draw(window) // note, we should draw map only once, might need a boolean flag

[ ] Map data specification (I'll elaborate this below)

Links to #16

Very good article you have there, I like the flyweight idea.

Splitting task into smaller tasks:

[ ] Create Base map class
[ ] Draw tile sprites onto screen using map class
[ ] Base sprite type enum
[ ] Set up observer system
[ ] Set up contact collision system (subclass of observer)
[ ] Draw tile sprites onto screen using a file with columns: |TILE|ID|x|y|layer|solid|
[ ] Implement collision behaver based on tile sprite solidness.


Getting error "  CData section too big found, line 357183, column 7 (TESTS-TestSuites.xml, line 357183)"

I'm using github action "EnricoMi/publish-unit-test-result-action/composite@v2" to publish test results, but getting error "CData section too big found, line 357183, column 7 (TESTS-TestSuites.xml, line 357183)". Any workaround this?

Try large_files: true.

Thanks!! It Worked.


Installation on IspConfig webspace

Hi, first of all thanks for the wiki. I just tried to install it but it fails.
I am getting the Error 404 Not found after i turned on short_open_tag = On.
I am using ISPConfig to host Hostbilling and installed it in the directory /web in the right domain.
Maybe i misunderstood the sub-directory part? I am running ISPConfig on Apache2 and not on Nginx. Any thoughts how to resolve this?
Thanks ahead for your help.

Yeah, install it in the root directory of your domain. For example, if you're using cPanel you'd want to place the files in the public_html/yourdomain.com folder. So you shouldn't put it in something like /web it should be in /

ok thanks. I just thought maybe to put it where the index file was before.
I have now put the all files from /web/ to / but now i am just seeing Index of / . I think that's the usual page if no index file could be located.
Any thoughts on this?

I just reinstalled it and it worked under /web