Skip to content

Logging inside function of API object throws RTE on Windows #1327

@wehe64

Description

@wehe64

Specification

  • pywebview version: 5.0.4
  • operating system: Windows 11
  • web renderer:

Description

when pywebview.api.title() is called in Javascript, pywebview 5.0.4 throws "unsupported callable"
under 4.4.1 the same code works well

Practicalities

see stack trace and test-api.obj.py attached
try on windows with 5.0.4 (vs 4.4.1)
change line #23 DO_LOGGING=True/False

stacktrace_win-5x.txt
test-api-obj.py.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions