Modify ↓
#8955 closed defect (wontfix)
ValueError: I/O operation on closed file
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | |
Severity: | normal | Keywords: | |
Cc: | marco.giusti@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
version: 0.11.1-2.1 from debian lenny
more info: http://bugs.python.org/issue6333#msg90328
maybe this is related to #6580 but i did not investigated.
using trac-post-commit-hook
i get
Traceback (most recent call last): File "/usr/lib/python2.5/logging/__init__.py", line 750, in emit self.stream.write(fs % msg) ValueError: I/O operation on closed file
here the relevant configuration:
... [logging] log_type = file ...
i think that removing handler in trac.env.Environment.shutdown
could be a nice start to better understand this error.
notice that in trac.env.open_environment
there is already a removeHandler
but just in case when environment is cached.
Attachments (0)
Change History (3)
comment:1 by , 15 years ago
Cc: | added |
---|
comment:2 by , 15 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:3 by , 15 years ago
Milestone: | 0.11.7 |
---|
Note:
See TracTickets
for help on using tickets.
The
trac-post-commit-hook
has been replaced by a plugin and a call totrac-admin
in the multirepos branch, which will end up on trunk shortly. As such, we won't be fixing the old script.Please reopen if you can reproduce the issue with the current multirepos branch.