Edgewall Software
Modify

Opened 20 years ago

Closed 19 years ago

#1723 closed defect (duplicate)

On Windows, trac-admin should not use raw_input() with O_BINARY

Reported by: Shun-ichi Goto <gotoh@…> 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)

Change History (1)

comment:1 by Shun-ichi Goto <gotoh@…>, 19 years ago

Resolution: duplicate
Status: newclosed

This is same to #1664.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain daniel.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from daniel to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.