myreplicator 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. data/app/assets/stylesheets/myreplicator/application.css +53 -10
  2. data/app/controllers/myreplicator/exports_controller.rb +17 -1
  3. data/app/controllers/myreplicator/home_controller.rb +4 -1
  4. data/app/helpers/myreplicator/application_helper.rb +20 -0
  5. data/app/models/myreplicator/export.rb +108 -23
  6. data/app/models/myreplicator/log.rb +90 -0
  7. data/app/views/myreplicator/exports/_form.html.erb +33 -9
  8. data/app/views/myreplicator/home/_home_menu.erb +6 -2
  9. data/app/views/myreplicator/home/errors.html.erb +15 -5
  10. data/app/views/myreplicator/home/index.html.erb +20 -43
  11. data/db/migrate/20121025191622_create_myreplicator_exports.rb +0 -6
  12. data/db/migrate/20121212003652_create_myreplicator_logs.rb +21 -0
  13. data/lib/exporter/export_metadata.rb +8 -1
  14. data/lib/exporter/mysql_exporter.rb +32 -0
  15. data/lib/exporter/sql_commands.rb +85 -4
  16. data/lib/loader/loader.rb +48 -7
  17. data/lib/myreplicator.rb +16 -4
  18. data/lib/myreplicator/version.rb +1 -1
  19. data/lib/transporter/parallelizer.rb +8 -0
  20. data/lib/transporter/transporter.rb +75 -11
  21. data/test/dummy/config/myreplicator.yml +0 -2
  22. data/test/dummy/config/myreplicator.yml~ +2 -0
  23. data/test/dummy/db/migrate/{20121108204327_create_myreplicator_exports.myreplicator.rb~ → 20121213003552_create_myreplicator_exports.myreplicator.rb} +3 -1
  24. data/test/dummy/db/migrate/20121213003553_create_myreplicator_logs.myreplicator.rb +22 -0
  25. data/test/dummy/db/schema.rb +24 -7
  26. data/test/dummy/log/development.log +1083 -0
  27. data/test/dummy/tmp/cache/assets/CD5/B90/sprockets%2Fc999d13a6a21113981c0d820e8043bdf +0 -0
  28. data/test/dummy/tmp/cache/assets/D8B/B60/sprockets%2Faa32227c440a378ccd21218eefeb80bf +0 -0
  29. data/test/dummy/tmp/cache/assets/DF8/5D0/sprockets%2Fb815ed34d61cfed96222daa3bfd1d84d +0 -0
  30. data/test/dummy/tmp/myreplicator/okl_test_batchy_batches_1355432256.tsv.gz +0 -0
  31. data/test/unit/myreplicator/log_test.rb +9 -0
  32. metadata +14 -8
  33. data/test/dummy/db/migrate/20121115194022_create_myreplicator_exports.myreplicator.rb +0 -36
@@ -13,13 +13,20 @@ module Myreplicator
13
13
 
14
14
  class Engine < Rails::Engine
15
15
 
16
+ # Setting up engine configurations after host Rails app starts
17
+
16
18
  initializer "myreplicator.configure_rails_initialization" do |app|
17
19
  Myreplicator.app_root = app.root #assigning app root as rails.root is not accessible
20
+
21
+ # myreplicator yml file is required
22
+
18
23
  yml = YAML.load(File.read("#{Myreplicator.app_root}/config/myreplicator.yml"))
19
24
 
20
- Myreplicator.mysql = yml["myreplicator"]["mysql"]
21
- Myreplicator.mysqldump = yml["myreplicator"]["mysqldump"]
22
-
25
+ Myreplicator.mysql = yml["myreplicator"]["mysql"] # mysql path
26
+ Myreplicator.mysqldump = yml["myreplicator"]["mysqldump"] # mysqldump path
27
+
28
+ # Authentication Check
29
+
23
30
  if yml["myreplicator"]["auth_required"].blank?
24
31
  Myreplicator.auth_required = false
25
32
  else
@@ -28,7 +35,7 @@ module Myreplicator
28
35
  Myreplicator.login_redirect = yml["myreplicator"]["login_redirect"]
29
36
  end
30
37
 
31
-
38
+ # Temp directory path
32
39
  if yml["myreplicator"]["tmp_path"].blank?
33
40
  Myreplicator.tmp_path = File.join(Myreplicator.app_root, "tmp", "myreplicator")
34
41
  else
@@ -40,6 +47,11 @@ module Myreplicator
40
47
 
41
48
  end
42
49
 
50
+ # BOB : Usually you'd make a Myreplicator::Error inherit from StandardError,
51
+ # then make all of the other exceptions inherit from Myreplicator::Error
52
+ # With the way you have it set up, I can't catch all Myreplicator errors without specifying
53
+ # each individually.
54
+ # Check out how ActiveRecord sets up its errors for an example
43
55
  module Exceptions
44
56
  class MissingArgs < StandardError; end
45
57
  class ExportError < StandardError; end
@@ -1,3 +1,3 @@
1
1
  module Myreplicator
2
- VERSION = "0.0.16"
2
+ VERSION = "0.0.17"
3
3
  end
@@ -1,5 +1,13 @@
1
1
  require "thread"
2
2
 
3
+ ##
4
+ # Executes given Procs in parallel using mulltiple threads
5
+ # Execution are closed under the Transporter class, i.e. all
6
+ # Transporter methods are accessible
7
+ # Worker threads are managed by another thread which parallizes the process
8
+ # even further using the max_threads option.
9
+ ##
10
+
3
11
  module Myreplicator
4
12
  class Parallelizer
5
13
 
@@ -2,7 +2,9 @@ require "exporter"
2
2
 
3
3
  module Myreplicator
4
4
  class Transporter
5
-
5
+
6
+ @queue = :myreplicator_transporter # Provided for Resque
7
+
6
8
  def initialize *args
7
9
  options = args.extract_options!
8
10
  end
@@ -13,7 +15,32 @@ module Myreplicator
13
15
  @tmp_dir
14
16
  end
15
17
 
16
- def transfer
18
+ ##
19
+ # Main method provided for resque
20
+ ##
21
+ def self.perform
22
+ transfer # Kick off the load process
23
+ end
24
+
25
+ ##
26
+ # Schedules the transport job in Resque
27
+ ##
28
+ def schedule cron
29
+ Resque.set_schedule("myreplicator_transporter", {
30
+ :cron => cron,
31
+ :class => "Myreplicator::Transporter",
32
+ :queue => "myreplicator_transporter"
33
+ })
34
+ end
35
+
36
+ ##
37
+ # Connects to all unique database servers
38
+ # downloads export files concurrently from multiple sources
39
+
40
+ # TO DO: Clean up after transfer job is done
41
+
42
+ ##
43
+ def self.transfer
17
44
  unique_jobs = Export.where("state != 'failed' and active = 1").group("source_schema")
18
45
 
19
46
  unique_jobs.each do |export|
@@ -21,11 +48,19 @@ module Myreplicator
21
48
  end
22
49
  end
23
50
 
51
+ ##
52
+ # Connect to server via SSH
53
+ # Kicks off parallel download
54
+ ##
24
55
  def download export
25
56
  ssh = export.ssh_to_source
26
57
  parallel_download(export, ssh, completed_files(ssh, export))
27
58
  end
28
-
59
+
60
+ ##
61
+ # Gathers all files that need to be downloaded
62
+ # Gives the queue to parallelizer library to download in parallel
63
+ ##
29
64
  def parallel_download export, ssh, files
30
65
  p = Parallelizer.new
31
66
 
@@ -37,22 +72,42 @@ module Myreplicator
37
72
  p.run
38
73
  end
39
74
 
75
+ ##
76
+ # Code block that each thread calls
77
+ # instance_exec is used to execute under Transporter class
78
+ # 1. Connects via SFTP
79
+ # 2. Downloads metadata file first
80
+ # 3. Gets dump file location from metadata
81
+ # 4. Downloads dump file
82
+ ##
40
83
  def download_file
41
84
  proc = Proc.new { |params|
42
85
  ssh = params[0]
43
86
  export = params[1]
44
87
  filename = params[2]
45
- sftp = export.sftp_to_source
46
- json_file = remote_path(export, filename)
47
- json_local_path = File.join(tmp_dir,filename)
48
- puts "Downloading #{json_file}"
49
- sftp.download!(json_file, json_local_path)
50
- dump_file = get_dump_path(json_local_path)
51
- puts "Downloading #{dump_file}"
52
- sftp.download!(dump_file, File.join(tmp_dir, dump_file.split("/").last))
88
+
89
+ Log.run(:job_type => "transporter", :name => "metadata_file",
90
+ :file => filename, :export_id => export.id) do |log|
91
+
92
+ sftp = export.sftp_to_source
93
+ json_file = remote_path(export, filename)
94
+ json_local_path = File.join(tmp_dir,filename)
95
+ puts "Downloading #{json_file}"
96
+ sftp.download!(json_file, json_local_path)
97
+ dump_file = get_dump_path(json_local_path)
98
+
99
+ Log.run(:job_type => "transporter", :name => "export_file",
100
+ :file => dump_file, :export_id => export.id) do |log|
101
+ puts "Downloading #{dump_file}"
102
+ sftp.download!(dump_file, File.join(tmp_dir, dump_file.split("/").last))
103
+ end
104
+ end
53
105
  }
54
106
  end
55
107
 
108
+ ##
109
+ # Gets all files ready to be exported from server
110
+ ##
56
111
  def completed_files ssh, export
57
112
  done_files = ssh.exec!(get_done_files(export))
58
113
 
@@ -63,15 +118,24 @@ module Myreplicator
63
118
  return []
64
119
  end
65
120
 
121
+ ##
122
+ # Reads metadata file for the export path
123
+ ##
66
124
  def get_dump_path json_path
67
125
  metadata = ExportMetadata.new(:metadata_path => json_path)
68
126
  return metadata.export_path
69
127
  end
70
128
 
129
+ ##
130
+ # Returns where path of dump files on remote server
131
+ ##
71
132
  def remote_path export, filename
72
133
  File.join(Myreplicator.configs[export.source_schema]["ssh_tmp_dir"], filename)
73
134
  end
74
135
 
136
+ ##
137
+ # Command for list of done files
138
+ ##
75
139
  def get_done_files export
76
140
  cmd = "cd #{Myreplicator.configs[export.source_schema]["ssh_tmp_dir"]}; grep -l export_completed *.json"
77
141
  end
@@ -8,8 +8,6 @@ myreplicator:
8
8
  terminate_by: '\t'
9
9
  enclosed_by: '"'
10
10
  lines_terminate_by: '\n'
11
- auth_required: yes
12
- login_redirect: /
13
11
 
14
12
  okl_dev:
15
13
  ssh_host: localhost
@@ -8,6 +8,8 @@ myreplicator:
8
8
  terminate_by: '\t'
9
9
  enclosed_by: '"'
10
10
  lines_terminate_by: '\n'
11
+ auth_required: yes
12
+ login_redirect: /
11
13
 
12
14
  okl_dev:
13
15
  ssh_host: localhost
@@ -12,10 +12,12 @@ class CreateMyreplicatorExports < ActiveRecord::Migration
12
12
  t.string :export_type, :default => "incremental"
13
13
  t.string :s3_path
14
14
  t.string :cron
15
- t.datetime :last_run, :default => nil
16
15
  t.string :state, :default => "new"
17
16
  t.text :error
18
17
  t.boolean :active, :default => true
18
+ t.integer :exporter_pid
19
+ t.datetime :export_started_at, :default => nil
20
+ t.datetime :export_finished_at, :default => nil
19
21
  t.timestamps
20
22
  end
21
23
  add_index :myreplicator_exports, [:source_schema, :destination_schema, :table_name], :unique => true, :name => "unique_index"
@@ -0,0 +1,22 @@
1
+ # This migration comes from myreplicator (originally 20121212003652)
2
+ class CreateMyreplicatorLogs < ActiveRecord::Migration
3
+ def change
4
+ create_table :myreplicator_logs do |t|
5
+ t.integer :pid
6
+ t.string :job_type
7
+ t.string :name
8
+ t.string :file
9
+ t.string :state
10
+ t.string :thread_state
11
+ t.string :hostname
12
+ t.string :export_id
13
+ t.text :error
14
+ t.text :backtrace
15
+ t.string :guid
16
+ t.datetime :started_at, :default => nil
17
+ t.datetime :finished_at, :default => nil
18
+
19
+ t.timestamps
20
+ end
21
+ end
22
+ end
@@ -11,7 +11,12 @@
11
11
  #
12
12
  # It's strongly recommended to check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20121115194022) do
14
+ ActiveRecord::Schema.define(:version => 20121213003553) do
15
+
16
+ create_table "my_test", :force => true do |t|
17
+ t.string "desc", :limit => 45
18
+ t.datetime "updated_at"
19
+ end
15
20
 
16
21
  create_table "myreplicator_exports", :force => true do |t|
17
22
  t.string "source_schema"
@@ -28,18 +33,30 @@ ActiveRecord::Schema.define(:version => 20121115194022) do
28
33
  t.text "error"
29
34
  t.boolean "active", :default => true
30
35
  t.integer "exporter_pid"
31
- t.integer "transporter_pid"
32
- t.integer "loader_pid"
33
36
  t.datetime "export_started_at"
34
37
  t.datetime "export_finished_at"
35
- t.datetime "load_started_at"
36
- t.datetime "load_finished_at"
37
- t.datetime "transfer_started_at"
38
- t.datetime "transfer_finished_at"
39
38
  t.datetime "created_at", :null => false
40
39
  t.datetime "updated_at", :null => false
41
40
  end
42
41
 
43
42
  add_index "myreplicator_exports", ["source_schema", "destination_schema", "table_name"], :name => "unique_index", :unique => true
44
43
 
44
+ create_table "myreplicator_logs", :force => true do |t|
45
+ t.integer "pid"
46
+ t.string "job_type"
47
+ t.string "name"
48
+ t.string "file"
49
+ t.string "state"
50
+ t.string "thread_state"
51
+ t.string "hostname"
52
+ t.string "export_id"
53
+ t.text "error"
54
+ t.text "backtrace"
55
+ t.string "guid"
56
+ t.datetime "started_at"
57
+ t.datetime "finished_at"
58
+ t.datetime "created_at", :null => false
59
+ t.datetime "updated_at", :null => false
60
+ end
61
+
45
62
  end
@@ -7479,3 +7479,1086 @@ ActionController::RoutingError (No route matches [GET] "/"):
7479
7479
 
7480
7480
 
7481
7481
  Rendered /home/sasan/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
7482
+ Connecting to database specified by database.yml
7483
+ Connecting to database specified by database.yml
7484
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
7485
+ Migrating to SampleData (20121101005152)
7486
+ Migrating to CreateMyreplicatorExports (20121212182445)
7487
+  (0.5ms) CREATE TABLE `myreplicator_exports` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source_schema` varchar(255), `destination_schema` varchar(255), `table_name` varchar(255), `incremental_column` varchar(255), `max_incremental_value` varchar(255), `incremental_column_type` varchar(255), `export_to` varchar(255) DEFAULT 'destination_db', `export_type` varchar(255) DEFAULT 'incremental', `s3_path` varchar(255), `cron` varchar(255), `state` varchar(255) DEFAULT 'new', `error` text, `active` tinyint(1) DEFAULT 1, `exporter_pid` int(11), `export_started_at` datetime, `export_finished_at` datetime, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
7488
+ Mysql2::Error: Table 'myreplicator_exports' already exists: CREATE TABLE `myreplicator_exports` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source_schema` varchar(255), `destination_schema` varchar(255), `table_name` varchar(255), `incremental_column` varchar(255), `max_incremental_value` varchar(255), `incremental_column_type` varchar(255), `export_to` varchar(255) DEFAULT 'destination_db', `export_type` varchar(255) DEFAULT 'incremental', `s3_path` varchar(255), `cron` varchar(255), `state` varchar(255) DEFAULT 'new', `error` text, `active` tinyint(1) DEFAULT 1, `exporter_pid` int(11), `export_started_at` datetime, `export_finished_at` datetime, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
7489
+ Connecting to database specified by database.yml
7490
+  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
7491
+ Migrating to SampleData (20121101005152)
7492
+ Migrating to CreateMyreplicatorExports (20121212182445)
7493
+  (155.3ms) CREATE TABLE `myreplicator_exports` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source_schema` varchar(255), `destination_schema` varchar(255), `table_name` varchar(255), `incremental_column` varchar(255), `max_incremental_value` varchar(255), `incremental_column_type` varchar(255), `export_to` varchar(255) DEFAULT 'destination_db', `export_type` varchar(255) DEFAULT 'incremental', `s3_path` varchar(255), `cron` varchar(255), `state` varchar(255) DEFAULT 'new', `error` text, `active` tinyint(1) DEFAULT 1, `exporter_pid` int(11), `export_started_at` datetime, `export_finished_at` datetime, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
7494
+  (156.5ms) CREATE UNIQUE INDEX `unique_index` ON `myreplicator_exports` (`source_schema`, `destination_schema`, `table_name`)
7495
+  (41.0ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121212182445')
7496
+ Migrating to CreateMyreplicatorLogs (20121212182446)
7497
+  (81.2ms) CREATE TABLE `myreplicator_logs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `pid` int(11), `job_type` varchar(255), `name` varchar(255), `filepath` varchar(255), `state` varchar(255), `hostname` varchar(255), `export_id` varchar(255), `error` text, `backtrace` text, `guid` varchar(255), `started_at` datetime, `finished_at` datetime, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
7498
+  (40.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121212182446')
7499
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
7500
+ Connecting to database specified by database.yml
7501
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
7502
+ Migrating to SampleData (20121101005152)
7503
+ Migrating to CreateMyreplicatorExports (20121212184820)
7504
+  (309.1ms) CREATE TABLE `myreplicator_exports` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source_schema` varchar(255), `destination_schema` varchar(255), `table_name` varchar(255), `incremental_column` varchar(255), `max_incremental_value` varchar(255), `incremental_column_type` varchar(255), `export_to` varchar(255) DEFAULT 'destination_db', `export_type` varchar(255) DEFAULT 'incremental', `s3_path` varchar(255), `cron` varchar(255), `state` varchar(255) DEFAULT 'new', `error` text, `active` tinyint(1) DEFAULT 1, `exporter_pid` int(11), `export_started_at` datetime, `export_finished_at` datetime, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
7505
+  (389.5ms) CREATE UNIQUE INDEX `unique_index` ON `myreplicator_exports` (`source_schema`, `destination_schema`, `table_name`)
7506
+  (48.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121212184820')
7507
+ Migrating to CreateMyreplicatorLogs (20121212184821)
7508
+  (82.0ms) CREATE TABLE `myreplicator_logs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `pid` int(11), `job_type` varchar(255), `name` varchar(255), `filepath` varchar(255), `state` varchar(255), `thread_state` varchar(255), `hostname` varchar(255), `export_id` varchar(255), `error` text, `backtrace` text, `guid` varchar(255), `started_at` datetime, `finished_at` datetime, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
7509
+  (40.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121212184821')
7510
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
7511
+ Connecting to database specified by database.yml
7512
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
7513
+ Migrating to SampleData (20121101005152)
7514
+ Migrating to CreateMyreplicatorExports (20121212184820)
7515
+ Migrating to CreateMyreplicatorLogs (20121212184821)
7516
+  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
7517
+ Connecting to database specified by database.yml
7518
+
7519
+
7520
+ Started GET "/myreplicator/exports" for 127.0.0.1 at 2012-12-12 11:42:47 -0800
7521
+ Processing by Myreplicator::ExportsController#index as HTML
7522
+ Redirected to http://localhost:3000/?redirect_url=/myreplicator/exports
7523
+ Filter chain halted as :authenticated? rendered or redirected
7524
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
7525
+
7526
+
7527
+ Started GET "/?redirect_url=/myreplicator/exports" for 127.0.0.1 at 2012-12-12 11:42:47 -0800
7528
+
7529
+ ActionController::RoutingError (No route matches [GET] "/"):
7530
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
7531
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
7532
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
7533
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
7534
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
7535
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
7536
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
7537
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
7538
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
7539
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
7540
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
7541
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
7542
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
7543
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
7544
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
7545
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
7546
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
7547
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
7548
+
7549
+
7550
+ Rendered /home/sasan/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (13.6ms)
7551
+
7552
+
7553
+ Started GET "/myreplicator/exports" for 127.0.0.1 at 2012-12-12 11:42:53 -0800
7554
+ Processing by Myreplicator::ExportsController#index as HTML
7555
+ Redirected to http://localhost:3000/?redirect_url=/myreplicator/exports
7556
+ Filter chain halted as :authenticated? rendered or redirected
7557
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
7558
+
7559
+
7560
+ Started GET "/?redirect_url=/myreplicator/exports" for 127.0.0.1 at 2012-12-12 11:42:53 -0800
7561
+
7562
+ ActionController::RoutingError (No route matches [GET] "/"):
7563
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
7564
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
7565
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
7566
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
7567
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
7568
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
7569
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
7570
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
7571
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
7572
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
7573
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
7574
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
7575
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
7576
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
7577
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
7578
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
7579
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
7580
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
7581
+
7582
+
7583
+ Rendered /home/sasan/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
7584
+ Connecting to database specified by database.yml
7585
+
7586
+
7587
+ Started GET "/myreplicator/exports" for 127.0.0.1 at 2012-12-12 11:49:13 -0800
7588
+ Processing by Myreplicator::ExportsController#index as HTML
7589
+ Redirected to http://localhost:3000/?redirect_url=/myreplicator/exports
7590
+ Filter chain halted as :authenticated? rendered or redirected
7591
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
7592
+
7593
+
7594
+ Started GET "/?redirect_url=/myreplicator/exports" for 127.0.0.1 at 2012-12-12 11:49:13 -0800
7595
+
7596
+ ActionController::RoutingError (No route matches [GET] "/"):
7597
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
7598
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
7599
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
7600
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
7601
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
7602
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
7603
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
7604
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
7605
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
7606
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
7607
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
7608
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
7609
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
7610
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
7611
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
7612
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
7613
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
7614
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
7615
+
7616
+
7617
+ Rendered /home/sasan/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.1ms)
7618
+ Connecting to database specified by database.yml
7619
+
7620
+
7621
+ Started GET "/myreplicator/exports" for 127.0.0.1 at 2012-12-12 11:50:26 -0800
7622
+ Processing by Myreplicator::ExportsController#index as HTML
7623
+  (0.3ms) SELECT COUNT(*) FROM `myreplicator_exports` 
7624
+ Myreplicator::Export Load (0.3ms) SELECT `myreplicator_exports`.* FROM `myreplicator_exports` ORDER BY source_schema asc LIMIT 30 OFFSET 0
7625
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/exports/index.html.erb within layouts/myreplicator/application (19.9ms)
7626
+ Completed 200 OK in 330ms (Views: 325.4ms | ActiveRecord: 1.8ms)
7627
+
7628
+
7629
+ Started GET "/assets/myreplicator/application.css?body=1" for 127.0.0.1 at 2012-12-12 11:50:26 -0800
7630
+ Served asset /myreplicator/application.css - 200 OK (7ms)
7631
+
7632
+
7633
+ Started GET "/assets/myreplicator/chosen.css?body=1" for 127.0.0.1 at 2012-12-12 11:50:26 -0800
7634
+ Served asset /myreplicator/chosen.css - 200 OK (3ms)
7635
+
7636
+
7637
+ Started GET "/assets/myreplicator/exports.css?body=1" for 127.0.0.1 at 2012-12-12 11:50:26 -0800
7638
+ Served asset /myreplicator/exports.css - 200 OK (3ms)
7639
+
7640
+
7641
+ Started GET "/assets/myreplicator/tipTip.css?body=1" for 127.0.0.1 at 2012-12-12 11:50:26 -0800
7642
+ Served asset /myreplicator/tipTip.css - 200 OK (25ms)
7643
+
7644
+
7645
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-12 11:50:26 -0800
7646
+ Served asset /jquery.js - 200 OK (3ms)
7647
+
7648
+
7649
+ Started GET "/assets/myreplicator/chosen.jquery.min.js?body=1" for 127.0.0.1 at 2012-12-12 11:50:26 -0800
7650
+ Served asset /myreplicator/chosen.jquery.min.js - 200 OK (3ms)
7651
+
7652
+
7653
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-12 11:50:26 -0800
7654
+ Served asset /jquery_ujs.js - 200 OK (1ms)
7655
+
7656
+
7657
+ Started GET "/assets/myreplicator/cronwtf.js?body=1" for 127.0.0.1 at 2012-12-12 11:50:26 -0800
7658
+ Served asset /myreplicator/cronwtf.js - 200 OK (1ms)
7659
+
7660
+
7661
+ Started GET "/assets/myreplicator/exports.js?body=1" for 127.0.0.1 at 2012-12-12 11:50:26 -0800
7662
+ Served asset /myreplicator/exports.js - 200 OK (2ms)
7663
+
7664
+
7665
+ Started GET "/assets/myreplicator/jquery.tipTip.minified.js?body=1" for 127.0.0.1 at 2012-12-12 11:50:26 -0800
7666
+ Served asset /myreplicator/jquery.tipTip.minified.js - 200 OK (1ms)
7667
+
7668
+
7669
+ Started GET "/assets/myreplicator/application.js?body=1" for 127.0.0.1 at 2012-12-12 11:50:26 -0800
7670
+ Served asset /myreplicator/application.js - 200 OK (6ms)
7671
+
7672
+
7673
+ Started GET "/assets/myreplicator/plus.png" for 127.0.0.1 at 2012-12-12 11:50:26 -0800
7674
+ Served asset /myreplicator/plus.png - 200 OK (19ms)
7675
+
7676
+
7677
+ Started GET "/assets/myreplicator/desc-white.gif" for 127.0.0.1 at 2012-12-12 11:50:26 -0800
7678
+ Served asset /myreplicator/desc-white.gif - 200 OK (4ms)
7679
+
7680
+
7681
+ Started GET "/assets/myreplicator/bg.gif" for 127.0.0.1 at 2012-12-12 11:50:26 -0800
7682
+ Served asset /myreplicator/bg.gif - 200 OK (2ms)
7683
+
7684
+
7685
+ Started GET "/assets/myreplicator/websymbols-regular-webfont.woff" for 127.0.0.1 at 2012-12-12 11:50:26 -0800
7686
+ Served asset /myreplicator/websymbols-regular-webfont.woff - 200 OK (10ms)
7687
+
7688
+
7689
+ Started GET "/assets/myreplicator/FrancoisOne.ttf" for 127.0.0.1 at 2012-12-12 11:50:26 -0800
7690
+ Served asset /myreplicator/FrancoisOne.ttf - 200 OK (14ms)
7691
+
7692
+
7693
+ Started GET "/myreplicator/exports/new" for 127.0.0.1 at 2012-12-12 11:50:28 -0800
7694
+ Processing by Myreplicator::ExportsController#new as HTML
7695
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/exports/_form.html.erb (72.8ms)
7696
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/exports/new.html.erb within layouts/myreplicator/application (80.1ms)
7697
+ Completed 200 OK in 954ms (Views: 146.2ms | ActiveRecord: 160.2ms)
7698
+
7699
+
7700
+ Started GET "/assets/myreplicator/tipTip.css?body=1" for 127.0.0.1 at 2012-12-12 11:50:30 -0800
7701
+ Served asset /myreplicator/tipTip.css - 304 Not Modified (1ms)
7702
+
7703
+
7704
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-12 11:50:30 -0800
7705
+ Served asset /jquery.js - 304 Not Modified (1ms)
7706
+
7707
+
7708
+ Started GET "/assets/myreplicator/exports.css?body=1" for 127.0.0.1 at 2012-12-12 11:50:30 -0800
7709
+ Served asset /myreplicator/exports.css - 304 Not Modified (0ms)
7710
+
7711
+
7712
+ Started GET "/assets/myreplicator/chosen.css?body=1" for 127.0.0.1 at 2012-12-12 11:50:30 -0800
7713
+ Served asset /myreplicator/chosen.css - 304 Not Modified (0ms)
7714
+
7715
+
7716
+ Started GET "/assets/myreplicator/application.css?body=1" for 127.0.0.1 at 2012-12-12 11:50:30 -0800
7717
+ Served asset /myreplicator/application.css - 304 Not Modified (1ms)
7718
+
7719
+
7720
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-12 11:50:30 -0800
7721
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
7722
+
7723
+
7724
+ Started GET "/assets/myreplicator/chosen.jquery.min.js?body=1" for 127.0.0.1 at 2012-12-12 11:50:30 -0800
7725
+ Served asset /myreplicator/chosen.jquery.min.js - 304 Not Modified (1ms)
7726
+
7727
+
7728
+ Started GET "/assets/myreplicator/cronwtf.js?body=1" for 127.0.0.1 at 2012-12-12 11:50:30 -0800
7729
+ Served asset /myreplicator/cronwtf.js - 304 Not Modified (0ms)
7730
+
7731
+
7732
+ Started GET "/assets/myreplicator/exports.js?body=1" for 127.0.0.1 at 2012-12-12 11:50:30 -0800
7733
+ Served asset /myreplicator/exports.js - 304 Not Modified (0ms)
7734
+
7735
+
7736
+ Started GET "/assets/myreplicator/jquery.tipTip.minified.js?body=1" for 127.0.0.1 at 2012-12-12 11:50:30 -0800
7737
+ Served asset /myreplicator/jquery.tipTip.minified.js - 304 Not Modified (0ms)
7738
+
7739
+
7740
+ Started GET "/assets/myreplicator/application.js?body=1" for 127.0.0.1 at 2012-12-12 11:50:30 -0800
7741
+ Served asset /myreplicator/application.js - 304 Not Modified (1ms)
7742
+
7743
+
7744
+ Started GET "/assets/myreplicator/cronwtf.min.js" for 127.0.0.1 at 2012-12-12 11:50:30 -0800
7745
+ Served asset /myreplicator/cronwtf.min.js - 404 Not Found (1ms)
7746
+
7747
+ ActionController::RoutingError (No route matches [GET] "/assets/myreplicator/cronwtf.min.js"):
7748
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
7749
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
7750
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
7751
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
7752
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
7753
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
7754
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
7755
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
7756
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
7757
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
7758
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
7759
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
7760
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
7761
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
7762
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
7763
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
7764
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
7765
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
7766
+
7767
+
7768
+ Rendered /home/sasan/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
7769
+
7770
+
7771
+ Started GET "/assets/myreplicator/chosen.jquery.min.js?body=1" for 127.0.0.1 at 2012-12-12 11:50:30 -0800
7772
+ Served asset /myreplicator/chosen.jquery.min.js - 304 Not Modified (0ms)
7773
+
7774
+
7775
+ Started GET "/assets/myreplicator/cross.png" for 127.0.0.1 at 2012-12-12 11:50:30 -0800
7776
+ Served asset /myreplicator/cross.png - 304 Not Modified (3ms)
7777
+
7778
+
7779
+ Started GET "/assets/myreplicator/cronwtf.min.js" for 127.0.0.1 at 2012-12-12 11:50:30 -0800
7780
+ Served asset /myreplicator/cronwtf.min.js - 404 Not Found (2ms)
7781
+
7782
+ ActionController::RoutingError (No route matches [GET] "/assets/myreplicator/cronwtf.min.js"):
7783
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
7784
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
7785
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
7786
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
7787
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
7788
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
7789
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
7790
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
7791
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
7792
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
7793
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
7794
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
7795
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
7796
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
7797
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
7798
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
7799
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
7800
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
7801
+
7802
+
7803
+ Rendered /home/sasan/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
7804
+
7805
+
7806
+ Started GET "/assets/myreplicator/chosen-sprite.png" for 127.0.0.1 at 2012-12-12 11:50:30 -0800
7807
+ Served asset /myreplicator/chosen-sprite.png - 200 OK (2ms)
7808
+ Connecting to database specified by database.yml
7809
+ Connecting to database specified by database.yml
7810
+ Connecting to database specified by database.yml
7811
+ Connecting to database specified by database.yml
7812
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
7813
+ Migrating to SampleData (20121101005152)
7814
+ Migrating to CreateMyreplicatorExports (20121213003552)
7815
+  (127.1ms) CREATE TABLE `myreplicator_exports` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source_schema` varchar(255), `destination_schema` varchar(255), `table_name` varchar(255), `incremental_column` varchar(255), `max_incremental_value` varchar(255), `incremental_column_type` varchar(255), `export_to` varchar(255) DEFAULT 'destination_db', `export_type` varchar(255) DEFAULT 'incremental', `s3_path` varchar(255), `cron` varchar(255), `state` varchar(255) DEFAULT 'new', `error` text, `active` tinyint(1) DEFAULT 1, `exporter_pid` int(11), `export_started_at` datetime, `export_finished_at` datetime, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
7816
+  (156.6ms) CREATE UNIQUE INDEX `unique_index` ON `myreplicator_exports` (`source_schema`, `destination_schema`, `table_name`)
7817
+  (49.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121213003552')
7818
+ Migrating to CreateMyreplicatorLogs (20121213003553)
7819
+  (83.4ms) CREATE TABLE `myreplicator_logs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `pid` int(11), `job_type` varchar(255), `name` varchar(255), `file` varchar(255), `state` varchar(255), `thread_state` varchar(255), `hostname` varchar(255), `export_id` varchar(255), `error` text, `backtrace` text, `guid` varchar(255), `started_at` datetime, `finished_at` datetime, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
7820
+  (57.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121213003553')
7821
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
7822
+ Connecting to database specified by database.yml
7823
+ Connecting to database specified by database.yml
7824
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
7825
+ Migrating to SampleData (20121101005152)
7826
+ Migrating to CreateMyreplicatorExports (20121213003552)
7827
+ Migrating to CreateMyreplicatorLogs (20121213003553)
7828
+  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
7829
+ Connecting to database specified by database.yml
7830
+ Connecting to database specified by database.yml
7831
+ Connecting to database specified by database.yml
7832
+ Connecting to database specified by database.yml
7833
+ Connecting to database specified by database.yml
7834
+
7835
+
7836
+ Started GET "/myreplicator/exports" for 127.0.0.1 at 2012-12-13 15:16:10 -0800
7837
+ Processing by Myreplicator::ExportsController#index as HTML
7838
+  (0.3ms) SELECT COUNT(*) FROM `myreplicator_exports` 
7839
+ Myreplicator::Export Load (0.3ms) SELECT `myreplicator_exports`.* FROM `myreplicator_exports` ORDER BY source_schema asc LIMIT 30 OFFSET 0
7840
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/exports/index.html.erb within layouts/myreplicator/application (30.0ms)
7841
+ Completed 200 OK in 262ms (Views: 257.5ms | ActiveRecord: 1.9ms)
7842
+
7843
+
7844
+ Started GET "/assets/myreplicator/application.css?body=1" for 127.0.0.1 at 2012-12-13 15:16:10 -0800
7845
+ Served asset /myreplicator/application.css - 304 Not Modified (27ms)
7846
+
7847
+
7848
+ Started GET "/assets/myreplicator/chosen.css?body=1" for 127.0.0.1 at 2012-12-13 15:16:10 -0800
7849
+ Served asset /myreplicator/chosen.css - 304 Not Modified (2ms)
7850
+
7851
+
7852
+ Started GET "/assets/myreplicator/exports.css?body=1" for 127.0.0.1 at 2012-12-13 15:16:10 -0800
7853
+ Served asset /myreplicator/exports.css - 304 Not Modified (1ms)
7854
+
7855
+
7856
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-13 15:16:10 -0800
7857
+ Served asset /jquery.js - 304 Not Modified (3ms)
7858
+
7859
+
7860
+ Started GET "/assets/myreplicator/tipTip.css?body=1" for 127.0.0.1 at 2012-12-13 15:16:10 -0800
7861
+ Served asset /myreplicator/tipTip.css - 304 Not Modified (2ms)
7862
+
7863
+
7864
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-13 15:16:10 -0800
7865
+ Served asset /jquery_ujs.js - 304 Not Modified (1ms)
7866
+
7867
+
7868
+ Started GET "/assets/myreplicator/chosen.jquery.min.js?body=1" for 127.0.0.1 at 2012-12-13 15:16:10 -0800
7869
+ Served asset /myreplicator/chosen.jquery.min.js - 304 Not Modified (1ms)
7870
+
7871
+
7872
+ Started GET "/assets/myreplicator/cronwtf.js?body=1" for 127.0.0.1 at 2012-12-13 15:16:10 -0800
7873
+ Served asset /myreplicator/cronwtf.js - 304 Not Modified (1ms)
7874
+
7875
+
7876
+ Started GET "/assets/myreplicator/exports.js?body=1" for 127.0.0.1 at 2012-12-13 15:16:10 -0800
7877
+ Served asset /myreplicator/exports.js - 304 Not Modified (1ms)
7878
+
7879
+
7880
+ Started GET "/assets/myreplicator/jquery.tipTip.minified.js?body=1" for 127.0.0.1 at 2012-12-13 15:16:10 -0800
7881
+ Served asset /myreplicator/jquery.tipTip.minified.js - 304 Not Modified (1ms)
7882
+
7883
+
7884
+ Started GET "/assets/myreplicator/application.js?body=1" for 127.0.0.1 at 2012-12-13 15:16:10 -0800
7885
+ Served asset /myreplicator/application.js - 304 Not Modified (6ms)
7886
+
7887
+
7888
+ Started GET "/assets/myreplicator/status.png" for 127.0.0.1 at 2012-12-13 15:16:10 -0800
7889
+ Served asset /myreplicator/status.png - 304 Not Modified (32ms)
7890
+
7891
+
7892
+ Started GET "/assets/myreplicator/clipboard-list.png" for 127.0.0.1 at 2012-12-13 15:16:10 -0800
7893
+ Served asset /myreplicator/clipboard-list.png - 304 Not Modified (2ms)
7894
+
7895
+
7896
+ Started GET "/assets/myreplicator/cross.png" for 127.0.0.1 at 2012-12-13 15:16:10 -0800
7897
+ Served asset /myreplicator/cross.png - 304 Not Modified (21ms)
7898
+
7899
+
7900
+ Started GET "/assets/myreplicator/gear.png" for 127.0.0.1 at 2012-12-13 15:16:10 -0800
7901
+ Served asset /myreplicator/gear.png - 304 Not Modified (9ms)
7902
+
7903
+
7904
+ Started GET "/myreplicator/" for 127.0.0.1 at 2012-12-13 15:16:15 -0800
7905
+ Processing by Myreplicator::HomeController#index as HTML
7906
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/home/_home_menu.erb (0.8ms)
7907
+ Myreplicator::Export Load (0.4ms) SELECT `myreplicator_exports`.* FROM `myreplicator_exports` ORDER BY state DESC
7908
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/home/index.html.erb within layouts/myreplicator/application (53.3ms)
7909
+ Completed 200 OK in 74ms (Views: 73.1ms | ActiveRecord: 0.4ms)
7910
+
7911
+
7912
+ Started GET "/assets/myreplicator/application.css?body=1" for 127.0.0.1 at 2012-12-13 15:16:15 -0800
7913
+ Served asset /myreplicator/application.css - 304 Not Modified (2ms)
7914
+
7915
+
7916
+ Started GET "/assets/myreplicator/chosen.css?body=1" for 127.0.0.1 at 2012-12-13 15:16:15 -0800
7917
+ Served asset /myreplicator/chosen.css - 304 Not Modified (0ms)
7918
+
7919
+
7920
+ Started GET "/assets/myreplicator/exports.css?body=1" for 127.0.0.1 at 2012-12-13 15:16:15 -0800
7921
+ Served asset /myreplicator/exports.css - 304 Not Modified (0ms)
7922
+
7923
+
7924
+ Started GET "/assets/myreplicator/tipTip.css?body=1" for 127.0.0.1 at 2012-12-13 15:16:15 -0800
7925
+ Served asset /myreplicator/tipTip.css - 304 Not Modified (0ms)
7926
+
7927
+
7928
+ Started GET "/assets/myreplicator/chosen.jquery.min.js?body=1" for 127.0.0.1 at 2012-12-13 15:16:15 -0800
7929
+ Served asset /myreplicator/chosen.jquery.min.js - 304 Not Modified (1ms)
7930
+
7931
+
7932
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-13 15:16:15 -0800
7933
+ Served asset /jquery.js - 304 Not Modified (1ms)
7934
+
7935
+
7936
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-13 15:16:15 -0800
7937
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
7938
+
7939
+
7940
+ Started GET "/assets/myreplicator/cronwtf.js?body=1" for 127.0.0.1 at 2012-12-13 15:16:15 -0800
7941
+ Served asset /myreplicator/cronwtf.js - 304 Not Modified (0ms)
7942
+
7943
+
7944
+ Started GET "/assets/myreplicator/exports.js?body=1" for 127.0.0.1 at 2012-12-13 15:16:15 -0800
7945
+ Served asset /myreplicator/exports.js - 304 Not Modified (0ms)
7946
+
7947
+
7948
+ Started GET "/assets/myreplicator/jquery.tipTip.minified.js?body=1" for 127.0.0.1 at 2012-12-13 15:16:15 -0800
7949
+ Served asset /myreplicator/jquery.tipTip.minified.js - 304 Not Modified (0ms)
7950
+
7951
+
7952
+ Started GET "/assets/myreplicator/application.js?body=1" for 127.0.0.1 at 2012-12-13 15:16:15 -0800
7953
+ Served asset /myreplicator/application.js - 304 Not Modified (1ms)
7954
+ Connecting to database specified by database.yml
7955
+ Connecting to database specified by database.yml
7956
+ Connecting to database specified by database.yml
7957
+ Connecting to database specified by database.yml
7958
+ Connecting to database specified by database.yml
7959
+ Connecting to database specified by database.yml
7960
+ Connecting to database specified by database.yml
7961
+ Connecting to database specified by database.yml
7962
+ Connecting to database specified by database.yml
7963
+ Connecting to database specified by database.yml
7964
+ Connecting to database specified by database.yml
7965
+ Connecting to database specified by database.yml
7966
+ Connecting to database specified by database.yml
7967
+ Connecting to database specified by database.yml
7968
+ Connecting to database specified by database.yml
7969
+ Connecting to database specified by database.yml
7970
+ Connecting to database specified by database.yml
7971
+ Connecting to database specified by database.yml
7972
+ Connecting to database specified by database.yml
7973
+ Connecting to database specified by database.yml
7974
+ Connecting to database specified by database.yml
7975
+
7976
+
7977
+ Started GET "/myreplicator/exports" for 127.0.0.1 at 2013-01-02 09:26:35 -0800
7978
+ Processing by Myreplicator::ExportsController#index as HTML
7979
+  (0.3ms) SELECT COUNT(*) FROM `myreplicator_exports` 
7980
+ Myreplicator::Export Load (0.4ms) SELECT `myreplicator_exports`.* FROM `myreplicator_exports` ORDER BY source_schema asc LIMIT 30 OFFSET 0
7981
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/exports/index.html.erb within layouts/myreplicator/application (43.4ms)
7982
+ Compiled myreplicator/application.css (2ms) (pid 5235)
7983
+ Completed 200 OK in 328ms (Views: 323.4ms | ActiveRecord: 1.7ms)
7984
+
7985
+
7986
+ Started GET "/assets/myreplicator/application.css?body=1" for 127.0.0.1 at 2013-01-02 09:26:35 -0800
7987
+ Served asset /myreplicator/application.css - 200 OK (29ms)
7988
+
7989
+
7990
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-02 09:26:35 -0800
7991
+ Served asset /jquery.js - 304 Not Modified (3ms)
7992
+
7993
+
7994
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-02 09:26:35 -0800
7995
+ Served asset /jquery_ujs.js - 304 Not Modified (1ms)
7996
+
7997
+
7998
+ Started GET "/assets/myreplicator/tipTip.css?body=1" for 127.0.0.1 at 2013-01-02 09:26:35 -0800
7999
+ Served asset /myreplicator/tipTip.css - 304 Not Modified (1ms)
8000
+
8001
+
8002
+ Started GET "/assets/myreplicator/exports.css?body=1" for 127.0.0.1 at 2013-01-02 09:26:35 -0800
8003
+ Served asset /myreplicator/exports.css - 304 Not Modified (2ms)
8004
+
8005
+
8006
+ Started GET "/assets/myreplicator/chosen.css?body=1" for 127.0.0.1 at 2013-01-02 09:26:35 -0800
8007
+ Served asset /myreplicator/chosen.css - 304 Not Modified (1ms)
8008
+
8009
+
8010
+ Started GET "/assets/myreplicator/chosen.jquery.min.js?body=1" for 127.0.0.1 at 2013-01-02 09:26:35 -0800
8011
+ Served asset /myreplicator/chosen.jquery.min.js - 304 Not Modified (2ms)
8012
+
8013
+
8014
+ Started GET "/assets/myreplicator/exports.js?body=1" for 127.0.0.1 at 2013-01-02 09:26:35 -0800
8015
+ Served asset /myreplicator/exports.js - 304 Not Modified (1ms)
8016
+
8017
+
8018
+ Started GET "/assets/myreplicator/cronwtf.js?body=1" for 127.0.0.1 at 2013-01-02 09:26:35 -0800
8019
+ Served asset /myreplicator/cronwtf.js - 304 Not Modified (1ms)
8020
+
8021
+
8022
+ Started GET "/assets/myreplicator/jquery.tipTip.minified.js?body=1" for 127.0.0.1 at 2013-01-02 09:26:35 -0800
8023
+ Served asset /myreplicator/jquery.tipTip.minified.js - 304 Not Modified (1ms)
8024
+
8025
+
8026
+ Started GET "/assets/myreplicator/application.js?body=1" for 127.0.0.1 at 2013-01-02 09:26:35 -0800
8027
+ Served asset /myreplicator/application.js - 304 Not Modified (8ms)
8028
+
8029
+
8030
+ Started GET "/assets/myreplicator/bg.gif" for 127.0.0.1 at 2013-01-02 09:26:35 -0800
8031
+ Served asset /myreplicator/bg.gif - 304 Not Modified (14ms)
8032
+
8033
+
8034
+ Started GET "/assets/myreplicator/plus.png" for 127.0.0.1 at 2013-01-02 09:26:35 -0800
8035
+ Served asset /myreplicator/plus.png - 304 Not Modified (7ms)
8036
+
8037
+
8038
+ Started GET "/assets/myreplicator/desc-white.gif" for 127.0.0.1 at 2013-01-02 09:26:35 -0800
8039
+ Served asset /myreplicator/desc-white.gif - 304 Not Modified (13ms)
8040
+
8041
+
8042
+ Started GET "/assets/myreplicator/status.png" for 127.0.0.1 at 2013-01-02 09:26:35 -0800
8043
+ Served asset /myreplicator/status.png - 304 Not Modified (4ms)
8044
+
8045
+
8046
+ Started GET "/assets/myreplicator/clipboard-list.png" for 127.0.0.1 at 2013-01-02 09:26:35 -0800
8047
+ Served asset /myreplicator/clipboard-list.png - 304 Not Modified (21ms)
8048
+
8049
+
8050
+ Started GET "/assets/myreplicator/gear.png" for 127.0.0.1 at 2013-01-02 09:26:36 -0800
8051
+ Served asset /myreplicator/gear.png - 304 Not Modified (27ms)
8052
+
8053
+
8054
+ Started GET "/assets/myreplicator/FrancoisOne.ttf" for 127.0.0.1 at 2013-01-02 09:26:36 -0800
8055
+ Served asset /myreplicator/FrancoisOne.ttf - 304 Not Modified (14ms)
8056
+
8057
+
8058
+ Started GET "/assets/myreplicator/websymbols-regular-webfont.woff" for 127.0.0.1 at 2013-01-02 09:26:36 -0800
8059
+ Served asset /myreplicator/websymbols-regular-webfont.woff - 304 Not Modified (13ms)
8060
+
8061
+
8062
+ Started GET "/assets/myreplicator/cross.png" for 127.0.0.1 at 2013-01-02 09:26:36 -0800
8063
+ Served asset /myreplicator/cross.png - 304 Not Modified (8ms)
8064
+
8065
+
8066
+ Started GET "/myreplicator/" for 127.0.0.1 at 2013-01-02 09:26:39 -0800
8067
+ Processing by Myreplicator::HomeController#index as HTML
8068
+  (0.2ms) SELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'error'
8069
+  (0.1ms) SELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'running'
8070
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/home/_home_menu.erb (4.0ms)
8071
+ Myreplicator::Log Load (0.2ms) SELECT `myreplicator_logs`.* FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'running' ORDER BY started_at DESC
8072
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/home/index.html.erb within layouts/myreplicator/application (43.2ms)
8073
+ Completed 200 OK in 64ms (Views: 47.5ms | ActiveRecord: 1.4ms)
8074
+
8075
+
8076
+ Started GET "/assets/myreplicator/application.css?body=1" for 127.0.0.1 at 2013-01-02 09:26:39 -0800
8077
+ Served asset /myreplicator/application.css - 304 Not Modified (1ms)
8078
+
8079
+
8080
+ Started GET "/assets/myreplicator/chosen.css?body=1" for 127.0.0.1 at 2013-01-02 09:26:39 -0800
8081
+ Served asset /myreplicator/chosen.css - 304 Not Modified (0ms)
8082
+
8083
+
8084
+ Started GET "/assets/myreplicator/exports.css?body=1" for 127.0.0.1 at 2013-01-02 09:26:39 -0800
8085
+ Served asset /myreplicator/exports.css - 304 Not Modified (0ms)
8086
+
8087
+
8088
+ Started GET "/assets/myreplicator/tipTip.css?body=1" for 127.0.0.1 at 2013-01-02 09:26:39 -0800
8089
+ Served asset /myreplicator/tipTip.css - 304 Not Modified (0ms)
8090
+
8091
+
8092
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-02 09:26:39 -0800
8093
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
8094
+
8095
+
8096
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-02 09:26:39 -0800
8097
+ Served asset /jquery.js - 304 Not Modified (2ms)
8098
+
8099
+
8100
+ Started GET "/assets/myreplicator/chosen.jquery.min.js?body=1" for 127.0.0.1 at 2013-01-02 09:26:39 -0800
8101
+ Served asset /myreplicator/chosen.jquery.min.js - 304 Not Modified (0ms)
8102
+
8103
+
8104
+ Started GET "/assets/myreplicator/cronwtf.js?body=1" for 127.0.0.1 at 2013-01-02 09:26:39 -0800
8105
+ Served asset /myreplicator/cronwtf.js - 304 Not Modified (0ms)
8106
+
8107
+
8108
+ Started GET "/assets/myreplicator/exports.js?body=1" for 127.0.0.1 at 2013-01-02 09:26:39 -0800
8109
+ Served asset /myreplicator/exports.js - 304 Not Modified (0ms)
8110
+
8111
+
8112
+ Started GET "/assets/myreplicator/jquery.tipTip.minified.js?body=1" for 127.0.0.1 at 2013-01-02 09:26:39 -0800
8113
+ Served asset /myreplicator/jquery.tipTip.minified.js - 304 Not Modified (0ms)
8114
+
8115
+
8116
+ Started GET "/assets/myreplicator/application.js?body=1" for 127.0.0.1 at 2013-01-02 09:26:39 -0800
8117
+ Served asset /myreplicator/application.js - 304 Not Modified (1ms)
8118
+
8119
+
8120
+ Started GET "/assets/myreplicator/FrancoisOne.ttf" for 127.0.0.1 at 2013-01-02 09:26:39 -0800
8121
+ Served asset /myreplicator/FrancoisOne.ttf - 304 Not Modified (0ms)
8122
+
8123
+
8124
+ Started GET "/assets/myreplicator/websymbols-regular-webfont.woff" for 127.0.0.1 at 2013-01-02 09:26:39 -0800
8125
+ Served asset /myreplicator/websymbols-regular-webfont.woff - 304 Not Modified (0ms)
8126
+
8127
+
8128
+ Started GET "/myreplicator/errors" for 127.0.0.1 at 2013-01-02 09:26:51 -0800
8129
+ Processing by Myreplicator::HomeController#errors as HTML
8130
+  (0.1ms) SELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'error'
8131
+  (0.1ms) SELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'running'
8132
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/home/_home_menu.erb (1.5ms)
8133
+ Myreplicator::Export Load (0.4ms) SELECT `myreplicator_exports`.* FROM `myreplicator_exports` WHERE (error is not null) ORDER BY source_schema ASC
8134
+ Myreplicator::Log Load (0.3ms) SELECT `myreplicator_logs`.* FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'error' ORDER BY started_at DESC
8135
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/home/errors.html.erb within layouts/myreplicator/application (4.8ms)
8136
+ Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.9ms)
8137
+
8138
+
8139
+ Started GET "/assets/myreplicator/application.css?body=1" for 127.0.0.1 at 2013-01-02 09:26:51 -0800
8140
+ Served asset /myreplicator/application.css - 304 Not Modified (4ms)
8141
+
8142
+
8143
+ Started GET "/assets/myreplicator/exports.css?body=1" for 127.0.0.1 at 2013-01-02 09:26:51 -0800
8144
+ Served asset /myreplicator/exports.css - 304 Not Modified (0ms)
8145
+
8146
+
8147
+ Started GET "/assets/myreplicator/tipTip.css?body=1" for 127.0.0.1 at 2013-01-02 09:26:51 -0800
8148
+ Served asset /myreplicator/tipTip.css - 304 Not Modified (0ms)
8149
+
8150
+
8151
+ Started GET "/assets/myreplicator/chosen.css?body=1" for 127.0.0.1 at 2013-01-02 09:26:51 -0800
8152
+ Served asset /myreplicator/chosen.css - 304 Not Modified (0ms)
8153
+
8154
+
8155
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-02 09:26:51 -0800
8156
+ Served asset /jquery.js - 304 Not Modified (2ms)
8157
+
8158
+
8159
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-02 09:26:51 -0800
8160
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
8161
+
8162
+
8163
+ Started GET "/assets/myreplicator/chosen.jquery.min.js?body=1" for 127.0.0.1 at 2013-01-02 09:26:51 -0800
8164
+ Served asset /myreplicator/chosen.jquery.min.js - 304 Not Modified (0ms)
8165
+
8166
+
8167
+ Started GET "/assets/myreplicator/cronwtf.js?body=1" for 127.0.0.1 at 2013-01-02 09:26:51 -0800
8168
+ Served asset /myreplicator/cronwtf.js - 304 Not Modified (0ms)
8169
+
8170
+
8171
+ Started GET "/assets/myreplicator/exports.js?body=1" for 127.0.0.1 at 2013-01-02 09:26:51 -0800
8172
+ Served asset /myreplicator/exports.js - 304 Not Modified (0ms)
8173
+
8174
+
8175
+ Started GET "/assets/myreplicator/jquery.tipTip.minified.js?body=1" for 127.0.0.1 at 2013-01-02 09:26:51 -0800
8176
+ Served asset /myreplicator/jquery.tipTip.minified.js - 304 Not Modified (0ms)
8177
+
8178
+
8179
+ Started GET "/assets/myreplicator/application.js?body=1" for 127.0.0.1 at 2013-01-02 09:26:51 -0800
8180
+ Served asset /myreplicator/application.js - 304 Not Modified (1ms)
8181
+
8182
+
8183
+ Started GET "/assets/myreplicator/websymbols-regular-webfont.woff" for 127.0.0.1 at 2013-01-02 09:26:51 -0800
8184
+ Served asset /myreplicator/websymbols-regular-webfont.woff - 304 Not Modified (0ms)
8185
+
8186
+
8187
+ Started GET "/assets/myreplicator/FrancoisOne.ttf" for 127.0.0.1 at 2013-01-02 09:26:51 -0800
8188
+ Served asset /myreplicator/FrancoisOne.ttf - 304 Not Modified (0ms)
8189
+
8190
+
8191
+ Started GET "/myreplicator/" for 127.0.0.1 at 2013-01-02 09:27:03 -0800
8192
+ Processing by Myreplicator::HomeController#index as HTML
8193
+  (0.1ms) SELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'error'
8194
+  (0.1ms) SELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'running'
8195
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/home/_home_menu.erb (2.2ms)
8196
+ Myreplicator::Log Load (0.2ms) SELECT `myreplicator_logs`.* FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'running' ORDER BY started_at DESC
8197
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/home/index.html.erb within layouts/myreplicator/application (3.6ms)
8198
+ Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.4ms)
8199
+
8200
+
8201
+ Started GET "/assets/myreplicator/application.css?body=1" for 127.0.0.1 at 2013-01-02 09:27:03 -0800
8202
+ Served asset /myreplicator/application.css - 304 Not Modified (2ms)
8203
+
8204
+
8205
+ Started GET "/assets/myreplicator/exports.css?body=1" for 127.0.0.1 at 2013-01-02 09:27:03 -0800
8206
+ Served asset /myreplicator/exports.css - 304 Not Modified (0ms)
8207
+
8208
+
8209
+ Started GET "/assets/myreplicator/chosen.css?body=1" for 127.0.0.1 at 2013-01-02 09:27:04 -0800
8210
+ Served asset /myreplicator/chosen.css - 304 Not Modified (0ms)
8211
+
8212
+
8213
+ Started GET "/assets/myreplicator/tipTip.css?body=1" for 127.0.0.1 at 2013-01-02 09:27:04 -0800
8214
+ Served asset /myreplicator/tipTip.css - 304 Not Modified (0ms)
8215
+
8216
+
8217
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-02 09:27:04 -0800
8218
+ Served asset /jquery.js - 304 Not Modified (1ms)
8219
+
8220
+
8221
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-02 09:27:04 -0800
8222
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
8223
+
8224
+
8225
+ Started GET "/assets/myreplicator/chosen.jquery.min.js?body=1" for 127.0.0.1 at 2013-01-02 09:27:04 -0800
8226
+ Served asset /myreplicator/chosen.jquery.min.js - 304 Not Modified (0ms)
8227
+
8228
+
8229
+ Started GET "/assets/myreplicator/cronwtf.js?body=1" for 127.0.0.1 at 2013-01-02 09:27:04 -0800
8230
+ Served asset /myreplicator/cronwtf.js - 304 Not Modified (0ms)
8231
+
8232
+
8233
+ Started GET "/assets/myreplicator/exports.js?body=1" for 127.0.0.1 at 2013-01-02 09:27:04 -0800
8234
+ Served asset /myreplicator/exports.js - 304 Not Modified (0ms)
8235
+
8236
+
8237
+ Started GET "/assets/myreplicator/jquery.tipTip.minified.js?body=1" for 127.0.0.1 at 2013-01-02 09:27:04 -0800
8238
+ Served asset /myreplicator/jquery.tipTip.minified.js - 304 Not Modified (0ms)
8239
+
8240
+
8241
+ Started GET "/assets/myreplicator/application.js?body=1" for 127.0.0.1 at 2013-01-02 09:27:04 -0800
8242
+ Served asset /myreplicator/application.js - 304 Not Modified (1ms)
8243
+
8244
+
8245
+ Started GET "/assets/myreplicator/FrancoisOne.ttf" for 127.0.0.1 at 2013-01-02 09:27:04 -0800
8246
+ Served asset /myreplicator/FrancoisOne.ttf - 304 Not Modified (0ms)
8247
+
8248
+
8249
+ Started GET "/assets/myreplicator/websymbols-regular-webfont.woff" for 127.0.0.1 at 2013-01-02 09:27:04 -0800
8250
+ Served asset /myreplicator/websymbols-regular-webfont.woff - 304 Not Modified (0ms)
8251
+
8252
+
8253
+ Started GET "/myreplicator/errors" for 127.0.0.1 at 2013-01-02 09:28:05 -0800
8254
+ Processing by Myreplicator::HomeController#errors as HTML
8255
+  (0.1ms) SELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'error'
8256
+  (0.1ms) SELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'running'
8257
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/home/_home_menu.erb (2.0ms)
8258
+ Myreplicator::Export Load (0.1ms) SELECT `myreplicator_exports`.* FROM `myreplicator_exports` WHERE (error is not null) ORDER BY source_schema ASC
8259
+ Myreplicator::Log Load (0.1ms) SELECT `myreplicator_logs`.* FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'error' ORDER BY started_at DESC
8260
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/home/errors.html.erb within layouts/myreplicator/application (4.1ms)
8261
+ Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.5ms)
8262
+
8263
+
8264
+ Started GET "/assets/myreplicator/application.css?body=1" for 127.0.0.1 at 2013-01-02 09:28:05 -0800
8265
+ Served asset /myreplicator/application.css - 304 Not Modified (0ms)
8266
+
8267
+
8268
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-02 09:28:05 -0800
8269
+ Served asset /jquery.js - 304 Not Modified (3ms)
8270
+
8271
+
8272
+ Started GET "/assets/myreplicator/tipTip.css?body=1" for 127.0.0.1 at 2013-01-02 09:28:05 -0800
8273
+ Served asset /myreplicator/tipTip.css - 304 Not Modified (0ms)
8274
+
8275
+
8276
+ Started GET "/assets/myreplicator/exports.css?body=1" for 127.0.0.1 at 2013-01-02 09:28:05 -0800
8277
+ Served asset /myreplicator/exports.css - 304 Not Modified (0ms)
8278
+
8279
+
8280
+ Started GET "/assets/myreplicator/chosen.css?body=1" for 127.0.0.1 at 2013-01-02 09:28:05 -0800
8281
+ Served asset /myreplicator/chosen.css - 304 Not Modified (0ms)
8282
+
8283
+
8284
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-02 09:28:05 -0800
8285
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
8286
+
8287
+
8288
+ Started GET "/assets/myreplicator/chosen.jquery.min.js?body=1" for 127.0.0.1 at 2013-01-02 09:28:05 -0800
8289
+ Served asset /myreplicator/chosen.jquery.min.js - 304 Not Modified (0ms)
8290
+
8291
+
8292
+ Started GET "/assets/myreplicator/cronwtf.js?body=1" for 127.0.0.1 at 2013-01-02 09:28:05 -0800
8293
+ Served asset /myreplicator/cronwtf.js - 304 Not Modified (0ms)
8294
+
8295
+
8296
+ Started GET "/assets/myreplicator/exports.js?body=1" for 127.0.0.1 at 2013-01-02 09:28:05 -0800
8297
+ Served asset /myreplicator/exports.js - 304 Not Modified (0ms)
8298
+
8299
+
8300
+ Started GET "/assets/myreplicator/jquery.tipTip.minified.js?body=1" for 127.0.0.1 at 2013-01-02 09:28:05 -0800
8301
+ Served asset /myreplicator/jquery.tipTip.minified.js - 304 Not Modified (0ms)
8302
+
8303
+
8304
+ Started GET "/assets/myreplicator/application.js?body=1" for 127.0.0.1 at 2013-01-02 09:28:05 -0800
8305
+ Served asset /myreplicator/application.js - 304 Not Modified (1ms)
8306
+
8307
+
8308
+ Started GET "/assets/myreplicator/FrancoisOne.ttf" for 127.0.0.1 at 2013-01-02 09:28:05 -0800
8309
+ Served asset /myreplicator/FrancoisOne.ttf - 304 Not Modified (0ms)
8310
+
8311
+
8312
+ Started GET "/assets/myreplicator/websymbols-regular-webfont.woff" for 127.0.0.1 at 2013-01-02 09:28:05 -0800
8313
+ Served asset /myreplicator/websymbols-regular-webfont.woff - 304 Not Modified (0ms)
8314
+
8315
+
8316
+ Started GET "/myreplicator/" for 127.0.0.1 at 2013-01-02 09:28:07 -0800
8317
+ Processing by Myreplicator::HomeController#index as HTML
8318
+  (0.2ms) SELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'error'
8319
+  (0.1ms) SELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'running'
8320
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/home/_home_menu.erb (1.3ms)
8321
+ Myreplicator::Log Load (0.1ms) SELECT `myreplicator_logs`.* FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'running' ORDER BY started_at DESC
8322
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/home/index.html.erb within layouts/myreplicator/application (2.5ms)
8323
+ Completed 200 OK in 8ms (Views: 7.8ms | ActiveRecord: 0.4ms)
8324
+
8325
+
8326
+ Started GET "/assets/myreplicator/application.css?body=1" for 127.0.0.1 at 2013-01-02 09:28:07 -0800
8327
+ Served asset /myreplicator/application.css - 304 Not Modified (1ms)
8328
+
8329
+
8330
+ Started GET "/assets/myreplicator/tipTip.css?body=1" for 127.0.0.1 at 2013-01-02 09:28:07 -0800
8331
+ Served asset /myreplicator/tipTip.css - 304 Not Modified (0ms)
8332
+
8333
+
8334
+ Started GET "/assets/myreplicator/exports.css?body=1" for 127.0.0.1 at 2013-01-02 09:28:07 -0800
8335
+ Served asset /myreplicator/exports.css - 304 Not Modified (0ms)
8336
+
8337
+
8338
+ Started GET "/assets/myreplicator/chosen.css?body=1" for 127.0.0.1 at 2013-01-02 09:28:07 -0800
8339
+ Served asset /myreplicator/chosen.css - 304 Not Modified (1ms)
8340
+
8341
+
8342
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-02 09:28:07 -0800
8343
+ Served asset /jquery.js - 304 Not Modified (2ms)
8344
+
8345
+
8346
+ Started GET "/assets/myreplicator/chosen.jquery.min.js?body=1" for 127.0.0.1 at 2013-01-02 09:28:07 -0800
8347
+ Served asset /myreplicator/chosen.jquery.min.js - 304 Not Modified (0ms)
8348
+
8349
+
8350
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-02 09:28:07 -0800
8351
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
8352
+
8353
+
8354
+ Started GET "/assets/myreplicator/cronwtf.js?body=1" for 127.0.0.1 at 2013-01-02 09:28:07 -0800
8355
+ Served asset /myreplicator/cronwtf.js - 304 Not Modified (0ms)
8356
+
8357
+
8358
+ Started GET "/assets/myreplicator/jquery.tipTip.minified.js?body=1" for 127.0.0.1 at 2013-01-02 09:28:07 -0800
8359
+ Served asset /myreplicator/jquery.tipTip.minified.js - 304 Not Modified (0ms)
8360
+
8361
+
8362
+ Started GET "/assets/myreplicator/exports.js?body=1" for 127.0.0.1 at 2013-01-02 09:28:07 -0800
8363
+ Served asset /myreplicator/exports.js - 304 Not Modified (0ms)
8364
+
8365
+
8366
+ Started GET "/assets/myreplicator/application.js?body=1" for 127.0.0.1 at 2013-01-02 09:28:07 -0800
8367
+ Served asset /myreplicator/application.js - 304 Not Modified (1ms)
8368
+
8369
+
8370
+ Started GET "/assets/myreplicator/FrancoisOne.ttf" for 127.0.0.1 at 2013-01-02 09:28:07 -0800
8371
+ Served asset /myreplicator/FrancoisOne.ttf - 304 Not Modified (19ms)
8372
+
8373
+
8374
+ Started GET "/assets/myreplicator/websymbols-regular-webfont.woff" for 127.0.0.1 at 2013-01-02 09:28:07 -0800
8375
+ Served asset /myreplicator/websymbols-regular-webfont.woff - 304 Not Modified (0ms)
8376
+
8377
+
8378
+ Started GET "/myreplicator/errors" for 127.0.0.1 at 2013-01-02 09:28:11 -0800
8379
+ Processing by Myreplicator::HomeController#errors as HTML
8380
+  (0.1ms) SELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'error'
8381
+  (0.1ms) SELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'running'
8382
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/home/_home_menu.erb (1.4ms)
8383
+ Myreplicator::Export Load (0.1ms) SELECT `myreplicator_exports`.* FROM `myreplicator_exports` WHERE (error is not null) ORDER BY source_schema ASC
8384
+ Myreplicator::Log Load (0.1ms) SELECT `myreplicator_logs`.* FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'error' ORDER BY started_at DESC
8385
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/home/errors.html.erb within layouts/myreplicator/application (3.5ms)
8386
+ Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.4ms)
8387
+
8388
+
8389
+ Started GET "/assets/myreplicator/application.css?body=1" for 127.0.0.1 at 2013-01-02 09:28:11 -0800
8390
+ Served asset /myreplicator/application.css - 304 Not Modified (3ms)
8391
+
8392
+
8393
+ Started GET "/assets/myreplicator/chosen.css?body=1" for 127.0.0.1 at 2013-01-02 09:28:11 -0800
8394
+ Served asset /myreplicator/chosen.css - 304 Not Modified (0ms)
8395
+
8396
+
8397
+ Started GET "/assets/myreplicator/exports.css?body=1" for 127.0.0.1 at 2013-01-02 09:28:11 -0800
8398
+ Served asset /myreplicator/exports.css - 304 Not Modified (0ms)
8399
+
8400
+
8401
+ Started GET "/assets/myreplicator/tipTip.css?body=1" for 127.0.0.1 at 2013-01-02 09:28:11 -0800
8402
+ Served asset /myreplicator/tipTip.css - 304 Not Modified (0ms)
8403
+
8404
+
8405
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-02 09:28:11 -0800
8406
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
8407
+
8408
+
8409
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-02 09:28:11 -0800
8410
+ Served asset /jquery.js - 304 Not Modified (1ms)
8411
+
8412
+
8413
+ Started GET "/assets/myreplicator/chosen.jquery.min.js?body=1" for 127.0.0.1 at 2013-01-02 09:28:11 -0800
8414
+ Served asset /myreplicator/chosen.jquery.min.js - 304 Not Modified (0ms)
8415
+
8416
+
8417
+ Started GET "/assets/myreplicator/cronwtf.js?body=1" for 127.0.0.1 at 2013-01-02 09:28:11 -0800
8418
+ Served asset /myreplicator/cronwtf.js - 304 Not Modified (0ms)
8419
+
8420
+
8421
+ Started GET "/assets/myreplicator/exports.js?body=1" for 127.0.0.1 at 2013-01-02 09:28:11 -0800
8422
+ Served asset /myreplicator/exports.js - 304 Not Modified (0ms)
8423
+
8424
+
8425
+ Started GET "/assets/myreplicator/jquery.tipTip.minified.js?body=1" for 127.0.0.1 at 2013-01-02 09:28:11 -0800
8426
+ Served asset /myreplicator/jquery.tipTip.minified.js - 304 Not Modified (0ms)
8427
+
8428
+
8429
+ Started GET "/assets/myreplicator/application.js?body=1" for 127.0.0.1 at 2013-01-02 09:28:11 -0800
8430
+ Served asset /myreplicator/application.js - 304 Not Modified (36ms)
8431
+
8432
+
8433
+ Started GET "/assets/myreplicator/FrancoisOne.ttf" for 127.0.0.1 at 2013-01-02 09:28:12 -0800
8434
+ Served asset /myreplicator/FrancoisOne.ttf - 304 Not Modified (0ms)
8435
+
8436
+
8437
+ Started GET "/assets/myreplicator/websymbols-regular-webfont.woff" for 127.0.0.1 at 2013-01-02 09:28:12 -0800
8438
+ Served asset /myreplicator/websymbols-regular-webfont.woff - 304 Not Modified (0ms)
8439
+ Connecting to database specified by database.yml
8440
+
8441
+
8442
+ Started GET "/myreplicator/" for 127.0.0.1 at 2013-01-02 09:33:45 -0800
8443
+ Processing by Myreplicator::HomeController#index as HTML
8444
+  (0.0ms) SELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'error'
8445
+  (0.1ms) SELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'running'
8446
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/home/_home_menu.erb (5.4ms)
8447
+ Myreplicator::Log Load (0.1ms) SELECT `myreplicator_logs`.* FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'running' ORDER BY started_at DESC
8448
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/home/index.html.erb within layouts/myreplicator/application (38.4ms)
8449
+ Completed 200 OK in 111ms (Views: 77.4ms | ActiveRecord: 1.4ms)
8450
+
8451
+
8452
+ Started GET "/assets/myreplicator/application.css?body=1" for 127.0.0.1 at 2013-01-02 09:33:46 -0800
8453
+ Served asset /myreplicator/application.css - 304 Not Modified (33ms)
8454
+
8455
+
8456
+ Started GET "/assets/myreplicator/exports.css?body=1" for 127.0.0.1 at 2013-01-02 09:33:46 -0800
8457
+ Served asset /myreplicator/exports.css - 304 Not Modified (2ms)
8458
+
8459
+
8460
+ Started GET "/assets/myreplicator/chosen.css?body=1" for 127.0.0.1 at 2013-01-02 09:33:46 -0800
8461
+ Served asset /myreplicator/chosen.css - 304 Not Modified (2ms)
8462
+
8463
+
8464
+ Started GET "/assets/myreplicator/tipTip.css?body=1" for 127.0.0.1 at 2013-01-02 09:33:46 -0800
8465
+ Served asset /myreplicator/tipTip.css - 304 Not Modified (2ms)
8466
+
8467
+
8468
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-02 09:33:46 -0800
8469
+ Served asset /jquery.js - 304 Not Modified (3ms)
8470
+
8471
+
8472
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-02 09:33:46 -0800
8473
+ Served asset /jquery_ujs.js - 304 Not Modified (1ms)
8474
+
8475
+
8476
+ Started GET "/assets/myreplicator/chosen.jquery.min.js?body=1" for 127.0.0.1 at 2013-01-02 09:33:46 -0800
8477
+ Served asset /myreplicator/chosen.jquery.min.js - 304 Not Modified (1ms)
8478
+
8479
+
8480
+ Started GET "/assets/myreplicator/cronwtf.js?body=1" for 127.0.0.1 at 2013-01-02 09:33:46 -0800
8481
+ Served asset /myreplicator/cronwtf.js - 304 Not Modified (2ms)
8482
+
8483
+
8484
+ Started GET "/assets/myreplicator/exports.js?body=1" for 127.0.0.1 at 2013-01-02 09:33:46 -0800
8485
+ Served asset /myreplicator/exports.js - 304 Not Modified (2ms)
8486
+
8487
+
8488
+ Started GET "/assets/myreplicator/jquery.tipTip.minified.js?body=1" for 127.0.0.1 at 2013-01-02 09:33:46 -0800
8489
+ Served asset /myreplicator/jquery.tipTip.minified.js - 304 Not Modified (2ms)
8490
+
8491
+
8492
+ Started GET "/assets/myreplicator/application.js?body=1" for 127.0.0.1 at 2013-01-02 09:33:46 -0800
8493
+ Served asset /myreplicator/application.js - 304 Not Modified (29ms)
8494
+
8495
+
8496
+ Started GET "/assets/myreplicator/FrancoisOne.ttf" for 127.0.0.1 at 2013-01-02 09:33:46 -0800
8497
+ Served asset /myreplicator/FrancoisOne.ttf - 304 Not Modified (1ms)
8498
+
8499
+
8500
+ Started GET "/assets/myreplicator/websymbols-regular-webfont.woff" for 127.0.0.1 at 2013-01-02 09:33:46 -0800
8501
+ Served asset /myreplicator/websymbols-regular-webfont.woff - 304 Not Modified (1ms)
8502
+
8503
+
8504
+ Started GET "/myreplicator/errors" for 127.0.0.1 at 2013-01-02 09:33:57 -0800
8505
+ Processing by Myreplicator::HomeController#errors as HTML
8506
+  (0.1ms) SELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'error'
8507
+  (0.1ms) SELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'running'
8508
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/home/_home_menu.erb (1.5ms)
8509
+ Myreplicator::Export Load (0.1ms) SELECT `myreplicator_exports`.* FROM `myreplicator_exports` WHERE (error is not null) ORDER BY source_schema ASC
8510
+ Myreplicator::Log Load (0.1ms) SELECT `myreplicator_logs`.* FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'error' ORDER BY started_at DESC
8511
+ Rendered /home/sasan/workspace/myreplicator/app/views/myreplicator/home/errors.html.erb within layouts/myreplicator/application (23.1ms)
8512
+ Completed 200 OK in 30ms (Views: 27.3ms | ActiveRecord: 1.5ms)
8513
+
8514
+
8515
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-02 09:33:57 -0800
8516
+ Served asset /jquery.js - 304 Not Modified (2ms)
8517
+
8518
+
8519
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-02 09:33:57 -0800
8520
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
8521
+
8522
+
8523
+ Started GET "/assets/myreplicator/chosen.css?body=1" for 127.0.0.1 at 2013-01-02 09:33:57 -0800
8524
+ Served asset /myreplicator/chosen.css - 304 Not Modified (0ms)
8525
+
8526
+
8527
+ Started GET "/assets/myreplicator/application.css?body=1" for 127.0.0.1 at 2013-01-02 09:33:57 -0800
8528
+ Served asset /myreplicator/application.css - 304 Not Modified (1ms)
8529
+
8530
+
8531
+ Started GET "/assets/myreplicator/tipTip.css?body=1" for 127.0.0.1 at 2013-01-02 09:33:57 -0800
8532
+ Served asset /myreplicator/tipTip.css - 304 Not Modified (0ms)
8533
+
8534
+
8535
+ Started GET "/assets/myreplicator/exports.css?body=1" for 127.0.0.1 at 2013-01-02 09:33:57 -0800
8536
+ Served asset /myreplicator/exports.css - 304 Not Modified (0ms)
8537
+
8538
+
8539
+ Started GET "/assets/myreplicator/chosen.jquery.min.js?body=1" for 127.0.0.1 at 2013-01-02 09:33:57 -0800
8540
+ Served asset /myreplicator/chosen.jquery.min.js - 304 Not Modified (1ms)
8541
+
8542
+
8543
+ Started GET "/assets/myreplicator/cronwtf.js?body=1" for 127.0.0.1 at 2013-01-02 09:33:57 -0800
8544
+ Served asset /myreplicator/cronwtf.js - 304 Not Modified (0ms)
8545
+
8546
+
8547
+ Started GET "/assets/myreplicator/exports.js?body=1" for 127.0.0.1 at 2013-01-02 09:33:57 -0800
8548
+ Served asset /myreplicator/exports.js - 304 Not Modified (0ms)
8549
+
8550
+
8551
+ Started GET "/assets/myreplicator/jquery.tipTip.minified.js?body=1" for 127.0.0.1 at 2013-01-02 09:33:57 -0800
8552
+ Served asset /myreplicator/jquery.tipTip.minified.js - 304 Not Modified (0ms)
8553
+
8554
+
8555
+ Started GET "/assets/myreplicator/application.js?body=1" for 127.0.0.1 at 2013-01-02 09:33:57 -0800
8556
+ Served asset /myreplicator/application.js - 304 Not Modified (1ms)
8557
+
8558
+
8559
+ Started GET "/assets/myreplicator/FrancoisOne.ttf" for 127.0.0.1 at 2013-01-02 09:33:57 -0800
8560
+ Served asset /myreplicator/FrancoisOne.ttf - 304 Not Modified (0ms)
8561
+
8562
+
8563
+ Started GET "/assets/myreplicator/websymbols-regular-webfont.woff" for 127.0.0.1 at 2013-01-02 09:33:57 -0800
8564
+ Served asset /myreplicator/websymbols-regular-webfont.woff - 304 Not Modified (0ms)