[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2798: Fix cloud backend on Windows

Tahoe-LAFS trac at tahoe-lafs.org
Tue Jul 12 14:30:19 UTC 2016


#2798: Fix cloud backend on Windows
-----------------------------------+------------------------
 Reporter:  daira                  |          Owner:  daira
     Type:  defect                 |         Status:  new
 Priority:  normal                 |      Milestone:  1.12.0
Component:  code-storage           |        Version:  1.11.0
 Keywords:  windows cloud-backend  |  Launchpad Bug:
-----------------------------------+------------------------
 See https://ci.appveyor.com/project/tahoe-lafs/tahoe-lafs/build/1.0.199

 There appears to be a problem with paths, e.g.:
 {{{
 [ERROR]
 Traceback (most recent call last):
   File "c:\projects\tahoe-
 lafs\src\allmydata\storage\backends\cloud\cloud_common.py", line 369, in
 _handle_error
     raise first_err.__class__, first_err, first_tb
 allmydata.storage.backends.cloud.cloud_common.CloudError: ("try 1 failed:
 PUT object ('shares/wn/wn663zg7yip4ummfral6lykgtu/9',) {}", 123, 'The
 filename, directory name, or volume label syntax is incorrect')
 allmydata.test.test_system.SystemWithCloudBackendAndMockContainer.test_upload_and_download_random_key
 }}}

 and a problem with file open modes:
 {{{
 [ERROR]
 Traceback (most recent call last):
   File "c:\projects\tahoe-lafs\src\allmydata\test\test_system.py", line
 479, in _corrupt_mutable_share
     share.pwrite(MutableDiskShare.DATA_OFFSET, final_share)
   File "c:\projects\tahoe-lafs\src\allmydata\scripts\debug.py", line 100,
 in pwrite
     self.write_to_chunk(chunknum, write_offset, data[data_offset :
 data_offset + write_length])
   File "c:\projects\tahoe-lafs\src\allmydata\scripts\debug.py", line 107,
 in write_to_chunk
     f = open(self._get_chunk_filename(chunknum), "rw+b")
 exceptions.ValueError: Invalid mode ('rw+b')
 allmydata.test.test_system.SystemWithDiskBackend.test_mutable
 }}}

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2798>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list