sourcery-ai / sourcery

Instant AI code reviews
https://sourcery.ai
MIT License
1.5k stars 65 forks source link

MacOs PyCharm Plugin stuck at "Loading" #419

Closed xArbisRox closed 4 months ago

xArbisRox commented 4 months ago

Checklist

Description

After installing the Plugin, the Sourcery Tool Window gets stuck at "Loading".

image

Pressing the "Login" (via Browser) Button at Tools --> Sourcery does nothing.

Expected to be able to Login after Plugin installation.

Un-, Reinstalling the Plugin and restarting the application does not solve the issue

Debug Information

IDE Version: PyCharm 2023.3.3 (Professional Edition)

Sourcery Version: Sourcery 1.15.0

Operating system and Version: macOS 14.2.1

Hellebore commented 4 months ago

Hi @xArbisRox - sorry you're having trouble.

The first thing to try is making sure rosetta is installed: https://docs.sourcery.ai/Product/Troubleshooting/#sourcery-not-working-on-apple-m1

If that's not the issue then it would be good to see your log file - please send it through to support@sourcery.ai https://docs.sourcery.ai/Product/Troubleshooting/#what-is-the-sourcery-log

xArbisRox commented 4 months ago

Hi @Hellebore , thanks for your sharp feedback. To be honest - I was quite sure that I already installed Rosetta via the UI - seems like it wasn't. Installing it via CLI now solved the issue for me and the plugin is working. Just want to note, that this issue seems to also occur on the Apple M2, and not only on the M1 as noted in the documentation.