Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined method `hash_to_row' for true:TrueClass #10

Open
shtrom opened this issue Jun 12, 2013 · 2 comments
Open

undefined method `hash_to_row' for true:TrueClass #10

shtrom opened this issue Jun 12, 2013 · 2 comments

Comments

@shtrom
Copy link
Member

shtrom commented Jun 12, 2013

When running the simpleviz example, I get my stderr filled with the following backtraces:

    /home/omehani/nicta/OML/omf_web/example/simple/data_sources/ping_source.rb:34:in `block in setup_table'
    /home/omehani/.gem/ruby/2.0.0/gems/omf_oml-0.9.7/lib/omf_oml/sql_row.rb:211:in `call'
    /home/omehani/.gem/ruby/2.0.0/gems/omf_oml-0.9.7/lib/omf_oml/sql_row.rb:211:in `block (2 levels) in _run_once'
    /home/omehani/.gem/ruby/2.0.0/gems/omf_oml-0.9.7/lib/omf_oml/sql_row.rb:210:in `each_value'
    /home/omehani/.gem/ruby/2.0.0/gems/omf_oml-0.9.7/lib/omf_oml/sql_row.rb:210:in `block in _run_once'
    /home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/dataset/actions.rb:156:in `block in each'
    /home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/adapters/sqlite.rb:365:in `block (2 levels) in fetch_rows'
    /home/omehani/.gem/ruby/2.0.0/gems/sqlite3-1.3.7/lib/sqlite3/resultset.rb:138:in `each'
    /home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/adapters/sqlite.rb:356:in `block in fetch_rows'
    /home/omehani/.gem/ruby/2.0.0/gems/sqlite3-1.3.7/lib/sqlite3/database.rb:266:in `query'
    /home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/adapters/sqlite.rb:179:in `block (2 levels) in _execute'
    /home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/database/logging.rb:33:in `log_yield'
    /home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/adapters/sqlite.rb:179:in `block in _execute'
    /home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
    /home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
    /home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
    /home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/adapters/sqlite.rb:172:in `_execute'
    /home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/adapters/sqlite.rb:122:in `execute'
    /home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/dataset/actions.rb:860:in `execute'
    /home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/adapters/sqlite.rb:350:in `fetch_rows'
    /home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/dataset/actions.rb:156:in `each'
    /home/omehani/.gem/ruby/2.0.0/gems/omf_oml-0.9.7/lib/omf_oml/sql_row.rb:208:in `_run_once'
    /home/omehani/.gem/ruby/2.0.0/gems/omf_oml-0.9.7/lib/omf_oml/sql_row.rb:185:in `_run'
    /home/omehani/.gem/ruby/2.0.0/gems/omf_oml-0.9.7/lib/omf_oml/sql_row.rb:165:in `block in run'
WARN OmlSqlRow-pingmonitor_myping: undefined method `hash_to_row' for true:TrueClass
DEBUG OmlSqlRow-pingmonitor_myping:     /home/omehani/.gem/ruby/2.0.0/gems/omf_oml-0.9.7/lib/omf_oml/sql_row.rb:68:in `to_a'

This is with the sequel-3.48.0, sqlite3-1.3.7 and omf_oml 0.9.7 gems.

@shtrom
Copy link
Member Author

shtrom commented Jun 12, 2013

It is worth noting, however, that the web interface is up and running, but no data is displayed.

@maxott
Copy link
Member

maxott commented Jun 12, 2013

Run the 'demo' example. Lots of stuff has changed and I haven't kept up with keeping the examples going.

ruby -I lib -I ../omf_oml/lib example/demo/demo_viz_server.rb --print-options start

Make sure you use ruby1.9

-max

On 12/06/2013, at 11:07 AM, Olivier Mehani wrote:

When running the simpleviz example, I get my stderr filled with the following backtraces:

/home/omehani/nicta/OML/omf_web/example/simple/data_sources/ping_source.rb:34:in `block in setup_table'
/home/omehani/.gem/ruby/2.0.0/gems/omf_oml-0.9.7/lib/omf_oml/sql_row.rb:211:in `call'
/home/omehani/.gem/ruby/2.0.0/gems/omf_oml-0.9.7/lib/omf_oml/sql_row.rb:211:in `block (2 levels) in _run_once'
/home/omehani/.gem/ruby/2.0.0/gems/omf_oml-0.9.7/lib/omf_oml/sql_row.rb:210:in `each_value'
/home/omehani/.gem/ruby/2.0.0/gems/omf_oml-0.9.7/lib/omf_oml/sql_row.rb:210:in `block in _run_once'
/home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/dataset/actions.rb:156:in `block in each'
/home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/adapters/sqlite.rb:365:in `block (2 levels) in fetch_rows'
/home/omehani/.gem/ruby/2.0.0/gems/sqlite3-1.3.7/lib/sqlite3/resultset.rb:138:in `each'
/home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/adapters/sqlite.rb:356:in `block in fetch_rows'
/home/omehani/.gem/ruby/2.0.0/gems/sqlite3-1.3.7/lib/sqlite3/database.rb:266:in `query'
/home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/adapters/sqlite.rb:179:in `block (2 levels) in _execute'
/home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/database/logging.rb:33:in `log_yield'
/home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/adapters/sqlite.rb:179:in `block in _execute'
/home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `block in synchronize'
/home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
/home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/database/connecting.rb:235:in `synchronize'
/home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/adapters/sqlite.rb:172:in `_execute'
/home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/adapters/sqlite.rb:122:in `execute'
/home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/dataset/actions.rb:860:in `execute'
/home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/adapters/sqlite.rb:350:in `fetch_rows'
/home/omehani/.gem/ruby/2.0.0/gems/sequel-3.48.0/lib/sequel/dataset/actions.rb:156:in `each'
/home/omehani/.gem/ruby/2.0.0/gems/omf_oml-0.9.7/lib/omf_oml/sql_row.rb:208:in `_run_once'
/home/omehani/.gem/ruby/2.0.0/gems/omf_oml-0.9.7/lib/omf_oml/sql_row.rb:185:in `_run'
/home/omehani/.gem/ruby/2.0.0/gems/omf_oml-0.9.7/lib/omf_oml/sql_row.rb:165:in `block in run'

WARN OmlSqlRow-pingmonitor_myping: undefined method hash_to_row' for true:TrueClass DEBUG OmlSqlRow-pingmonitor_myping: /home/omehani/.gem/ruby/2.0.0/gems/omf_oml-0.9.7/lib/omf_oml/sql_row.rb:68:into_a'

This is with the sequel-3.48.0, sqlite3-1.3.7 and omf_oml 0.9.7 gems.


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants