Aptana Studio
  1. Aptana Studio
  2. APSTUD-7603

fatal: Unable to create '.git/index.lock': File exists.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: None None
    • Resolution: Unresolved
    • Affects Version/s: Aptana Studio 3.2.2
    • Fix Version/s: None
    • Component/s: app-explorer
    • Labels:
    • Environment:

      Windows 7

      Description

      We just recently implemented Git for our projects. Working locally within the App Explorer I'm trying to make changes and then commit and push. About 90% of the time after making changes and trying to perform git operations I get the below message.

      fatal: Unable to create 'c:/wamp/www/website/.git/index.lock': File exists.

      If no other git process is currently running, this probably means a
      git process crashed in this repository earlier. Make sure no other git
      process is running and remove the file manually to continue.

      If I look down at the bottom toolbar it is constantly Refreshing the workspace which I assume is creating this lock. I have to wait for it to finish or catch it waiting to do another refresh.

        Activity

        Hide
        James Henestofel added a comment -

        I was able to at least temporarily fix this. When under the "App Explorer" within the repo using GIT. Click the blue gears. In the dropdown hover "more" click "disconnect" this will stop Aptana from monitoring the GIT repo for changes. GIT will still work but I no longer get Aptana trying to refresh my workspace.

        Show
        James Henestofel added a comment - I was able to at least temporarily fix this. When under the "App Explorer" within the repo using GIT. Click the blue gears. In the dropdown hover "more" click "disconnect" this will stop Aptana from monitoring the GIT repo for changes. GIT will still work but I no longer get Aptana trying to refresh my workspace.

          People

          • Assignee:
            Praveen Innamuri
            Reporter:
            James Henestofel
          • Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development