sourcery icon indicating copy to clipboard operation
sourcery copied to clipboard

Sourcery does not support Windows 7

Open vinayaktyagi opened this issue 3 years ago • 7 comments

Hi,

I haven't been able to get Sourcery working so far. I am continuously getting the following error.

Failed to launch Sourcery service java.util.concurrent.TimeoutException

Sourcery Version

Sourcery 0.9.8

IDE name and version

Pycharm 2021.3 Professional Edition

OS name and version

Windows 7 Ultimate

It's a computer with an intel i3 processor.

I have looked at the docs for possible hardware or OS requirements related issues, but couldn't find the relevant information. Please guide me.

Thanks

vinayaktyagi avatar Jan 11 '22 15:01 vinayaktyagi

Hi,

The issue is still there. But am seeing a different exception. So want to put that on record.

Failed to launch Sourcery service: java.util.concurrent.ExecutionException: org.eclipse.lsp4j.jsonrpc.JsonRpcException: java.io.IOException: The pipe is being closed

vinayaktyagi avatar Jan 14 '22 05:01 vinayaktyagi

I can't reproduce this with the same PyCharm version (though I am on Windows 10).

Could you go to the plugin directory in terminal - should be something like this: %APPDATA%l\JetBrains\PyCharmCE2021.3\plugins\sourcery\sourcery\sourcery_binaries\install\win and let me know what running: sourcery --version brings up?

Hellebore avatar Jan 19 '22 14:01 Hellebore

Turns out it was not in the path. So, I got the 'no such command found' message.

Once I added it to the path, I got the following: C:/Users/Admin/AppData/Roaming/JetBrains/PyCharm2021.3/plugins/sourcery/sourcery_binaries/install/win/sourcery.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory

vinayaktyagi avatar Jan 20 '22 04:01 vinayaktyagi

Same error here, on Windows 7, Intellij 2021.1 and Sourcery 0.10: Failed to launch Sourcery service java.util.concurrent.TimeoutException

When I go to the terminal and try to run $sourcery --version or $sourcery --verify, I receive a System Error pop-up: "The program can't start because api-ms-win-core-path-l1-1-1.dll is missing from your computer. Try reinstalling the program to fix this problem"

FrankAnze avatar Jan 20 '22 18:01 FrankAnze

OK - looks like our current build process may not work with Windows 7 sadly.

Hellebore avatar Jan 21 '22 19:01 Hellebore

With PyCharm 2021.3.2 running on Windows 10 with all the updates, the 0.10.2 version of the Sourcery plugin gives the error "Unable to connect to Sourcery executable". The plugin seems to run intermittently, I get suggestions that appear and then disappear.

pgcharetteUdeS avatar Feb 09 '22 21:02 pgcharetteUdeS

I also have almost a similar issue: java.util.concurrent.ExecutionException: org.eclipse.lsp4j.jsonrpc.JsonRpcException: java.io.IOException: Stream closed Please retry using the refresh button. Looks like that the service was broken after some updates on my PC but I don't know exactly: I was updating PyCharm, plugins and OS at the same time =( I was trying to downgrade PyCharm to version 2021.2.2, and Sourcery to version 0.10.1 but without success.

Sourcery Version Sourcery 0.10.2

IDE name and version Pycharm 2021.3.2 Professional Edition

OS name and version ArchLinux 5.16.10-arch1-1

NoPH8 avatar Feb 21 '22 14:02 NoPH8