discord-rpc-java icon indicating copy to clipboard operation
discord-rpc-java copied to clipboard

Failed to create directory '/home/user/.local'

Open Koennn opened this issue 6 years ago • 1 comments

When running discordRpc.init() the following exception is thrown

Exception in thread "main" java.lang.RuntimeException: Failed to create directory '/home/koenn/.local'
	at com.github.psnrigner.discordrpcjava.impl.BaseConnectionUnix.register(BaseConnectionUnix.java:188)
	at com.github.psnrigner.discordrpcjava.DiscordRpc.register(DiscordRpc.java:294)
	at com.github.psnrigner.discordrpcjava.DiscordRpc.init(DiscordRpc.java:130)

The directory /home/koenn/.local already exists, so it does not have to be created.

Koennn avatar Jun 13 '18 16:06 Koennn

Thank you for the issue, it means that the lib wasn't able to find the right user name. I'll look into it.

Rigner avatar Jun 13 '18 17:06 Rigner