Opened at 2011-05-06T16:01:22Z
Last modified at 2013-08-28T16:36:18Z
#1396 closed defect
writing an incident flogfile tries to use characters not valid in a Windows filename (':') — at Initial Version
Reported by: | davidsarah | Owned by: | somebody |
---|---|---|---|
Priority: | major | Milestone: | 1.10.0 |
Component: | code | Version: | 1.8.2 |
Keywords: | windows error incident logging foolscap regression | Cc: | |
Launchpad Bug: |
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. 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?)
Note: See
TracTickets for help on using
tickets.