#1396 closed defect

writing an incident flogfile tries to use characters not valid in a Windows filename (':') — at Version 1

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 (last modified by davidsarah)

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?)

Change History (1)

comment:1 Changed at 2011-05-06T16:02:41Z by davidsarah

  • Description modified (diff)

(linewrap description for readability)

Note: See TracTickets for help on using tickets.