ERROR: File changed during commit (leaves lockfile)

Issue #118 new
Hugo Ahlenius
created an issue

Environment (just pulled the latest) Boar b48b8e37b48b on windows 10 64-bit Boar serve b48b8e37b48b on Ubuntu

Trying to commit and I rarely get an error:

Looking for files: 20
Verifying checksum cache: 20
Loading session... done
Calculating changes... done
Sending graphics/laws_06_military_systems_fielduse/ 100.0%
Sending graphics/laws_06_military_systems_fielduse/laws_06_military_systems_fielduse.eps: 100.0%
Sending graphics/laws_06_military_systems_fielduse/laws_06_military_systems_fielduse.jpg: 100.0%
Sending graphics/laws_06_military_systems_fielduse/laws_06_military_systems_fielduse.pdf: 100.0%
Sending graphics/laws_06_military_systems_fielduse/laws_06_military_systems_fielduse.png: 100.0%
ERROR: File changed during commit: graphics/laws_06_military_systems_fielduse/ws/laws06.grf
Finished in 0.33 seconds

I have verified that the file in question is not open in any application (using handle64.exe from sysinternals). This is just a plain binary file (document for Golden Software Grapher), and I can commit other such files without problems.

If I try to commit again, I get the error:

Looking for files: 20
Verifying checksum cache: 20
Loading session... done
Calculating changes... done
Traceback (most recent call last):
  File "C:\Program Files (x86)\Boar\boar", line 1558, in <module>
    return_code = main()
  File "C:\Program Files (x86)\Boar\boar", line 1474, in main
    return cmd_ci(args[1:])
  File "C:\Program Files (x86)\Boar\boar", line 790, in cmd_ci
  File "C:\Program Files (x86)\Boar\", line 385, in checkin
  File "C:\Program Files (x86)\Boar\", line 449, in _create_snapshot
    front.create_session(session_name = self.sessionName, base_session = base_snapshot, force_base_snapshot = force_base_snapshot)
  File "C:\Program Files (x86)\Boar\", line 744, in __call__
    return self.__req(self.__name, args, kwargs, progress_callback = cb)
  File "C:\Program Files (x86)\Boar\", line 711, in __req
    resp = JsonRpc20.loads_response( resp_str, self.allowed_exceptions)
  File "C:\Program Files (x86)\Boar\", line 390, in loads_response
    raise Exception("Unknown remote exception: %s" % data["error"]["data"])
Exception: Unknown remote exception: {"message": "Mutex '1205sipricharts' was already locked. Lockfile is '/home/hugo/boar_repo/tmp/mutex-108a10f8abd3dbf18150aec0d1a32b91'", "name": "MutexLocked", "module": "common"}

Workaround: Delete the lock-folder on the server Rename the file in question (just add an 'x' to the filename) * Now the commit works!

Comments (1)

  1. Log in to comment