Unable to Install AI Assistant: LZMA Codec Not Supported
Unsolved
Qt Creator and other tools
-
Hello everyone,
I am facing an issue while trying to install the AI Assistant extension in Qt Creator. Here are the details of my problem:
Error encountered:
When I try to install AI Assistant via the Extensions interface in Qt Creator, I get the following error:
Running C:\WINDOWS\system32\tar.exe xvf C:/Users/masto/AppData/Local/Temp/QtCreator-NEzDNX/dHfpDr-Asset in "C:\Users\masto\AppData\Local\Temp\QtCreator-NEzDNX\plugininstall.YCcvgb". tar.exe: LZMA codec is unsupported tar.exe: Error exit delayed from previous errors. Command failed.
It seems that the issue is related to the LZMA codec, which is not supported by the version of tar.exe used by Qt Creator.
How can I resolve this issue to install AI Assistant successfully?
Is there an alternative way to manually install the extension?Config :
{noformat} Qt 6.8.1 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2022) on "windows" OS: Windows 10 Version 22H2 [winnt version 10.0.19045] Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 RDRAND RDSEED AES SHA Plugin information: + Android 15.0.1 + AutoTest 15.0.1 AutotoolsProjectManager 15.0.1 Axivion 15.0.1 BareMetal 15.0.1 + Bazaar 15.0.1 Beautifier 15.0.1 + BinEditor 15.0.1 Boot2Qt 15.0.1 + CMakeProjectManager 15.0.1 CVS 15.0.1 + ClangCodeModel 15.0.1 + ClangFormat 15.0.1 + ClangTools 15.0.1 + ClassView 15.0.1 ClearCase 15.0.1 Coco 15.0.1 + CodePaster 15.0.1 CompilationDatabaseProjectManager 15.0.1 CompilerExplorer 15.0.1 Conan 15.0.1 Copilot 15.0.1 + Core 15.0.1 + CppEditor 15.0.1 Cppcheck 15.0.1 + CtfVisualizer 15.0.1 + Debugger 15.0.1 + Designer 15.0.1 + DiffEditor 15.0.1 Docker 15.0.1 EffectComposer 15.0.1 EmacsKeys 15.0.1 + ExtensionManager 15.0.1 + FakeVim 15.0.1 Fossil 15.0.1 + GLSLEditor 15.0.1 + GenericProjectManager 15.0.1 + Git 15.0.1 GitLab 15.0.1 Haskell 15.0.1 HelloWorld 15.0.1 + Help 15.0.1 + ImageViewer 15.0.1 + IncrediBuild 15.0.1 Insight 15.0.1 Ios 15.0.1 + LanguageClient 15.0.1 + Lua 15.0.1 + Lua Language Server 1.0.0 Lua Tests 1.0.0 + LuaLanguageClient 15.0.1 + Macros 15.0.1 + Marketplace 15.0.1 McuSupport 15.0.1 + Mercurial 15.0.1 MesonProjectManager 15.0.1 + ModelEditor 15.0.1 Nim 15.0.1 + PerfProfiler 15.0.1 Perforce 15.0.1 + ProjectExplorer 15.0.1 + Python 15.0.1 + QbsProjectManager 15.0.1 + QmakeProjectManager 15.0.1 QmlDesigner 15.0.1 + QmlDesignerBase 15.0.1 QmlDesignerLite 15.0.1 + QmlJSEditor 15.0.1 + QmlJSTools 15.0.1 + QmlPreview 15.0.1 + QmlProfiler 15.0.1 + QmlProjectManager 15.0.1 + Qnx 15.0.1 + QtApplicationManagerIntegration 15.0.1 + QtSupport 15.0.1 + RemoteLinux 15.0.1 + ResourceEditor 15.0.1 + Rust Language Server 1.0.0 SafeRenderer 15.0.1 ScreenRecorder 15.0.1 + ScxmlEditor 15.0.1 SerialTerminal 15.0.1 SilverSearcher 15.0.1 Squish 15.0.1 StudioWelcome 15.0.1 + Subversion 15.0.1 + Tell A Joke 1.0.0 + Terminal 15.0.1 + TextEditor 15.0.1 Todo 15.0.1 + UpdateInfo 15.0.1 + Valgrind 15.0.1 Vcpkg 15.0.1 + VcsBase 15.0.1 + WebAssembly 15.0.1 + Welcome 15.0.1 Used settingspath: ~/AppData/Roaming/QtProject Product: Qt Creator 15.0.1 Based on: Qt 6.8.1 (MSVC 2022, x86_64) Built on: Jan 22 2025 13:47:55 From revision: 0855a2e14d {noformat}
Thanks in advance for your help!
-
Try out Qt Creator 16.0.0. We changed the order of searching tools on the machine that could unpack a
7z
file.Otherwise do try to install https://www.7-zip.org/ on your machine.