问题描述
我想知道并试图弄清楚为什么每次我在 VScode 的打开文件夹中打开 .py
文件时都会生成一个未跟踪的 .log
文件,输出如下:
[ERROR Apr 30 13:58:07.394495100,defaults.go:139] Could not load configuration: Failed to load configuration.
Stacktrace: D:/a/cli/cli/internal/logging/logging.go:github.com/ActiveState/cli/internal/logging.Error:258
D:/a/cli/cli/internal/logging/defaults.go:github.com/ActiveState/cli/internal/logging.init.0:139
C:/hostedtoolcache/windows/go/1.15.11/x64/src/runtime/proc.go:runtime.doInit:5652
C:/hostedtoolcache/windows/go/1.15.11/x64/src/runtime/proc.go:runtime.doInit:5647
C:/hostedtoolcache/windows/go/1.15.11/x64/src/runtime/proc.go:runtime.doInit:5647
C:/hostedtoolcache/windows/go/1.15.11/x64/src/runtime/proc.go:runtime.main:191
C:/hostedtoolcache/windows/go/1.15.11/x64/src/runtime/asm_amd64.s:runtime.goexit:1374
[DEBUG Apr 30 13:58:07.423479400,locale.go:34] Init
没有大问题,因为 .py
文件运行完美,但是一直删除 .log
文件真的很累。
谢谢!
解决方法
我解决了在 VSCode 中卸载扩展“ActiveState Platform”的问题。