Defect #3675

"Migrate from trac" script does not output query lines

Added by ento entotto over 2 years ago. Updated about 2 years ago.

Status:Closed Start date:2009-07-27
Priority:Low Due date:
Assignee:- % Done:

0%

Category:Importers
Target version:0.9.1 Estimated time:1.00 hour
Affected version:0.9.0 Resolution:Fixed

Description

When I run

$ rake redmine:migrate_from_trac RAILS_ENV="test" 

it's supposed to output the following lines.

WARNING: a new project will be added to Redmine during this process.
Are you sure you want to continue ? [y/N] 

However, in my environment, my terminal only displays the first line.
I suspect it's the same problem as described here

To fix it, either use puts instead of print or do STDOUT.flush after each print statement.

Ruby version              1.8.6 (i686-darwin8.11.1)
RubyGems version          1.3.2
Rails version             2.1.2
Rake version              0.8.7
Redmine version           0.8.4
Database adapter          sqlite3

Associated revisions

Revision 3328
Added by Jean-Philippe Lang about 2 years ago

Adds a few STDOUT.flush to migration scripts (#3675).

History

Updated by Jean-Philippe Lang about 2 years ago

  • Status changed from New to Closed
  • Target version set to 0.9.1
  • Affected version set to 0.9.0
  • Resolution set to Fixed

This should be fixed in r3328.

Also available in: Atom PDF