writing an incident flogfile (via foolscap 0.6.0/1) tries to use characters not valid in a Windows filename (':') #1396
Labels
No Label
0.2.0
0.3.0
0.4.0
0.5.0
0.5.1
0.6.0
0.6.1
0.7.0
0.8.0
0.9.0
1.0.0
1.1.0
1.10.0
1.10.1
1.10.2
1.10a2
1.11.0
1.12.0
1.12.1
1.13.0
1.14.0
1.15.0
1.15.1
1.2.0
1.3.0
1.4.1
1.5.0
1.6.0
1.6.1
1.7.0
1.7.1
1.7β
1.8.0
1.8.1
1.8.2
1.8.3
1.8β
1.9.0
1.9.0-s3branch
1.9.0a1
1.9.0a2
1.9.0b1
1.9.1
1.9.2
1.9.2a1
LeastAuthority.com automation
blocker
cannot reproduce
cloud-branch
code
code-dirnodes
code-encoding
code-frontend
code-frontend-cli
code-frontend-ftp-sftp
code-frontend-magic-folder
code-frontend-web
code-mutable
code-network
code-nodeadmin
code-peerselection
code-storage
contrib
critical
defect
dev-infrastructure
documentation
duplicate
enhancement
fixed
invalid
major
minor
n/a
normal
operational
packaging
somebody else's problem
supercritical
task
trivial
unknown
was already fixed
website
wontfix
worksforme
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Reference: tahoe-lafs/trac-2024-07-25#1396
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
While reporting the incident in #1395 on a Windows platform, the following error occurred:
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?)A change to flogfile naming in foolscap 0.6.0 apparently caused this bug.(linewrap description for readability)
The problem is actually in foolscap, apparently due to the time format here in
foolscap/logging/incident.py
:which is used indirectly by
incident_declared
to create the filename. Will file a foolscap ticket.(http://foolscap.lothar.com/trac/ticket/177)
writing an incident flogfile tries to use characters not valid in a Windows filename (':')to writing an incident flogfile (via foolscap 0.6.0/1) tries to use characters not valid in a Windows filename (':')This is fixed in foolscap trunk, but has not been released.
(http://foolscap.lothar.com/trac/ticket/177) was fixed in foolscap 0.6.2, but Tahoe currently only requires foolscap 0.6.1, so can still be affected. This ticket can be closed when the foolscap dependency is increased.
trunk requires foolscap >= 0.6.3 (since [69bd49fc57bf9e6f851c8f68458d6f518d2c8c2e/trunk], which was before the 1.10 release), so this is fixed.