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

mirrord not working on PyCharm on mac. #337

Closed
t4lz opened this issue Sep 5, 2022 · 1 comment
Closed

mirrord not working on PyCharm on mac. #337

t4lz opened this issue Sep 5, 2022 · 1 comment
Assignees
Labels
bug Something isn't working intellij-extension
Milestone

Comments

@t4lz
Copy link
Member

t4lz commented Sep 5, 2022

Bug Description

PyCharm can't find the dylib so running/debugging with mirrord fails.

Steps to Reproduce

On PyCharm with mirrord installed:

  1. Enable mirrord.
  2. Run.
  3. Select namespace and click OK.
  4. Select pod and click OK.

Backtrace

No response

Relevant Logs

/Users/tal/PycharmProjects/pythonProject/venv/bin/python /Users/tal/PycharmProjects/pythonProject/main.py 
dyld[3405]: terminating because inserted dylib '/Users/tal/Library/Application Support/JetBrains/PyCharm2022.2/libmirrord_layer.dylib' could not be loaded: tried: '/Users/tal/Library/Application Support/JetBrains/PyCharm2022.2/libmirrord_layer.dylib' (no such file), '/usr/lib/libmirrord_layer.dylib' (no such file)
dyld[3405]: tried: '/Users/tal/Library/Application Support/JetBrains/PyCharm2022.2/libmirrord_layer.dylib' (no such file), '/usr/lib/libmirrord_layer.dylib' (no such file)

Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

Your operating system and version

macOS Monterey 12.5.1

Local process

sample python app.

Local process version

No response

Additional Info

Apple M2

@t4lz t4lz added bug Something isn't working intellij-extension labels Sep 5, 2022
@eyalb181 eyalb181 added this to the MVP milestone Sep 6, 2022
@eyalb181
Copy link
Member

eyalb181 commented Sep 6, 2022

Getting the same error on IntelliJ IDEA:
dyld[98196]: terminating because inserted dylib '/Users/eyalbukchin/Library/Application Support/JetBrains/IntelliJIdea2022.2/libmirrord_layer.dylib' could not be loaded: tried: '/Users/eyalbukchin/Library/Application Support/JetBrains/IntelliJIdea2022.2/libmirrord_layer.dylib' (no such file), '/usr/local/lib/libmirrord_layer.dylib' (no such file), '/usr/lib/libmirrord_layer.dylib' (no such file) dyld[98196]: tried: '/Users/eyalbukchin/Library/Application Support/JetBrains/IntelliJIdea2022.2/libmirrord_layer.dylib' (no such file), '/usr/local/lib/libmirrord_layer.dylib' (no such file), '/usr/lib/libmirrord_layer.dylib' (no such file)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working intellij-extension
Projects
None yet
Development

No branches or pull requests

3 participants