Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt creator file errors
Forum Updated to NodeBB v4.3 + New Features

Qt creator file errors

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
10 Posts 3 Posters 2.5k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Asperamanca
    wrote on last edited by
    #1

    Since a few days ago, I get "file error" message boxes from Qt creator several times a day. In all those cases, I can save the file without any trouble immediately afterwards, so it seems as if the file system just is temporarily busy, but Creator has not patience to wait for it. I do have compile jobs running on the same folders using other tools, so a file may temporarily be locked.

    Is there any way to make Creator a bit more relaxed about this, or to further diagnose the problem? Popping up a message box is truly annoying, and would only be warranted if there really was a problem saving files.

    1 Reply Last reply
    0
    • aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi @Asperamanca,

      can you check if this could be https://bugreports.qt.io/browse/QTCREATORBUG-15449 ?

      Qt has to stay free or it will die.

      A 1 Reply Last reply
      0
      • aha_1980A aha_1980

        Hi @Asperamanca,

        can you check if this could be https://bugreports.qt.io/browse/QTCREATORBUG-15449 ?

        A Offline
        A Offline
        Asperamanca
        wrote on last edited by
        #3

        @aha_1980
        Probably not, as I have been using the clang code model for some months by now, and the error started popping up last week. But I'll look into that.

        aha_1980A 1 Reply Last reply
        0
        • A Asperamanca

          @aha_1980
          Probably not, as I have been using the clang code model for some months by now, and the error started popping up last week. But I'll look into that.

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by aha_1980
          #4

          @Asperamanca

          • please provide more information about your platform, version etc.
          • are your projects on a network drive?

          Qt has to stay free or it will die.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Asperamanca
            wrote on last edited by
            #5
            • The files are on a local SSD drive
            • Platform: Windows 7 x64
            • Creator version: 4.7.0 (through Maintenance tool), but I think I noticed the problem for a brief time with my previous 4.6.1 version before updating
            • The error happens both on manual saving and on autosave.

            I will provide the full text of the error message - too bad I didn't provide it immediately. But it's bound to come up within the next few hours, based on previous experience.

            mrjjM 1 Reply Last reply
            0
            • A Asperamanca
              • The files are on a local SSD drive
              • Platform: Windows 7 x64
              • Creator version: 4.7.0 (through Maintenance tool), but I think I noticed the problem for a brief time with my previous 4.6.1 version before updating
              • The error happens both on manual saving and on autosave.

              I will provide the full text of the error message - too bad I didn't provide it immediately. But it's bound to come up within the next few hours, based on previous experience.

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Asperamanca
              but the errors are for your .cpp/.h files and not
              some creator files ?

              1 Reply Last reply
              0
              • A Offline
                A Offline
                Asperamanca
                wrote on last edited by
                #7

                So far, I got them for .h, .cpp, .autosave, .pro, .pro.user

                aha_1980A 1 Reply Last reply
                0
                • A Asperamanca

                  So far, I got them for .h, .cpp, .autosave, .pro, .pro.user

                  aha_1980A Offline
                  aha_1980A Offline
                  aha_1980
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Asperamanca

                  Which Anti-Virus are you using? Some file errors are related to AV, e.g. https://bugreports.qt.io/browse/QTCREATORBUG-7668

                  Qt has to stay free or it will die.

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    Asperamanca
                    wrote on last edited by
                    #9

                    @aha_1980 said in Qt creator file errors:

                    @Asperamanca

                    Which Anti-Virus are you using? Some file errors are related to AV, e.g. https://bugreports.qt.io/browse/QTCREATORBUG-7668

                    I'm using Microsoft Security Essentials. However, the folders Creator is writing to are excluded from real-time protection.

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      Asperamanca
                      wrote on last edited by
                      #10

                      Ok, here's is the full error message, as posted in a message box:

                      "Error while saving file: Cannot write file <Absolute file path>:
                      Unable to remove the file to be replaced"

                      In this particular case a .cpp file when I manually tried to save it.
                      File is still marked as unsaved.
                      On second try, saving works.

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved