You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 21, 2024. It is now read-only.
I finally got the etl sample application installed and tests running on Ubuntu 11.10. When I run 'bundle exec etl etl/process_all.ebf' I get this:
<Executing post processes /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:243:inquery': Mysql2::Error: File '/home/adamar/code/activewa
rehouse-etl-sample/etl/date_dimension.txt' not found (Errcode: 13): LOAD DATA INFILE '/home/adamar/code/activewarehouse-etl-sample/etl/date_dimension.txt' INTO TABLE date_dimension FIELDS TERMINATED BY
',' (date,month,day_of_week,day_of_week_as_number,year,year_and_month,sql_date_stamp,week,quarter,semester) (ActiveRecord::StatementInvalid)
from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:243:in block in execute' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract_adapter.rb:280:inblock in log'
from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activesupport-3.2.2/lib/active_support/notifications/instrumenter.rb:20:in instrument' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract_adapter.rb:275:inlog'
from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:243:in execute' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activerecord-3.2.2/lib/active_record/connection_adapters/mysql2_adapter.rb:211:inexecute'
from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/adapter_extensions-1.0.0.rc1/lib/adapter_extensions/adapters/mysql_adapter.rb:68:in do_bulk_load' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/adapter_extensions-1.0.0.rc1/lib/adapter_extensions/adapters/abstract_adapter.rb:19:inbulk_load'
from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/processor/bulk_import_processor.rb:85:in block in process' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/database_statements.rb:192:intransaction'
from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/processor/bulk_import_processor.rb:70:in process' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/engine.rb:526:inblock in post_process'
from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/engine.rb:525:in each' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/engine.rb:525:inpost_process'
from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/engine.rb:459:in process_control' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/engine.rb:267:inprocess'
from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/engine.rb:264:in process' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/batch/directives.rb:41:indo_execute'
from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/batch/directives.rb:15:in execute' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/batch/batch.rb:90:inblock in execute'
from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/batch/batch.rb:89:in each' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/batch/batch.rb:89:inexecute'
from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/engine.rb:292:in process_batch' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/engine.rb:268:inprocess'
from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/engine.rb:264:in process' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/engine.rb:55:inprocess'
from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/commands/etl.rb:82:in block in execute' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/commands/etl.rb:80:ineach'
from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/commands/etl.rb:80:in execute' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/commands/etl.rb:90:in<top (required)>'
from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:251:in require' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:251:inblock in require'
from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:236:in load_dependency' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:251:inrequire'
from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/bin/etl:28:in <top (required)>' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/bin/etl:19:inload'
from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/bin/etl:19:in <main>'>
The file is there and I can use that exact path to 'gedit path here' and view the file. Any suggestions...
The text was updated successfully, but these errors were encountered:
And sidenote: the sample has a known issue with "duplicates user 'Adam'".
If you meet this just delete the database and recreate it for now (or I'll
welcome a pull-request if you fix it!)
I finally got the etl sample application installed and tests running on Ubuntu 11.10. When I run 'bundle exec etl etl/process_all.ebf' I get this:
<Executing post processes /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:243:in
query': Mysql2::Error: File '/home/adamar/code/activewarehouse-etl-sample/etl/date_dimension.txt' not found (Errcode: 13): LOAD DATA INFILE '/home/adamar/code/activewarehouse-etl-sample/etl/date_dimension.txt' INTO TABLE date_dimension FIELDS TERMINATED BY
',' (
date
,month
,day_of_week
,day_of_week_as_number
,year
,year_and_month
,sql_date_stamp
,week
,quarter
,semester
) (ActiveRecord::StatementInvalid)from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:243:in
block in execute' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract_adapter.rb:280:in
block in log'from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activesupport-3.2.2/lib/active_support/notifications/instrumenter.rb:20:in
instrument' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract_adapter.rb:275:in
log'from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:243:in
execute' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activerecord-3.2.2/lib/active_record/connection_adapters/mysql2_adapter.rb:211:in
execute'from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/adapter_extensions-1.0.0.rc1/lib/adapter_extensions/adapters/mysql_adapter.rb:68:in
do_bulk_load' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/adapter_extensions-1.0.0.rc1/lib/adapter_extensions/adapters/abstract_adapter.rb:19:in
bulk_load'from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/processor/bulk_import_processor.rb:85:in
block in process' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in
transaction'from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/processor/bulk_import_processor.rb:70:in
process' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/engine.rb:526:in
block in post_process'from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/engine.rb:525:in
each' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/engine.rb:525:in
post_process'from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/engine.rb:459:in
process_control' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/engine.rb:267:in
process'from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/engine.rb:264:in
process' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/batch/directives.rb:41:in
do_execute'from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/batch/directives.rb:15:in
execute' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/batch/batch.rb:90:in
block in execute'from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/batch/batch.rb:89:in
each' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/batch/batch.rb:89:in
execute'from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/engine.rb:292:in
process_batch' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/engine.rb:268:in
process'from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/engine.rb:264:in
process' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/engine.rb:55:in
process'from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/commands/etl.rb:82:in
block in execute' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/commands/etl.rb:80:in
each'from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/commands/etl.rb:80:in
execute' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/lib/etl/commands/etl.rb:90:in
<top (required)>'from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:251:in
require' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:251:in
block in require'from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:236:in
load_dependency' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:251:in
require'from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/gems/activewarehouse-etl-1.0.0.rc1/bin/etl:28:in
<top (required)>' from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/bin/etl:19:in
load'from /home/adamar/.rvm/gems/ruby-1.9.3-p125@aw-etl-sample/bin/etl:19:in
<main>'>
The file is there and I can use that exact path to 'gedit path here' and view the file. Any suggestions...
The text was updated successfully, but these errors were encountered: