Modify ↓
Opened 19 years ago
Closed 19 years ago
#1723 closed defect (duplicate)
On Windows, trac-admin should not use raw_input() with O_BINARY
Reported by: | Owned by: | daniel | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | admin/console | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
On widnows, I cannot create new environment by 'trac-admin initenv' with console interaction. It is the reason that raw_input() does not strip '\r' character because stdin was set as O_BINARY by Environment.init() called from env_check() called from do_initenv() which is called before using raw_input().
As workaround, I can create new environment by specifying extra 4 arguments for initenv command as command line arguments explicitly.
Attachments (0)
Note:
See TracTickets
for help on using tickets.
This is same to #1664.