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
>> require 'db/MiqSqlite/MiqSqlite3'
bin/console:14: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add ostruct to your Gemfile or gemspec to silence this warning.
=> true
>> db = MiqSqlite3DB::MiqSqlite3.new('/var/lib/rpm/rpmdb.sqlite')
=>
#<MiqSqlite3DB::MiqSqlite3:0x00007f2b5ecbb368
...
>> db.table_names
/home/grare/adam/src/manageiq/manageiq-smartstate/lib/db/MiqSqlite/MiqSqlite3Table.rb:68:in `decodeSchema': undefined method `[]' for nil (NoMethodError)
tname = m[1].to_s.chomp
^^^
from /home/grare/adam/src/manageiq/manageiq-smartstate/lib/db/MiqSqlite/MiqSqlite3Table.rb:59:in `initialize'
from /home/grare/adam/src/manageiq/manageiq-smartstate/lib/db/MiqSqlite/MiqSqlite3Table.rb:38:in `new'
from /home/grare/adam/src/manageiq/manageiq-smartstate/lib/db/MiqSqlite/MiqSqlite3Table.rb:38:in `block (2 levels) in each'
from /home/grare/adam/src/manageiq/manageiq-smartstate/lib/db/MiqSqlite/MiqSqlite3Page.rb:91:in `block in each_cell'
from /home/grare/adam/src/manageiq/manageiq-smartstate/lib/db/MiqSqlite/MiqSqlite3Page.rb:91:in `each'
from /home/grare/adam/src/manageiq/manageiq-smartstate/lib/db/MiqSqlite/MiqSqlite3Page.rb:91:in `each_cell'
from /home/grare/adam/src/manageiq/manageiq-smartstate/lib/db/MiqSqlite/MiqSqlite3Table.rb:37:in `block in each'
from /home/grare/adam/src/manageiq/manageiq-smartstate/lib/db/MiqSqlite/MiqSqlite3Page.rb:84:in `block in each_child'
from /home/grare/adam/src/manageiq/manageiq-smartstate/lib/db/MiqSqlite/MiqSqlite3Page.rb:91:in `block in each_cell'
from /home/grare/adam/src/manageiq/manageiq-smartstate/lib/db/MiqSqlite/MiqSqlite3Page.rb:91:in `each'
from /home/grare/adam/src/manageiq/manageiq-smartstate/lib/db/MiqSqlite/MiqSqlite3Page.rb:91:in `each_cell'
from /home/grare/adam/src/manageiq/manageiq-smartstate/lib/db/MiqSqlite/MiqSqlite3Page.rb:83:in `each_child'
from /home/grare/adam/src/manageiq/manageiq-smartstate/lib/db/MiqSqlite/MiqSqlite3Table.rb:35:in `each'
from /home/grare/adam/src/manageiq/manageiq-smartstate/lib/db/MiqSqlite/MiqSqlite3Table.rb:11:in `table_names'
from /home/grare/adam/src/manageiq/manageiq-smartstate/lib/db/MiqSqlite/MiqSqlite3.rb:307:in `table_names'
from (irb):3:in `<main>'
... 2 levels...
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: