Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix - attaching to existing RPC process on OSX #308

Merged
merged 1 commit into from
Jan 9, 2020

Conversation

iamdefinitelyahuman
Copy link
Member

What was wrong / missing?

On OSX, brownie was failing with psutil.AccessDenied when ganache was already running. This was a result of how OSX handles permissions for viewing process connections.

How was it fixed / added?

Instead of calling psutil.net_connections, check the connections of each active process individually and handle the AccessDenied exception.

Confirmed working on OSX 10.13
Closes #263

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OSX error when Ganache is already running
1 participant