renaming fails

Issue #119 resolved
Hugo Ahlenius
created an issue

Using boar b48b8e37b48b pulled earlier today (both client and server) Client is Windows 10 64-bit Server is Ubuntu 16

I have renamed a bunch of files in a workdir, and commiting that fails:

First I check the status:

boar status
Looking for files: 40
Verifying checksum cache: 40
Scanning: 0 files and 0 Mb remaining (100.0% complete, 0.0 Mb/s)
Loading session... done
Calculating changes... done
R graphics/09_autonomy_autonomous/09_autonomy_autonomous.ai => graphics/09_autonomy_autonomous/fig09_autonomy_autonomous.ai
R graphics/09_autonomy_autonomous/09_autonomy_autonomous.eps => graphics/09_autonomy_autonomous/fig09_autonomy_autonomous.eps
R graphics/09_autonomy_autonomous/09_autonomy_autonomous.jpg => graphics/09_autonomy_autonomous/fig09_autonomy_autonomous.jpg
R graphics/09_autonomy_autonomous/09_autonomy_autonomous.pdf => graphics/09_autonomy_autonomous/fig09_autonomy_autonomous.pdf
R graphics/09_autonomy_autonomous/09_autonomy_autonomous.png => graphics/09_autonomy_autonomous/fig09_autonomy_autonomous.png
R graphics/22_US_DOD_funding/22_US_DOD_funding.ai => graphics/22_US_DOD_funding/fig22_US_DOD_funding.ai
R graphics/22_US_DOD_funding/22_US_DOD_funding.eps => graphics/22_US_DOD_funding/fig22_US_DOD_funding.eps
R graphics/22_US_DOD_funding/22_US_DOD_funding.jpg => graphics/22_US_DOD_funding/fig22_US_DOD_funding.jpg
R graphics/22_US_DOD_funding/22_US_DOD_funding.pdf => graphics/22_US_DOD_funding/fig22_US_DOD_funding.pdf
R graphics/22_US_DOD_funding/22_US_DOD_funding.png => graphics/22_US_DOD_funding/fig22_US_DOD_funding.png
Finished in 3.58 seconds

Seems good, let's commit this!

boar ci
Looking for files: 40
Verifying checksum cache: 40
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
    include=included_files)
  File "C:\Program Files (x86)\Boar\workdir.py", line 326, in checkin
    self.get_changes(self.revision, ignore_errors = ignore_errors)
  File "C:\Program Files (x86)\Boar\workdir.py", line 699, in get_changes
    new_files.add(new_name)
AttributeError: 'tuple' object has no attribute 'add'

...and on the server I see this:

Exception happened during processing of request from ('10.3.0.9', 58523)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 571, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 652, in __init__
    self.handle()
  File "/opt/boar/boarserve.py", line 75, in handle
    PipedBoarServer(repopath, from_client, to_client).serve()
  File "/opt/boar/boarserve.py", line 47, in serve
    self.server.serve()
  File "/opt/boar/jsonrpc.py", line 610, in serve
    datasize, binary_data_size, is_progress_packet = read_header(self.s_in)
  File "/opt/boar/jsonrpc.py", line 455, in read_header
    leader = stream.read(8)
  File "/usr/lib/python2.7/socket.py", line 384, in read
    data = self._sock.recv(left)
error: [Errno 104] Connection reset by peer

Unfortunately I am unable to replicate this issue on a new test/empty work dir/session/repo...

Comments (4)

  1. Log in to comment