donkirkby/live-py-plugin

PyCharm: IDE error: Exception in plugin Live Coding

Closed this issue · 1 comments

What I did

I launched PyCharm, went to plugin marketplace, found Live coding, clicked 'Install', 'Apply', 'OK'.

What happened

I got an IDE error notification. I clicked on it, this is what showed up:

Screenshot

image

Logs

stacktrace.txt
threadDump.txt

What I wanted to happen

I just wanted to use the extension. It probably shouldn't do that.

My environment

  • PyCharm 2023.2.5 (Professional Edition)
  • Live Coding plugin 4.11
  • Windows 11, version 22H2
  • Python 3.12.0

Other feedback

The plugin seemed to work as it's supposed to with file test.py, even without restarting PyCharm. File turtle_demo.py however displayed "No turtle or matplotlib commands found[...]". After restarting IDE plugin seems to work ok with both files. No more IDE errors appear.

test.py

s = 'Hello, '
s += 'World!'

turtle_demo.py

from turtle import *


def square():
    for i in range(4):
        forward(100)
        right(90)


def star():
    sides = 5
    distance = 200
    begin_fill()
    for _ in range(sides):
        forward(distance)
        right(2 * 360 / sides)

    end_fill()
    mainloop()


def spiral():
    sides = 5
    distance = 50
    color('black', 'green')
    begin_fill()
    for _ in range(50 * sides):
        forward(distance)
        right(2 * 360 / sides - 1)
        distance += 5

    end_fill()
    mainloop()


def main():
    square()
    # star()
    # spiral()


main()

That looks similar to #580, so I'm going to close this issue. Thanks for reporting it.