Defect #3675

"Migrate from trac" script does not output query lines

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

Status:ClosedStart date:2009-07-27
Priority:LowDue date:
Assignee:-% Done:


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


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 13 years ago

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


#1 Updated by Jean-Philippe Lang about 13 years ago

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

This should be fixed in r3328.

Also available in: Atom PDF