Saving Github access token error

Running Arch Linux under WSL2.  Pycharm pops up a dialog when I do a git pull and enter my personal access token.   Here is the error I'm seeing the window running pycharm.    Is there an alternative so that I can get Pycharm to not prompt for my token on every git operation involving the remote repo?

 

2025-03-19 10:57:56,898 [ 480249] SEVERE - #c.i.c.PasswordSafeSettings - secret_password_clear_sync error code 1, error message Error spawning command line ???dbus-launch --autolaunch=079c565407924d02a0b35546a6aba6e6 --binary-syntax --close-stderr???: Child process exited with code 1
java.lang.Throwable: secret_password_clear_sync error code 1, error message Error spawning command line ???dbus-launch --autolaunch=079c565407924d02a0b35546a6aba6e6 --binary-syntax --close-stderr???: Child process exited with code 1
       at com.intellij.openapi.diagnostic.Logger.error(Logger.java:376)
       at com.intellij.credentialStore.SecretCredentialStore.clearPassword(linuxSecretLibrary.kt:238)
       at com.intellij.credentialStore.SecretCredentialStore.set(linuxSecretLibrary.kt:131)
       at com.intellij.credentialStore.NativeCredentialStoreWrapper.set$lambda$4(NativeCredentialStoreWrapper.kt:76)
       at com.intellij.credentialStore.NativeCredentialStoreWrapper._init_$lambda$0(NativeCredentialStoreWrapper.kt:26)
       at com.intellij.credentialStore.NativeCredentialStoreWrapper._init_$lambda$1(NativeCredentialStoreWrapper.kt:26)
       at com.intellij.util.Consumer.accept(Consumer.java:20)
       at com.intellij.util.concurrency.QueueProcessor.lambda$wrappingProcessor$0(QueueProcessor.java:83)
       at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:253)
       at com.intellij.util.concurrency.QueueProcessor.lambda$wrappingProcessor$1(QueueProcessor.java:83)
       at com.intellij.util.concurrency.QueueProcessor.lambda$startProcessing$3(QueueProcessor.java:227)
       at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:253)
       at com.intellij.util.concurrency.QueueProcessor.lambda$startProcessing$4(QueueProcessor.java:227)
       at com.intellij.util.concurrency.AppJavaExecutorUtil$executeOnPooledIoThread$1.invokeSuspend(executor.kt:27)
       at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
       at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
       at kotlinx.coroutines.internal.SoftLimitedDispatcher$Worker.run(SoftLimitedDispatcher.kt:125)
       at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
       at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)
2025-03-19 10:57:56,900 [ 480251] SEVERE - #c.i.c.PasswordSafeSettings - PyCharm 2024.3.4  Build #PY-243.25659.43
2025-03-19 10:57:56,900 [ 480251] SEVERE - #c.i.c.PasswordSafeSettings - JDK: 21.0.6; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2025-03-19 10:57:56,900 [ 480251] SEVERE - #c.i.c.PasswordSafeSettings - OS: Linux
2025-03-19 10:57:56,900 [ 480251] SEVERE - #c.i.c.PasswordSafeSettings - Last Action: EditorPaste

0
1 comment

Hi David, 

Can you please share full logs? 

We will store the password per Settings | Appearance & Behavior | System Settings | Passwords. Does it help to change to KeePas?

If you want to avoid this, you can go to Settings | Version Control | Git and enable “Use credential helper”. This will use credential helper that is configured per your git settings.  Git mutating actions will work fine. 

However, if you are using Github plugin, the password for it is stored per settings above also, and you will not be able to usew PR functionalities. 

0

Please sign in to leave a comment.