Skip to content

getSmiles() promise never resolves in standalone mode #7232

@komali2

Description

@komali2

Steps to Reproduce

  1. Try to invoke getSmiles().then() or await getSmiles()
  2. Observe that the promise never resolves
  3. Observe that no error is thrown

Actual behavior
The promise never resolves, nor throws an error.

Expected behavior
The promise should resolve around a SMILES string (or throw an error).

Screenshots

Desktop (please complete the following information):

  • Browser: brave, firefox
  • Version 3.2.0

System Information:

Operating System:

Display Server:

  • Session Type: Wayland
  • Window Manager: Sway 1.10.1

GPU Information:

  • GPU: AMD Radeon 890M (Strix)
  • Driver: Mesa 25.0.5-arch1.1 (radeonsi, gfx1150, LLVM 19.1.7, DRM 3.61)
  • Mesa Package: mesa 1:25.0.5-1
  • Linux Firmware: linux-firmware 20250508.788aadc8-1

Hardware:

  • Formfactor: Laptop
  • Manufacturer: Framework
  • Model: AMD 13
  • CPU: AMD Ryzen AI 9 HX 370 w/ Radeon 890M
  • Cores: 12 cores, 24 threads
  • Memory: 30GB RAM (16GB available)
  • Swap: 33GB

Ketcher version [e.g. v2.4.2].

3.2.0

Test case

Additional context

Please see fully working example of error: https://github.com/ReactWise/frontend-interview/tree/ketcher

npm install
npm run dev

Try drawing a molecule, then observe terminal, or click one of the buttons to try other methods. Relevant file: https://github.com/ReactWise/frontend-interview/blob/ketcher/src/moduleone.tsx (sorry about the noise, I just needed a quick vite skeleton so our interview test repo worked best)

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions