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

Sourcery seems to hate anything Linux related? #412

Open
markrmiller opened this issue Jan 12, 2024 · 1 comment
Open

Sourcery seems to hate anything Linux related? #412

markrmiller opened this issue Jan 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@markrmiller
Copy link

markrmiller commented Jan 12, 2024

I used to love Sourcery, though I hadn't really used it for a year or two. Recently, I attempted to use it again.

It was not working out because I often work through WSL and it claims everything via WSL is not an open project on Github, but is instead a private repo you have to pay for. Obviously a bug, but I used to really like this tool, so I picked up a years subscription. Sadly, while that got rid of the first roadblock, I then discovered Sourcery just doesn't work with WSL, seemingly due to the file paths which it does not understand.

Okay, workaround time, I mount the WSL filesystem as a network drive to X and now Sourcery works with it. Sadly, Jetbrains stuff does not like this for WSL, so it's a workaround that gains Sourcery, but losses good Jetbrains integration with WSL.

Next I realize that Sourcery is not what I remember. It seems the panel for all the issues it finds is gone. Totally. Now all you get is the text interface to the AI. I have like 5 of those, all backed by essentially the same AI that gives a mix of terrible, insane, and whatever code update/refactoring suggestions. Yeah, it's a super useful AI for coding, but as a code tool like standard Sourcery and the like, it's garbage. But std Sourcery appears to have been downgraded. I have to go to the problems tab and wait around for the Sourcery stuff to show up, mixed in with 100 other things, and apparently if I want to scan more than just the current file, I have to use the CLI, and then that doesn't seem to populate back to the GUI...what happened to the Sourcery panel? I can already tell I've made a mistake and am not getting the Sourcery plugin that I remembered, but I figure, okay, anyway, maybe on my Linux box it won't be so bad...

But on the Linux box it is every worse. The Sourcery AI tab just says "Loading..." always. There is nothing relevant in the logs. If you go to the settings and click the login button, it does nothing. No browser opens. Nothing in the logs. Every other plugin opens browsers, works in general, I have dozens. Sourcery seems dead in the water. So I uninstall PyCharm. I remove all JetBrains metadata and cache folders. I do a fully clean install. Same thing. Sourcery is dead in the water. Nothing in the logs. Now I'm fighting on Windows and Linux to get a plugin that I paid to have for a year, and really just so I can get a sixth chat panel to essentially the same AI.

I just want my old Sourcery panel. Even more I just want it to work with WSL or Linux. Something. Anything.

@markrmiller markrmiller added the bug Something isn't working label Jan 12, 2024
@Hellebore
Copy link
Collaborator

Hi Mark - really sorry you're having a bad experience.

We decided to remove the old-style Sourcery panel to align with how we do things in VS Code - also we first created it before there was a Problems pane in PyCharm, so felt that it now duplicates that function. We'll take your criticism about problems being mixed in with other ones on board though.

As for the Linux issue - would it be possible for you to send the sourcery log file over to [email protected] (or post here)?
https://docs.sourcery.ai/Product/Troubleshooting/#what-is-the-sourcery-log

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

No branches or pull requests

2 participants