Comments (14)
Hi @Addovej,
Looks like there is a bug with the new version of the plugin.
Can you try to use version 1.2
?
Today I will upload a new version of the plugin but it requires several days to be validated by JetBrains.
from pycharm-evaluate-async-code.
I'm not sure how to install not latest plugin version.
This repo has not any tags or releases.
from pycharm-evaluate-async-code.
You can use this link to download version 1.2
from pycharm-evaluate-async-code.
Still not working. There a few questions:
Should I install an additional libs? (in the first issue you has mentioned nest-asyncio lib)
Should I use virtual env? (Currently I use docker-compose interpreter)
from pycharm-evaluate-async-code.
You should not install any additional library (nest-asyncio embedded inside plugin).
It must work with and without a virtual env.
Can you please screenshot of error which you are getting?
from pycharm-evaluate-async-code.
I've created the simple async function:
async def test():
return 123
and try it evaluate as expression:
from pycharm-evaluate-async-code.
Hmmm, strange.
I have just checked with 1.2
version and everything works as expected.
Can you show information about evaluate async code
plugin?
In my case:
from pycharm-evaluate-async-code.
I just try it out on a new test project and it works fine.
Seems like it does not working when I'm using a docker-compose.
What I've do:
Added a simple Dockerfile:
FROM python:3.9-alpine
COPY ./main.py /app/main.py
WORKDIR /app
docker-compose.yaml:
version: '3.8'
services:
web:
build:
context: .
volumes:
- .:/app
Specified a project interpreter Docker Compose (web service)
And then I'm getting the error:
from pycharm-evaluate-async-code.
Very interesting, I will try yo add support to docker-compose
interpeteters.
from pycharm-evaluate-async-code.
It will be fine. Thanks!
from pycharm-evaluate-async-code.
Hi @Addovej,
It's currently not possible to add such integration between docker-compose
and this plugin.
Sorry about that, I can't do anything to fix that.
from pycharm-evaluate-async-code.
Hi @uriyyo. Got it, thanks! I guess that need some association with pycharm helpers in a docker inside.
Anyway your plugin is great, hope you make it better in a future.
from pycharm-evaluate-async-code.
Thanks, It will be great if PyCharm will add official support for async/await
because it's a little bit tricky to add such integration without changing the source code of PyCharm
from pycharm-evaluate-async-code.
Hi @Addovej,
docker
and docker-compose
integration are available under version 1.20
.
from pycharm-evaluate-async-code.
Related Issues (20)
- Don't work with docker-compose interpreter. HOT 3
- When debugging code, normal code breaks can lead to different runtime results HOT 6
- Event loop is already running error HOT 19
- Pycharm 2021.3 support? HOT 6
- Great plugin , but doesn't work anymore in pycharm 2021.3.1 HOT 6
- asyncio.create_subprocess_exec() will throw notImplementedError exception on Windows HOT 3
- DeprecationWarning: There is no current event loop HOT 5
- Django console stop warking after plugin was enabled HOT 2
- The plugin is not being applied automatically HOT 6
- awaiting a function crashes the debugger HOT 6
- Just sent a crash log for your refer if you have time to check. HOT 3
- Doesn't work with python 3.11.1 HOT 8
- DeprecationWarning: There is no current event loop HOT 4
- Support event loops other than asyncio HOT 3
- Crashing in PyCharm debugger on Django tests HOT 4
- Doesn't work HOT 10
- not working when using fastapi HOT 7
- add support for js/nodejs
- Any plan to support trio? HOT 7
- Fails the invocation of the latest IDEA EAP 6 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycharm-evaluate-async-code.