activewarehouse / activewarehouse-etl

Extract-Transform-Load library from ActiveWarehouse
MIT License
240 stars 102 forks source link

Mysql issue with ruby 1.8.7 when running ETL #112

Closed epinault closed 12 years ago

epinault commented 12 years ago

Similar to another issue with 1.9.2, I cannot get it to work . The establish connection seems to call the wrong method.. (wether is is 3.2.x or 2.3.x AR)

ource: localhost/ts_development/teams /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activerecord-3.2.8/lib/active_record/dynamic_matchers.rb:50:in method_missing': undefined methodmysql_connection' for #Class:0xb7517cfc (NoMethodError) from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/../lib/etl/engine.rb:212:in send' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/../lib/etl/engine.rb:212:inestablish_connection' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/../lib/etl/engine.rb:143:in connection' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/../lib/etl/control/source/database_source.rb:219:inconnection' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/../lib/etl/control/source/database_source.rb:213:in query_rows' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/../lib/etl/control/source/database_source.rb:100:incolumns' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/../lib/etl/control/source/database_source.rb:160:in write_local' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/fastercsv-1.5.5/lib/faster_csv.rb:1222:inopen' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/../lib/etl/control/source/database_source.rb:159:in write_local' from /home/emmanuel/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/benchmark.rb:308:inrealtime' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/../lib/etl/control/source/database_source.rb:158:in write_local' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/../lib/etl/control/source/database_source.rb:115:ineach' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/../lib/etl/engine.rb:333:in each_with_index' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/../lib/etl/engine.rb:333:inprocess_control' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/../lib/etl/engine.rb:327:in each' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/../lib/etl/engine.rb:327:inprocess_control' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/../lib/etl/engine.rb:275:in process' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/../lib/etl/engine.rb:272:inprocess' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/../lib/etl/engine.rb:55:in process' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/../lib/etl/commands/etl.rb:82:inexecute' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/../lib/etl/commands/etl.rb:80:in each' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/../lib/etl/commands/etl.rb:80:inexecute' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/../lib/etl/commands/etl.rb:90 from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in require' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:inrequire' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in load_dependency' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:inrequire' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/gems/activewarehouse-etl-1.0.0/bin/etl:28 from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/bin/etl:19:in `load' from /home/emmanuel/talemetry/talemetry_warehouse/vendor/ruby/1.8/bin/etl:19

thbar commented 12 years ago

Duplicate of #110 - closing this one!