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

Settings files save error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.11.0, Qt Creator 4.11.1, Qt Creator 4.11.2, Qt Creator 4.12.0, Qt Creator 4.12.1, Qt Creator 4.12.2, Qt Creator 4.12.3, Qt Creator 4.12.4
    • All Other Issues
    • Windows 10, Roaming profile
    • Windows

    Description

      Ever since upgrading from Qt Creator 4.10.2 I get constantly spammed with ~5 error message boxes about invalid settings files, unable to write settings file etc.

      Using same roaming profile on a machine with Qt Creator 4.10.2 installed, I get no problems or errors.   Roaming profiles stored on a UNIX file server and shared via CIFS.

      Issue affects versions starting at Qt Creator 4.11.x and up through Qt Creator 4.12

      Upon opening Qt Creator 4.11.x > message box error:

      "No Valid Settings Found"

      No valid settings file could be found.

      All settings files found in the directory "\\<server>\<user>\AppData\QtProject\qtcreator\cmaketools.xml" were unsuitable for the current version of Qt Creator, for instance because they were written by an incompatible version of Qt Creator, or because a different settings path was used.

      Repeats for toolchains.xml,

       

      Then "Cannot create file \\<server>\<user>\AppData\QtProject\qtcreator\devices.xml: the system cannot find the path specified.

      Repeats for default.qws

      Then "Could not save session to file \\<server>\<user>\AppData\QtProject\qtcreator\default.qws

       

      Repeats for all .xml files.   debuggers.xml, qnc.xml, qtversion.xml, etc.

       

      Folder has permissions for everybody.

      In fact, Qt Creator is creating 0 byte files at the proper location, but with random additional extensions:

      07/14/2020 10:39 PM 0 cmaketools.xml.clzWPC
      07/14/2020 10:43 PM 0 cmaketools.xml.lHjTpl
      07/14/2020 10:43 PM 0 cmaketools.xml.XQberE
      07/14/2020 10:43 PM 0 debuggers.xml.Ieyoez
      07/14/2020 10:43 PM 0 debuggers.xml.KnIhYU
      07/14/2020 10:39 PM 0 debuggers.xml.vBgyum
      07/14/2020 10:39 PM 0 default.qws.eYGted
      07/14/2020 10:43 PM 0 default.qws.fvhdUn
      07/14/2020 10:43 PM 0 default.qws.ugRZRS
      07/14/2020 10:43 PM 0 devices.xml.UBjgKc
      07/14/2020 10:39 PM 0 devices.xml.vNvpgB
      07/14/2020 10:43 PM 0 devices.xml.wDWLtH
      07/14/2020 10:43 PM <DIR> generic-highlighter
      07/14/2020 10:40 PM 8,376,320 helpcollection.qhc
      07/14/2020 10:39 PM <DIR> macros
      07/14/2020 10:39 PM <DIR> mimetypes
      07/14/2020 10:43 PM 0 profiles.xml.ErTmsr
      07/14/2020 10:43 PM 0 profiles.xml.GCgFrz
      07/14/2020 10:43 PM <DIR> qnx
      07/14/2020 10:43 PM 0 qtversion.xml.GfPoHJ
      07/14/2020 10:39 PM 0 qtversion.xml.tFqSYa
      07/14/2020 10:43 PM 0 toolchains.xml.mpVfZu
      07/14/2020 10:39 PM 0 toolchains.xml.Qcxmgp
      07/14/2020 10:43 PM 0 toolchains.xml.Twlvzz

       

      If I use Qt Creator 4.10.2 or earlier, everything works fine.

      Any version after 4.11.x has this problem.

      Unfortunately it constantly happens over and over, making Qt Creator nearly useless.

      I have cleared path environment variables, Qt related registry settings, uninstalled and re-installed Qt Creator, deleted the AppData\QtProject folder (which Qt Creator recreates properly), set the folder permissions allow all... nothing seems to work.

       

       

      Attachments

        Issue Links

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

          Activity

            People

              davschul David Schulz
              woowoo Greg Hardy
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes