Skip to content

Troubleshooting

What is the Sourcery Log?

The sourcery.log file collects information useful for debugging potential issues you may run into while using Sourcery. Occasionally we may ask you to send us your log file to help us diagnose a problem.

Depending on your operating system you can find sourcery.log at:

Operating System Path
Linux ~/.local/share/sourcery/sourcery.log
Mac ~/Library/Application Support/sourcery/sourcery.log
Windows %LOCALAPPDATA%\sourcery\sourcery.log

How do I connect to Sourcery behind firewall/corporate proxy?

Follow the steps to configure Sourcery to use a proxy.

Sourcery not Working on Non-Actively Supported Linux distros

One of the possible causes for Sourcery not to function properly when run on Linux distros that are not actively supported is an incompatible version of the libxcrypt library.

PyCharm users suffering from this have reported getting the following error message:

java.util.concurrent.ExecutionException: org.eclipse.lsp4j.jsonrpc.JsonRpcException: java.io.IOException: Stream closed

As discussed in a GitHub issue, this may be solved by installing libxcrypt-compat:

pacman -S libxcrypt-compat

Sourcery not Working on Apple M1

Sourcery does not currently ship M1-native binaries, and this may cause it to fail to execute on Apple M1-based devices if Rosetta is not installed.

PyCharm users affected by this problem may get the following error message:

Support/JetBrains/PyCharm2021.3/plugins/sourcery/sourcery_binaries/install/mac"): error=86, Bad CPU type in executable Please retry using the refresh button.

To be able to use Sourcery on such devices, you need to install Rosetta:

/usr/sbin/softwareupdate --install-rosetta --agree-to-license
Back to top