Open scope2229 opened 3 years ago
I fixed this error by adding a missing lib i had forgotten but its replaced the error with QML file not found and err file too short
/home/.rvm/rubies/ruby-2.7.1/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:155:in require': cannot load such file -- qml (LoadError) /home/.rvm/gems/ruby-2.7.1@rha_ruby/gems/qml-1.0.2/lib/qml/qml.rb:1:in
require_relative': /home/.rvm/gems/ruby-2.7.1@rha_ruby/gems/qml-1.0.2/ext/qml/qml.so: file too short - /home/.rvm/gems/ruby-2.7.1@rha_ruby/gems/qml-1.0.2/ext/qml/qml.so (LoadError)
Hey im not too sure what ive done but previously ive used this gem and its worked wonders but recently moving to a new machine I installed qt 2.14 and can run my qml inside a project loaded with QtCreator so i know the QML itself is ok. But when running my app I'm receiving errors i haven't seen before. (it does still run on my old machine but im unable to determine what package is helping and which is not)
Traceback (most recent call last): 22: from ./bin/rha_automation:8:in'
12: from /home/Documents/rha-ruby/lib/rha.rb:31:in
<main>' 21: from ./bin/rha_automation:8:in
each' 20: from ./bin/rha_automation:8:inblock in <main>' 19: from /home/.rvm/gems/ruby-2.7.1@rha_ruby/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in
require' 18: from /home/.rvm/gems/ruby-2.7.1@rha_ruby/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:291:inload_dependency' 17: from /home/.rvm/gems/ruby-2.7.1@rha_ruby/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in
block in require' 16: from /home/.rvm/rubies/ruby-2.7.1/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:155:inrequire' 15: from /home/.rvm/rubies/ruby-2.7.1/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:155:in
require' 14: from /home/Documents/rha-ruby/lib/rha.rb:18:in<top (required)>' 13: from /home/Documents/rha-ruby/lib/rha.rb:30:in
<class:Application>' 11: from /home/.rvm/gems/ruby-2.7.1@rha_ruby/gems/qml-1.0.2/lib/qml/application.rb:75:in
run' 10: from /home/.rvm/gems/ruby-2.7.1@rha_ruby/gems/qml-1.0.2/lib/qml/application.rb:75:intap' 9: from /home/.rvm/gems/ruby-2.7.1@rha_ruby/gems/qml-1.0.2/lib/qml/application.rb:76:in
block in run' 8: from /home/Documents/rha-ruby/lib/rha.rb:32:inblock in <class:Application>' 7: from /home/.rvm/gems/ruby-2.7.1@rha_ruby/gems/qml-1.0.2/lib/qml/application.rb:39:in
load_path' 6: from /home/.rvm/gems/ruby-2.7.1@rha_ruby/gems/qml-1.0.2/lib/qml/application.rb:26:inload' 5: from /home/.rvm/gems/ruby-2.7.1@rha_ruby/gems/qml-1.0.2/lib/qml/application.rb:26:in
new' 4: from /home/.rvm/gems/ruby-2.7.1@rha_ruby/gems/qml-1.0.2/lib/qml/component.rb:28:ininitialize' 3: from /home/.rvm/gems/ruby-2.7.1@rha_ruby/gems/qml-1.0.2/lib/qml/component.rb:34:in
load_path' 2: from /home/.rvm/gems/ruby-2.7.1@rha_ruby/gems/qml-1.0.2/lib/qml/component.rb:60:incheck_error_string' 1: from /home/.rvm/gems/ruby-2.7.1@rha_ruby/gems/qml-1.0.2/lib/qml/component.rb:60:in
tap' /home/.rvm/gems/ruby-2.7.1@rha_ruby/gems/qml-1.0.2/lib/qml/component.rb:61:in `block in check_error_string': file:///home/Documents/rha-ruby/lib/ui/main.qml:4 module "QtQuick.Window" is not installed (QML::QMLError) file:///home/Documents/rha-ruby/lib/ui/main.qml:3 module "QtQuick.Layouts" is not installed file:///home/Documents/rha-ruby/lib/ui/main.qml:1 module "QtQuick" is not installed file:///home/Documents/rha-ruby/lib/ui/main.qml:4 module "QtQuick.Window" is not installed file:///home/Documents/rha-ruby/lib/ui/main.qml:3 module "QtQuick.Layouts" is not installed file:///home/Documents/rha-ruby/lib/ui/main.qml:1 module "QtQuick" is not installed file:///home/Documents/rha-ruby/lib/ui/main.qml:4 module "QtQuick.Window" is not installed file:///home/Documents/rha-ruby/lib/ui/main.qml:3 module "QtQuick.Layouts" is not installed file:///home/Documents/rha-ruby/lib/ui/main.qml:1 module "QtQuick" is not installed