Skip to content

sound failure #12

@mburnskaurin

Description

@mburnskaurin

This runs with 3.2 but not 3.2 WASM, get error message copied below

https://flaskdstorehost-dhppn6xgeq-uc.a.run.app/#/user/burnskaurinm/folder/MyPrograms/program/lineclicksoundtrial

Error:PythonError: Traceback (most recent call last):
File "/lib/python312.zip/_pyodide/_base.py", line 597, in eval_code_async
await CodeRunner(
^^^^^^^^^^^
File "/lib/python312.zip/_pyodide/_base.py", line 285, in init
self.ast = next(self._gen)
^^^^^^^^^^^^^^^
File "/lib/python312.zip/_pyodide/_base.py", line 149, in _parse_and_compile_gen
mod = compile(source, filename, mode, flags | ast.PyCF_ONLY_AST)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 9
audioCtx = new window.AudioContext();
^^^^^^
SyntaxError: invalid syntax

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions