error while writing to characteristics from nrf connect app

hello Adam ,
i have a problem while I am trying to write any type of data to characteristics it returns that error from any android device using (nrf connect app) while if I tried from Iphone it done with no problem.
this is the error
Exception in thread HCISocketPoller:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/lib/python2.7/dist-packages/pybleno/hci_socket/BluetoothHCI/BluetoothHCI.py", line 197, in _socket_poller
    self._socket_on_data_user_callback(bytearray(data))
  File "/usr/local/lib/python2.7/dist-packages/pybleno/hci_socket/Hci.py", line 412, in onSocketData
    self.emit('aclDataPkt', [handle, cid, pktData])
  File "/usr/local/lib/python2.7/dist-packages/pybleno/hci_socket/Emit.py", line 15, in emit
    handler(*arguments)
  File "/usr/local/lib/python2.7/dist-packages/pybleno/hci_socket/Bindings.py", line 167, in onAclDataPkt
    self._aclStream.push(cid, data)
  File "/usr/local/lib/python2.7/dist-packages/pybleno/hci_socket/AclStream.py", line 18, in push
    self.emit('data', [cid, data])
  File "/usr/local/lib/python2.7/dist-packages/pybleno/hci_socket/Emit.py", line 15, in emit
    handler(*arguments)
  File "/usr/local/lib/python2.7/dist-packages/pybleno/hci_socket/Gatt.py", line 255, in onAclStreamData
    self.handleRequest(data)
  File "/usr/local/lib/python2.7/dist-packages/pybleno/hci_socket/Gatt.py", line 305, in handleRequest
    response = self.handlePrepareWriteRequest(request)
  File "/usr/local/lib/python2.7/dist-packages/pybleno/hci_socket/Gatt.py", line 875, in handlePrepareWriteRequest
    response = array.array('B', [0] * len(request.length))
AttributeError: 'bytearray' object has no attribute 'length'

while in my characteristics code is as follows
class station_id_char(Characteristic):
        def __init__(self,myuuid):
                Characteristic.__init__(self,{
                        'uuid':myuuid,
                        'properties':['read','write'],
                        'value':None
                })
                self._value = array.array('b','try')
                self._updateValueCallback = None

        def onReadRequest(self, offset, callback):
                print('read succeeded')
                callback(Characteristic.RESULT_SUCCESS,self._value)
        def onWriteRequest(self, data, offset, withoutResponse, callback):
                self._value=data
                print('received '+ str(data))
                if self._updateValueCallback:
                        self._updateValueCallback=self._value
                callback(Characteristic.RESULT_SUCCESS)

thanks in advance

Hi @sherifshsffa91 - please try this branch, there appears to be some code that was ported from Node incorrectly.
https://github.com/Adam-Langley/pybleno/tree/patch-write-from-android


Dropping symbol-observable dependency and realizing the polifyll internally

Fixes one part of #3567
Removed symbol-observable from package.json and implemented a simpler polifyll in /src/utils/symbol-observable.js, similar to RxJs implementation. Changed imports in library and tests and fixed a test that did not perform correctly with the new polyfill.

Any particular reason this got closed?

Any particular reason this got closed?

I did not want to clutter this PR with failed builds, so I created a new one, once I figured out why CI was failing (for some reason it does not fail on my machine).


Add Mateusz Osuch to Contributors list

Added myself to Contributors

@mateuszosuch, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added Facebook share and tweet feature to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.


Discord bot can be taken over due to token being traced back in the payload

The payload contains the discord token, maybe an older version but I can open it with VScode and discover the discord token

How exactly can you do that? I'm a victim myself...

How exactly can you do that? I'm a victim myself...

You could, for example, use an HTTP proxy and then look for the tokens

Hey, just use the ModdedPysilon version, it covers every bug and it make sure your discord account never get banned.
Leave me a star if you like my project ;)


Incentive module follow-up features checklist

This covers features we still need - not tests (#1990)
Absorbing some comments from #1952
Task list:

[x] (testnet) Make sure params work after current migration
[x] Add queries for APY (for frontend)
[x] Stricter genesis validation (check for missed program IDs, duplicate bonds for the same address and denom, etc - marked TODO in code)

Hi I looked into the conversation I think only tests for hooks using leverage module are pending ? And is anyone working on it?


CASMHMS-5869 FAS Update to separate ETCD chart

Summary and Scope
upgraded etcd operator
Issues and Related PRs

Resolves CASMHMS-5869

Testing
List the environments in which these changes were tested.
Tested on:

MUG

Test description:
How were the changes tested and success verified? If schema changes were part of this change, how were those handled in your upgrade/downgrade testing?
same process as other services, only tested fresh install.  awaiting brad's changes

Were the install/upgrade-based validation checks/tests run (goss tests/install-validation doc)?
Were continuous integration tests run? If not, why?
Was upgrade tested? If not, why?
Was downgrade tested? If not, why?

Risks and Mitigations
Are there known issues with these changes? Any other special considerations?
Pull Request Checklist

[x] Version number(s) incremented, if applicable
[x] Copyrights updated
[x] License file intact
[x] Target branch correct
[x] CHANGELOG.md updated
[x] Testing is appropriate and complete, if applicable

Testing
ncn-m002:~/mjendrysik # cray fas snapshots list
{
  "snapshots": [
    {
      "name": "fullSystem_20230324",
      "captureTime": "2023-03-24 18:42:36.930431822 +0000 UTC",
      "ready": true,
      "relatedActions": [],
      "uniqueDeviceCount": 0
    }
  ]
}

ncn-m002:~/mjendrysik # wget --http-user="$ARTIFACTORY_ALGOL60_READONLY_USERNAME" --http-password="$ARTIFACTORY_ALGOL60_READONLY_TOKEN"  https://artifactory.algol60.net/artifactory/csm-helm-charts/unstable/cray-hms-firmware-action/cray-hms-firmware-action-3.0.0-20230320221255+96f81f7.tgz
--2023-03-24 18:45:33--  https://artifactory.algol60.net/artifactory/csm-helm-charts/unstable/cray-hms-firmware-action/cray-hms-firmware-action-3.0.0-20230320221255+96f81f7.tgz
Resolving artifactory.algol60.net (artifactory.algol60.net)... <IP_ADDRESS>
Connecting to artifactory.algol60.net (artifactory.algol60.net)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authentication selected: Basic realm="Artifactory Realm"
Reusing existing connection to artifactory.algol60.net:443.
HTTP request sent, awaiting response... 200 OK
Length: 68582 (67K) [application/x-gzip]
Saving to: ‘cray-hms-firmware-action-3.0.0-20230320221255+96f81f7.tgz’

cray-hms-firmware-action-3.0.0-20230320221255+96f81f7.tgz          100%[==============================================================================================================================================================>]  66.97K  --.-KB/s    in 0.001s

2023-03-24 18:45:34 (58.7 MB/s) - ‘cray-hms-firmware-action-3.0.0-20230320221255+96f81f7.tgz’ saved [68582/68582]

ncn-m002:~/mjendrysik # DOCKER_CONTAINER="artifactory.algol60.net/csm-docker/stable/cray-firmware-action:1.27.0"
ncn-m002:~/mjendrysik # export DOCKER_CONTAINER="artifactory.algol60.net/csm-docker/stable/cray-firmware-action:1.27.0"
ncn-m002:~/mjendrysik # podman run --rm --network host quay.io/skopeo/stable copy \
> --src-tls-verify=false --dest-tls-verify=false \
> --src-username $ARTIFACTORY_ALGOL60_READONLY_USERNAME \
> --src-password $ARTIFACTORY_ALGOL60_READONLY_TOKEN \
> --dest-username $NEXUS_USERNAME \
> --dest-password $NEXUS_PASSWORD \
> docker://${DOCKER_CONTAINER} \
> docker://registry.local/${DOCKER_CONTAINER}
Getting image source signatures
Copying blob sha256:a26709fd6bf88665eceea242853aefe1f36a00fb6bbeee2ec328dbaa0ac1928b
Copying blob sha256:afc3fe49d5cfdcd9e716ffbd48d2a7d997536ad5e02985486c07c0f502be42da
Copying blob sha256:4cb9b04280387183264dd9c8eba807c1fc4ecda15e4d4b013682b8a3d8100815
Copying blob sha256:13391d1ffa004f3a52ea0e294e971891418ab36029aaa948032d83c2822b6495
Copying blob sha256:1bf3d7b56b6e53fdf9045c6df40e37a273a3e92f7efecccccc8387401c3169b8
Copying blob sha256:895e193edb5191bf66fb5ccb29f5d3659e05eec5953255180cbdd66520e7c517
Copying blob sha256:0ef3e762c0b718f0e61c7b05f13b313120d17092edbb736dbb7d6bee161ff3b7
Copying blob sha256:4d2c4e1160243e5aa0f9122747fef1ec5f4998acbb72fdea58d67319f1215e38
Copying blob sha256:246f6143e6282f952f99da9cab8b96f4784074d4d6eb05ae746f04735e2232ab
Copying blob sha256:54d3b75a704d9eebcc4741df5b0c1c22d02dabfaeb70ab27fba35464cf8e7526
Copying blob sha256:7e22beec378cb530f08b1811e4d3f1efd3f6da9ae1e8a137b4d4dcfcd86acdca
Copying config sha256:b9c5aad873469f3d538b5c9292158f1df9462b7bd16b5c112be7c7a071d63160
Writing manifest to image destination
Storing signatures

ncn-m002:~/mjendrysik # kubectl get pods -n services | egrep fas
cray-fas-9bcf889b8-qg4fz                                          2/2     Running            0          26m
cray-fas-bitnami-etcd-0                                           2/2     Running            0          22m
cray-fas-bitnami-etcd-1                                           2/2     Running            0          23m
cray-fas-bitnami-etcd-2                                           2/2     Running            0          24m
cray-fas-bitnami-etcd-snapshotter-27994740-4j7z2                  0/2     Completed          0          12m
cray-fas-etcd-post-install-xbgbq                                  0/1     Completed          0          26m
cray-fas-pre-upgrade-etcd-backup-vkhmm                            0/1     Completed          0          26m
cray-fas-wait-for-etcd-2-npm8s                                    0/1     Completed          0          26m

ncn-m002:~/mjendrysik # cray fas snapshots list
{
  "snapshots": [
    {
      "name": "fullSystem_20230324",
      "captureTime": "2023-03-24 18:42:36.930431822 +0000 UTC",
      "ready": true,
      "relatedActions": [],
      "uniqueDeviceCount": 0
    }
  ]
}