-
Notifications
You must be signed in to change notification settings - Fork 99
no implicit conversion from nil to integer (TypeError) #151
Comments
I've altered jasmine-headless-webkit-0.8.4/lib/jasmine/headless/command_line.rb - if options[:do_list]
FilesList.reset!
files_list = FilesList.new(:config => runner.jasmine_config)
files_list.files.each { |file| puts file }
else
$stderr.puts "BLAH!!"
if runner && runner.run
exit runner.run
elsif runner
$stderr.puts "runner but no runner.run"
else
$stderr.puts "runner failed!"
end
end now the error is:
|
UPDATE: I've pulled out the command run in the "system" call in runner.rb .
running gdb: It would be swell if there was something detecting this kind of Qt or driver problem in jasmine-headless-webkit , or -specrunner . |
Has this been solve? I just installed jasmine-headless-webkit on Mountain Lion and the latest qt (4.8.3) with homebrew and I'm getting the same error. |
Similar to issue #133
#133
I'm on RHEL6, and trying to run jasmine-headless-webkit so I can get my jasmine tests into a Jenkins CI installation.
I see this error and I have no idea where to go next.
In general, what does
[jasmine-headless-webkit] no implicit conversion from nil to integer (TypeError)
...imply is happening?
Am I missing a package or gem?
I've included a list of my Qt and Xvfb packages below.
Note that I did have to link "qmake" to the qmake installed:
ln -s /usr/bin/qmake-qt4 /usr/bin/qmake
Here's what my command looks like:
$ xvfb-run jasmine-headless-webkit -c -j test/jasmine.yml
[WARNING] MultiJson is using the default adapter (ok_json). We recommend loading a different JSON library to improve performance.
loaded the Generic plugin
can't make "generic.orientation" because no QAccelerometer sensors exist
Test ordering seed: --seed 6536
[jasmine-headless-webkit] no implicit conversion from nil to integer (TypeError)
/usr/local/rvm/gems/ruby-1.8.7-p358/gems/jasmine-headless-webkit-0.8.4/lib/jasmine/headless/command_line.rb:18:in
exit' /usr/local/rvm/gems/ruby-1.8.7-p358/gems/jasmine-headless-webkit-0.8.4/lib/jasmine/headless/command_line.rb:18:in
run!'/usr/local/rvm/gems/ruby-1.8.7-p358/gems/jasmine-headless-webkit-0.8.4/bin/jasmine-headless-webkit:10
/usr/local/rvm/gems/ruby-1.8.7-p358/bin/jasmine-headless-webkit:19:in `load'
/usr/local/rvm/gems/ruby-1.8.7-p358/bin/jasmine-headless-webkit:19
/usr/local/rvm/gems/ruby-1.8.7-p358/bin/ruby_noexec_wrapper:14
[builder@jejunum-jasmine snf-ui]$ xvfb-run bundle exec jasmine-headless-webkit -c -j test/jasmine.yml
Could not locate Gemfile
[builder@jejunum-jasmine snf-ui]$ rpm -qa | grep qt
qt-x11-4.7.4-0.el6.x86_64
qt-devel-4.7.4-0.el6.x86_64
qt-mobility-1.1.3-2.el6.x86_64
qt-sqlite-4.7.4-0.el6.x86_64
qtwebkit-2.1.1-1.el6.x86_64
qt-4.7.4-0.el6.x86_64
qtwebkit-devel-2.1.1-1.el6.x86_64
[builder@jejunum-jasmine snf-ui]$ rpm -qa | grep xorg
xorg-x11-proto-devel-7.4-35.el6.noarch
xorg-x11-xauth-1.0.2-7.1.el6.x86_64
xorg-x11-server-common-1.10.4-6.el6.x86_64
xorg-x11-xkb-utils-7.4-6.el6.x86_64
xorg-x11-server-Xvfb-1.10.4-6.el6.x86_64
xorg-x11-drv-ati-firmware-6.13.0-6.el6.noarch
[builder@jejunum-jasmine snf-ui]$
Thanks in advance!
The text was updated successfully, but these errors were encountered: