[tahoe-lafs-trac-stream] [tahoe-lafs] #1396: 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:01:22 PDT 2011


#1396: writing an incident flogfile tries to use characters not valid in a Windows
filename (':')
------------------------------------------+--------------------------
 Reporter:  davidsarah                    |          Owner:  somebody
     Type:  defect                        |         Status:  new
 Priority:  major                         |      Milestone:  1.9.0
Component:  code                          |        Version:  1.8.2
 Keywords:  win32 error incident logging  |  Launchpad Bug:
------------------------------------------+--------------------------
 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?)

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


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