[tahoe-lafs-trac-stream] [tahoe-lafs] #1396: writing an incident flogfile (via foolscap 0.6.0/1) tries to use characters not valid in a Windows filename (':') (was: writing an incident flogfile tries to use characters not valid in a Windows filename (':'))

tahoe-lafs trac at tahoe-lafs.org
Fri May 6 09:47:48 PDT 2011


#1396: writing an incident flogfile (via foolscap 0.6.0/1) tries to use characters
not valid in a Windows filename (':')
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:  somebody
  davidsarah             |     Status:  new
         Type:  defect   |  Milestone:  1.9.0
     Priority:  major    |    Version:  1.8.2
    Component:  code     |   Keywords:  win32 error incident logging
   Resolution:           |  foolscap
Launchpad Bug:           |
-------------------------+-------------------------------------------------
Description changed by davidsarah:

Old description:

> While reporting the incident in #1395 on a Windows platform, the
> following error occurred:
> {{{
> [Failure instance: Traceback: <type 'exceptions.IOError'>:
> [Errno 22] invalid mode ('wb') or filename:
> u'C:\\tahoeclient\\logs\\incidents\\incident-2011-05-05--18:33:34Z-
> w2qn32q.flog'
> }}}
>
> The problem (or at least one problem) is that '{{{:}}}' is not valid in a
> Windows filename. [http://msdn.microsoft.com/en-
> us/library/aa365247%28v=vs.85%29.aspx This MSDN article] documents the
> Windows filename validity rules.
>
> Presumably we don't have any test of writing an incident flogfile. This
> may mean that incident reporting has always been broken on Windows
> (unless the flogfile naming changed?)

New description:

 While reporting the incident in #1395 on a Windows platform, the following
 error occurred:
 {{{
 [Failure instance: Traceback: <type 'exceptions.IOError'>:
 [Errno 22] invalid mode ('wb') or filename:
 u'C:\\tahoeclient\\logs\\incidents\\incident-2011-05-05--18:33:34Z-
 w2qn32q.flog'
 }}}

 The problem (or at least one problem) is that '{{{:}}}' is not valid in a
 Windows filename. [http://msdn.microsoft.com/en-
 us/library/aa365247%28v=vs.85%29.aspx This MSDN article] documents the
 Windows filename validity rules.

 Presumably we don't have any test of writing an incident flogfile. ~~This
 may mean that incident reporting has always been broken on Windows (unless
 the flogfile naming changed?)~~ A change to flogfile naming in foolscap
 0.6.0 apparently caused this bug.

--

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1396#comment:4>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


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