donkirkby / live-py-plugin

Live coding in Python with PyCharm, Emacs, Sublime Text, or even a browser
https://donkirkby.github.io/live-py-plugin
MIT License
292 stars 57 forks source link

Use elpy and live-py-plugin side-by-side will trigger the error `user-error: Current buffer has no associated file`.e #317

Closed hongyi-zhao closed 3 years ago

hongyi-zhao commented 3 years ago

On Ubuntu 20.04.2 LTS, I installed live-py-plugin by the following configuration and use it with elpy side-by-side:

(use-package live-py-mode
  :hook (python-mode . live-py-mode)) 

But this will cause the failure of user-error: Current buffer has no associated file when I hit C-c C-c to evaluate the current buffer, as shown below:

image

Any hints for this problem?

Regards, HZ

donkirkby commented 3 years ago

Thanks for reporting the bug. It sounds like a duplicate of #299, but in a different mode.