PyCharm Community Install error

2.4.2.32922 13016 2024-10-12 12:41:49.575 WARN  cher-worker-2 ImageManagerImpl          Can't use relative path F:/Program Files/JetBrains/Toolbox/PyCharm Community/bin/pycharm.svg to read image
2.4.2.32922 13016 2024-10-12 12:41:49.576 ERROR cher-worker-2 InstallingStateWorker     Couldn't move C:\Users\harts\AppData\Local\JetBrains\Toolbox\cache\temp\242.23339.19-5327034252028452079 to F:/Program Files/JetBrains/Toolbox/PyCharm Community: java.lang.IllegalArgumentException: installDir should contain absolute path, but 'F:/Program Files/JetBrains/Toolbox/Gateway' is received
    at com.jetbrains.toolbox.shell.model.ToolInfo.<init>(ToolInfo.kt:22)
    at com.jetbrains.toolbox.shell.model.ToolInfo$Companion.of(ToolInfo.kt:35)
    at com.jetbrains.toolbox.shell.InstalledToolProviderImpl.getInstalledTools(InstalledToolProviderImpl.kt:19)
    at com.jetbrains.toolbox.shell.InstalledToolProviderImpl.getInstalledTools(InstalledToolProviderImpl.kt:9)
    at com.jetbrains.toolbox.shell.ShellLaunchersToolExtensionFactoryImpl.createFrom(ShellLaunchersToolExtensionFactoryImpl.kt:15)
    at com.jetbrains.toolbox.managers.ToolInstanceHelperImpl.createInstalledTool(ToolInstanceHelperImpl.kt:107)
    at com.jetbrains.toolbox.managers.InstallingStateWorker.handle(InstallingStateWorker.kt:113)
    at com.jetbrains.toolbox.managers.InstallingStateWorker.handle(InstallingStateWorker.kt:33)
    at com.jetbrains.toolbox.tools.ChannelStateWorkers.work(ChannelStateWorkers.kt:19)
    at com.jetbrains.toolbox.managers.ToolManagerImpl$createToolStateMachine$2$1.invokeSuspend(ToolManagerImpl.kt:338)
    at com.jetbrains.toolbox.managers.ToolManagerImpl$createToolStateMachine$2$1.invoke(ToolManagerImpl.kt)
    at com.jetbrains.toolbox.managers.ToolManagerImpl$createToolStateMachine$2$1.invoke(ToolManagerImpl.kt)
    at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invokeSuspend(Merge.kt:213)
    at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invoke(Merge.kt)
    at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invoke(Merge.kt)
    at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invokeSuspend(Merge.kt:30)
    at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invoke(Merge.kt)
    at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invoke(Merge.kt)
    at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:27)
    at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:90)
    at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:123)
    at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:52)
    at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
    at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:43)
    at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source)
    at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1.emit(Merge.kt:29)
    at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$emit$1.invokeSuspend(Merge.kt)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
    at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
    at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:585)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:802)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:706)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:693)
2.4.2.32922 13016 2024-10-12 12:41:49.578 INFO  cher-worker-8 NotificationsWindows      Show notification 'Failed to install PyCharm Community 2024.2.3: Cannot move files to F:/Program Files/JetBrains/Toolbox/PyCharm Community' (inApp=true)
2.4.2.32922 13016 2024-10-12 12:41:49.578 WARN  her-worker-10 ToolManagerImpl           PyCharm-C-80aa439b-706b-47c4-b97b-81f9cf87de6a: InstallationUnsuccessful, reason: FormattableLocalizableString(value=Cannot move files to {{directory}}, directory=F:/Program Files/JetBrains/Toolbox/PyCharm Community)
 

Seems to be picking up F:/Program Files/JetBrains/Toolbox/Gateway from someplace…

0
Hello Stephen,

Sorry for the delay in reply.

This looks like a known issue where install paths with forward slashes (`/`) instead of backslashes (`\`) on Windows cause the installation to fail. It is tracked here:

https://youtrack.jetbrains.com/issue/TBX-10953

To work around this, please try the following:
1. Open Toolbox App and go to **Settings** (gear icon in the top-right corner).
2. Check the **Tools install location** path and make sure it uses backslashes (`\`), for example `F:\Program Files\JetBrains\Toolbox`.
3. If the issue persists, uninstall all tools from Toolbox and reinstall them. This resets the internal paths to the correct format.

You can subscribe to the YouTrack issue above to get notified when a permanent fix is available.
0

请先登录再写评论。