Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-33168

AI Assistant Plugin Fails to Load

XMLWordPrintable

    • Windows

      Ai plugin is not working with umlauts. The plugin appears in the folder structure, and the init.lua file is present, but when it tries to load, I get the following error:

      Extension setup function returned error: [string "ai_assistant.lua"]:192: module 'init' not found:
      no field package.preload['init']
      no file 'C:\Users\JúliaGasull\AppData\Roaming\QtProject\qtcreator\lua-plugins\theqtcompany.aiassistant\ai_assistant\init.lua'
      no file 'C:\Qt\qtcreator-17.0.0-rc1\bin\init.dll'
      no file 'C:\Qt\qtcreator-17.0.0-rc1\bin\..\lib\lua\5.4\init.dll'
      no file 'C:\Qt\qtcreator-17.0.0-rc1\bin\loadall.dll'
      no file '.\init.dll'
      stack traceback:
      [C]: in function 'base.require'
      [string "ai_assistant.lua"]:192: in function <[string "ai_assistant.lua"]:191>

      After some investigation, it appears that the issue might be related to my Windows username, which contains an accented character (ú in "Júlia"). It seems like the plugin isn't handling the path properly when non-ASCII characters are involved.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            madwinter Marcus Tillmanns
            irfan.omair@digia.com Irfan Omair
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes