Then tried to input my API key, but it threw an error: "Please enter valid API Key."
restarted the VS and got the same error.
Then tried to input the key again but again got the error.
And here are the logs:
_WARNING [2023-10-13 23:10:53Z]: [Wakatime HandledException 11:10:53 PM] Failed to download and/or extract WakaTime Cli: System.IO.InvalidDataException: Central Directory corrupt. ---> System.IO.IOException: Attempted to Seek before the beginning of the stream
at System.IO.FileStream.Seek (System.Int64 offset, System.IO.SeekOrigin origin) [0x000be] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/corlib/System.IO/FileStream.cs:782
at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.Compression/src/System/IO/Compression/ZipArchive.cs:534
--- End of inner exception stack trace ---
at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory () [0x00207] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.Compression/src/System/IO/Compression/ZipArchive.cs:612
at System.IO.Compression.ZipArchive.Init (System.IO.Stream stream, System.IO.Compression.ZipArchiveMode mode, System.Boolean leaveOpen) [0x001c8] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.Compression/src/System/IO/Compression/ZipArchive.cs:492
at System.IO.Compression.ZipArchive..ctor (System.IO.Stream stream, System.IO.Compression.ZipArchiveMode mode, System.Boolean leaveOpen, System.Text.Encoding entryNameEncoding) [0x0001c] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.Compression/src/System/IO/Compression/ZipArchive.cs:126
at System.IO.Compression.ZipFile.Open (System.String archiveFileName, System.IO.Compression.ZipArchiveMode mode, System.Text.Encoding entryNameEncoding) [0x0005b] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.Compression.ZipFile/src/System/IO/Compression/ZipFile.cs:206
at System.IO.Compression.ZipFile.ExtractToDirectory (System.String sourceArchiveFileName, System.String destinationDirectoryName, System.Text.Encoding entryNameEncoding, System.Boolean overwrite) [0x0000e] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.Compression.ZipFile/src/System/IO/Compression/ZipFile.cs:567
at System.IO.Compression.ZipFile.ExtractToDirectory (System.String sourceArchiveFileName, System.String destinationDirectoryName, System.Text.Encoding entryNameEncoding) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.Compression.ZipFile/src/System/IO/Compression/ZipFile.cs:506
at System.IO.Compression.ZipFile.ExtractToDirectory (System.String sourceArchiveFileName, System.String destinationDirectoryName) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.Compression.ZipFile/src/System/IO/Compression/ZipFile.cs:413
at WakaTime.WakaTimeCli+<>c__DisplayClass11_0.b__1 (System.Object s, System.ComponentModel.AsyncCompletedEventArgs e) [0x00014] in <218ffc67f0c64c1dbaa16b5856adbf72>:0
I can't Use the Waka on VS for Mac. My steps:
And here are the logs:
_WARNING [2023-10-13 23:10:53Z]: [Wakatime HandledException 11:10:53 PM] Failed to download and/or extract WakaTime Cli: System.IO.InvalidDataException: Central Directory corrupt. ---> System.IO.IOException: Attempted to Seek before the beginning of the stream at System.IO.FileStream.Seek (System.Int64 offset, System.IO.SeekOrigin origin) [0x000be] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/corlib/System.IO/FileStream.cs:782 at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.Compression/src/System/IO/Compression/ZipArchive.cs:534 --- End of inner exception stack trace --- at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory () [0x00207] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.Compression/src/System/IO/Compression/ZipArchive.cs:612 at System.IO.Compression.ZipArchive.Init (System.IO.Stream stream, System.IO.Compression.ZipArchiveMode mode, System.Boolean leaveOpen) [0x001c8] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.Compression/src/System/IO/Compression/ZipArchive.cs:492 at System.IO.Compression.ZipArchive..ctor (System.IO.Stream stream, System.IO.Compression.ZipArchiveMode mode, System.Boolean leaveOpen, System.Text.Encoding entryNameEncoding) [0x0001c] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.Compression/src/System/IO/Compression/ZipArchive.cs:126 at System.IO.Compression.ZipFile.Open (System.String archiveFileName, System.IO.Compression.ZipArchiveMode mode, System.Text.Encoding entryNameEncoding) [0x0005b] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.Compression.ZipFile/src/System/IO/Compression/ZipFile.cs:206 at System.IO.Compression.ZipFile.ExtractToDirectory (System.String sourceArchiveFileName, System.String destinationDirectoryName, System.Text.Encoding entryNameEncoding, System.Boolean overwrite) [0x0000e] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.Compression.ZipFile/src/System/IO/Compression/ZipFile.cs:567 at System.IO.Compression.ZipFile.ExtractToDirectory (System.String sourceArchiveFileName, System.String destinationDirectoryName, System.Text.Encoding entryNameEncoding) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.Compression.ZipFile/src/System/IO/Compression/ZipFile.cs:506 at System.IO.Compression.ZipFile.ExtractToDirectory (System.String sourceArchiveFileName, System.String destinationDirectoryName) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.Compression.ZipFile/src/System/IO/Compression/ZipFile.cs:413 at WakaTime.WakaTimeCli+<>c__DisplayClass11_0.b__1 (System.Object s, System.ComponentModel.AsyncCompletedEventArgs e) [0x00014] in <218ffc67f0c64c1dbaa16b5856adbf72>:0
WARNING [2023-10-13 23:10:53Z]: [Wakatime Info 11:10:53 PM] Finished initializing WakaTime v4.0.2.0_