Token generator problems (was: cannot build)

I get the error when i try to make build ...Error:Execution failed for task ':chat-demo-android:processDebugGoogleServices'. > No matching client found for package name 'com.twilio.chat.demo.debug'

I am getting same error, please help

You have to generate google-services.json with the matching package name. This is described in the readme.

@berkus after following the readme instruction, i am getting this error

Information:Gradle tasks [clean, :chat-demo-android:generateDebugSources, :chat-demo-android:mockableAndroidJar, :chat-demo-android:prepareDebugUnitTestDependencies, :chat-demo-android:generateDebugAndroidTestSources, :chat-demo-android:compileDebugSources, :chat-demo-android:compileDebugUnitTestSources, :chat-demo-android:compileDebugAndroidTestSources]
Error:Execution failed for task ':chat-demo-android:processDebugGoogleServices'.

No matching client found for package name 'com.twilio.chat.demo.debug'

Did you generate google-services.json for com.twilio.chat.demo.debug application id?

@berkus No, I had used com.twilio.chat.demo , but again created json for com.twilio.chat.demo.debug and fixed the error. Now the app is running but I have a doubt regarding the app, in the login page what should i enter in client name, by using the default one TestUser and any random name i am getting error like : Error Logging in: Error 0:6 EMS service could not authenticate/authorize ether provided customer fpa token or twilio rtd token, unable to set FPA token, please help

Can you post the token you use?

I only added my server url generated by ngrok in build.gradle file in this line of code:
def ACCESS_TOKEN_SERVICE_URL = project.hasProperty('ACCESS_TOKEN_SERVICE_URL') ? """+project.getProperty('ACCESS_TOKEN_SERVICE_URL')+""" : ""http://fdf8f750.ngrok.io/token\""

My question was - does your token generator generate proper token? With Chat grants?

can you please explain what are you talking about? Do i need to add extra code in demo app ? In BasicChatClient.java class accessToken is generated and this access token is same as what i am getting on the local server. I don't know what do you mean by proper token & can you explain what is chat grants? please

Could you please post the token provided by your generator at http://fdf8f750.ngrok.io/token ?

{"identity":"JeromeJohnston60942","token":"eyJjdHkiOiJ0d2lsaW8tZnBhO3Y9MSIsInR5cCI6IkpXVCIsImFsZyI6IkhTMjU2In0.eyJpc3MiOiJTSzVmMGRlZGI0NzI5NTg2NGYzMmZkMTg5NGJhODgwZjViIiwiZXhwIjoxNDk3MjUzNjIwLCJncmFudHMiOnsiaWRlbnRpdHkiOiJKZXJvbWVKb2huc3RvbjYwOTQyIiwiZGF0YV9zeW5jIjp7InNlcnZpY2Vfc2lkIjoiIiwiZW5kcG9pbnRfaWQiOm51bGx9LCJpcF9tZXNzYWdpbmciOnsic2VydmljZV9zaWQiOiJJU2NhODdlNTU5OGM3ODRiMDlhOGViYzdlOTQwMzU3YTFkIiwiZGVwbG95bWVudF9yb2xlX3NpZCI6bnVsbCwiZW5kcG9pbnRfaWQiOm51bGwsInB1c2hfY3JlZGVudGlhbF9zaWQiOm51bGx9LCJ2aWRlbyI6e319LCJqdGkiOiJTSzVmMGRlZGI0NzI5NTg2NGYzMmZkMTg5NGJhODgwZjViLTE0OTcyNTAwNDgiLCJzdWIiOiJBQ2U2ZGZjYzFkN2IxNTQ0NTgyMDczZDJmZTEyYTlhNTE2In0.K4aBPdBwG_JBApg-0NcAwgWpP3PvxMyHNY_adW3b2yI"}

hey @berkus please help man i am stuck..

I've added support for quickstart format tokens to this repository, please update to the latest version and try again.
Reopen if you still have any problems.

i still have this problem

ChatSDKcreateChatClient onConectionErrorEMS service could not authenticate/authorize ether provided customer fpa token or twilio rtd token, unable to set FPA token-6

@wuguanyu you need to provide a token you used, some expired one will do.

Since there's no response, I'm closing this one.

Hi. I'm having a similar problem:
EMS service could not authenticate/authorize ether provided customer fpa token or twilio rtd token, unable to set FPA token

Used token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzY29wZSI6InNjb3BlOmNsaWVudDppbmNvbWluZz9jbGllbnROYW1lPTJkIHNjb3BlOmNsaWVudDpvdXRnb2luZz9hcHBTaWQ9QVBYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWCIsImlzcyI6IkFDMWJmZGVkMjY1YzExOWIzZjMyMWUyNjUxYjI0OGVhODMiLCJleHAiOjE0OTc5ODcwMjksImlhdCI6MTQ5Nzk4MzQyOX0.wFUBXA2BmCPijIsGZ-4vbjmAm7K52W-qVnLT4YSqrXw

@Filipe-Ramos you are using an invalid token, this is token for Twilio Client, SIP.
You need to use a Twilio Chat token as described in the documentation.

Hi. I'm having a similar problem:
'{"message":"The authorization with Token failed","code":2016,"user_error":false,"params":{"description":"Could not authenticate fpa token"}}'
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImN0eSI6InR3aWxpby1mcGE7dj0xIn0.eyJqdGkiOiJBUFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYLTE0OTgwNzE3NDIiLCJncmFudHMiOnsiaWRlbnRpdHkiOiJnZnJhbnphQHNpY2VmLmNoIiwiaXBfbWVzc2FnaW5nIjp7InNlcnZpY2Vfc2lkIjoiSVNjMWFmZTdjZTJjMjE0NDUzYWU4MWVhYzkyZDdhZDJiMiIsImVuZHBvaW50X2lkIjoic2l3ZWdvLW12cDE6Z2ZyYW56YUBzaWNlZi5jaDpzb21laW9zZGV2aWNlaWQifX0sImlhdCI6MTQ5ODA3MTc0MiwiZXhwIjoxNDk4MDc1MzQyLCJpc3MiOiJBUFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYIiwic3ViIjoiQUMxYmZkZWQyNjVjMTE5YjNmMzIxZTI2NTFiMjQ4ZWE4MyJ9.3E52gud2AGH19Wc-LXEe7jW6gp9wFD1fjD2jqbwT1lQ

So the demo should work with the tokens generated by the Quickstart guides? Using this token (which is the one generated by default by the quickstart php server):
{
identity: "RowdyWendyKane",
token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImN0eSI6InR3aWxpby1mcGE7dj0xIn0.eyJqdGkiOiJTSzczNTlhNTVhNzY5NmJhODAxN2E1ZWFjYmZhMTdhMmI0LTE1MDE5NjY1MjciLCJpc3MiOiJTSzczNTlhNTVhNzY5NmJhODAxN2E1ZWFjYmZhMTdhMmI0Iiwic3ViIjoiQUMyODYzNDZmOGIwOGQ5NjRhMmI1YTFmNzhlNTUzMDJjYSIsImV4cCI6MTUwMTk3MDEyNywiZ3JhbnRzIjp7ImlkZW50aXR5IjoiUm93ZHlXZW5keUthbmUiLCJ2aWRlbyI6e30sImlwX21lc3NhZ2luZyI6eyJzZXJ2aWNlX3NpZCI6IklTYTI2ZDYxMmM1NmM0NGExYjhkMWVjMzQ0ZGExN2Y0NGUifX19.7FBs52NUd7jGlV12vfJYIB-Q7h7J6m9hyrrBEmMUvG8"
}
I'm getting exactly the same error: EMS service could not authenticate/authorize ether provided customer fpa token or twilio rtd token, unable to set FPA token.

Yes, it is supported by the demo app - see code here https://github.com/twilio/twilio-chat-demo-android/blob/master/chat-demo-android/src/main/java/com/twilio/chat/demo/HttpHelper.java#L47

eyJjdHkiOiJ0d2lsaW8tZnBhO3Y9MSIsInR5cCI6IkpXVCIsImFsZyI6IkhTMjU2In0.eyJpc3MiOiJTSzk2Mjk2MjAxNTA5M2YyNTNkMzA0YzIxNGUwY2I0NjgyIiwiZXhwIjoxNTMwNjE3MDMwLCJncmFudHMiOnsiaWRlbnRpdHkiOiJTaHJpc2hhaWwiLCJjaGF0Ijp7InNlcnZpY2Vfc2lkIjoiSVM2NTJjMjFhMGJiZGY0Y2NmOTgzYjI0NDVkNDYyNzQ3MyIsImRlcGxveW1lbnRfcm9sZV9zaWQiOm51bGwsImVuZHBvaW50X2lkIjpudWxsLCJwdXNoX2NyZWRlbnRpYWxfc2lkIjpudWxsfSwiZGF0YV9zeW5jIjp7InNlcnZpY2Vfc2lkIjoiZGVmYXVsdCIsImVuZHBvaW50X2lkIjpudWxsfSwidmlkZW8iOnt9fSwianRpIjoiU0s5NjI5NjIwMTUwOTNmMjUzZDMwNGMyMTRlMGNiNDY4Mi0xNTMwNjEzNTA0Iiwic3ViIjoiQUNmMTk5NjkyNTVlNDBmYjZhNGFkOWFmMTEyOTBiNzExNyJ9.6nJ2-dWCNTqbRXQRHoypjM4jk85-oT_D1dEmNA31Hww

I am also getting same error for this token

@shrishailcne you have invalid endpoint_id in your token, please remove it from generated tokens completely.

@berkus  How can i remove it is generated automatically.

Change your generator's code to not generate it.

Same issue i am facing after removing endpoint_id.

Open a new ticket please, this one is closed.


Add docker compose

I had issues running jekyll so I created a docker compose to build and serve the site.

@mkuzak could you review this?

Thank you @dsmits . I was holding off on this, because I'm not sure if it's necessary to use docker compose since this is a single container setup. Could that be specified with the single docker run command?

@mkuzak good point. It is my personal preference to put everything in a docker compose file because it looks nice and structured.
If it would be run with a single docker command it would be as follows:
docker run -v $PWD/:/srv/jekyll -e JEKYLL_VERSION=3.8 -p 4000:4000 jekyll/jekyll:3.8 jekyll serve

I could also remove the compose file and add a line to the readme if you prefer.

I understand your reasoning. I would prefer to have this command in the README, I think it is more transparent.
Independent of the specific implementation, it's is a very helpful contribution, thank you @dsmits 🙏

@mkuzak changed it


[Event Request] Service Line table CheckItemAvailable procedure

Current codes:
procedure CheckItemAvailable(CalledByFieldNo: Integer)
var
ItemCheckAvail: Codeunit "Item-Check Avail.";
IsHandled: Boolean;
begin
if "Needed by Date" = 0D then begin
GetServHeader;
if ServHeader."Order Date" <> 0D then
Validate("Needed by Date", ServHeader."Order Date")
else
Validate("Needed by Date", WorkDate);
end;
.
.
.
.
.
if Nonstock then
exit;
if not ("Document Type" in ["Document Type"::Order, "Document Type"::Invoice]) then
exit;
    if ItemCheckAvail.ServiceInvLineCheck(Rec) then
        ItemCheckAvail.RaiseUpdateInterruptedError;

Request Event location
procedure CheckItemAvailable(CalledByFieldNo: Integer)
var
ItemCheckAvail: Codeunit "Item-Check Avail.";
IsHandled: Boolean;
begin
if "Needed by Date" = 0D then begin
GetServHeader;
//AI7.01 start
IF ServHeader."Response Date" <> 0D THEN
VALIDATE("Needed by Date",ServHeader."Response Date")
ELSE
BEGIN
//AI7.01 end
if ServHeader."Order Date" <> 0D then
Validate("Needed by Date", ServHeader."Order Date")
else
Validate("Needed by Date", WorkDate);
end;
.
.
.
.
.
if Nonstock then
exit;
if not ("Document Type" in ["Document Type"::Order, "Document Type"::Invoice]) then
exit;
    if ItemCheckAvail.ServiceInvLineCheck(Rec) then
        ItemCheckAvail.RaiseUpdateInterruptedError;

What we need is to check the Response Date of Service Header first before checking the Order Date of Service Header.   Item Needed by date is more driven by the Response date first.  What would be a good way to add an event at that spot?

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Remove mergify configuration

This configuration is no longer required, and instead, we will use built in option within GitHub.

From @admiringworm...
This setting...

won't delete head branches on forks. Only PRs from the same repo, but that is the same as mergify (and dependabot)


Create sidebar hamburger menu for mobile

Reported in #120 - when in mobile view, you cannot access the docs contents menu to move around the documentation. This adds a basic hamburger type button when at the mobile break point in the css that can be clicked and then the side bar nav slides in from the left for the mobile user.

@wilr @dhensby  - any issues with adding a mobile menu for docsviewer?

Have reviewed and have it running locally - looking good I'm happy to merge this. Attached are images of the new feature, I'll tag as 2.0.0-beta3 (when shall we look at a stable 2.0.0 peeps?)


Number badge is not set when I am accessing the session with createIfNone set to false

Testing #103871
I am using the GitHub authentication example. During initialisation it requests for sessions with createIfNone set to false. In this case I would expect the extension entry to be shown under accounts activity bar icon. But it is now shown

I am using the sample and I see that the sample is asking for the sessions with createIfNone to false which means that a number badge shall be shown for this sample extension

But it is not

@sandy081 I'm having trouble reproducing this, do you mean nothing is shown on the accounts icon, or it shows the incorrect count? From your screenshot, I think I see the sliver of a badge, so is it showing a 1 instead of a 2?

Because of the following call extension makes, I expect the extension entry in the drop down as mentioned in the documentation of createIfNone. But I see only entry from Github Pull Request Nightly Build extension and not from the sample.

To verify:

Sign out of GitHub
Run the [GitHub authentication example](https://github.com/microsoft/vscode-extension-samples/blob/master/github-authentication-sample
Check that a badge is displayed on the accounts icon and an entry in the accounts menu that says "Sign in to use github-authentication-sample"


Improve and Update STS Timeline

Summary
The STS timeline has been started, but could be further enhanced through the addition of new entries. For instance, at present there is no mention of post-colonial perspectives or material that addresses the intersection of technology, society, and race (e.g. Ruha Benjamin).
What needs to be done?
Add additional entries to help make the timeline more complete and diverse.
Who can help?
Anyone with an interest and expertise in STS.

Updates

[x] Opened issue.
[ ] Added some suggestions that can be integrated.

To add (contributions from @mikekatell, Mhairi and David)
General

[ ] In addition to the creation of EASST, add the earlier creation of the Society for Social Studies of Science (4S) in 1975: https://www.4sonline.org/what-is-4s/4s-history/

[ ] Infrastructure studies. Bowker and Star on categorisation: Bowker, G., & Star, S. L. (1999). Sorting things out. Classification and its consequences.

Infrastructure studies highlights the relational aspects between individuals (and their activities), their social organisation (as e.g. cities, companies or communities), and the technological infrastructures. they use to in order to perform their activities and organise their practices. (Pipek et al., 2017)

[ ] Star is responsible for coining the idea of ‘boundary objects’ in 1986. Worth mentioning in the section on Haraway and Harding. ‘Institutional Ecology, `Translations’ and Boundary Objects: Amateurs and Professionals in Berkeley’s Museum of Vertebrate Zoology, 1907-39'

[ ] In the 1980s - Langdon Winner’s ‘Do Artifacts Have Politics?’ is also an important touchstone. Winner, L. (1980). Do Artifacts Have Politics? Daedalus, 109(1), 121–136. Winner uses famous case including the design of low overpasses on New York area highways by Robert Moses to prevent busses (and therefore low income people) from easily reaching Jones Beach, which Moses cherished as a jewel.

STS confrontation of the fraught relationship of race and science

[ ] Rajagopalan, R. M., Nelson, A., & Fujimura, J. H. (2017). 12 Race and Science in the Twenty-First Century. The Handbook of Science and Technology Studies.
[ ] Benjamin, R. (2019). Captivating Technology: Race, Carceral Technoscience, and Liberatory Imagination in Everyday Life.
[ ] Anderson W. Introduction: Postcolonial Technoscience. Social Studies of Science. 2002;32(5-6):643-658 (Introduction of postcolonial studies into STS)

Deliberative Democracy and Public Policy” section

[ ] Jasanoff’s work on democracy and public reason: Jasanoff, S. (2012). Science and public reason. Routledge.
[ ] Wynne, Irwin, Jasanoff
[ ] Aitken (https://academic.oup.com/spp/article/43/5/713/2525452)
[ ] Critical responses to Collins and Evans: (e.g. from Brian Wynne, Sheila Jasanoff, Arie Rip: https://www.jstor.org/stable/i359456?refreqid=excelsior%3A056535891a82554cbd4d1a71f005ebbf


[Technical Question] mqtt transport disconnected with result code: 7

Dear,
I am using receive_message.py from SDK and when I tried to receive message from IOT hub I got these errors
so if someone can help it will be great.
INFO:azure.iot.device.common.mqtt_transport:disconnected with result code: 7
DEBUG:azure.iot.device.common.mqtt_transport:  File "C:\Python39\lib\threading.py", line 930, in _bootstrap
    self._bootstrap_inner()
  File "C:\Python39\lib\threading.py", line 973, in _bootstrap_inner
    self.run()
  File "C:\Python39\lib\threading.py", line 910, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Python39\lib\site-packages\paho\mqtt\client.py", line 3591, in _thread_main
    self.loop_forever(retry_first_connection=True)
  File "C:\Python39\lib\site-packages\paho\mqtt\client.py", line 1756, in loop_forever
    rc = self._loop(timeout)
  File "C:\Python39\lib\site-packages\paho\mqtt\client.py", line 1164, in _loop
    rc = self.loop_read()
  File "C:\Python39\lib\site-packages\paho\mqtt\client.py", line 1558, in loop_read
    return self._loop_rc_handle(rc)
  File "C:\Python39\lib\site-packages\paho\mqtt\client.py", line 2350, in _loop_rc_handle
    self._do_on_disconnect(rc, properties)
  File "C:\Python39\lib\site-packages\paho\mqtt\client.py", line 3475, in _do_on_disconnect
    on_disconnect(self, self._userdata, rc)
  File "C:\Python39\lib\site-packages\azure\iot\device\common\mqtt_transport.py", line 210, in on_disconnect
    logger.debug("".join(traceback.format_stack()))

INFO:azure.iot.device.common.mqtt_transport:Forcing paho disconnect to prevent it from automatically reconnecting
DEBUG:azure.iot.device.common.mqtt_transport:in paho thread.  nulling _thread
DEBUG:azure.iot.device.common.mqtt_transport:Done forcing paho disconnect
DEBUG:azure.iot.device.common.pipeline.pipeline_thread:Starting _on_mqtt_disconnected in pipeline thread
INFO:azure.iot.device.common.pipeline.pipeline_stages_mqtt:MQTTTransportStage: _on_mqtt_disconnect called: ConnectionDroppedError('The connection was lost.')
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:ReconnectStage(DisconnectedEvent): State changes CONNECTED -> DISCONNECTED. Attempting to reconnect
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:PipelineRootStage: DisconnectedEvent received. Calling on_disconnected_handler
DEBUG:azure.iot.device.common.pipeline.pipeline_thread:Starting _on_disconnected in callback thread
INFO:azure.iot.device.common.pipeline.pipeline_stages_mqtt:MQTTTransportStage: Unexpected disconnect (no pending connection op)
INFO:azure.iot.device.iothub.abstract_clients:Connection State - Disconnected
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:PipelineRootStage: BackgroundExceptionEvent received. Calling on_background_exception_handler
INFO:azure.iot.device.iothub.abstract_clients:Cleared all pending method requests due to disconnect
DEBUG:azure.iot.device.common.pipeline.pipeline_thread:Starting _on_background_exception in callback thread
ERROR:azure.iot.device.common.handle_exceptions:Exception caught in background thread.  Unable to handle.
ERROR:azure.iot.device.common.handle_exceptions:["azure.iot.device.common.transport_exceptions.ConnectionDroppedError: ConnectionDroppedError('Unexpected disconnection') caused by ConnectionDroppedError('The connection was lost.')\n"]
DEBUG:azure.iot.device.common.pipeline.pipeline_thread:Starting on_reconnect_timer_expired in pipeline thread
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:ReconnectStage: Reconnect timer expired. State is DISCONNECTED Connected is False.
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:ReconnectStage: Starting reconnection
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:ReconnectStage: State changes DISCONNECTED -> CONNECTING. Sending new connect op down in reconnect attempt
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:ConnectionLockStage(ConnectOperation): blocking
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_mqtt:MQTTTransportStage(ConnectOperation): connecting
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_mqtt:MQTTTransportStage(ConnectOperation): Starting watchdog
DEBUG:azure.iot.device.common.mqtt_transport:connecting to mqtt broker
INFO:azure.iot.device.common.mqtt_transport:Connect using port 8883 (TCP)
DEBUG:paho:Sending CONNECT (u1, p1, wr0, wq0, wf0, c0, k60) client_id=b'eui-xxxxxxxxxxxxx'
DEBUG:azure.iot.device.common.mqtt_transport:_mqtt_client.connect returned rc=0
DEBUG:paho:Received CONNACK (0, 0)
INFO:azure.iot.device.common.mqtt_transport:connected with result code: 0
DEBUG:azure.iot.device.common.pipeline.pipeline_thread:Starting _on_mqtt_connected in pipeline thread
INFO:azure.iot.device.common.pipeline.pipeline_stages_mqtt:_on_mqtt_connected called
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:ReconnectStage(ConnectedEvent): State changes CONNECTING -> CONNECTED. Connection established
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:PipelineRootStage: ConnectedEvent received. Calling on_connected_handler
DEBUG:azure.iot.device.common.pipeline.pipeline_thread:Starting _on_connected in callback thread
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_mqtt:MQTTTransportStage: completing connect op
INFO:azure.iot.device.iothub.abstract_clients:Connection State - Connected
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_mqtt:MQTTTransportStage(ConnectOperation): cancelling watchdog
DEBUG:azure.iot.device.common.pipeline.pipeline_ops_base:ConnectOperation: completing without error
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:ConnectionLockStage(ConnectOperation): op succeeded.  Unblocking queue
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:ConnectionLockStage(ConnectOperation): unblocking and releasing queued ops.
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:ConnectionLockStage(ConnectOperation): processing 0 items in queue for error=None
DEBUG:azure.iot.device.common.pipeline.pipeline_stages_base:ReconnectStage(ConnectOperation): on_connect_complete error=None state=CONNECTED connected=True

Thanks,

@yosefgouda2020
Looks like for whatever reason the connection is being lost (that's what the 7 means). However, it looks like from your log that immediately after the connection is lost, the automatic reconnection kicks in, and the connection is successfully re-established.
Is this correct? Does the client proceed to function correctly?

@cartertinney
Thank you for your reply but this happen every time I sent a message from another device and try to receive it using the script but the script only receive data from Azure IoT Explorer so if I send a message from Azure IOT Explorer I received it correctly but when I tried to send data using device eve times I send a message I got this exception and then disconnect.

That's interesting. Can you tell me more so that I can try to reproduce?

What version of the SDK are you using to send messages? What version are you using to receive?
Can you post some sample code of both the sender and the receiver scripts?

@cartertinney
I used azure-iot-device==2.9.0 and Kindly find the sender and receiver code you just need to add the conn_str in the code
and if you tried the sender and receiver with Azure IOT explorer it will work.
Sender code
import random
import time
# Using the Python Device SDK for IoT Hub:
#   https://github.com/Azure/azure-iot-sdk-python
# The sample connects to a device-specific MQTT endpoint on your IoT Hub.
from azure.iot.device import IoTHubDeviceClient, Message
# The device connection string to authenticate the device with your IoT hub.
# Using the Azure CLI:
# az iot hub device-identity show-connection-string --hub-name {YourIoTHubName} --device-id MyNodeDevice --output table
CONNECTION_STRING = " "
# Define the JSON message to send to IoT Hub.
TEMPERATURE = 20.0
HUMIDITY = 60
MSG_TXT = '{{"temperature": {temperature},"humidity": {humidity}}}'
def iothub_client_init():
    # Create an IoT Hub client
    client = IoTHubDeviceClient.create_from_connection_string(CONNECTION_STRING)
    return client
def iothub_client_telemetry_sample_run():
    try:
        client = iothub_client_init()
        print ( "IoT Hub device sending periodic messages, press Ctrl-C to exit" )
        while True:
            # Build the message with simulated telemetry values.
            temperature = TEMPERATURE + (random.random() * 15)
            humidity = HUMIDITY + (random.random() * 20)
            msg_txt_formatted = MSG_TXT.format(temperature=temperature, humidity=humidity)
            message = Message(msg_txt_formatted)
            # Add a custom application property to the message.
            # An IoT hub can filter on these properties without access to the message body.
            if temperature > 30:
              message.custom_properties["temperatureAlert"] = "true"
            else:
              message.custom_properties["temperatureAlert"] = "false"
            # Send the message.
            print( "Sending message: {}".format(message) )
            client.send_message(message)
            print ( "Message successfully sent" )
            time.sleep(3)
    except KeyboardInterrupt:
        print ( "IoTHubClient sample stopped" )
if __name__ == '__main__':
    print ( "IoT Hub Quickstart #1 - Simulated device" )
    print ( "Press Ctrl-C to exit" )
    iothub_client_telemetry_sample_run()

receiver code
import os
import asyncio
from six.moves import input
import threading
from azure.iot.device.aio import IoTHubDeviceClient

import logging

async def main():
    # The connection string for a device should never be stored in code. For the sake of simplicity we're using an environment variable here.

    conn_str = " "
    # The client object is used to interact with your Azure IoT hub.
    device_client = IoTHubDeviceClient.create_from_connection_string(conn_str)
    logging.basicConfig(level=logging.DEBUG)
    log = logging.getLogger('test')
    log.setLevel(logging.DEBUG)
    #log.warn('warn')
    #log.debug('debug')
    # connect the client.
    await device_client.connect()

    # define behavior for receiving a message
    # NOTE: this could be a function or a coroutine
    def message_received_handler(message):
        print("the data in the message received was ")
        print(message.data)
        print("custom properties are")
        print(message.custom_properties)
        print("content Type: {0}".format(message.content_type))
        print("")

    # set the mesage received handler on the client
    device_client.on_message_received = message_received_handler

    # define behavior for halting the application
    def stdin_listener():
        while True:
            selection = input("Press Q to quit\n")
            if selection == "Q" or selection == "q":
                print("Quitting...")
                break

    # Run the stdin listener in the event loop
    loop = asyncio.get_running_loop()
    user_finished = loop.run_in_executor(None, stdin_listener)

    # Wait for user to indicate they are done listening for messages
    await user_finished

    # Finally, shut down the client
    await device_client.shutdown()

if __name__ == "__main__":
    asyncio.run(main())

    # If using Python 3.6 or below, use the following code instead of asyncio.run(main()):
    # loop = asyncio.get_event_loop()
    # loop.run_until_complete(main())
    # loop.close()

Hi @cartertinney any updates.

@yosefgouda2020 That's interesting. Can you tell me more so that I can try to reproduce?

What version of the SDK are you using to send messages? What version are you using to receive?
Can you post some sample code of both the sender and the receiver scripts?

I used azure-iot-device==2.9.0 and Kindly find the sender and receiver code you just need to add the conn_str in the code
and if you tried the sender and receiver with Azure IOT explorer it will work.
Sender code
import random
import time
# Using the Python Device SDK for IoT Hub:
#   https://github.com/Azure/azure-iot-sdk-python
# The sample connects to a device-specific MQTT endpoint on your IoT Hub.
from azure.iot.device import IoTHubDeviceClient, Message
# The device connection string to authenticate the device with your IoT hub.
# Using the Azure CLI:
# az iot hub device-identity show-connection-string --hub-name {YourIoTHubName} --device-id MyNodeDevice --output table
CONNECTION_STRING = " "
# Define the JSON message to send to IoT Hub.
TEMPERATURE = 20.0
HUMIDITY = 60
MSG_TXT = '{{"temperature": {temperature},"humidity": {humidity}}}'
def iothub_client_init():
    # Create an IoT Hub client
    client = IoTHubDeviceClient.create_from_connection_string(CONNECTION_STRING)
    return client
def iothub_client_telemetry_sample_run():
    try:
        client = iothub_client_init()
        print ( "IoT Hub device sending periodic messages, press Ctrl-C to exit" )
        while True:
            # Build the message with simulated telemetry values.
            temperature = TEMPERATURE + (random.random() * 15)
            humidity = HUMIDITY + (random.random() * 20)
            msg_txt_formatted = MSG_TXT.format(temperature=temperature, humidity=humidity)
            message = Message(msg_txt_formatted)
            # Add a custom application property to the message.
            # An IoT hub can filter on these properties without access to the message body.
            if temperature > 30:
              message.custom_properties["temperatureAlert"] = "true"
            else:
              message.custom_properties["temperatureAlert"] = "false"
            # Send the message.
            print( "Sending message: {}".format(message) )
            client.send_message(message)
            print ( "Message successfully sent" )
            time.sleep(3)
    except KeyboardInterrupt:
        print ( "IoTHubClient sample stopped" )
if __name__ == '__main__':
    print ( "IoT Hub Quickstart #1 - Simulated device" )
    print ( "Press Ctrl-C to exit" )
    iothub_client_telemetry_sample_run()

receiver code
import os
import asyncio
from six.moves import input
import threading
from azure.iot.device.aio import IoTHubDeviceClient

import logging

async def main():
    # The connection string for a device should never be stored in code. For the sake of simplicity we're using an environment variable here.

    conn_str = " "
    # The client object is used to interact with your Azure IoT hub.
    device_client = IoTHubDeviceClient.create_from_connection_string(conn_str)
    logging.basicConfig(level=logging.DEBUG)
    log = logging.getLogger('test')
    log.setLevel(logging.DEBUG)
    #log.warn('warn')
    #log.debug('debug')
    # connect the client.
    await device_client.connect()

    # define behavior for receiving a message
    # NOTE: this could be a function or a coroutine
    def message_received_handler(message):
        print("the data in the message received was ")
        print(message.data)
        print("custom properties are")
        print(message.custom_properties)
        print("content Type: {0}".format(message.content_type))
        print("")

    # set the mesage received handler on the client
    device_client.on_message_received = message_received_handler

    # define behavior for halting the application
    def stdin_listener():
        while True:
            selection = input("Press Q to quit\n")
            if selection == "Q" or selection == "q":
                print("Quitting...")
                break

    # Run the stdin listener in the event loop
    loop = asyncio.get_running_loop()
    user_finished = loop.run_in_executor(None, stdin_listener)

    # Wait for user to indicate they are done listening for messages
    await user_finished

    # Finally, shut down the client
    await device_client.shutdown()

if __name__ == "__main__":
    asyncio.run(main())

    # If using Python 3.6 or below, use the following code instead of asyncio.run(main()):
    # loop = asyncio.get_event_loop()
    # loop.run_until_complete(main())
    # loop.close()

@yosefgouda2020
To be clear, you can't send messages between devices directly. The .send_message() method sends a message from your device to the IoTHub. Likewise, the .on_message_received handler only receives messages from the IoTHub. This is why you are only able to receive from the IoTExplorer (it allows you to send from the IoTHub).
If you wish to send messages between clients, consider using the IoTHubModuleClient instead along with the send_message_to_output() method.
As for the errors (result code 7), are you running these different sender/receiver files on different devices? Or perhaps are you running them in different processes on the same device?

@yosefgouda2020
.on_message_recieved will receive all messages, whether from IoTHub or from another device.
You can't run both the sender and receiver on the same device, so that will result in the error you're seeing. Can you try again making sure to run the sender on a different device than the receiver?

Hi @cartertinney @yosefgouda2020
I faced the same issue when I tried to receive the data from Azure IoT using receive script from IoT hub but it was receiving the data from TTI but the I am able to receive it by Azure IoT explorer but it gave me the same issue of disconnection error MQTT transport disconnected with result code: 7
And I tried to use IoTHubModuleClient instead of the IoTHubDeviceClient I got the same issue. I am using a versions of libraries azure-iot-device==2.10.0 and azure-iot-hub==2.6.0. and also tried to use send_message_to_output and also tried to use send_message_to_output and here is the code that i was testing.
import os
import asyncio
from six.moves import input
import threading
from azure.iot.device.aio import IoTHubDeviceClient
from azure.iot.device.aio import IoTHubModuleClient
import logging

async def main():
# The connection string for a device should never be stored in code. For the sake of simplicity we're using an environment variable here.

conn_str = " "

# The client object is used to interact with your Azure IoT hub.
device_client = IoTHubModuleClient.create_from_connection_string(conn_str)
logging.basicConfig(level=logging.DEBUG)
log = logging.getLogger('test')
log.setLevel(logging.DEBUG)
#log.warn('warn')
#log.debug('debug')
# connect the client.
await device_client.connect()

# define behavior for receiving a message
# NOTE: this could be a function or a coroutine
def message_received_handler(message):
print("the data in the message received was ")
print(message.data)
print("custom properties are")
print(message.custom_properties)
print("content Type: {0}".format(message.content_type))
print("")

# set the mesage received handler on the client
device_client.on_message_recieved = message_received_handler

# define behavior for halting the application
def stdin_listener():
while True:
selection = input("Press Q to quit\n")
if selection == "Q" or selection == "q":
print("Quitting...")
break

# Run the stdin listener in the event loop
loop = asyncio.get_running_loop()
user_finished = loop.run_in_executor(None, stdin_listener)

# Wait for user to indicate they are done listening for messages
await user_finished

# Finally, shut down the client
await device_client.shutdown()

if __name__ == "__main__":
asyncio.run(main())

# If using Python 3.6 or below, use the following code instead of asyncio.run(main()):
# loop = asyncio.get_event_loop()
# loop.run_until_complete(main())
# loop.close()

so is there any suggestion?
Thanks in advance.

I am going to continue to investigate, not sure what's going on here.

@cartertinney we are also seeing the same issue. Can you please let us know if you were able to resolve the issue?

@kuldeepoxit Yes, we will update this issue when we find out more. What platform are you experiencing the issue on? Also a Raspberry Pi, or something else? Is the issue also only coming when messages are received?  Does the problem only appear when receiving a message? Furthermore, what kind of IoTHub are you using (Basic, S1, S2, S3, etc.)

@yosefgouda2020 - you say that you're using two different devices, but are you also using two different connection strings? If you're trying to use the same connection string on both your raspberry pi and your computer, it would explain this behavior.

@yosefgouda2020 @eng-ibrahim-Rahman @kuldeepoxit
Any follow ups to the above questions? We will have to close this GitHub issue due to inactivity in a few days if we don't hear from you.

@cartertinney Regarding this example in this link it will not work as expected.
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-python-python-c2d
So I reached out to use the event hub for receiving the message instead of using deviceConnectionString.

@eng-ibrahim-Rahman What exactly are you trying to do? Send telemetry from the IoTHub to a device, yes? Where does the EventHub come into play?

Closing due to inactivity


Install Issues

This could be do to lack of coffee, but I am struggling to install Snake (core and scale). I have a clean install of Ubuntu 18.04 server and after installing all the dependencies listed I attempt to run the sys/user.sh (same if i try the production sys/install.sh) script, it appears to die after doing all the submodule path with no error message.

clearly was a lack of coffee.... It was not finishing because I was missing virtualenv


[TC-CLCONC-1.1] SDK has to be implemented for Chlorine Concentration Measurement Cluster

All-clusters-app has to be enabled with below mentioned commands :

[ ]  generated-command-list
[ ]  accepted-command-list
[ ]  event-list
[ ]  attribute-list
[ ]  feature-map
[ ]  cluster-revision

Bug prevalence
Whenever I try to read all these Global attributes
GitHub hash of the SDK that was being used
7ae5919a046a18c7e60537aff814977ee424b9cf - Master
Platform
raspi
Platform Version(s)
RPI - 4, 8GB RAM

Will be fixed by https://github.com/project-chip/connectedhomeip/issues/27662

Test case removed in CHIP-Specifications/chip-test-plans#2995


Output format: Which properties (if any) can be null omitted?

For a valid link block, can any of the link or meta properties under any circumstances (now or in the future) be null or omitted? For the meta object, I assume any of its elements can be omitted, but for the meta.image object, will url always be present and non-null? Are any of the aforementioned properties guaranteed to always be present and non-null for this block to be valid?
Context: I'm a back-end .NET developer needing to parse Editor.js documents. The readme lists all of the aforementioned properties but does not explicitly guarantee that they will always be present and non-null. Back-end deserialization/parsing in strongly typed languages would be easier with some guarantees about which properties can and can not be null/omitted. (Ideally, any such guarantees should be added to the readme to ensure they are formalized and kept in the future.)

Could anyone clarify this, please? Thanks! 😊


question: can eio_js_backend.Start provide env?

I've just started using Ocaml and eio, and what I'm working on is making a library that uses eio_main be compiled into JavaScript that is nodejs callable via jsoo.
As far as I understand, functions in Eio.Stdenv will only access the capabilities in env that they need. Does this mean that only part of the env can be implemented?
For example, in nodejs, there is the fs api, so is it possible to make functions like Eio.Stdenv.cwd work?
Another little question is, if I want to construct an env myself, is it difficult? How can I do it?

Yes, env is just a (polymorphic) record, so you can create your own with whatever fields you want:
let env =
  object
    method cwd = ...
  end
in
...

For example, here is Eio_mock.Backend creating a mock environment: https://github.com/ocaml-multicore/eio/blob/33d4e01a30aae0ae55747e29c1fc4ea6e741571b/lib_eio/mock/backend.ml#L55-L60
Note that libraries don't normally use eio_main (only the application should use that).

Thanks!

Note that libraries don't normally use eio_main (only the application should use that).

Yes, you are right, I was wrong. The part using eio_main is an application. In fact, it is a project including bin and lib, and the lib part uses Eio_main.Stdenv.base.
Another thing I want to ask is, the reason why the env of Eio_js_backend.start is unit is that the compiled JavaScript may be used in the browser or node/bun/anything, and the api of each is different?
Should this be provided by some kind of eio_node_backend?

Another thing I want to ask is, the reason why the env of Eio_js_backend.start is unit is that the compiled JavaScript may be used in the browser or node/bun/anything, and the api of each is different? Should this be provided by some kind of eio_node_backend?

I don't know (I didn't write eio_js), but that sounds like a reasonable thing to do.


Replace uses of mem::uninitialized() with MaybeUninit

mem::uninitialized() is being deprecated in Rust 1.38 for being able to cause undefined behavior
https://doc.rust-lang.org/std/mem/fn.uninitialized.html

This is difficult, because we're using mem::uninitialized in a place where it can't easily be replaced with MaybeUninit, and the benefits we'd gain from maybe figuring out some way around it (a duplicate PyObject type but with MaybeUninit for fields?) wouldn't necessarily be worth it.

Fixed by https://github.com/RustPython/RustPython/pull/1591

I still am very unsure about the fix, it effectively just replaced mem::uninitialized() with MaybeUninit::uninit().assume_init() which doesn’t remove any possible previous undefined behaviour.
As I commented on that PR:

@coolreader18 An uninitialized PyRef is created, which holds an uninitialized Rc<_>, which then holds an unitialized NonNull<RcBox<T>> – which, by the virtue of being uninitialized, might actually be null. That is UB (even if you don’t dereference it). And that is the reason why Rust team changed mem::uninitialized() into mem::MaybeUninit in the first place.
If it works now, it might not work in the future. To actually do it safely, you need to first do prt::write on MaybeUninit, and only then (when you know what bit pattern is at the given pointer), assume_init(). At least that’s my understanding.

I've been thinking about this recently, and I agree with you @silmeth that this isn't ideal. Do you know if it would be undefined behavior if we initialized Rc<MaybeUninit<PyObject>>s, ptr::write the type and mro, and then casted them to PyObjectRefs?

@coolreader18 Not sure, when I was replying to that PR back then I was thinking about something like that:

create mut (?) Rc<MeybeUninit<PyObject<…>>>,
clone it as cloned,
create a PyObject with typ initialized to PyRef { obj: cloned as Rc<PyObject<…>> },
ptr_write that py object as the content of the mut Rc from 1. and call it a day.

But point 3 still smells a bit fishy  – we need to cast Rc<MaybeUninit<T>> to Rc<T> / assume_init() it before anything is written as the value of Rc… it might be OK – the Rc itself has been initialized, it has a proper pointer (to uninitialized value but still) and a proper ref-count, only the value referenced in it still remains uninitialized – and that still might be UB (?).
You’d need to ask someone with more experience in unsafe.
Also, I think mut Rc<…> is needed to safely initialize it  through a *mut T (cf. nightly API get_mut_unchecked() which needs a mutable Rc).
As for creating Rc<MaybeUninit<…>> first and casting to Rc<…> later, that looks like a generally right direction, Rc even has (nightly only for now) new_uninit() and assume_init() helper methods for creating Rc<MemUninit<T>> and then casting it to Rc<T>. But I still don’t see how to solve the chicken-and-egg problem.

I've been playing around in the playground with this and I think I've figured it out. Here's a basic recreation of what we have now, and miri does indeed fail if you try to run it. Here's what I was sort of thinking about, which miri shows only leaks memory which we knew already. I'm not sure if miri has any false negatives, but if not I think that this version works pretty well.

Looks good. Clever, you cast pointer to typ to *mut Rc<MaybeUninit<…>> before writing to it, that should work – an obvious solution to initialize that value I didn’t think of.
As for leaking memory – you create a cycle of ref-counts here, leak is the expected and intended behaviour.
I am only unsure about the casts between mutable and immutable pointers from immutable Rc.

I am only unsure about the casts between mutable and immutable pointers from immutable Rc .

That is slightly violating Rust's safety rules, but I don't think it's that bad. We know that type_type and object_type are only used here and that there are no immutable references to it that are being read from. We actually might want to put a Cell in there though, as just the existence of immutable references to the value you're writing to might be sorta undefined behavior.

@coolreader18 by the way, you don’t need to clone the object_type on line 24 in your solution in the playground, as you use it only once. The last type_type clone on line 37 is also unnecessary.
The ptr::write() on line 43 could also hypothetically unnecessarily leak memory from never-dropped Vec that has been used to initialize type_type’s mro – but since that vec is empty it doesn’t allocate anything, so probably there is no need to worry about dropping it.


Would it be okay to add the youtube video link in the readme?

Hello,
I was thinking to create a pull request to update the README.md with the youtube video link of this project OR you want to update it for yourself.
youtube link : https://www.youtube.com/watch?v=2HVP5dewl_8
P.S. your guitar and tech channels are awesome. You are really talented.

Closing this issue request.


Getting "Error: Expects non-primitive" when using multiple multiline fields

Example inputs used, gathered from github action logs:
<EMAIL_ADDRESS>  with:
    action: docker/build-push-action@v3
    attempt_limit: 2
    attempt_delay: 2000
    with: file: ./Dockerfile
  tags: ***.dkr.ecr.us-east-1.amazonaws.com/IMAGE_NAME:8771665,***.dkr.ecr.us-east-1.amazonaws.com/IMAGE_NAME:latest
  context: ./.
  load: true
  push: false
  cache-from: type=registry,ref=***.dkr.ecr.us-east-1.amazonaws.com/IMAGE_NAME:latest
  cache-to: type=inline
  ssh: |

  build-args: |
    ***

  env:
    AWS_DEFAULT_REGION: us-east-1
    AWS_REGION: us-east-1
    AWS_ACCESS_KEY_ID: ***
    AWS_SECRET_ACCESS_KEY: ***
    AWS_SESSION_TOKEN: ***

Error:
Error: Expects non-primitive
The same error happens on the post run step.
Post job cleanup.
Post job cleanup.
Post job cleanup.
Error: Expects non-primitive
Post job cleanup.
Logging out of registry ***.dkr.ecr.us-east-1.amazonaws.com
Post job cleanup.
Post job cleanup.
Removing builder
Cleaning up certificates

Using the same action docker/build-push-action@v3 without<EMAIL_ADDRESS>works as expected.
Any idea about what could be wrong? somehow seem to only be happening with multiline fields.

Hello @darkxeno
The action is sensible to indentations in with input. I believe that the problem is in indentations. Please, replace first part with:
<EMAIL_ADDRESS>  with:
    action: docker/build-push-action@v3
    attempt_limit: 2
    attempt_delay: 2000
    file: ./Dockerfile
    tags: ***.dkr.ecr.us-east-1.amazonaws.com/IMAGE_NAME:8771665,***.dkr.ecr.us-east-1.amazonaws.com/IMAGE_NAME:latest
     context: ./.
    load: true
    push: false
    cache-from: type=registry,ref=***.dkr.ecr.us-east-1.amazonaws.com/IMAGE_NAME:latest
    cache-to: type=inline
    ssh: |

    build-args: |
      ***

Take care about indentations in field ssh and build-args. Use example from the documentation, please.
Also, I fixed line with: file: ./Dockerfile. Now the line looks like file: ./Dockerfile.

Hello @darkxeno
Yes, the inputs seems to be correct. Please, check that all inputs are singleline or update indentations for multiline inputs. For example, if your build-args input is
--arg1 arg
-- arg2 arg

Then the input will be formatted as
build-args: |
  --arg1 arg
--arg2 arg

but the actions expects that the second line has same indentation as the first one (or bigger).

i think i get your point, as we are using | as part of a string, its probably not indenting multiline strings automatically?
the values of build-args is original constructed like this on the input of the custom action:
build-_args: |
  ENV_VAR1=value1
  ENV_VAR2=value2

and after that provided as the variable ${{ inputs.build_args }} to this action
So you mean if i some force the correct indentation to all lines should be working properly?

Hello @darkxeno
I think it should work. The best way is to create experimental workflow with public data and hardcoded values.

I'm getting the same issue - here is what I'm using in the workflow:
    - name: Build image
      uses<EMAIL_ADDRESS>      with:
        action: docker/build-push-action@v3
        with: |
          context: .
          target: ${{ inputs.build-target }}
          file: ${{ inputs.dockerfile }}

And here's what shows in the github actions log output as what is being passed to the Wandalen/wretry.action action:
Run<EMAIL_ADDRESS>  with:
    action: docker/build-push-action@v3
    with: context: .
    target: release
    file: docker/Dockerfile.backend

So somehow there is a problem with indentation. I have also tried an extra set of indentation after the first line in the with multiline string but got the same result:
    - name: Build image
      uses<EMAIL_ADDRESS>      with:
        action: docker/build-push-action@v3
        with: |
          context: .
            target: ${{ inputs.build-target }}
            file: ${{ inputs.dockerfile }}

I think there is a bug in the action code somewhere.

Hello @mycarrysun
I hope I'll find a time to check and fix the issue.

Hello @dmvict. I am trying to use this action and am getting the same error. I tried to make a PR to add this action to universal blue's build process at https://github.com/ublue-os/main/pull/503 and I am seeing this "Error: Expects non-primitive" issue.

This seems related to the amount of left indenting on a multi-line string.

Hello @dylanmtaylor
Yes, the indentations are important.
I'm improving the logic for commands and I hope it will be published soon.

Hello @dylanmtaylor @mycarrysun @darkxeno
Can you try new version of the action? I improved a parser a time ago.

I have a different error now, seems like it won't work for private repo github actions.

Hello @mycarrysun
Thank you for report. Please, open new issue for the error. I'll try to find a time to solve it.


Tab key UI issue

When connected to a BBS, pressing the TAB key on the terminal (to switch fields on a BBS,) results in both the tab being sent to the BBS (like it should) as well as highlighting the Upload button. Then, when a user hits  on the BBS, it actually triggers the Upload button, bringing up the "Select Upload protocol."
I would suggest that these menu buttons not be allowed to get tab focus (though hotkeys would be nice for them) so that it does not interrupt when trying to log into a BBS. Xibalba (xibalba.l33t.codes:44510) is an example of a BBS that is affected by this, as the login sequence makes heavy use of TAB and Enter to navigate.
Version: iCY TERM 0.5.3

Try to update to 0.6.6 - tab key should be fixed.


qs-inventory compatibility

Hello, maybe I'm writing in the wrong place but I hope you will forgive me.
In general, I struggled with adapting this script to qs-inventory, but I failed and I have a question: is there a possible version or is it planned to add compatibility for qs-inventory?

i will be adding compatibility to other inventory in near future

i will be adding compatibility to other inventory in near future

i will be adding compatibility to other inventory in near future


Relocate files for multi-projects friendly environment

Move files into respective folder in order to prepare support for multi-projects into same repository.
Plus made some adjustment to CMakeLists.txt files for some improvement handling.
NOTICE: XbSymbolDatabase.h has been rename to libXbSymbolDatabase.h and library project is also rename to libXbSymbolDatabase.

I can confirm the changes are working right from fresh pre-build, post-build, and install to custom location.


Space is erased from end of text when printing in notebook

Bug: Notebook Editor, Interactive Window, Editor cells

Steps to cause the bug to occur
Minimal example to reproduce:
Create a notebook with the following content in one cell, and run the cell:
import time

# Test 1 - Works as expected
print('123 ', end='')
print('456')

# Test 2 - Bug
print('123 ', end='')
time.sleep(1)
print('456')

I of course encountered this with a more complex notebook that had actual long-running operations (not time.sleep).
Actual behavior
Test 1 correctly prints 123 456, but Test 2 prints 123456.
Bug happens for both classic notebook editor and preview notebook editor. Also happens in interactive window. Does NOT happen in Jupyter Notebook and Jupyter Lab.
Expected behavior
Both tests should print 123 456.

Your Jupyter and/or Python environment

Jupyter server running: Local
Extension version: v2020.8.103604
VS Code version: 1.49.0-insider (4ccab0deda29628076ce1bbb17e9fef239337f21)
Setting python.jediEnabled: unset
Setting python.languageServer: Jedi
Python and/or Anaconda version: Python 3.8.1, not using Anaconda
OS: macOS Mojave 10.14.6
Virtual environment: venv

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

@matangover Thanks for reporting this issue. We actually just recently fixed an issue where we were trimming spaces in output when we should not have. It looks like this issue has been resolved by the same fix (we were probably trimming off the space after '123 '). Should be in the next release of the extension:

Closing as should be fixed in the next release.


Field officers should see all agency users on the users page

As per the design at https://mongodb.invisionapp.com/share/7FXRXCBTYEW#/422322414_Field_Officer-Users - When a field officer is logged in and clicks 'Users' in the top nav bar - they should see all the users in their agency.
They should not be able to edit any users from that section - including themselves. (If they want to change their details they have to click their name in the upper-right-hand corner and do it there.

I would like to work on this issue

Hi @joquendo, thanks for offering to work on this! I have assigned it to you.

It looks like the callFacetByUsers function is called for this.
The function arguments passed are not dependent on the user role - agency admin vs. field officer vs. global admin. Inside the function there is no filter that checks role, so this is a Realm permissions issue.
@Sheeri should kick this over to the Realm component.


+#^!!Crackstreams.,..!# UFC 306: O'Malley vs. Dvalishvili on TV Channel (14/09/2024)

adsfdghjadsdfg

O'Malley vs. Dvalishvili


feat: golang version in ci machines

What this PR does / why we need it:

add the ability to set golang version in machines
https://outreach-hq.slack.com/archives/CN9MU7GLW/p1637104259376700

JIRA ID: XX-XX

Notes for your reviewer:

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

GitHub release
CircleCI Orb

Your semantic-release bot :package::rocket:


New user handling and push notification features

Signed-off-by: Marc Anthony Reyes<EMAIL_ADDRESS>

Changes superseded by https://github.com/mabreyes/palaylab-mobile/pull/22.


Enable service typesupport for C

I believe this will fix an issue @dirk-thomas found with compiling packages with only services.
Because the template file for C services typesupport is currently empty, services won't actually work yet.

Confirmed locally by removing the AMENT_IGNORE file in std_srvs, a package in common_interfaces which only has services.

+1 with another package containing only service files but no messages.

ros2/common_interfaces#10
Do you think re-enabling std_srvs is the right approach, or should we make a smaller new package somewhere?

I don't think reenabling std_srvs is necessary neither create a new package for it. Simply because we disabled for faster build times and I think this is still an important goal. So I would go for no coverage for that case for the near future (until we reenable more packages again).

http://ci.ros2.org/job/ci_linux/1000/
http://ci.ros2.org/job/ci_osx/831/
http://ci.ros2.org/job/ci_windows/1081 (pending)
I kept the branch that enables std_srvs for this build, but I will not merge it (and I will delete the branch after merging).


Declare imports for operations

Merging as this is a small change. Tested with Koi-py importing the pip.


Success message for campaign list "Link" button

Current state: The "Link" button on the campaign list copies the link to the user's clipboard. But the user doesn't know this happened.
Desired state: Implement a Bootstrap alert to notify the user that "Success: Link copied to clipboard."

resolved in #273


KITTI

[this is no issue, just a question]
Thanks a lot for releasing your code!
I searched for the keyword kitti in your code, but there were 0 hits.
In your paper, you also trained and evaluated on KITTI.
Will you also release code to reproduce those experiments?
Again, thanks so much for contributing to the community by releasing your code!

+1, it seems that the original frustum-pointnets is implemented in tensorflow.

Hi, we have released the PyTorch code for Frustum PointNets and Frustum PVCNN Efficient on the KITTI dataset.


Wifi direct

One major functionality change and a lot of refactor to make this functionality cleaner.
ADRA needs the ability to send forms via Wi-Fi Direct multiple times - IE the tablet collecting the forms via WiFiDirect from the front line workers itself will not ever get connectivity and thus needs to transfer these forms to yet another tablet that will be returned to the home office and sync with the server. This change supports this workflow. Essentially, after pulling any extant FormRecords from the database into the file system, this activity will now check the "to be submitted" folder for any forms it previously received via wifi direct. If these are found, we move these into the same folder as the form records we just pulled. Once there, forms from the two sources are functionally equivalent and we can proceed from there. This is accomplished here: https://github.com/dimagi/commcare-odk/compare/wifi-direct?expand=1#diff-1ec3d20f602697a29ebc1680b992c3a3R627
The biggest functional refactor is separating the process of moving files from the database to storage and zipping these files into separate tasks so that we can do the step above in between. there's some other cleanup besides.

Release Note: Wi-Fi Direct now supports multiple transfers between devices

contains commits from: https://github.com/dimagi/commcare-odk/pull/1109

Finished another pass. Let me know when it is ready for a final pass

:metal:


SUSE repository faulty

The packages-microsoft-prod.rpm for SLES (or opensuse which does seem to exists, but is not described in this document) installs a yum repository file in /etc/yum/yum.repos.d which obviously doesn't work on Suse based systems as those use zypper as package manager and expects a repo file with a slightly different format in /etc/zypp/repos.d .

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

ID: 1e7ed059-d77f-6ce0-8501-fc3afd1c8048
Version Independent ID: f2d249ee-50e4-52b4-4187-954a84a48ec1
Content: Linux Software Repository for Microsoft Products
Content Source: WindowsServerDocs/administration/Linux-Package-Repository-for-Microsoft-Software.md
Service: na
Product: windows-server
Technology: compute
GitHub Login: @szarkos
Microsoft Alias: szark

Thanks for your dedication to our documentation. If we have been unable to review your issue in a timely manner, we sincerely apologize for the delayed response. We have captured the informtion you have provided for review. We are closing this issue for now, but if you feel that it's still a concern, please respond and let us know. If you determine another possible update to our documentation, please don't hesitate to reach out again. #please-close


clean up error handling code to be clearer

we're not throwing an error if len(deployments) == 0 || len(commits) == 0 so we shouldn't have the code look like that's what it's doing

Looks good! :+1:


[CP] Fix to verify_binaries_codesigned test

issue_link
https://github.com/flutter/flutter/issues/100306
Commit Hash
0adf9671f
Impacted Users
all users of Flutter beta releases
Impact Description
This test failing is a blocker to releasing to the beta channel.
Workaround
In the last beta release, this had to be worked around by a release engineer manually running the test locally and verifying the test passed.
Risk
low (a new release does not have to be produced, merely merging the cherrypick to the candidate branch will give pass/fail signal)
Test Coverage
yes
Validation Steps
Post-merging, the Mac verify_binaries_codesigned test should pass.

CC @godofredoc @CaseyHillers @XilaiZhang


"Ignore all read-only properties" is misleading (assuming there is no bug in code)

Type of issue
Other (describe below)
Description
It's says
"A property is read-only if it contains a public getter but not a public setter. To ignore all read-only properties when serializing, set the JsonSerializerOptions.IgnoreReadOnlyProperties to true, as shown in the following example:"
If I simply modify the example to this:
public class WeatherForecastWithROProperty {
	public DateTimeOffset Date { get; set; }
	public int TemperatureCelsius { get; set; }
	public List<string> Summary2 {
		get {
			return new List<string>();
		}
	}
	public string Summary {
		get {
			return "string";
		}
	}
	public int WindSpeedReadOnly { get; private set; } = 35;
}

This is my output:
{
  "$id": "1",
  "Date": "0001-01-01T00:00:00+00:00",
  "TemperatureCelsius": 0,
  "Summary2": {
    "$id": "2",
    "$values": []
  }
}

So it doesn't "ignore all read-only properties" :(
Page URL
https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/ignore-properties
Content source URL
https://github.com/dotnet/docs/blob/main/docs/standard/serialization/system-text-json/ignore-properties.md
Document Version Independent Id
db1ef743-6f31-a509-4676-f22d4847792d
Article author
@gewarren
Metadata

ID: b7aa3b68-ffe0-8bdf-b6f4-b99672086a92
Product: dotnet-fundamentals

@eiriktsarpalis Is there a rule that read-only collection-type properties are serialized even if IgnoreReadOnlyProperties is true?


Undefined class in bert_lm.py

Hi, I have just cloned the repo, and I am trying to run the attack using the command specified in the readme:
python pat_attack.py --target=mini --imitation_model=imitate.v2  --nsp --lamba_1=0.6 --lambda_2=0.1 --num_beams=10 --topk=128 --mode=train

However, I soon get the following error:
Traceback (most recent call last):
  File "pat_attack.py", line 27, in <module>
    from bert_ranker.models.bert_lm import BertForLM
  File "bert_ranker/models/bert_lm.py", line 193, in <module>
    class MaskedMultiHeadSelfAttention(MultiHeadSelfAttention):
NameError: name 'MultiHeadSelfAttention' is not defined

The cause is the missing implementation of the class MultiHeadSelfAttention.
This was probably caused by an unfortunate refactoring of the code.
Could you add back the implementation of the class MultiHeadSelfAttention?

Thank you very much for pointing out this bug.
I have added the relevant modules in the repo. Please update :)
Best wished,
Jiawei Liu
Wuhan University
At 2024-02-05 00:33:32, "Gianluca De Stefano" @.***> wrote:
Hi, I have just cloned the repo, and I am trying to run the attack using the command specified in the readme:
python pat_attack.py --target=mini --imitation_model=imitate.v2  --nsp --lamba_1=0.6 --lambda_2=0.1 --num_beams=10 --topk=128 --mode=train
However, I soon get the following error:
Traceback (most recent call last):
File "pat_attack.py", line 27, in
from bert_ranker.models.bert_lm import BertForLM
File "bert_ranker/models/bert_lm.py", line 193, in
class MaskedMultiHeadSelfAttention(MultiHeadSelfAttention):
NameError: name 'MultiHeadSelfAttention' is not defined
The cause is the missing implementation of the class MultiHeadSelfAttention.
This was probably caused by an unfortunate refactoring of the code.
Could you add back the implementation of the class MultiHeadSelfAttention?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Spike animatable properties

Implement a framework for animations.
21 21 34

There are currently four different, not deprecated, animation elements, that are an implementation of a subclass of SVGAnimationElement
These are:
animate, for animating properties
set, for setting properties
animateMotion, for animating the movement of an element along a certain path.
animateTransform, for applying transformations to an element.
I think it might be sensible to turn each of them into a user story, even though they are not totally separate. I think its also a good idea to look for basic properties of those elements, and ask our customer, which of those are desirable to him.


[stable/prometheus] Kubernetes 1.16 incompatibility

Is your feature request related to a problem? Please describe.
I get a validation error when installing the helm chart stable/prometheus in kubernetes 1.16
Error: validation failed: [unable to recognize "": no matches for kind "DaemonSet" in version "extensions/v1beta1", unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1"]

Describe the solution you'd like
Either change the apiversion to apps/v1 or provide a mechanism to sink in the api version via a value.yaml
Describe alternatives you've considered
Downloading the templates folder to localhost and manually change the api version
Additional context
According to https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.16.md, extensions/v1beta1, apps/v1beta1, and apps/v1beta2 APIs have been retired in kubernetes 1.16!

https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/
NetworkPolicy (in the extensions/v1beta1 API group)
Migrate to use the networking.k8s.io/v1 API, available since v1.8. Existing persisted data can be retrieved/updated via the networking.k8s.io/v1 API.
PodSecurityPolicy (in the extensions/v1beta1 API group)
Migrate to use the policy/v1beta1 API, available since v1.10. Existing persisted data can be retrieved/updated via the policy/v1beta1 API.
DaemonSet, Deployment, StatefulSet, and ReplicaSet (in the extensions/v1beta1 and apps/v1beta2 API groups)
Migrate to use the apps/v1 API, available since v1.9. Existing persisted data can be retrieved/updated via the apps/v1 API.

Can we fix other charts too or should they get their own tickets?
the stable/ipfs chart also has this issue:

Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "StatefulSet" in version "apps/v1beta1"

Is it safe to just submit a pull requests with all of these changes at once?
I'm not sure if I would be able to test it all.

I guess this is a duplicate of #17267

I have same problem in a rancher deploy
Error: validation failed: [unable to recognize "": no matches for kind "PodSecurityPolicy" in version "extensions/v1beta1", unable to recognize "": no matches for kind "DaemonSet" in version "apps/v1beta2", unable to recognize "": no matches for kind "DaemonSet" in version "extensions/v1beta1", unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta2", unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1", unable to recognize "": no matches for kind "StatefulSet" in version "apps/v1beta2", unable to recognize "": no matches for kind "StatefulSet" in version "apps/v1beta1"]


testsuite: ztest: Reduce default number of iterations for shuffling

Change reduces default number of iterations for test shuffling. This speeds up running tests with shuffling enabled. Developers can explicitly modify the configuration if the tests needs to run multiple times.

Hi @yperess,
My intention was to let test shuffling trigger only randomizing the test execution order (so that we verify that a test does not affect other tests). I wanted to treat running tests multiple times as an additional feature that could be enabled with a separate Kconfigs (keeping in mind that running tests multiple times makes execution significantly longer - with current default configuration each test is run 3 * 3 = 9 times).
If you prefer to stick with the current approach, I would not insist (we can even leave it as is).
Alternatively we could consider running each test (or test suite) only twice to reduce test execution time and keep check for proper cleanup (we may even state this reason in Kconfig option help to make developers aware).

@MarekPieta - I see what you're saying that default configuration with shuffling will take significantly longer as we're running each test 9 times. I don't want to change this as yperess mentioned, we're trying to catch dependency order issues with shuffling enabled, changing the defaults to 1, reduces the probability of finding them. I'm fine with adding some text to to give developers more awareness that enabling shuffling will increase test execution time based on the *_REPEAT_COUNT configs.

@asemjonovs - I think that it would be valuable to describe it better in documentation how ZTEST_SHUFFLE works. Especially, what are default values of *_REPEAT_COUNT values and how they impact on test execution time. Could you please add this to documentation?


Users/scottdallamura/setappserviceutility

Task name: AzureWebAppV1
Description: when making the isSitePublishingCredentialsEnabled check, create a new AzureAppServiceUtility if one is not already available.  fixes a nullref in the case where it's not available
Documentation changes required: N
Added unit tests: N
Attached related issue: Y #18172
Checklist:

[x] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

/azp run

/azp run


After 0.10.8, 'Code' executable has been renamed 'code'

VSCode Version: after 0.10.8 dated 02/05, for example 0.10.11
OS Version: Ubuntu 15.04

Steps to Reproduce:

after blowing away directory, unzipped in /usr/local/lib
symlink in now broken because 'Code' executable doesn't exist under /usr/local/lib/VSCode-linux-x64

Fixed by:
Under /usr/local/lib/VSCode-linux-x64, created a 'Code' copy of 'code' executable:
> sudo cp code Code

After which launcher icon and '> code .' work as expected.

This was intentional and follows the platform conventions (default to lowercase and no spaces). I would recommend not renaming the code executable but instead refreshing your symlink:
SYMLINK_PATH="/usr/bin/code" # or where ever it is
rm $SYMLINK_PATH
ln -s /usr/local/lib/VSCode-linux-x64/code $SYMLINK_PATH

Also note that in the March release we will be offering a .deb package for easier installation which includes a new and improved launcher that accepts more command line args. You will want to remove your code symlink at that point. I'll make some notes in the release notes for the March release to help out users with symlinks set up.


"Remote Sync" not appearing after right click.

When I select my project folder, "Remote Sync" is not appearing in the context menu.
Using 1.20.1 on Mavericks.

I am also having this same issue.
Atom v. 1.20.1 on El Capitan
Hi toups! #SB

use the commend with keybinding ctrl+shift+p and input remote

No "remote" thing in ctrl+shift+p menu.

I had incomplete packages issue (look at bug icon at bottom left). Rebuilding packages helped.

For a hot-fix see issue: https://github.com/yongkangchen/remote-sync/issues/433
Remote-sync is working, it's just not appearing in the project menu...

Duplicate of https://github.com/yongkangchen/remote-sync/issues/433
Will patch in the coming days.


Disable 'recently used features' icon list at the top when on smartphone

On a smartphone display, the top is already so small that you need to scroll to get to the buttons on the right. But because those icons of the 'recently used features' are draggable; often you end up dragging one of those instead of horizontally scrolling that bar.

Should clarify that I'm talking about the V3 preview on https://www.whatsmybrowser.org/b/AMADY
Here's a video of what I mean: https://photos.app.goo.gl/BKWwafFYmdtS6MH1A
If you need to scroll to the right to hit the save button. You need nudge from the right without touching dragging those icons by accident.
Solution idea: Make it so that on smartphone, you have to touch the icon for a couple seconds and then you can move it (as if you were to move an app from the android/ios homescreen)


Ignore {:error, :obscured} ?

I'm using Wallaby 0.20.0.
I have started getting a pile of {:error, :obscured} failures in my feature tests. These used to pass, but have started failing for cases where I'm trying to interact with an element in a modal popup.
I'm not sure why Wallaby thinks these are obscured (I've taken screenshots and the fields are there). Is there any way to tell Wallaby to go ahead and interact with elements it believes are obscured (without failing)?

I'll look through the changelog to see if there's anything specific that would have caused this. could you give me a sample test? That way I can bisect and see whats going on?

Unfortunately I'm not going to be able to pin down for you exactly when this error would have started showing up (i.e. it's not a result of 0.19 -> 0.20).
Development of our app slowed way down when we went to focus on usage growth -- I haven't been running a lot of feature tests recently. Also, I have it set up to specifically require that I run feature tests (not on mix test), so previous usage was also spotty.
I do know for a fact though that the tests have not always been failing.
I'm not sure how you would go about replicating, but here is an example failing test:
  @tag :feature
  test "can add activities, items are reflected in the daily log", %{session: session} do
    quick_login(session)
    assert_on(session, @dashboard_path)

    session
    |> click(@add_item_dashboard_button)
    |> find(Query.css(".modal.visible"))
    |> click(Query.css("[data-test-add-activity-link]"))

    # Make sure page transition done
    find(session, Query.css(~s|form[action="/activities"]|))
    assert Browser.has_text?(session, "[Infant Room (Little Bears Daycare): Billy Smith]")

    # <------------- This is where the test will fail (the `fill_in` `activity_details` part). I have taken a screenshot here, and validated that the text field is in fact on the page.
    session
    |> fill_in(Query.text_field("activity_details"), with: "Played in the snow!")
    |> fill_in_semantic_ui_time_field("activity_display_time", "8:15AM")
    |> click(@submit_button)

    assert_flash(session, "Activity recorded!")

    # Double check the activity was created
    visit(session, daily_report_path(@endpoint, :program, display: %{program_id: @program_id}))
    assert Browser.has_text?(session, "Daily Activity Log")
    assert Browser.has_text?(session, "Played in the snow!")
  end

If it's not immediately obvious what the issue is, is there an quick way to set a config flag that allows interaction with obscured elements?

Is the page rendered with JS? Does it have any sort of fancy css? What browser are you using?

Just a thought, but it may be that we aren't retrying correctly if we get the obscured element error. I'll have to look through the code to see if thats the case though.

@keathley Thanks! Let me know if you find anything. I promise you the field is there and can be interacted with in a real browser. I'd like to keep feature tests around, so anything you can come up with would be greatly appreciated.

I suspect it has something to do with when chrome driver is attempting to interact with the modal combined with how the modal is opening. It may be something that we aren't handling correctly internally. I'll try to dig around.

I'm also getting this error when trying to manipulate a page with zero javascript using chromedriver. Let me know how I can help.

I've been seeing the same thing with chromedriver for elements that are out of the current viewport, and work around it explicitly scrolling the element into view before interacting with it.

@evax what are you doing to scroll the element into view?

@keathley I'm calling javascript for now
def scroll_into_view(session, selector) do
    session
    |> Wallaby.Browser.execute_script("""
      $("#{selector}")[0].scrollIntoView();
      """)
end

@evax, @thmzlt can either of you provide a failing test case so I can reproduce this locally?

This might be able to be closed due to #389.

@brandonparsons Would you mind testing on master to see if this has solved your problem?

I'll give it a shot today. I'm not positive all my feature tests will still
work (I've let them slide due to false negatives), but if most of them pass
that would probably be indicative of the problem being fixed.
On Wed, Oct 31, 2018 at 7:08 AM Chris Keathley<EMAIL_ADDRESS>wrote:

@brandonparsons https://github.com/brandonparsons Would you mind
testing on master to see if this has solved your problem?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/keathley/wallaby/issues/373#issuecomment-434679735,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABN86jyipLdZJlN9wvkvLYerpsidugUUks5uqaC1gaJpZM4Udree
.

@keathley I'm getting the same number of test failures, but a different failure message that may be more helpful.
** (CaseClauseError) no case clause matching: {:error, "unknown error: call function result missing 'value'\n  (Session info: headless chrome=70.0.3538.77)\n  (Driver info: chromedriver=2.34.522932 (4140ab217e1ca1bec0c4b4d1b148f3361eb3a03e),platform=Mac OS X 10.13.6 x86_64)"}
     code: |> fill_in(Query.text_field("account_contact_email"), with<EMAIL_ADDRESS>
I don't know what to do with this, but perhaps it helps you?

Thanks @brandonparsons this is definitely a lot more helpful

@brandonparsons what version of Chrome and ChromeDriver are you using?

@mhanberg I can't check right now, but is that not it right in the error message?
(Session info: headless chrome=70.0.3538.77)\n  (Driver info: chromedriver=2.34.522932 (4140ab217e1ca1bec0c4b4d1b148f3361eb3a03e),platform=Mac OS X 10.13.6 x86_64)

😅 I need to learn to read. Thanks. Could you try updating chromedriver? I believe that the current version is 2.43.
At some point, chromedriver moved from brew to brew cask, so you may need to run brew uninstall chromdriver and brew cask install chromedriver.
@brandonparsons
thanks

I have a suspicion that something in chromedriver has changed and our internal contract has broken. Its probably something we need to investigate further.

@mhanberg @keathley Upgrading chromedriver actually seemed to really help. Went from 14 failures to 2, and those two could actually be legitimate failures given that I haven't been taking very good care of my feature tests!

Awesome! Sorry it caused you some pain but glad to hear that it's working now. We'll go ahead and close this for now but if you encounter more issues let us know 👍


[BUG] Website Content is repeative

Is there any existing issue for this?

[X] I have searched the existing issues

Description
The Content on the website is repeated like in the Hero section, a single paragraph is repeated three times.
Similarly in FAQs section, All questions have same answer except the first question.
Screenshots

The highlighted text is repeated.
Any additional information?
No response
What browser are you seeing the problem on?
Chrome

I would like to work on this Issue under GSSOC'23

Hey @arpitghura i am not able to recreate the issue that you have stated in hero section and repeated text in accordion has already been stated #136


support for .json files in templates and environments

I'm probably opening an old can of worms here, but is there any possibility of treating .json files as first class citizens in helm? I prefer JSON over YML and while I can put valid JSON in whatever.yaml when I mentioned it one of my colleagues suggested that "anyone who does that should be taken out back and shot"

related ticket with a larger amount of background context: https://github.com/kubernetes/helm/issues/2577

closing as a dupe of #2577


Create root OWNERS file

Adds an OWNERS file to the root of the repository. This PR will need manually merging as there are currently no approvers 😄
Signed-off-by: James Munnelly<EMAIL_ADDRESS>/cc @wwwil

/lgtm

/approve

Running /approve should work from now on!


ImageWithButtons component not working.

Image with buttons component added to index article in ai-avatar-generator is giving an error.

The component Isnt being rendered locally.

I previously encountered this issue when I moved the file around. problem was in components.d.ts file. I checked that and it was fine. I also turned off ad blockers. still nothing.

LazyImageWithButtons not small case. Fix and it should work.


Fixed no-unbound-method on built-in Array methods

PR checklist

[x] issue: #4439
[x] bugfix

[x] Includes tests

[x] Documentation update

Overview of change:
Fixed no-unbound-method rule to correctly handle the cases like
[1, 2, 3].find(this.method, this)

CHANGELOG.md entry:

[bugfix] arrow-return-shorthand

Closing per discussion in #4439. You can always publish this fork of the core no-unbound-method rule as a standalone npm package if you'd like to use it!


Address #618 v5, filepaths too long

Addresses #618. Approximate example of longest (I think) file path:
alkiln-2023-04-08 at 02h08m58sUTC/alkiln-2023-04-08 at 02h08m58sUTC/Longest filepath should be under 184 characters with scenario descript-1680919740070/random1680919742254/random-25-characters-questi1680919742327.jpg
That's 217 characters.
[Just realized that when we have languages, the language name will also be added. Not sure what to do about that.]

minor nit about screenshot vs picture in the user-shown text

I changed it because the filename is going to be 'pic' instead of 'screenshot' to make it shorter. Thoughts?

I changed it because the filename is going to be 'pic' instead of 'screenshot' to make it shorter. Thoughts?

@plocket See https://github.com/SuffolkLITLab/ALKiln/pull/689#discussion_r1167193926


Added Navigation feature to show codes for the buttons instead of downloading it #290

New Web Page Designed Showing Files of code on the Web Page directory #290
Checklist:

[x] : Routing Implementation to the new Web Page where the code can be copied from.
[x] : adding Show Code button below every button on the main page.
[x] : Designing the WebPage.
[x] : Import files of the indivisual button
[x] : Displaying indivisual code sections of HTML, CSS and JS.

can you give me permission to resolve conflicts?

The conflicts here are actually actually because I installed a package react-router-dom.

Conflict Resolved

Future Goals:

Redesign of the UI
Betterment of Dark Mode
Make the code such that changing it propagates to the displayed button

@Spyware007
Conflicts have been resolved.
Thank you so much for your appreciation and acknowledgement.
Happy to be working on the project.

Thank you so much @adity2911 !
You can further work on this
Future Goals:
Redesign of the UI
Betterment of Dark Mode
Make the code such that changing it propagates to the displayed button
I will assign it to you just create a PR.
Tip: Make separate PRs for each one to get more points and top the leaderboard.
Once again Thank you so much.

Actually before we do that, There is some error due to resolve conflict.
The showPage button is missing from the main page.
If you allow me just some time to reslove the error right now, I think It will be better for the codebase.

@adity2911  yeah sure!
I texted you on discord for the same!

I have fixed it
can you merge the PR?


[FEAT]: Fix rust curve generation

The current script wont work any more.
We need to update the templates.

I wouldn't update the script, I don't think it's reasonable to expect a script to fully generate a new curve. It's still helpful to be able to auto-generate some values, and decompose numbers into limbs. But I feel like this might be best served by C++ macros, wdyt @ImmanuelSegol ?


instance.notify should contain details of what has changed.

Issue by infmally from Sat Oct 12 19:11:16 2013
Originally opened as https://github.com/UWNetworksLab/UProxy/issues/68

e.g. we could use a JSON patch-like format:
instance.notify = {
changed: {
'INSATNCEID/trust/asProxy': {old: Trust.NO, new: Trust.OFFER}
'INSATNCEID/description': {old: "Foo's laptop", new: "Foo's old laptop"}
}

Closing this issue - we've changed the consent and instance message formats a number of times since this issue was entered and think we are good now


Create a native JPMS module descriptor

JAXB API uses activation-api as its dependency and is forced to use it as an automatic module or from classpath  because of missing a module-info.java descriptor file.

A module-info.java won't be created until Jakarta EE 9 requires Java SE 9 or later.
In the mean time, an Automatic-Module-Name of jakarta.activation has been declared
in the 1.2.1 release.

Extracts of interview in JAXenter "Richard Monson-Haefel: I think Jakarta EE should become much more modular and that will be accomplished through a simpler, more flexible programming model as well as Java SE Modules. Modularity, both in terms of the programming model and deployment, is the best way to accommodate not just cloud-native but all types of deployments and runtimes." ...."Jakarta EE 9 will begin the transition to a simpler, lighter, and more flexible platform but that’s not going to be ready until the middle or late next year."
Meanwhile (SE 11 and later) there will be no way of using JAXB( as it uses activation-api ) in a modular deployment using  jlink as it does not accept Automatic-Module.

This is mostly an issue for those looking to create a run-time image containing the java.xml.bind module. It was easy to do this with JDK 9 or JDK 10 because java.activation was an explicit module in Java SE 9 and 10. It won't be possible with JDK 11 or newer until java.activation is an explicit module.

It seems to impact us in the Jenkins project. We have some loading issues in one of our test tools when we run Maven Surefire in Java 8 with -jvm flag pointing to Java 11 (JENKINS-55146).
Updating to JAX 1.2.1 seems to solve the issue somehow, but in such case we get into JAXB issues. Custom JAXB build would likely do the job, but there are other dependencies on the module

To second @AlanBateman , here is a similar question on StackOverflow.

Is the module name change required? Yet another breaking change will not be fun!    Why weren't the Java SE EE modules kept in modularized form when they were removed from the JDK????  This is causing a world of pain for anyone trying to migrate to JDK 11 or beyond.

Yes, this is a bigger mess than we would've liked.
I proposed a set of options for how to handle the module names.
The PMC chose option #1 - use jakarta.* for all module names.  That's why the module name changed.  This introduced an incompatibility with those modules that were included in JDK 9.
We will update all these modules to have complete module descriptors, and possibly introduce aggregator modules for compatibility, but that's just not a priority right now.

Okay, if the module name is changed and aggregator modules are used for backward compatibility the change will be tolerable.  But...
Why is it that things are left completely broken and it's "just not a priority right now"?
What happened that caused the backwards step that broke (de-modularized) the modules?
Did nobody bother to think how much that breaks existing workflows and prevents adoption of JDK 11+?
I was all prepared to depend on an external module for what was removed in JDK 11 - we had plenty of warning about that... except there is no external module!  You can't add to the module path and continue on as before.  Cleaning up the mess should be the first priority IMO.

Sorry, there are only so many hours in a day.  First priority is Eclipse GlassFish 5.1 release.

@oleg-nenashev
Do we have any problem with Surefire?
After time you made some changes and updated activation jar and maybe more. What has changed? How can I help?

@Tibor17 I cannot say for sure that the problem is with Maven Surefire itself. The issue on our side is JENKINS-55146, and finally I had to revert the update due to this issue.
Summary of what we hit in Jenkins:

We have a Plugin Compatibility Tester for verifying Jenkins plugin compatibility. We recently updated this tool to run Maven Surefire tests with Java 11
The tool runs in Docker or locally
For Docker we consistently see crashes in Surefire while it tries to read the java.activation.jar. It happens when Surefire runs with JDK8 (-jvm and -argLine used to pass Java 11 for tests) AND when it runs fully with JDK11. Sample log is below. There are 3 entries which randomly appear in the Surefire crash log
I would have assumed an issue with Debian used in the Docker image (like SUREFIRE-1588), but I was able to reproduce the issue on MacOS and OpenJDK. Happens randomly there

+ echo 'Found Maven Surefire dump file: /pct/tmp/work/credentials/target/surefire-reports/2018-12-21T14-52-38_640-jvmRun1.dumpstream'
+ cat /pct/tmp/work/credentials/target/surefire-reports/2018-12-21T14-52-38_640-jvmRun1.dumpstream
# Created on 2018-12-21T14:52:39.364
Corrupted stdin stream in forked JVM 1. Stream 'Error occurred during initialization of boot layer'.
java.lang.IllegalArgumentException: Stream stdin corrupted. Expected comma after third character in command 'Error occurred during initialization of boot layer'.
	at org.apache.maven.plugin.surefire.booterclient.output.ForkClient$OperationalData.<init>(ForkClient.java:469)
	at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.processLine(ForkClient.java:191)
	at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:158)
	at org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:87)
	at java.lang.Thread.run(Thread.java:748)

# Created on 2018-12-21T14:52:39.366
Corrupted stdin stream in forked JVM 1. Stream 'java.lang.module.FindException: Error reading /pct/jdk11-libs/javax.activation.jar'.
java.lang.IllegalArgumentException: Stream stdin corrupted. Expected comma after third character in command 'java.lang.module.FindException: Error reading /pct/jdk11-libs/javax.activation.jar'.
	at org.apache.maven.plugin.surefire.booterclient.output.ForkClient$OperationalData.<init>(ForkClient.java:469)
	at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.processLine(ForkClient.java:191)
	at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:158)
	at org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:87)
	at java.lang.Thread.run(Thread.java:748)

# Created on 2018-12-21T14:52:39.366
Corrupted stdin stream in forked JVM 1. Stream 'Caused by: java.util.zip.ZipException: zip END header not found'.
java.lang.IllegalArgumentException: Stream stdin corrupted. Expected comma after third character in command 'Caused by: java.util.zip.ZipException: zip END header not found'.
	at org.apache.maven.plugin.surefire.booterclient.output.ForkClient$OperationalData.<init>(ForkClient.java:469)
	at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.processLine(ForkClient.java:191)
	at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:158)
	at org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:87)
	at java.lang.Thread.run(Thread.java:748)

The issue happens in the test tool only, so it is not a blocker for Java 11 support in Jenkins. We also want to eventually use jlink in some cases, but so far we just bundle JARs in Docker images and research options to create a JAXB Plugin for WAR files to retain the Java 8 user experience there (JENKINS-51965).

@oleg-nenashev
There is very simple answer to say.
Every time user can see a dump saying that some stream is corrupted, it means that the test running in the forked JVM prints lines in native System.out. Surefire normally sets the proxy PrintStream via System.setOut but in some cases some frameworks use FileDescriptor.out or they get very early access to System.out during the boot time and surefire identified it as a corruption of the stream.
I introduced the dump file because of this.
We had many problems with users and this was the way to explain that the user has to fix it on his side.
We only provided all information of the error but the fix is not in our hands.
Once the stream is corrupted the VM may be killed by itself and the test set is incomplete and VM exited with error code 1 ans the Maven build consequently fails.

GlassFish 5.1 has been out for quite some time already. Is there any progress on this?

Sorry, no, spending all my time on the Jakarta EE 8 release.

Now that Jakarta EE 8 has been released, is this back on the table?

The next priority is to get the Jakarta Activation spec approved through the
Jakarta EE Specification Process.  Hopefully I'll get back to this soon.

Thank you for keeping us updated, your work is very much appreciated! :)

I've created a jakarta.activation module descriptor for the Jakarta Activation 1.2.2 release.


PP-10894 Update Zendesk client - Remove node-zendesk and use axios

Removing node-zendesk NPM and replacing with axios.

In order to use the Zendesk API key, we need to do the following: - Use basic auth as follows: - Username - use the API username with /token at the end. - Password - set as API key

axios will automatically detect if the http_proxy ENV variable is set and use that to proxy requests.

The http_proxy ENV is set on the AWS environments.
When running it locally, no proxy is used.

No unit tests required for the Zendesk client as other tests cover this functionality.

I have made the requested changes - please take a look.

Good idea - I will pin the release in staging


Progress bar resource is corrupt

I know that somebody already had this problem before but I've tried re-downloading it several times and I keep getting this error:

[Error: Progress bar resource is corrupt! Please, redownload the script with all files.]

Windows 8 or higher by the looks of it. Try replacing your file with this and tell me if it helps: http://www.equinoxcreations.com/download/progress_bar.json

No, the error is still appearing ((unless I wasn't supposed to replace the progress_bar file with that))

Then post a link to your progress_bar.json here. I'll take a look.

http://hastebin.com/odevutoyis.sm

Not very helpful as the service you used already processed the file on its own. I needed the original file. But never mind, it looks like you've got the right content, so last try: http://www.equinoxcreations.com/download/progress_bar.json Please download again and replace your current version. Notice if the error you're getting still mentions the "progress bar" or something else.

I'm getting the error as well, even with the new progress_bar file you posted 2 weeks ago. Running Windows 7 with Photoshop CS6

I have no issues with Ps 6 in Windows 7. It looks like there's something wrong with your Ps installation.

I am also having the same issue with it using CS6 on Win 7 64-bit.  If it's something with PS, what clears it up?

Same issue here - Windows 10 64-bit. Restart of application usually helps for short time. This error occurs irregularly and i can't find pattern to call it.

Unless someone else experiences this an can provide more information I will keep this closed. We are unable to reproduce this with the hardware/software we have on hand.


Issue with installing on Ubuntu Trusty

Operating system: Trusty
Last upstream commit (run git log --author="Robert Lord" | head -n 1): ✍ TODO
Browser version(s): Master from earlier today
Ruby version (run ruby -v):  ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux-gnu]

I'm getting the error message:
Your Ruby version is 2.3.4, but your Gemfile specified >=2.3.1

Huh, that's a really bizarre issue. I could have sworn somebody else had this issue a while ago but I can't seem to find it. I'll keep looking — in the mean time, if you're still having this issue, maybe try docker? I also know people have had issues because of not having ruby-dev installed on Ubuntu, although their error messages were very different.
It's also possible your bundle command is going to a different Ruby if you have multiple installed? I thiiiink bundle exec ruby -v might reveal that.

Thanks, maybe you can close this for now as I reverted back to mac got Ruby upgraded to the right version and everything works ok up until end of deploy. Have a new issue now, will post in a bit. By the way, is there a slate manual for slate?

No Slate manual, but there's more documentation in the wiki if that's helpful. I'll close this issue, feel free to open a new one when you're ready!

Hi @lord I'm experiencing the same problem in Ubuntu 16.04
I executed bundle exec ruby -v and this is the result:
ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
any Idea what is causing this? Thanks.


Need an efficient 'step' function

If we're running in realtime, or we want a model to interact with another model (ie, in a patch type model where we import the model one patch at a time) we need to be able to have efficient ways to bring the integration out of a run-at-a-time function call.
One way to do this would be to call a 'step' method that would run the model forward one step and then return control to the user.
We could also consider ways of tying multiple models together within the same integrator. We could consider putting 'run' at the package level, instead of at the model level, so that you could pass multiple model objects together into the integrator.

This is closed in V0.2.2 by structuring the integration in such a way that it can easily handle single values. We still need to modify the way the run function handles return_timestamp values, but that is referenced in issue 17: return_timeseries parameter in run function can't handle arrays, demands lists


Testing a NetlifyCMS config.yml

Hi all!
Just a quick query, hopefully! Could you point me in the right direction for testing a NetlifyCMS config.yml file? I'm writing a python script to process a Jekyll site and generate a netlifycms config.yml for use across our static sites. It would be good to test the generated config.yml to make sure that it will work with netlifycms.  Any ideas?
NetlifyCMS Jekyll config generator repo
@erquhart
Thanks in advance!
Best regards,
Kyle

You can try the test-repo backend, which basically ignores your data files.
Or you can edit this brilliant codepen by @erquhart: https://codepen.io/erquhart/pen/dgNEYo

Thanks @tomrutgers! I'll look into the above :)

Can I close this @kylekirkby?

@tomrutgers - Yh sure - do we have documentation listing how to test a config.yml is valid? Maybe we should add something to the docs pointing people in the right place for testing a config?

There's not really much of a way to test configs other than trial and error really, so I'm not sure what to document about it.


New version: AutoHotkey.AutoHotkey version 2.0.18

Created by 🥟 Dumplings in workflow run #6389.

Log
Updated: 2.0.17 → 2.0.18
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

/azp run

/azp run


How to resize image that uploaded

How to resize image that just uploaded?
Thank you in advance

Sir Trevor JS doesn't handle image processing at all, you'll need to handle this on the server.