Comments (9)
Hi there @brettatoms
This commit was a fix for such. race condition cee6bc5
Can you please let me know which version of pipenv.el
you are running?
from pipenv.el.
I am running the latest in melpa which is commit 8298dae
from pipenv.el.
Hey @pwalsh, thanks for pipenv.el!
I have been experiencing the race condition/hang on activate as well, happening about 1/10 times. It looks like I'm on 8298dae as well (spacemacs develop branch). I was able to make it happen consistently by reducing the sit-for time in the pipenv--force-wait function from 0.1 to 0.01. Increasing to 1.0 or whatever (making it very large doesn't seem to have any adverse effect... the sit-for returns when the process finishes, maybe?) seemed to make the race condition less likely to occur.
But that was all on my work computer (maybe relevant that it is OSX, but not at all sure). Now I'm home I can't reproduce the hang.
from pipenv.el.
I encountered this bug as well
from pipenv.el.
hey @SirJls can you provide some details on when this occurs.
from pipenv.el.
@pwalsh This happens to me almost daily. It usually seems to happen when I switch between files in different projects with different pipenv environments so pipenv.el as activated when the projectile project changes. Usually I can hit Ctrl-G to cancel it and then call pipenv-activate
directly and it works fine. But it doesn't happen every time so it seems like a race condition.
from pipenv.el.
@brettatoms cool. I've tried to reproduce with tests and in usage myself and have not. I will look at it when I can, but also happy for contributions.
from pipenv.el.
@pwalsh If I can come up with a reliable fix I'll definitely submit a PR. Also, I'm using Spacemacs development branch if that helps anyone else reproduce the problem.
from pipenv.el.
from pipenv.el.
Related Issues (20)
- Integration with live-py-mode not working HOT 5
- Documenting installing dev packages HOT 3
- pipenv.el bombs *Messages* and blocks minibuffer HOT 4
- Fix failing tests due to upstream change HOT 1
- Add prefix key customization
- C-c C-c not working... HOT 4
- Using pipenv from inside a subdirectory HOT 2
- Shell spawned by pipenv shell prints issued command before command output HOT 2
- Default key prefix conflicts with recent projectile HOT 2
- Feature: add ^U prefix to allow changing buffer name, like M-x shell does HOT 1
- (pipenv-executable-find "python") not working on Windows HOT 3
- Trailing color codes Issue HOT 2
- Looking for a new maintainer HOT 13
- Missing pyvenv dependency HOT 1
- After reopening the file within emacs session pipenv stops working HOT 4
- pipenv shell command fails on windows HOT 1
- pipenv--f-parent: Symbol’s function definition is void: f-expand HOT 1
- No such file or directory pipenv HOT 10
- No such file or directory, pipenv. And (executable-find "pipenv") returns nil HOT 1
- pipenv-activate freezes emacs on windows
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 pipenv.el.