Modify ↓
Opened 19 years ago
Closed 19 years ago
#3030 closed defect (fixed)
trac-admin via CGI wrapper
Reported by: | markbathie | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | 0.10 |
Component: | admin/console | Version: | devel |
Severity: | normal | Keywords: | unicode |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Seems to be a bug in trac-admin when run via a CGI wrapper in Apache. For example
/usr/bin/trac-admin /tmp/test permission add test_user MILESTONE_DELETE
yields
Command failed: unicode() argument 2 must be string, not None
But this same trac-admin command works fine on the command line.
I'm having this problem at revision: 3138
Rolling back a few version of trac fixed the problem.
Attachments (0)
Change History (1)
comment:1 by , 19 years ago
Component: | general → trac-admin |
---|---|
Keywords: | unicode added; trac-admin cgi apache removed |
Milestone: | → 0.10 |
Resolution: | → fixed |
Severity: | major → normal |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
fixed in [3140]
sys.stdin.encoding
isNone
when the input doesn't come from a terminal. This would also cause problems with piping commands intotrac-admin
from a file.