Skip to content

[BUG] Can't re-execute Python code block with input() in it #428

@GregZapu

Description

@GregZapu

Describe the bug
Can't re-execute Python code block with input() in it.

Software Version
Windows, Plugin version: 2.1.2 Obsidian version: 1.9.12

To Reproduce
Steps to reproduce the behavior:

  1. Create a code block woth Python, code block should include input() For example:
print(input())
  1. Click on the 'Run' button. First time code would work properly
  2. Click the 'Run' button second time
  3. See error

Expected behavior
code block to work properly

Additional context
I am using this plugins (not sure if this will help but waybe some of them are uncompatible with Execute Code)
Advanced Tables
Excalidraw
Git
Latex Suite

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions