Skip to content

Unable to access the Open diaglog when connecting via bluetooth (hangs on open and save with spinner) #183

Open
@wuftymerguftyguff

Description

@wuftymerguftyguff

CircuitPython Version

Adafruit CircuitPython 8.2.10 on 2024-02-14; Adafruit ItsyBitsy nRF52840 Express with nRF52840
Board ID:itsybitsy_nrf52840_express
UID:1027F3CECE5BC1D4

Workflow(s)

BLE

Browser(s)

Version 124.0.6367.78 (Official Build) (x86_64) (mac + windows)

Console Log


index.js:37 Load different workflow
context-menu-content-scripts.js:25 Using workaround to get event.path
index.js:35 Getting existing permitted Bluetooth devices...
index.js:35 > Got 1 Bluetooth devices.
index.js:35 Watching advertisements from "CIRC"...
index.js:35 > Received advertisement from "CIRC"...
index.js:35 Connecting to GATT Server from "CIRC"...
index.js:35 > Bluetooth device "CIRC connected.
index.js:35 
BluetoothDevice {id: 'WVH+/a5nYxWRtA9KJo1lqQ==', name: 'CIRC', gatt: BluetoothRemoteGATTServer, ongattserverdisconnected: null, watchingAdvertisements: false, …}
index.js:35 connected 
BluetoothRemoteGATTServer {device: BluetoothDevice, connected: true}
index.js:35 
(2) [BluetoothRemoteGATTService, BluetoothRemoteGATTService]
index.js:35 Initializing File Transfer Client...
index.js:35 DOMException: GATT operation failed for unknown reason. undefined
index.js:35 Connected!
2
context-menu-content-scripts.js:25 Using workaround to get event.path
index.js:21 caught connection error DOMException: GATT operation failed for unknown reason. undefined
index.js:21 caught write error TypeError: Cannot read properties of null (reading 'writeValueWithoutResponse')
    at wS._write (index.js:21:6026)
    at wS.listDir (index.js:21:12322)
    at async ZS.showBusy (index.js:35:106432)
    at async Za._openFolder (index.js:35:95507)
    at async Za.open (index.js:35:95119)
    at async ZS.openFileDialog (index.js:35:108201)
    at async ZS.openFile (index.js:35:107915) TypeError: Cannot read properties of null (reading 'writeValueWithoutResponse')
    at wS._write (https://code.circuitpython.org/assets/js/index.js:21:6026)
    at wS.listDir (https://code.circuitpython.org/assets/js/index.js:21:12322)
    at async ZS.showBusy (https://code.circuitpython.org/assets/js/index.js:35:106432)
    at async Za._openFolder (https://code.circuitpython.org/assets/js/index.js:35:95507)
    at async Za.open (https://code.circuitpython.org/assets/js/index.js:35:95119)
    at async ZS.openFileDialog (https://code.circuitpython.org/assets/js/index.js:35:108201)
    at async ZS.openFile (https://code.circuitpython.org/assets/js/index.js:35:107915)
index.js:21 caught write error TypeError: Cannot read properties of null (reading 'writeValueWithoutResponse')
    at wS._write (index.js:21:6026)
    at wS.listDir (index.js:21:12343)
    at async ZS.showBusy (index.js:35:106432)
    at async Za._openFolder (index.js:35:95507)
    at async Za.open (index.js:35:95119)
    at async ZS.openFileDialog (index.js:35:108201)
    at async ZS.openFile (index.js:35:107915) TypeError: Cannot read properties of null (reading 'writeValueWithoutResponse')
    at wS._write (https://code.circuitpython.org/assets/js/index.js:21:6026)
    at wS.listDir (https://code.circuitpython.org/assets/js/index.js:21:12343)
    at async ZS.showBusy (https://code.circuitpython.org/assets/js/index.js:35:106432)
    at async Za._openFolder (https://code.circuitpython.org/assets/js/index.js:35:95507)
    at async Za.open (https://code.circuitpython.org/assets/js/index.js:35:95119)
    at async ZS.openFileDialog (https://code.circuitpython.org/assets/js/index.js:35:108201)
    at async ZS.openFile (https://code.circuitpython.org/assets/js/index.js:35:107915)


Steps

  1. Power on board and select bluetooth workflow.
  2. create new connection or reconnect NOTE "Bond" button never enables
  3. editor opens with blank document, but will not save
  4. Trying to use open button also hangs with spinner

Description

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions